From 8325ec80add1f6818ac71b61b01ccbc94d6f7d03 Mon Sep 17 00:00:00 2001 From: zoujing Date: Mon, 4 Aug 2025 22:49:11 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=8E=A2=E7=B4=A2=E5=8F=91=E7=AD=89UI?= =?UTF-8?q?=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/module/banner/ActivityListComponent.vue | 36 ++++-- .../discovery/DiscoveryCradContentList.vue | 70 ++++++++++++ pages/module/recommend/RecommendPostsList.vue | 107 +++++++++++------- 3 files changed, 161 insertions(+), 52 deletions(-) create mode 100644 pages/module/discovery/DiscoveryCradContentList.vue diff --git a/pages/module/banner/ActivityListComponent.vue b/pages/module/banner/ActivityListComponent.vue index 384e24b..ce1eccb 100644 --- a/pages/module/banner/ActivityListComponent.vue +++ b/pages/module/banner/ActivityListComponent.vue @@ -10,6 +10,7 @@ + 快速预定 @@ -45,15 +46,32 @@ border-radius: 8px; } .swiper-item { - display: block; - height: 120px; - line-height: 120px; - text-align: center; + position: relative; + display: block; + height: 120px; + line-height: 120px; + text-align: center; + + image { + width: 100%; + height: 100%; + border-radius: 8px; + display: block; + } + + .corner-btn { + position: absolute; + right: 12px; + bottom: 12px; + background-color: #ffeb00; + color: #333; + font-size: 14px; + font-weight: 500; + padding: 4px 12px; + border-radius: 20px; + line-height: 1.5; + } } - .swiper-item image { - width: 100%; - height: 100%; - border-radius: 8px; - } + } \ No newline at end of file diff --git a/pages/module/discovery/DiscoveryCradContentList.vue b/pages/module/discovery/DiscoveryCradContentList.vue new file mode 100644 index 0000000..b68ff17 --- /dev/null +++ b/pages/module/discovery/DiscoveryCradContentList.vue @@ -0,0 +1,70 @@ + + + + + \ No newline at end of file diff --git a/pages/module/recommend/RecommendPostsList.vue b/pages/module/recommend/RecommendPostsList.vue index 4d37f57..5095f37 100644 --- a/pages/module/recommend/RecommendPostsList.vue +++ b/pages/module/recommend/RecommendPostsList.vue @@ -3,8 +3,10 @@ - - {{ item.topic }} dd + + + {{ item.topic }} + @@ -12,20 +14,18 @@