Commit afbd854e74819b6124443e488d98e38ede7db2ea
Merge branch 'dev' of http://git.vipzhuang.cn/wxd/MShopWeApp into test
Showing
8 changed files
with
27 additions
and
9 deletions
packageE/pages/cart/cart2/cart2.js
@@ -2231,6 +2231,13 @@ Page({ | @@ -2231,6 +2231,13 @@ Page({ | ||
2231 | if (kitem.act.is_orderyh) | 2231 | if (kitem.act.is_orderyh) |
2232 | o_price_no_zh -= kitem.cut_price; | 2232 | o_price_no_zh -= kitem.cut_price; |
2233 | } | 2233 | } |
2234 | + }else{ | ||
2235 | + //找到那些可以订单优惠叠加的 | ||
2236 | + for (let ij in zh_prom_goods) { | ||
2237 | + let kitem_z = zh_prom_goods[ij]; | ||
2238 | + if (!kitem_z.act.is_orderyh) | ||
2239 | + no_order_yh+=kitem_z.actual_price; | ||
2240 | + } | ||
2234 | } | 2241 | } |
2235 | } | 2242 | } |
2236 | 2243 | ||
@@ -2244,6 +2251,13 @@ Page({ | @@ -2244,6 +2251,13 @@ Page({ | ||
2244 | if (th.data.ladder_map[ij].is_useorderyh) | 2251 | if (th.data.ladder_map[ij].is_useorderyh) |
2245 | o_price_no_zh -= kitem.cut_price; | 2252 | o_price_no_zh -= kitem.cut_price; |
2246 | } | 2253 | } |
2254 | + }else{ | ||
2255 | + //找到那些可以订单优惠叠加的不参与的要减掉 | ||
2256 | + for (let ij in ladder_prom_goods) { | ||
2257 | + let kitem_l = ladder_prom_goods[ij]; | ||
2258 | + if (!th.data.ladder_map[ij].is_useorderyh) | ||
2259 | + no_order_yh+=kitem_l.actual_price; | ||
2260 | + } | ||
2247 | } | 2261 | } |
2248 | } | 2262 | } |
2249 | 2263 | ||
@@ -2270,8 +2284,10 @@ Page({ | @@ -2270,8 +2284,10 @@ Page({ | ||
2270 | 2284 | ||
2271 | 2285 | ||
2272 | var ord_prom_condition=0; | 2286 | var ord_prom_condition=0; |
2287 | + | ||
2288 | + //如果有组合购 | ||
2273 | if(o_price_no_zh){ | 2289 | if(o_price_no_zh){ |
2274 | - ord_prom_condition=o_price_no_zh-whsle_goods_price-no_zh_all_quan_num; | 2290 | + ord_prom_condition=o_price_no_zh-whsle_goods_price-no_zh_all_quan_num- no_order_yh; |
2275 | }else{ | 2291 | }else{ |
2276 | ord_prom_condition=o_price - quan_price - whsle_goods_price - no_order_yh; | 2292 | ord_prom_condition=o_price - quan_price - whsle_goods_price - no_order_yh; |
2277 | } | 2293 | } |
pages/activity/pind_list/pind_list.wxml
@@ -69,7 +69,7 @@ | @@ -69,7 +69,7 @@ | ||
69 | <view class="fs40 flex xc-top15 {{type==1?'red-co ai-bas':'blue_c xc-lihe42 ai-bas'}}"> | 69 | <view class="fs40 flex xc-top15 {{type==1?'red-co ai-bas':'blue_c xc-lihe42 ai-bas'}}"> |
70 | <text class="fs28 {{type==0?'martop13':''}}">¥</text> | 70 | <text class="fs28 {{type==0?'martop13':''}}">¥</text> |
71 | <text style="margin-left:-5rpx">{{item.price}}</text> | 71 | <text style="margin-left:-5rpx">{{item.price}}</text> |
72 | - <text wx:if="{{is_retail_price}}" class="underline {{type==0?'martop18':''}} no_line_x">¥{{item.shop_price}}</text> | 72 | + <text wx:if="{{is_retail_price}}" class="underline {{type==0?'martop18':''}} no_line_x">¥{{item.shop_price || item.market_price}}</text> |
73 | </view> | 73 | </view> |
74 | 74 | ||
75 | </view> | 75 | </view> |
pages/giftpack/buygiftpack/giftpackbuy.wxml
@@ -48,7 +48,7 @@ | @@ -48,7 +48,7 @@ | ||
48 | </block> | 48 | </block> |
49 | </view> | 49 | </view> |
50 | <view class="content_ware_price no_line_c"> | 50 | <view class="content_ware_price no_line_c"> |
51 | - <text class="ellipsis-1">{{"¥"+items.giftPosPrice}}</text> | 51 | + <text class="ellipsis-1">{{"零售价:¥"+items.giftPosPrice}}</text> |
52 | </view> | 52 | </view> |
53 | <view wx:if="{{items.is_show && now < items.starTime1 }}" class="content_ware_time"> | 53 | <view wx:if="{{items.is_show && now < items.starTime1 }}" class="content_ware_time"> |
54 | <text class="ellipsis-1">{{"活动开始时间:"+items.starTime}}</text> | 54 | <text class="ellipsis-1">{{"活动开始时间:"+items.starTime}}</text> |
pages/giftpack/mygiftpack/mygiftpack.wxml
@@ -79,10 +79,10 @@ | @@ -79,10 +79,10 @@ | ||
79 | </block> | 79 | </block> |
80 | </view> | 80 | </view> |
81 | <view class="content_ware_price no_line_c"> | 81 | <view class="content_ware_price no_line_c"> |
82 | - <text >{{"¥"+item.giftPosPrice}}</text> | 82 | + <text >{{"零售价:¥"+item.giftPosPrice}}</text> |
83 | </view> | 83 | </view> |
84 | 84 | ||
85 | - <view class="content_ware_time" wx:if="{{item.iswarelbtype==1}}"> | 85 | + <view class="content_ware_time" wx:if="{{item.iswarelbtype==1}}"> |
86 | <block wx:if="{{getDate>item.endTime}}"> | 86 | <block wx:if="{{getDate>item.endTime}}"> |
87 | <text>{{"兑换截至日期:"+item.endTime}}</text> | 87 | <text>{{"兑换截至日期:"+item.endTime}}</text> |
88 | </block> | 88 | </block> |
pages/giftpack/mygiftpack/mygiftpack.wxss
pages/goods/goodsInfo/goodsInfo.js
@@ -6247,7 +6247,9 @@ Page({ | @@ -6247,7 +6247,9 @@ Page({ | ||
6247 | //---文字--- | 6247 | //---文字--- |
6248 | context.setFontSize(22 * unit) | 6248 | context.setFontSize(22 * unit) |
6249 | context.setFillStyle("black") | 6249 | context.setFillStyle("black") |
6250 | + if(th.data.is_share_text){ | ||
6250 | context.fillText("特惠好物,限时秒杀", 40 * unit, 807 * unit); | 6251 | context.fillText("特惠好物,限时秒杀", 40 * unit, 807 * unit); |
6252 | + } | ||
6251 | context.fillText("长按识别二维码,立即开始抢购", 40 * unit, 844 * unit); | 6253 | context.fillText("长按识别二维码,立即开始抢购", 40 * unit, 844 * unit); |
6252 | 6254 | ||
6253 | 6255 |
pages/goods/goodsInfo/goodsInfo.wxml
@@ -96,10 +96,10 @@ | @@ -96,10 +96,10 @@ | ||
96 | </view> | 96 | </view> |
97 | <!-- --显示团购价 --> | 97 | <!-- --显示团购价 --> |
98 | <view class="prom_show rel" wx:if="{{prom_type==2}}"> | 98 | <view class="prom_show rel" wx:if="{{prom_type==2}}"> |
99 | - | 99 | + |
100 | <view class="abs flex" style="align-items:flex-end;color: #fff; margin-top: 34rpx; margin-left: 10rpx; height: 60rpx">¥{{prom_price}} | 100 | <view class="abs flex" style="align-items:flex-end;color: #fff; margin-top: 34rpx; margin-left: 10rpx; height: 60rpx">¥{{prom_price}} |
101 | 101 | ||
102 | - <view wx:if="{{is_retail_price}}" class="word-line fs24 no_line_x" style="position: relative;top: -6rpx">零售价:¥{{filters.toFix(data.market_price,2)}}</view> | 102 | + <view wx:if="{{is_retail_price}}" class="word-line fs24 no_line_c" style="position: relative;top: -6rpx">零售价:¥{{filters.toFix(data.market_price,2)}}</view> |
103 | <view wx:else class="word-line no_line_x fs24" style="position: relative;top: -6rpx">¥{{filters.toFix(data.shop_price,2)}}</view> | 103 | <view wx:else class="word-line no_line_x fs24" style="position: relative;top: -6rpx">¥{{filters.toFix(data.shop_price,2)}}</view> |
104 | </view> | 104 | </view> |
105 | 105 |
pages/team/team_ping/team_ping.wxml
@@ -33,7 +33,7 @@ | @@ -33,7 +33,7 @@ | ||
33 | <view class="flex"> | 33 | <view class="flex"> |
34 | <text class='fs24 xc-wc {{item.pt_status==1?"xc-rmbs":"xc-rmb"}}'>¥</text> | 34 | <text class='fs24 xc-wc {{item.pt_status==1?"xc-rmbs":"xc-rmb"}}'>¥</text> |
35 | <view class='pd-jg xc-wc'>{{item.order_goods[0].goods_price}}</view> | 35 | <view class='pd-jg xc-wc'>{{item.order_goods[0].goods_price}}</view> |
36 | - <view class="flex word-line xc-ash {{item.pt_status==1?'xc-rmbs':'xc-rmb'}}"><text class="fs24 xc-black"></text><text class="fs24 xc-wc">¥</text><text class="fs26 xc-wc">{{item.order_goods[0].shop_price}}</text> </view> | 36 | + <view class="flex no_line_c word-line xc-ash {{item.pt_status==1?'xc-rmbs':'xc-rmb'}}"><text class="fs24 xc-black"></text><text class="fs24 xc-wc">¥</text><text class="fs26 xc-wc">{{item.order_goods[0].shop_price || item.order_goods[0].market_price}}</text> </view> |
37 | </view> | 37 | </view> |
38 | 38 | ||
39 | <view class="xc-img-frame" wx:if="{{item.pt_status==2 || item.pt_status==4 || item.pt_status==5 || item.pt_status==6}}"> | 39 | <view class="xc-img-frame" wx:if="{{item.pt_status==2 || item.pt_status==4 || item.pt_status==5 || item.pt_status==6}}"> |