Commit 985a207e310d2d3852d2adcc2312596aa6aa15fa

Authored by season
2 parents df714a01 266136ab

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

pages/team/team_show/team_show.wxml
... ... @@ -55,19 +55,15 @@
55 55 </view>
56 56 <!--头像-->
57 57 <view class="flex_tou">
58   - <view class='bodyimg flex-level' wx:for="{{ordertx}}" wx:key>
  58 + <view class='bodyimg flex-level' wx:for="{{ordertx}}" wx:key>
59 59 <view class='d'>
60   - <image src='{{item.head_pic}}'></image>
61   - <span wx:if="{{item.is_pt_tz==1}}">团长</span>
  60 + <image src='{{item.head_pic}}'></image>
  61 + <span wx:if="{{item.is_pt_tz==1}}">团长</span>
  62 + </view>
62 63 </view>
63   - <view class='d'>
64   - <image src='{{imageurl}}/miniapp/images/shafa.png'></image>
65   - </view>
66   -
67   - <view class='xc-ellipsis-img' wx:if="{{length>5}}">
68   - <image style='width:56rpx;height:56rpx;margin-left:10rpx;' src="{{imageurl}}/miniapp/images/xc_ellipsis.png"></image>
69   - </view>
70   - </view>
  64 + <view class='xc-ellipsis-img' wx:if="{{length>5}}">
  65 + <image style='width:56rpx;height:56rpx;margin-left:10rpx;' src="{{imageurl}}/miniapp/images/xc_ellipsis.png"></image>
  66 + </view>
71 67  
72 68  
73 69  
... ...
pages/team/team_show/team_show.wxss
... ... @@ -102,7 +102,7 @@ page {
102 102 /* display: flex;
103 103 justify-content: center;
104 104 align-items: center; */
105   - width:590rpx;
  105 +
106 106  
107 107 }
108 108  
... ...
pages/team/team_success/team_success.js
... ... @@ -185,7 +185,10 @@ Page({
185 185  
186 186  
187 187 //只装5个
188   - var ordertx2=[],sf_num=0,ct_nun=teamlist.ct_num;;
  188 + var ordertx2=[],sf_num=0,ct_nun=teamlist.ct_num;
  189 + if(max_num){
  190 + ct_nun=parseInt(max_num);
  191 + }
189 192  
190 193 if(ct_nun>5) ct_nun=5;
191 194 for(var i=0;i<ct_nun;i++){
... ...
pages/team/team_success/team_success.wxml
... ... @@ -45,9 +45,15 @@
45 45 <!-- 阶梯团 -->
46 46 <view class='bodytop' wx:if="{{teamlist.kttype==3&& p_status==1}}">
47 47 当前价格
48   - <text class="xc-wc">¥{{ct_price}}</text>, 还差
49   - <text class="xc-wc">{{max_num-ordertx.length}}</text>人享受最低价格
50   - <text class="xc-wc">¥{{min_price}}</text>
  48 + <text class="xc-wc">¥{{ct_price}}</text>,
  49 + <block wx:if="{{max_num-ordertx.length>0}}">
  50 + <text class="xc-wc">还差{{max_num-ordertx.length}}</text>人享受最低价格<text class="xc-wc">¥{{min_price}}</text>
  51 + </block>
  52 + <block wx:else>
  53 + 该团已经拼购到最低价了哦~
  54 + </block>
  55 +
  56 +
51 57 </view>
52 58 <!-- 拼团成功 -->
53 59 <view class="xc-ptcomplete-ladder flex-level fs28" wx:if="{{teamlist.kttype==3&&p_status==2}}">
... ...