shish 1 год назад
Родитель
Сommit
3ae24f02cc

+ 2 - 2
ghsPad/src/pages/home/components/toPay.vue

@@ -29,9 +29,9 @@
 
         <uni-popup ref="cancelPaymentRef" type="dialog">
             <view style="width:60vw;height:70vh;background-color: white;padding:70upx 20upx 0 20upx;">
-                <view style="margin-bottom:40upx;text-align: center;">{{ cancelText }}</view>
+                <view style="margin-bottom:40upx;text-align: center;font-size:24upx;">{{ cancelText }}</view>
                 <view style="text-align:center;">
-                    <button class="admin-button-com mini-btn default" @click="returnCancel">返回</button>
+                    <button class="admin-button-com mini-btn" @click="returnCancel">返回</button>
                     <button class="admin-button-com mini-btn" @click="confirmToCancel" style="margin-left:30upx;">确认取消</button>
                 </view>
             </view>

+ 5 - 2
hdPad/src/pages/home/components/toPay.vue

@@ -29,9 +29,9 @@
 
         <uni-popup ref="cancelPaymentRef" type="dialog">
             <view style="width:60vw;height:70vh;background-color: white;padding:70upx 20upx 0 20upx;">
-                <view style="margin-bottom:40upx;text-align: center;">{{ cancelText }}</view>
+                <view style="margin-bottom:40upx;text-align: center;font-size:24upx;">{{ cancelText }}</view>
                 <view style="text-align:center;">
-                    <button class="admin-button-com mini-btn default" @click="returnCancel">返回</button>
+                    <button class="admin-button-com mini-btn" @click="returnCancel">返回</button>
                     <button class="admin-button-com mini-btn" @click="confirmToCancel" style="margin-left:30upx;">确认取消</button>
                 </view>
             </view>
@@ -132,6 +132,9 @@ export default {
             }
             this.$refs.cancelPaymentRef.open('center')
         },
+        returnCancel(){
+            this.$refs.cancelPaymentRef.close()
+        },
         confirmToCancel(){
             let that = this
             cancelOrderFn({id:this.orderId}).then(res=>{