Commit 1bfd3aaa authored by 小耗子's avatar 小耗子

修改收银台

parent c9e49ed4
...@@ -42,7 +42,7 @@ ...@@ -42,7 +42,7 @@
"name":"pay", "name":"pay",
"style" : "style" :
{ {
"navigationBarTitleText": "支付", "navigationBarTitleText": "收银台",
"enablePullDownRefresh": false "enablePullDownRefresh": false
} }
......
...@@ -2,8 +2,11 @@ ...@@ -2,8 +2,11 @@
<view> <view>
<!-- <sh-custom-nav :info="info" ></sh-custom-nav> --> <!-- <sh-custom-nav :info="info" ></sh-custom-nav> -->
<view class="pay-container" v-if="!isPay"> <view class="pay-container" v-if="!isPay">
<view class="pay-info">
<text class="info-tips">订单已创建,还需支付</text>
<view class="money-box"><text class="money">{{actuallyPay}}</text></view> <view class="money-box"><text class="money">{{actuallyPay}}</text></view>
<u-button @click="pay" shape="circle" type="primary" text="确认支付" color="#61b077"></u-button> </view>
<u-button @click="pay" shape="circle" type="primary" text="微信支付" color="#61b077"></u-button>
</view> </view>
<view class="payResult" v-else> <view class="payResult" v-else>
<u-icon v-if="payStatus == 'pending'" name="clock" size="60px" color="#61b077"></u-icon> <u-icon v-if="payStatus == 'pending'" name="clock" size="60px" color="#61b077"></u-icon>
...@@ -108,11 +111,19 @@ ...@@ -108,11 +111,19 @@
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
.pay-container{ .pay-container{
.pay-info{
text-align: center;
margin: 100rpx 0 ;
.info-tips{
font-weight: bold;
font-size: 36rpx;
}
}
.money-box{ .money-box{
font-size: 34rpx; font-size: 34rpx;
font-weight: bold; font-weight: bold;
margin: 100rpx 0 ;
text-align: center; text-align: center;
padding-top:50rpx;
.money{ .money{
font-size: 60rpx; font-size: 60rpx;
} }
...@@ -143,4 +154,5 @@ ...@@ -143,4 +154,5 @@
} }
} }
} }
</style> </style>
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment