Commit 147c511f authored by 小耗子's avatar 小耗子

修改收银台样式

parent db595604
......@@ -5,6 +5,15 @@
},
"pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
{
"path" : "pages/h5/pay",
"name":"pay",
"style" :
{
"navigationBarTitleText": "收银台",
"enablePullDownRefresh": false
}
},{
"path": "pages/index/index",
"style": {
"navigationBarTitleText": "步数",
......@@ -44,16 +53,7 @@
"enablePullDownRefresh": false
}
},{
"path" : "pages/h5/pay",
"name":"pay",
"style" :
{
"navigationBarTitleText": "支付",
"enablePullDownRefresh": false
}
}
}
],
"subPackages":[],
......
......@@ -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}}111</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>
......@@ -109,11 +112,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;
}
......
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