diff --git a/frontend/pages.json b/frontend/pages.json
index bb9a499..cefe184 100644
--- a/frontend/pages.json
+++ b/frontend/pages.json
@@ -11,10 +11,10 @@
{
"path": "pages/square/hot-category-more",
"style": {
- "navigationBarTitleText": "热门推荐",
- "navigationBarBackgroundColor": "#1a1a2e",
- "navigationBarTextStyle": "white",
- "backgroundColor": "#1a1a2e"
+ "navigationStyle": "custom",
+ "app-plus": {
+ "bounce": "none"
+ }
}
},
{
diff --git a/frontend/pages/square/components/BannerCarousel.vue b/frontend/pages/square/components/BannerCarousel.vue
index f412f20..91f0ab7 100644
--- a/frontend/pages/square/components/BannerCarousel.vue
+++ b/frontend/pages/square/components/BannerCarousel.vue
@@ -69,10 +69,10 @@ const onTop3DataLoaded = (items) => {
.banner-activity-img {
width: 100%;
- height: 296rpx;
+ height: 312rpx;
display: block;
border-radius:24rpx;
position: relative;
- top: 32rpx;
+ top: 24rpx;
}
diff --git a/frontend/pages/square/components/ContentTabs.vue b/frontend/pages/square/components/ContentTabs.vue
index 8208195..20f0e80 100644
--- a/frontend/pages/square/components/ContentTabs.vue
+++ b/frontend/pages/square/components/ContentTabs.vue
@@ -1,48 +1,39 @@
-
-
+
+
-
+
{{ tab.emoji }}
-
+
+
+ {{ tab.label }}
-
- {{ tab.label }}
@@ -66,16 +57,18 @@ const tabs = [
}
.tab-item {
- flex: 1;
- max-width: 160rpx;
+ max-width: 134rpx;
+ height: 42rpx;
+ border-radius: 21rpx;
+ opacity: 0.78;
position: relative;
display: flex;
flex-direction: row;
align-items: center;
justify-content: center;
- height: 56rpx;
- margin: 0 4rpx;
overflow: visible;
+ background: linear-gradient(90deg, rgba(255, 222, 8, 0.2989) -17.54%, rgba(252, 100, 102, 0.61) 64.4%, rgba(244, 88, 104, 0.61) 116.67%);
+ box-shadow: 2px 2px 4px 0px #F2151578;
}
/* 背景图片铺满整个 tab */
@@ -96,25 +89,13 @@ const tabs = [
/* 左侧图标,绝对浮动覆盖背景左侧色块,不影响文字布局 */
.tab-left {
- position: absolute;
- z-index: 1;
- left: -16rpx;
- top: 35%;
- transform: translateY(-50%) rotateZ(8deg);
- width: 80rpx;
- height: 80rpx;
display: flex;
align-items: center;
justify-content: center;
+ padding: 4rpx 30rpx 4rpx 20rpx ;
transition: transform 0.25s ease;
}
-/* 第一个 tab 图标单独样式 */
-.tab-left-first {
- top: 23%;
-
-}
-
/* 选中时图标上移 */
/* .tab-item.active .tab-left {
transform: translateY(-70%);
@@ -133,13 +114,13 @@ const tabs = [
.tab-label {
position: relative;
z-index: 1;
- font-size: 18rpx;
+ font-size: 24rpx;
font-weight: 600;
color: rgba(255, 255, 255, 0.95);
/* color: #ffffff; */
text-shadow: 0 2rpx 4rpx rgba(0, 0, 0, 0.8);
white-space: nowrap;
- margin-left: 48rpx;
+ margin-left: 14rpx;
}
.tab-item.active .tab-label {
diff --git a/frontend/pages/square/components/HotCategoryBlock.vue b/frontend/pages/square/components/HotCategoryBlock.vue
index d8c9873..4285eaa 100644
--- a/frontend/pages/square/components/HotCategoryBlock.vue
+++ b/frontend/pages/square/components/HotCategoryBlock.vue
@@ -1,9 +1,9 @@
-
+
@@ -54,13 +54,17 @@