shish 2 недель назад
Родитель
Сommit
4fae57bbaf

+ 7 - 5
ghsPad/src/pages/home/components/toPay.vue

@@ -17,11 +17,13 @@
 
                 <view class="show-code" v-if="goPay == 0">请出示付款码</view>
                 <view class="paying" v-if="goPay == 1">请求中</view>
-                <view style="font-size:18upx;margin:10upx auto 10upx auto;color:red;font-weight:bold;" v-if="goPay == 2">
-                    <view style="font-size:18upx;">{{ remindText }}</view>
-                    <text v-if="returnCode=='BBS11105' || returnCode=='BBS10000'" style="margin:0 auto;color:green;border:1upx solid green;border-radius: 8upx;padding:6upx;font-size:18upx;" @click="checkOrder">
-                    查询结果
-                    </text>
+                <view style="font-size:18upx;margin:8upx auto;color:red;font-weight:bold;text-align:center;" v-if="goPay == 2">
+                    <view style="font-size:18upx;line-height:1.3;max-width:90%;margin:0 auto;">{{ remindText }}</view>
+                    <view style="margin-top:6upx;display:flex;justify-content:center;" v-if="returnCode=='BBS11105' || returnCode=='BBS10000'">
+                        <text style="color:green;border:1upx solid green;border-radius:8upx;padding:4upx 12upx;font-size:18upx;font-weight:bold;line-height:1.2;background-color:transparent;" @click="checkOrder">
+                            查询结果
+                        </text>
+                    </view>
                 </view>
                 <view v-if="goPay == 1">
                     <image style="width:25upx;height:25upx;margin:0 auto;" :src="`${constant.imgUrl}/icon/loading.gif`" mode="scaleToFill" />

+ 10 - 8
hdPad/src/pages/home/components/toPay.vue

@@ -6,14 +6,16 @@
                 <view style="margin-top:20upx;font-weight:bold;font-size:35upx;color:black;">¥{{price}}</view>
                 <view class="show-code" v-if="goPay == 0">请出示付款码</view>
                 <view class="paying" v-if="goPay == 1">请求中</view>
-                <view style="font-size:19upx;margin:10upx auto 10upx auto;color:red;font-weight:bold;" v-if="goPay == 2">
-                    <view style="font-size:18upx;">{{ remindText }}</view>
-                    <text v-if="returnCode=='BBS11105' || returnCode=='BBS10000'" style="margin:0 auto;color:green;border:1upx solid green;border-radius: 8upx;padding:6upx;font-size:18upx;" @click="checkOrder">
-                        查询结果
-                    </text>
+                <view style="font-size:18upx;margin:8upx auto;color:red;font-weight:bold;text-align:center;" v-if="goPay == 2">
+                    <view style="font-size:18upx;line-height:1.3;max-width:90%;margin:0 auto;">{{ remindText }}</view>
+                    <view style="margin-top:6upx;display:flex;justify-content:center;" v-if="returnCode=='BBS11105' || returnCode=='BBS10000'">
+                        <text style="color:green;border:1upx solid green;border-radius:8upx;padding:4upx 12upx;font-size:18upx;font-weight:bold;line-height:1.2;background-color:transparent;" @click="checkOrder">
+                            查询结果
+                        </text>
+                    </view>
                 </view>
                 <image style="width:40upx;height:40upx;position:absolute;top:190upx;left:205upx;" :src="`${constant.imgUrl}/icon/loading.gif`" v-if="goPay == 1" mode="scaleToFill" />
-                <view style="margin-top:30upx;">
+                <view style="margin-top:15upx;">
                     <view @click="cancelPayFn" class="btn-default">取消</view>
                 </view>
             </view>
@@ -308,12 +310,12 @@ export default {
         }
         & .show-code{
             font-size: 19upx;
-            margin: 45upx 0 10upx 0;
+            margin: 15upx 0 10upx 0;
             font-weight:bold;
         }
         & .paying{
             font-size: 19upx;
-            margin: 45upx 0 10upx 0;
+            margin: 15upx 0 10upx 0;
             font-weight:bold;
         }
         & .btn-default {