ソースを参照

菜单栏字体样式调整

kk.shi 3 年 前
コミット
185972368c
共有3 個のファイルを変更した29 個の追加1 個の削除を含む
  1. 1 1
      pages/welfareMall/components/tabbar.wxml
  2. 8 0
      pages/welfareMall/components/tabbar.wxss
  3. 20 0
      pages/welfareMall/personal/personal.wxss

+ 1 - 1
pages/welfareMall/components/tabbar.wxml

@@ -5,7 +5,7 @@
           <image class="_image" src="{{item.active ? item.selectedIconPath : item.iconPath}}" />
        </view>
        <view class="_text">
-          <text>{{item.text}}</text>
+          <text class="{{item.active ? 'text_color' : ''}}">{{item.text}}</text>
        </view>
     </view>
 </view>

+ 8 - 0
pages/welfareMall/components/tabbar.wxss

@@ -25,4 +25,12 @@
     height: 28px;
     text-align: center;
     font-size: 28rpx;
+}
+
+.text_color{
+    line-height: 28rpx;
+    height: 28px;
+    text-align: center;
+    font-size: 28rpx;
+    color: #B01717;
 }

+ 20 - 0
pages/welfareMall/personal/personal.wxss

@@ -63,3 +63,23 @@
   color: #FFFFFF;
   margin-left: 58rpx;
 }
+
+.head-card-nt{
+  margin-right: 51rpx;
+}
+
+.head-card-num{
+  font-size: 120rpx;
+  font-weight: bold;
+  color: #FFFFFF;
+}
+
+.head-card-text{
+  width: 40rpx;
+  height: 40rpx;
+  font-size: 30rpx;
+  font-weight: 300;
+  color: #FFFFFF;
+  margin-top:  70rpx;
+}
+