shish 2 лет назад
Родитель
Сommit
73dd78fbfa
2 измененных файлов с 7 добавлено и 4 удалено
  1. 0 4
      hdApp/src/pagesPurchase/purDetails.vue
  2. 7 0
      hdApp/src/pagesPurchase/wechatPay.vue

+ 0 - 4
hdApp/src/pagesPurchase/purDetails.vue

@@ -145,10 +145,6 @@
         </view>
       </view>
 
-      <view class="module-com content-box proInfo distribution" v-if="detailInfo.sendProgress.title" >
-        <text>配送进展</text>
-        <text class="evolve">{{detailInfo.sendProgress.title}}</text>
-      </view>
       <view class="module-com content-box proInfo">
         <view class="commodity-view">
           <view class="infoAEdit">

+ 7 - 0
hdApp/src/pagesPurchase/wechatPay.vue

@@ -144,6 +144,7 @@ export default {
     appWxPayFn(){
         let that = this
         // #ifdef APP-PLUS
+        uni.showLoading()
         let id = this.option.id ? this.option.id : 0
         let realPrice = this.option.realPrice ? this.option.realPrice : 0
         let orderSn = this.option.orderSn ? this.option.orderSn : ''
@@ -163,6 +164,12 @@ export default {
                 path: '/pagesPurchase/wechatPay?id='+id+'&realPrice='+realPrice+'&orderSn='+orderSn,
                 type: 0
               });
+              setTimeout(function(){
+                that.$util.confirmModal({content:'确认已付款?'},() => {
+                  that.pageTo({ url: '/pagesPurchase/particulars?id=' + id, type: 2 })
+                })
+              },3000)
+              uni.hideLoading()
             } else {
               that.$msg("没有找到微信服务")
               //that.$msg("获取微信失败:" + e.message)