Commit 6e5013a2e2568afc4efe46cac1a78c39ee6eb4ee

Authored by yvan.ni
2 parents 34ff2b9a 444f3cbb

Merge branch 'dev' of http://git.vipzhuang.cn/wxd/MShopWeApp into dev

Showing 1 changed file with 4 additions and 4 deletions
pages/tabbar/tabbar.wxml
... ... @@ -6,7 +6,7 @@
6 6  
7 7 <block wx:if="{{!item.active}}">
8 8 <navigator url="{{item.weappurl}}" open-type="redirect" class="tabbar_item {{item.clas}}" style="position:relative;width:{{100 / tabBar.length}}%;height:100%;float:left;text-align:center;padding:5px 0;">
9   - <view wx:if="{{item.nav_name=='购物车'}}" class="menu_red">
  9 + <view wx:if="{{item.nav_name=='购物车'}}" style="top:0;background-color: red;color: #fff;font-size: 20rpx;border-radius: 50%;width: 40rpx;line-height:40rpx;height: 40rpx;position: absolute;z-index: 100;right:30rpx;">
10 10 {{tabBar.cartGoodsNum}}
11 11 </view>
12 12 <view style="width:35%;height:30px;margin-left:33%;">
... ... @@ -17,7 +17,7 @@
17 17 </block>
18 18 <block wx:else>
19 19 <view class="tabbar_item {{item.clas}}" style="color: {{item.selectedColor? item.selectedColor :tabBar.selectedColor}};position:relative;width:{{100 / tabBar.length}}%;height:100%;float:left;text-align:center;padding:5px 0;">
20   - <view wx:if="{{item.nav_name=='购物车'}}" class="menu_red">
  20 + <view wx:if="{{item.nav_name=='购物车'}}" style="top:0;background-color: red;color: #fff;font-size: 20rpx;border-radius: 50%;width: 40rpx;line-height:40rpx;height: 40rpx;position: absolute;z-index: 100;right:30rpx;">
21 21 {{tabBar.cartGoodsNum}}
22 22 </view>
23 23 <view style="width:35%;height:30px;margin-left:33%;">
... ... @@ -81,7 +81,7 @@
81 81 <!-- 3 -->
82 82 <block wx:if="{{tabBar.active!='/pages/cart/cart/cart'}}">
83 83 <navigator url="/pages/cart/cart/cart" open-type="redirect" class="tabbar_item {{tabBar.clas}}" style="position:relative;width:25%;height:100%;float:left;text-align:center;padding:2px 0;">
84   - <view class="menu_default_red">
  84 + <view style="background-color: red;color: #fff;font-size: 20rpx;border-radius: 50%;width: 40rpx;height: 40rpx;line-heith:40rpx;position: fixed;z-index: 100;left:63%">
85 85 {{tabBar.cartGoodsNum}}
86 86 </view><view style="width:30%;height:57rpx;margin-left:35%;">
87 87 <image src="{{tabBar.url}}/miniapp/images/bar/car.png" class="img" style="width:100%;height:100%"></image>
... ... @@ -91,7 +91,7 @@
91 91 </block>
92 92 <block wx:else>
93 93 <view class="tabbar_item {{tabBar.clas}}" style="color: #f23030;position:relative;width:25%;height:100%;float:left;text-align:center;padding:2px 0;">
94   - <view class="menu_default_red">
  94 + <view style="background-color: red;color: #fff;font-size: 20rpx;border-radius: 50%;width: 40rpx;height: 40rpx;line-heith:40rpx;position: fixed;z-index: 100;left:63%">
95 95 {{tabBar.cartGoodsNum}}
96 96 </view><view style="width:30%;height:57rpx;margin-left:35%;">
97 97 <image src="{{tabBar.url}}/miniapp/images/bar/car_on.png" class="img" style="width:100%;height:100%"></image>
... ...