Commit 23cbfad1b41f5984f6985db13c8a860e9de74a57

Authored by 后端研发-苏泰源
2 parents 3cb582aa 17d30b8a

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

pages/cart/cart2/cart2.js
@@ -2977,7 +2977,7 @@ Page({ @@ -2977,7 +2977,7 @@ Page({
2977 console.log("index.js wx.request CheckCallUser fail"); 2977 console.log("index.js wx.request CheckCallUser fail");
2978 }, 2978 },
2979 complete: function () { 2979 complete: function () {
2980 - this.setData({ 2980 + th.setData({
2981 submit:0, 2981 submit:0,
2982 }) 2982 })
2983 } 2983 }
@@ -4371,6 +4371,7 @@ Page({ @@ -4371,6 +4371,7 @@ Page({
4371 sendsm: function (func) { 4371 sendsm: function (func) {
4372 let th =this; 4372 let th =this;
4373 var template_id = this.data.template_id; 4373 var template_id = this.data.template_id;
  4374 + getApp().globalData.no_clear=1;
4374 // //授权订阅 4375 // //授权订阅
4375 wx.requestSubscribeMessage({ 4376 wx.requestSubscribeMessage({
4376 tmplIds: [template_id], 4377 tmplIds: [template_id],
pages/goods/goodsInfo/goodsInfo.wxml
@@ -274,6 +274,7 @@ @@ -274,6 +274,7 @@
274 </view> 274 </view>
275 </view> 275 </view>
276 <view class="goods-title"> 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 <view class="goods-name elli">{{data.goods_name}}</view> 278 <view class="goods-name elli">{{data.goods_name}}</view>
278 </view> 279 </view>
279 <view class="goods-num"> 280 <view class="goods-num">
@@ -388,9 +389,11 @@ @@ -388,9 +389,11 @@
388 </view> 389 </view>
389 </view> 390 </view>
390 </block> 391 </block>
  392 +
391 <!-- 许程商品名字 --> 393 <!-- 许程商品名字 -->
392 <view wx:if="{{prom_type!=1 && prom_type!=2 }}"> 394 <view wx:if="{{prom_type!=1 && prom_type!=2 }}">
393 <view class="goods-title"> 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 <view class="goods-name elli">{{data.goods_name}}</view> 397 <view class="goods-name elli">{{data.goods_name}}</view>
395 </view> 398 </view>
396 </view> 399 </view>
@@ -1707,9 +1710,9 @@ @@ -1707,9 +1710,9 @@
1707 </view> 1710 </view>
1708 </view> 1711 </view>
1709 <view class="pdt40"> 1712 <view class="pdt40">
1710 - <view class="pdb20">活动内容</view> 1713 + <view class="pdb20">活动内容</view>
1711 <view class="popup-content"> 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 </view> 1716 </view>
1714 </view> 1717 </view>
1715 1718
pages/goods/goodsInfo/goodsInfo.wxss
@@ -127,6 +127,8 @@ image { @@ -127,6 +127,8 @@ image {
127 .goods-title { 127 .goods-title {
128 display: flex; 128 display: flex;
129 justify-content: space-between; 129 justify-content: space-between;
  130 + align-items: center;
  131 + vertical-align: middle;
130 /* overflow: hidden; */ 132 /* overflow: hidden; */
131 /* height: 108rpx; */ 133 /* height: 108rpx; */
132 } 134 }
pages/index/index/index.js
@@ -408,7 +408,7 @@ Page({ @@ -408,7 +408,7 @@ Page({
408 } 408 }
409 } 409 }
410 410
411 - Promise.all(promisies).then((values) => { 411 + Promise.all(promisies).then(() => {
412 var arr = new Array(); 412 var arr = new Array();
413 //--三个三个一组--- 413 //--三个三个一组---
414 for (var i = 0; i < flash_data.length; i += 3) { 414 for (var i = 0; i < flash_data.length; i += 3) {