shish пре 2 година
родитељ
комит
13145416b9
2 измењених фајлова са 16 додато и 14 уклоњено
  1. 2 2
      hdApp/src/admin/cg/alipay.vue
  2. 14 12
      hdApp/src/pagesPurchase/wechatPay.vue

+ 2 - 2
hdApp/src/admin/cg/alipay.vue

@@ -3,7 +3,7 @@
 		<div class="delivery-wrap">
 			<div class="btn-wrap">
 				<!-- #ifdef H5 -->
-				<button class="button-com red" @click="aliPayFn">支付宝支付</button>
+				<button class="button-com red">正在打开支付宝...</button>
 				<!-- #endif -->
 			</div>
 		</div>
@@ -31,7 +31,7 @@ export default {
     mounted() {},
     methods: {
         init(){
-            console.log('aaaaa')
+
         },
         payInit() {
             let orderSn = this.option.orderSn ? this.option.orderSn:''

+ 14 - 12
hdApp/src/pagesPurchase/wechatPay.vue

@@ -41,10 +41,11 @@
           <button class="button-com pay-wx" :class="[remainPayTime >0 ? 'green':'default']" :disabled="remainPayTime >0 ? false : true" @click="debtPay" v-if="hasDebtPay === '1'">赊账</button>
 
           <view style="margin-top:30upx;text-align: center;">
-            <image :src="aliPayCodeImg" mode="heightFix" style="width:300upx;height:300upx;margin:0 auto;"></image>
+            <image :src="aliPayCodeImg" mode="heightFix" style="width:290upx;height:290upx;margin:0 auto;"></image>
             <view style="margin-top:10upx;font-size:26upx;">支付宝扫此二维码付款</view>
           </view>
           <button class="button-com ali-btn" @click="savePayCode" style="margin-top:10upx;">保存二维码</button>
+          <button class="button-com ali-btn" @click="goDetail" style="margin-top:10upx;">我已经付款</button>
         </div>
         <!-- #endif -->
         <!-- #ifdef APP-PLUS -->
@@ -123,6 +124,9 @@ export default {
     }
   },
   methods: {
+    goDetail(){
+      this.$util.pageTo({url: "/pagesPurchase/purDetails?id="+this.info.id,type:2})
+    },
     savePayCode(){
       let url = this.aliPayCodeImg
       uni.downloadFile({
@@ -416,23 +420,22 @@ export default {
       // 使用icon
       .icon {
         .iconfont {
-          font-size: 150upx;
+          font-size: 120upx;
         }
       }
       // 一个按钮
       .call-one-btn {
         .button-com {
-          width: 80%;
-          padding-top:28upx;
-          padding-bottom:28upx;
-          font-size: 33upx;
-          margin-top:30upx;
+          width: 70%;
+          padding-top:26upx;
+          padding-bottom:26upx;
+          font-size: 32upx;
+          margin-top:28upx;
         }
       }
     }
   }
 }
-// 待支付 - 公共
 .awaitPayWx,
 .awaitPayYe {
   .status-text {
@@ -450,11 +453,10 @@ export default {
     }
   }
 }
-// 待确认样式
 .wait {
-  color: #ffa92e;
-  font-size: 40upx;
-  font-weight: 700;
+  color:#ffa92e;
+  font-size:36upx;
+  font-weight:700;
   margin: 20upx 0;
 }
 .balance{