12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182 |
- <template>
- <view class="comfirm-order-success">
- <image class="ok" src="../../static/icon/ok.png"></image>
- <text class="t1">提交成功</text>
- <text class="t2">订单编号:{{ order_num }}</text>
- <text class="t3">应付金额:¥{{ money }}</text>
- <view class="btn">
- <view class="big-btn" @click="back">查看订单</view>
- <!-- <navigator open-type="navigateBack" class="big-btn">返回</navigator> -->
- <!-- <navigator :url="'../pay-order/pay-order?fromS=1&order_id=' + order_id + '&money=' + money + '&order_num=' + order_num" class="big-btn bg">付款</navigator> -->
- </view>
- </view>
- </template>
- <script>
- export default {
- data() {
- return {
- order_num: '',
- money: '',
- order_id: ''
- }
- },
- onLoad({
- order_num,
- money,
- order_id
- }) {
- this.order_num = order_num
- this.order_id = order_id
- this.money = money
- },
- methods: {
- back() {
- uni.redirectTo({
- url: '../my-order/my-order'
- })
- }
- }
- }
- </script>
- <style lang="scss">
- .comfirm-order-success {
- @include flex(column);
- height: 100vh;
- background: $app-base-bg;
- justify-content: flex-start;
- image {
- width: 176rpx;
- height: 176rpx;
- margin-top: 136rpx;
- }
- .t1 {
- font-size: 48rpx;
- margin-top: 63rpx;
- }
- .t2,
- .t3 {
- color: #858585;
- font-size: 32rpx;
- margin-top: 30rpx;
- }
- .btn {
- @include flex();
- justify-content: space-between;
- margin-top: 177rpx;
- height: 80rpx;
- width: 630rpx;
- navigator,
- view {
- width: 280rpx;
- font-size: 34rpx;
- }
- }
- }
- </style>
|