From 215b9ac35641a1cd59a48411bf0b6777b20bb6ba Mon Sep 17 00:00:00 2001 From: Rogee Date: Wed, 14 May 2025 19:31:41 +0800 Subject: [PATCH] feat: update ui --- frontend/wechat/postcss.config.js | 8 ++++---- frontend/wechat/src/components/ArticleListItem.vue | 5 ++--- frontend/wechat/src/views/ArticleDetail.vue | 12 ++---------- frontend/wechat/stats.html | 2 +- 4 files changed, 9 insertions(+), 18 deletions(-) diff --git a/frontend/wechat/postcss.config.js b/frontend/wechat/postcss.config.js index 2e7af2b..d41ad63 100644 --- a/frontend/wechat/postcss.config.js +++ b/frontend/wechat/postcss.config.js @@ -1,6 +1,6 @@ export default { - plugins: { - tailwindcss: {}, - autoprefixer: {}, - }, + plugins: { + tailwindcss: {}, + autoprefixer: {}, + }, } diff --git a/frontend/wechat/src/components/ArticleListItem.vue b/frontend/wechat/src/components/ArticleListItem.vue index 40a799a..e0278f4 100644 --- a/frontend/wechat/src/components/ArticleListItem.vue +++ b/frontend/wechat/src/components/ArticleListItem.vue @@ -44,8 +44,7 @@ const showArticle = (article) => { {{ article.title }} -

+

{{ article.description }}

@@ -61,7 +60,7 @@ const showArticle = (article) => { {{ article.view_count || 0 }} -
+
¥{{ discountPrice }}
diff --git a/frontend/wechat/src/views/ArticleDetail.vue b/frontend/wechat/src/views/ArticleDetail.vue index 475a5d9..9ba94f9 100644 --- a/frontend/wechat/src/views/ArticleDetail.vue +++ b/frontend/wechat/src/views/ArticleDetail.vue @@ -218,7 +218,7 @@ onUnmounted(() => {
+ class="absolute z-10 rounded-full bg-orange-500 text-white border-2 border-yellow-500 font-bold px-4 py-2"> 点击播放
@@ -261,12 +261,4 @@ onUnmounted(() => {
- - - + \ No newline at end of file diff --git a/frontend/wechat/stats.html b/frontend/wechat/stats.html index 5e43c30..7fb48b9 100644 --- a/frontend/wechat/stats.html +++ b/frontend/wechat/stats.html @@ -4929,7 +4929,7 @@ var drawChart = (function (exports) {