process.vue
4.08 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
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
<template>
<div class="main">
<div class="process-title">充值流程</div>
<div class="process-step-panel">
<div class="van-steps van-steps--vertical">
<div class="van-steps__items">
<div class="van-hairline van-step van-step--vertical van-step--finish">
<div class="van-step__title" style="color: rgb(0, 143, 255);">
<h3 >支付成功</h3>
</div>
<div class="van-step__circle-container">
<div class="step-in">
</div>
</div>
<div class="van-step__line" style="background: rgb(0, 143, 255);"></div>
</div>
<div class="van-hairline van-step van-step--vertical van-step--process">
<div class="van-step__title van-step__title--active" style="color: rgb(0, 143, 255);">
<h3>充值已提交</h3>
</div>
<div class="van-step__circle-container">
<div class="step-in">
</div>
</div>
<div class="van-step__line"></div>
</div>
<div class="van-hairline van-step van-step--vertical">
<div class="van-step__title"><h3 data-v-5fb13f3a="">预计10s内到账</h3>
<p>具体到账情况以运营商为准,如有疑问,请致电400-028-0503联系我们</p></div>
<div class="van-step__circle-container">
<div class="step-in-d">
</div>
</div>
<div class="van-step__line"></div>
</div>
</div>
</div>
</div>
<div class="process-detail">
<div class="process-detail-name">{{ productName }}</div>
<div class="process-detail-account">充值账号:{{ rechargeNumber }}</div>
<div class="process-detail-operation">
<div class="process-recharge" @click="getAgainPay">继续充值</div>
</div>
</div>
</div>
</template>
<script type='text/ecmascript-6'>
export default {
name: "process",
data() {
return {
status: 1,
productName: '',
rechargeNumber: ''
}
},
mounted() {
this.appHide();
this.rechargeNumber = this.$route.query.rechargeNumber;
this.productName = this.$route.query.productName;
},
methods: {
getAgainPay() {
this.$router.go(-1);
}
}
}
</script>
<style scoped lang="scss">
.main {
.process-title {
margin-top: 16px;
line-height: 20px;
padding-left: 20px;
font-weight: 700;
color: #333333;
font-size: 14px;
}
.process-step-panel {
border-bottom: 6px solid #F4F4F4;
padding: 0px 10px 20px 10px;
.van-step--vertical {
padding: 16px 16px 16px 0;
}
.van-step__circle-container {
top: 26px;
}
.van-step__line {
height: 30px;
top: 38px;
}
h3 {
font-size: 16px;
font-weight: 400;
line-height: 22px;
}
p {
font-size: 14px;
font-weight: 400;
color: #666666;
line-height: 20px;
margin-top: 10px;
}
.step-in {
width: 10px;
height: 10px;
background: #008FFF;
border-radius: 50%;
box-shadow: 0px 0px 6px rgba(0,143,255,1);
}
.step-in-d {
width: 10px;
height: 10px;
background: #E9E9E9;
border-radius: 50%;
}
}
.process-detail {
margin-top: 30px;
text-align: center;
line-height: 30px;
&-name {
font-size: 16px;
font-weight: 700;
color: #333333;
}
&-account {
font-size: 14px;
font-weight: 400;
color: #666666;
}
}
.process-detail-operation {
display: flex;
justify-content: center;
margin-top: 10px;
> div {
width: 116px;
height: 28px;
line-height: 28px;
text-align: center;
border-radius: 70px;
font-size: 12px;
}
.process-recharge {
background: rgba(0, 143, 255, 0.08);
border: 1px solid #008FFF;
margin-right: 10px;
font-weight: 400;
color: #008FFF;
}
.process-order {
background: #FFFFFF;
border: 1px solid #E9E9E9;
font-weight: 400;
color: #666666;
}
}
}
</style>