Browse Source

支付优化

shish 8 tháng trước cách đây
mục cha
commit
951663c340

+ 1 - 1
hdApp/src/admin/ghs/pay.vue

@@ -21,7 +21,7 @@
 				<div style="text-align:center;margin-top:10upx;">
 				<div style="text-align:center;margin-top:10upx;">
 					<image :src="imgUrl" mode="widthFix" style="width:230upx;height:230upx;margin:0 auto;"></image>
 					<image :src="imgUrl" mode="widthFix" style="width:230upx;height:230upx;margin:0 auto;"></image>
 					<view style="margin-top:10upx;font-size:32upx;">支付宝扫此二维码付款</view>
 					<view style="margin-top:10upx;font-size:32upx;">支付宝扫此二维码付款</view>
-					<button @click="downloadImg()" class="button-com red" style="margin:0 auto;width:560upx;">保存二维码</button>
+					<button @click="downloadImg()" class="button-com red" style="margin:0 auto;width:600upx;">保存二维码</button>
 					<div style="margin-top:58upx;font-size:30upx;text-decoration: underline;" @click="teachPayFn()">不会用支付宝付款?点这里教您</div>
 					<div style="margin-top:58upx;font-size:30upx;text-decoration: underline;" @click="teachPayFn()">不会用支付宝付款?点这里教您</div>
 				</div>
 				</div>
 				<!-- #endif -->
 				<!-- #endif -->

+ 2 - 1
hdApp/src/pagesPurchase/aliPay.vue

@@ -37,7 +37,8 @@
           <button class="button-com" @click="savePayCode" style="margin-top:10upx;" :class="[remainPayTime >0 ? 'ali-btn green':'default']" :disabled="remainPayTime > 0 ? false : true">保存二维码</button>
           <button class="button-com" @click="savePayCode" style="margin-top:10upx;" :class="[remainPayTime >0 ? 'ali-btn green':'default']" :disabled="remainPayTime > 0 ? false : true">保存二维码</button>
           <button class="button-com" @click="goDetail" style="margin-top:30upx;" :class="[remainPayTime >0 ? 'ali-btn green':'default']" :disabled="remainPayTime > 0 ? false : true">我已付款成功</button>
           <button class="button-com" @click="goDetail" style="margin-top:30upx;" :class="[remainPayTime >0 ? 'ali-btn green':'default']" :disabled="remainPayTime > 0 ? false : true">我已付款成功</button>
           <view style="margin-top:25upx;font-size:32upx;text-decoration: underline;" @click="teachPayFn()">不会用支付宝付款?点这里教您</view>
           <view style="margin-top:25upx;font-size:32upx;text-decoration: underline;" @click="teachPayFn()">不会用支付宝付款?点这里教您</view>
-          <button class="button-com pay-wx" @click="useWxPay()" :class="[remainPayTime >0 ? 'green':'default']" style="margin-top:50upx;" :disabled="remainPayTime > 0 ? false : true">微信付款</button>
+          <!-- 不能把微信支付放出来,不能让他返回微信去支付,会造成订单号变了,支付宝又在付款,付成了会找不到订单 -->
+          <!-- <button class="button-com pay-wx" @click="useWxPay()" :class="[remainPayTime >0 ? 'green':'default']" style="margin-top:50upx;" :disabled="remainPayTime > 0 ? false : true">微信付款</button> -->
         </div>
         </div>
         <!-- #endif -->
         <!-- #endif -->
         <!-- #ifdef APP-PLUS -->
         <!-- #ifdef APP-PLUS -->

+ 2 - 1
hdApp/src/pagesPurchase/gatherAliPay.vue

@@ -29,7 +29,8 @@
               <button class="button-com ali-btn" @click="savePayCode" style="margin-top:20upx;">保存二维码</button>
               <button class="button-com ali-btn" @click="savePayCode" style="margin-top:20upx;">保存二维码</button>
               <button class="button-com ali-btn" @click="goDetail" style="margin-top:30upx;">我已付款成功</button>
               <button class="button-com ali-btn" @click="goDetail" style="margin-top:30upx;">我已付款成功</button>
               <view style="margin-top:25upx;font-size:32upx;text-decoration: underline;" @click="teachPayFn()">不会用支付宝付款?点这里教您</view>
               <view style="margin-top:25upx;font-size:32upx;text-decoration: underline;" @click="teachPayFn()">不会用支付宝付款?点这里教您</view>
-              <button class="button-com green pay-wx" @click="useWxPay" style="margin-top:60upx;">用微信付款</button>
+              <!-- 不能把微信支付放出来,不能让他返回微信去支付,会造成订单号变了,支付宝又在付款,付成了会找不到订单 -->
+              <!-- <button class="button-com green pay-wx" @click="useWxPay" style="margin-top:60upx;">用微信付款</button> -->
               <!-- #endif -->
               <!-- #endif -->
             </block>
             </block>
             <block v-else>
             <block v-else>