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

修改收银台

parent c9e49ed4
......@@ -42,7 +42,7 @@
"name":"pay",
"style" :
{
"navigationBarTitleText": "支付",
"navigationBarTitleText": "收银台",
"enablePullDownRefresh": false
}
......
......@@ -2,8 +2,11 @@
<view>
<!-- <sh-custom-nav :info="info" ></sh-custom-nav> -->
<view class="pay-container" v-if="!isPay">
<view class="money-box"><text class="money">{{actuallyPay}}</text></view>
<u-button @click="pay" shape="circle" type="primary" text="确认支付" color="#61b077"></u-button>
<view class="pay-info">
<text class="info-tips">订单已创建,还需支付</text>
<view class="money-box"><text class="money">{{actuallyPay}}</text></view>
</view>
<u-button @click="pay" shape="circle" type="primary" text="微信支付" color="#61b077"></u-button>
</view>
<view class="payResult" v-else>
<u-icon v-if="payStatus == 'pending'" name="clock" size="60px" color="#61b077"></u-icon>
......@@ -108,11 +111,19 @@
</script>
<style lang="scss" scoped>
.pay-container{
.pay-info{
text-align: center;
margin: 100rpx 0 ;
.info-tips{
font-weight: bold;
font-size: 36rpx;
}
}
.money-box{
font-size: 34rpx;
font-weight: bold;
margin: 100rpx 0 ;
text-align: center;
padding-top:50rpx;
.money{
font-size: 60rpx;
}
......@@ -143,4 +154,5 @@
}
}
}
</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