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
| <script>
| export default {
| name: "index",
| onLoad(params) {
| this.state = params.state == 1;
| setTimeout(() => {
| uni.navigateBack({ delta: 3})
| },3000)
| },
| data() {
| return {
| state:false,
| };
| },
| }
| </script>
|
| <template>
| <view>
| <view class="content">
|
|
| <image v-if="state" style="width: 252rpx;height: 252rpx;margin: auto" :src="`${$images}/static/img/result/state1.png`"></image>
| <image v-else style="width: 252rpx;height: 252rpx;margin: auto" :src="`${$images}/static/img/result/state0.png`"></image>
|
| <view class="title">{{state?'还款处理中' : '还款成功'}}</view>
|
| <view v-if="state" class="tips">预计需要5-30分钟,请耐心等待...</view>
|
| </view>
| </view>
| </template>
|
| <style scoped lang="scss">
| .content{
| padding: 0 52rpx;
| padding-top: 314rpx;
| .title{
| font-size: 36rpx;
| color: #333333;
| text-align: center;
| margin-bottom: 32rpx;
| font-weight: 800;
| }
|
| .tips{
| font-size: 28rpx;
| text-align: center;
| color: #333333;
| margin-bottom: 60rpx;
| }
|
| }
| </style>
|
|