Commit 23cbfad1b41f5984f6985db13c8a860e9de74a57
Merge branch 'dev' of http://git.vipzhuang.cn/wxd/MShopWeApp into dev
Showing
4 changed files
with
10 additions
and
4 deletions
pages/cart/cart2/cart2.js
... | ... | @@ -2977,7 +2977,7 @@ Page({ |
2977 | 2977 | console.log("index.js wx.request CheckCallUser fail"); |
2978 | 2978 | }, |
2979 | 2979 | complete: function () { |
2980 | - this.setData({ | |
2980 | + th.setData({ | |
2981 | 2981 | submit:0, |
2982 | 2982 | }) |
2983 | 2983 | } |
... | ... | @@ -4371,6 +4371,7 @@ Page({ |
4371 | 4371 | sendsm: function (func) { |
4372 | 4372 | let th =this; |
4373 | 4373 | var template_id = this.data.template_id; |
4374 | + getApp().globalData.no_clear=1; | |
4374 | 4375 | // //授权订阅 |
4375 | 4376 | wx.requestSubscribeMessage({ |
4376 | 4377 | tmplIds: [template_id], | ... | ... |
pages/goods/goodsInfo/goodsInfo.wxml
... | ... | @@ -274,6 +274,7 @@ |
274 | 274 | </view> |
275 | 275 | </view> |
276 | 276 | <view class="goods-title"> |
277 | + <image wx:if="{{data.commission > 0}}" style="width: 25rpx;height: 25rpx;margin-right: 6rpx;" src="https://mshop-lib.yolipai.net/template/mobile/new/static/images/addmoney.png"></image> | |
277 | 278 | <view class="goods-name elli">{{data.goods_name}}</view> |
278 | 279 | </view> |
279 | 280 | <view class="goods-num"> |
... | ... | @@ -388,9 +389,11 @@ |
388 | 389 | </view> |
389 | 390 | </view> |
390 | 391 | </block> |
392 | + | |
391 | 393 | <!-- 许程商品名字 --> |
392 | 394 | <view wx:if="{{prom_type!=1 && prom_type!=2 }}"> |
393 | 395 | <view class="goods-title"> |
396 | + <image wx:if="{{data.commission > 0}}" style="width: 25rpx;height: 25rpx;margin-right: 6rpx;" src="https://mshop-lib.yolipai.net/template/mobile/new/static/images/addmoney.png"></image> | |
394 | 397 | <view class="goods-name elli">{{data.goods_name}}</view> |
395 | 398 | </view> |
396 | 399 | </view> |
... | ... | @@ -1707,9 +1710,9 @@ |
1707 | 1710 | </view> |
1708 | 1711 | </view> |
1709 | 1712 | <view class="pdt40"> |
1710 | - <view class="pdb20">活动内容</view> | |
1713 | + <view class="pdb20">活动内容:</view> | |
1711 | 1714 | <view class="popup-content"> |
1712 | - <text class="pdb10">{{prom_act.remark}}</text> | |
1715 | + <text class="pdb10">{{prom_act.remark?prom_act.remark:'暂无'}}</text> | |
1713 | 1716 | </view> |
1714 | 1717 | </view> |
1715 | 1718 | ... | ... |
pages/goods/goodsInfo/goodsInfo.wxss
pages/index/index/index.js