PickUpSuccessPage.vue
2.84 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
<template>
<view class="submit-result-container">
<!-- 内容区域 -->
<view class="content-container">
<!-- 等待图标 -->
<view class="waiting-icon-container">
<view class="waiting-icon">
<image src="/static/images/account/certifition/success@2x.png" class="state-image"></image>
</view>
</view>
<!-- 审核状态文字 -->
<view class="status-text-container">
<text class="status-title">车辆交接成功</text>
<text class="status-desc">恭喜你,已完成车辆交接工作,请尽快(在5个工作日内)完成车辆过户</text>
</view>
<!-- 返回按钮 -->
<view class="button-container">
<van-button type="primary" round @click="navigateTo" block>上传过户资料</van-button>
</view>
</view>
</view>
</template>
<script lang="ts">
import {Component, Vue} from 'vue-facing-decorator';
import {Account} from "lib/src/entity/account/entity/Account";
import {onLoad, onShow} from "@dcloudio/uni-app";
import {AccountController} from "@/api/AccountController";
@Component({})
export default class PickUpSuccessPage extends Vue {
account: Account = null;
orderId: number;
created(): void {
onLoad((option) => {
this.orderId = option.orderId;
AccountController.getLoginAccount(this.axios).then(res => {
this.account = res.data;
});
});
onShow((option) => {
});
}
// 返回上一页
navigateTo() {
uni.navigateTo({url: '/module/order/transfer/UploadTransferPage?orderId=' + this.orderId});
}
}
</script>
<style scoped lang="scss">
.submit-result-container {
min-height: 100vh;
background-color: #fff;
display: flex;
flex-direction: column;
}
/* 内容区域样式 */
.content-container {
flex: 1;
display: flex;
flex-direction: column;
align-items: center;
//justify-content: center;
padding: 40px 20px;
}
/* 等待图标样式 */
.waiting-icon-container {
margin-bottom: 30px;
}
.waiting-icon {
width: 120px;
height: 120px;
//border-radius: 60px;
//background-color: #fff7e6;
//display: flex;
//align-items: center;
//justify-content: center;
}
.state-image {
width: 120px;
height: 120px;
}
/* 状态文字样式 */
.status-text-container {
text-align: center;
margin-bottom: 50px;
padding: 0 20px;
}
.status-title {
font-size: 20px;
font-weight: 500;
color: #333;
display: block;
margin-bottom: 15px;
}
.status-desc {
font-size: 14px;
color: #666;
line-height: 1.6;
}
/* 按钮样式 */
.button-container {
width: 100%;
padding: 0 20px;
}
.first-button {
border-radius: 8px;
}
</style>