feat: 全局更改tabbar、首页、分享页UI重构

This commit is contained in:
2026-06-01 15:50:19 +08:00
parent aa0a289f27
commit c2388e1396
22 changed files with 852 additions and 461 deletions
+5 -8
View File
@@ -11,7 +11,7 @@
@click="navChange(i)"
>
<view class="navText"> {{ v.name }} </view>
<image src="/static/index/active.png" mode="scaleToFill" />
<!-- <image src="/static/index/active.png" mode="scaleToFill" /> -->
</view>
</view>
</scroll-view>
@@ -60,16 +60,11 @@
white-space: nowrap;
}
.navs {
// padding: 0 32rpx;
box-sizing: border-box;
height: 120rpx;
// padding-bottom: 10rpx;
.navItem {
color: #777777;
font-size: 32rpx;
// width: 20%;
// text-align: center;
// margin-right: 40rpx;
font-size: 28rpx;
white-space: nowrap;
flex-shrink: 0; // 防止被压缩
image {
@@ -81,8 +76,10 @@
}
.tabIndex {
color: #777777;
font-size: 36rpx;
font-weight: 500;
background: linear-gradient(135deg, #2C8CFA 0%, #3D5EFB 100%);
color: #ffffff !important;
border-radius: 12rpx;
image {
opacity: 1;
}