Browse Source

个人中心进入订单页选中样式调整

usgeek 7 years ago
parent
commit
ad8c9be7b1

+ 11 - 1
litemall-wx/pages/ucenter/order/order.js

@@ -7,7 +7,17 @@ Page({
   showType: 0
  },
  onLoad: function(options) {
-  // 页面初始化 options为页面跳转所带来的参数
+   // 页面初始化 options为页面跳转所带来的参数
+   let that = this
+   try {
+     var tab = wx.getStorageSync('tab');
+
+     this.setData({
+       sh
+     });
+   } catch (e) {
+   }
+
  },
 
  onPullDownRefresh() {

+ 4 - 4
litemall-wx/pages/ucenter/order/order.wxss

@@ -9,7 +9,7 @@ page{
     width: 100%;
     background: #fff;
     height: 84rpx;
-    border-bottom: 1px solid rgba(0,0,0,.15);
+    /* border-bottom: 1px solid rgba(0,0,0,.15); */
 }
 
 .orders-switch .item{
@@ -25,14 +25,14 @@ page{
     height: 82rpx;
     padding: 0 20rpx;
     line-height: 82rpx;
-    color: #333;
+    color: #9a9ba1;
     font-size: 30rpx;
     width: 170rpx;
 }
 
 .orders-switch .item.active .txt{
-    color: #ab2b2b;
-    border-bottom: 4rpx solid #ab2b2b;
+    color: #AB956D;
+    border-bottom: 4rpx solid #AB956D;
 }