feat: 全局更改tabbar、首页、分享页UI重构
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user