Commit 39ab85794b934fcd5249f0940768318049700143

Authored by wangfan
1 parent 9a1bc68a

C端调整

@@ -15,7 +15,7 @@ @@ -15,7 +15,7 @@
15 <view class="flx"></view> 15 <view class="flx"></view>
16 <view class="max-font">{{item.min_num}}</view> 16 <view class="max-font">{{item.min_num}}</view>
17 </view> 17 </view>
18 - <view class="info">满{{item.max_num}}立减</view> 18 + <view class="info" wx:if="{{item.max_num>0}}">满{{item.max_num}}立减</view>
19 </block> 19 </block>
20 <block wx:elif="{{item.type==2}}"><!--//满赠--> 20 <block wx:elif="{{item.type==2}}"><!--//满赠-->
21 <view>满赠</view> 21 <view>满赠</view>
@@ -26,7 +26,7 @@ @@ -26,7 +26,7 @@
26 <view class="flx"></view> 26 <view class="flx"></view>
27 <view class="min-font">折</view> 27 <view class="min-font">折</view>
28 </view> 28 </view>
29 - <view class="info">满{{item.max_num}}立享</view> 29 + <view class="info" wx:if="{{item.max_num>0}}">满{{item.max_num}}立享</view>
30 </block> 30 </block>
31 <block wx:elif="{{item.type==4}}"><!--//代金券--> 31 <block wx:elif="{{item.type==4}}"><!--//代金券-->
32 <view class="flex-ll block"> 32 <view class="flex-ll block">
@@ -34,7 +34,7 @@ @@ -34,7 +34,7 @@
34 <view class="flx"></view> 34 <view class="flx"></view>
35 <view class="max-font">{{item.min_num}}</view> 35 <view class="max-font">{{item.min_num}}</view>
36 </view> 36 </view>
37 - <view class="info">{{item.max_num}}元代金券</view> 37 + <view class="info" wx:if="{{item.max_num>0}}">{{item.max_num}}元代金券</view>
38 </block> 38 </block>
39 <block wx:else=""><!--//会员价--> 39 <block wx:else=""><!--//会员价-->
40 <view>会员价</view> 40 <view>会员价</view>
@@ -43,7 +43,7 @@ Page({ @@ -43,7 +43,7 @@ Page({
43 hasGetSellersEnd:false, 43 hasGetSellersEnd:false,
44 hasSetActivity:false, 44 hasSetActivity:false,
45 tags:[ 45 tags:[
46 - {id:1,name:'环境超棒'}, 46 + {id:1,name:'环境好'},
47 {id:2,name:'菜品有特色'}, 47 {id:2,name:'菜品有特色'},
48 {id:3,name:'超大包间'}, 48 {id:3,name:'超大包间'},
49 ] 49 ]
@@ -33,8 +33,8 @@ class reddot{ @@ -33,8 +33,8 @@ class reddot{
33 ]; 33 ];
34 init(){ 34 init(){
35 console.log('reddot....',this.menus) 35 console.log('reddot....',this.menus)
36 - this.setRedDot()  
37 - this.clrRedDot() 36 + //this.setRedDot()
  37 + //this.clrRedDot()
38 } 38 }
39 setRedDot(){ 39 setRedDot(){
40 wx.showTabBarRedDot({ 40 wx.showTabBarRedDot({