Ver Fonte

支付优化

shish há 4 meses atrás
pai
commit
0cdfd68cdb
1 ficheiros alterados com 5 adições e 3 exclusões
  1. 5 3
      ghsPad/src/pages/home/components/toPay.vue

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

@@ -4,10 +4,10 @@
             <view class="collect-code_box">
                 <image class="img" :src="`${constant.imgUrl}/icon/scan/scan.png`" mode="scaleToFill" @click="beginScan()" />
 
-<view style="margin-top:20upx;font-weight:bold;font-size:26upx;text-decoration:line-through;color:#8a7f7f;" v-if="Number(reachDiscountPrice) > 0 || Number(orderReachDiscountPrice) > 0">
+<view style="margin-top:8upx;font-weight:bold;font-size:22upx;text-decoration:line-through;color:#8a7f7f;" v-if="Number(reachDiscountPrice) > 0 || Number(orderReachDiscountPrice) > 0">
     ¥{{ parseFloat((Number(reachDiscountPrice)+Number(price)+Number(orderReachDiscountPrice)).toFixed(2)) }}
 </view>
-<view style="margin-top:10upx;font-weight:bold;font-size:26upx;color:red;" v-if="Number(reachDiscountPrice)>0">
+<view style="margin-top:8upx;font-weight:bold;font-size:24upx;color:red;" v-if="Number(reachDiscountPrice)>0">
     花材满减 -¥{{ parseFloat(reachDiscountPrice) }}
 </view>
 <view style="margin-top:10upx;font-weight:bold;font-size:26upx;color:red;" v-if="Number(orderReachDiscountPrice)>0">
@@ -23,7 +23,9 @@
                     查询结果
                     </text>
                 </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 v-if="goPay == 1">
+                    <image style="width:25upx;height:25upx;margin:0 auto;" :src="`${constant.imgUrl}/icon/loading.gif`" mode="scaleToFill" />
+                </view>
                 <view style="margin-top:10upx;">
                     <view @click="cancelPayFn" class="btn-default">取消</view>
                 </view>