123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114 |
- <template>
- <view class="page" :style="{'min-height':h+'px','padding-top':(mt)+'px'}">
- <c-nav-bar title="核销结果" showIcon="true" :titleStyle="titleStyle"></c-nav-bar>
- <view class="result">
- <image src="https://i.ringzle.com/file/20240319/331e202150fa4f328b8441db8dc0415e.png" mode="aspectFill">
- </image>
- <text>核销成功</text>
- <view>¥<span>{{price}}</span></view>
- </view>
- <view class="btns">
- <!-- <view @tap="toDetails">订单详情</view> -->
- <view @tap="toReturnHome">返回首页</view>
- </view>
- </view>
- </template>
- <script>
- export default {
- name: 'payResult',
- data() {
- return {
- price: '',
- orderId: '',
- titles: '安全收银台',
- h: uni.getSystemInfoSync().windowHeight,
- mt: uni.getSystemInfoSync().statusBarHeight + 44,
- }
- },
- onLoad(option) {
- this.price = option.price;
- },
- methods: {
- // toDetails() {
- // console.log(this.orderId);
- // uni.navigateTo({
- // url: '/pagesTrip/hotel/orderDetails/index?orderId=' + this.orderId
- // })
- // },
- toReturnHome() {
- uni.navigateTo({
- url: '/pagesMy/orderList/orderList'
- })
- }
- }
- }
- </script>
- <style scoped lang="less">
- .page {
- padding: 64rpx 40rpx;
- .result {
- padding-top: 50rpx;
- display: flex;
- flex-direction: column;
- align-items: center;
- image {
- width: 320rpx;
- height: 200rpx;
- }
- &>text {
- font-size: 32rpx;
- font-family: PingFang-SC-Bold, PingFang-SC;
- font-weight: bold;
- color: #111111;
- margin-top: 20rpx;
- }
- &>view {
- font-size: 36rpx;
- font-family: ArialMT;
- color: #333333;
- margin-top: 20rpx;
- span {
- font-size: 48rpx;
- font-family: Arial-BoldMT, Arial;
- font-weight: BoldMT;
- color: #333333;
- }
- }
- }
- .btns {
- display: flex;
- align-items: center;
- justify-content: space-between;
- margin-top: 268rpx;
- &>view {
- width: 100%;
- height: 88rpx;
- border-radius: 46rpx;
- // border: 2rpx solid #CCCCCC;
- background-color: #1372FF;
- line-height: 88rpx;
- text-align: center;
- font-size: 32rpx;
- font-family: PingFangSC-Regular, PingFang SC;
- font-weight: 400;
- color: #FFFFFF;
- // &:last-child {
- // border: 2rpx solid #007A69;
- // color: #007A69;
- // }
- }
- }
- }
- </style>
|