宜呗小程序--微信小程序
Lzk
2025-08-05 b7bcaf556aa2424e808b6e6426ab22df9cfe11c1
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
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
<script>
import {checkUserStatus} from "@/api/modules/user";
 
export default {
  name: "index",
  data() {
    return {
      info:{},
 
      loanStatuses: [
        {
          title: '等待特权中',
          date: new Date(),
          desc:'领取特权,为您预留额度和优先放款'
        },
        {
          title: '额度审批通过',
          date: new Date(),
          desc: '恭喜您,已成功获得额度,请在30天内进行提现'
        },
        {
          title: '资金方匹配中',
          date: new Date(),
          desc: '我们正在为您匹配资金方,请您耐心等候。匹配通过后,我们会第一时间通知',
        },
        {
          title: '额度已提交',
          date: new Date(),
          desc: '您的额度申请已提交,我们会第一时间通知您审批结果,请耐心等待',
        },
      ],
    }
  },
  created() {
    checkUserStatus().then(res=>{
      this.info = res
    })
  },
}
</script>
 
<template>
  <view>
    <view class="head">
      <view style="color: white;font-size: 30rpx;display: flex;flex-direction: row">
        预审放款金额: <text style="font-size: 36rpx;font-weight: bold">{{info.firstQuota}}</text>  <view style="font-size: 28rpx;display: flex;justify-content: end">元</view>
      </view>
      <view style="font-size: 30rpx;display: flex;flex-direction: row;color: white">
        <image :src="`${$images}/static/img/loan-progress/loan-status-decorate.png`" class="loan-status-icon" style="margin-right: 20rpx;"></image>
        资金方匹配中
      </view>
    </view>
    <view class="content">
      <view class="card">
        <view class="status">
          <view>
            <view style="font-size: 28rpx">到账卡</view>
            <view class="info">
<!--              <image style="width: 52rpx;height: 52rpx;" src="https://test-skfq.iben-itech.com/zip/static/img/card/JK.png" ></image>-->
              <view style="margin-left: 20rpx;line-height: 52rpx">{{info.bankName}}()</view>
            </view>
          </view>
          <view>
            <view style="font-size: 28rpx">借款期限</view>
            <view class="num" style="line-height: 52rpx">12个月</view>
          </view>
        </view>
        <view class="privilege">
          <view class="privilege-title"> 放款特权待领取 </view>
          <view class="privilege-intro">审核放款提升速率90%,审核被拒就赔付</view>
        </view>
 
        <view class="loan-status-list">
          <view
              class="loan-status-item"
              :class="!index ? 'current' : null"
              v-for="(item, index) in loanStatuses"
              :key="item.key"
          >
            <view class="loan-status-icon"></view>
            <view class="loan-status-message">
              <view class="loan-status-title">
                {{ item.title }}
                <view class="loan-status-date" >
                  {{ item.date.getMonth() + 1 }}-{{ item.date.getDate() }}
                  {{ item.date.getHours().toString().padStart(2, '0') }}:{{
                    item.date.getMinutes().toString().padStart(2, '0')
                  }}
                </view>
              </view>
              <view class="loan-status-desc">
                {{ item.desc }}
              </view>
 
 
            </view>
          </view>
        </view>
      </view>
    </view>
  </view>
</template>
 
<style scoped lang="scss">
.content{
  .card{
    padding:30rpx 32rpx;
    color: #8B8D96;
    font-size: 28rpx;
    .status{
      display: flex;
      flex-direction: row;
      justify-content: space-between;
      padding-bottom: 30rpx;
      border-bottom: 1px solid #E7E9ED;;
      .info, .num{
        color: #252938;
        font-size: 30rpx;
        font-weight: bold;
        margin-top: 14rpx;
        display: flex;
        flex-direction: row;
        justify-content: space-evenly;
      }
      .num{
 
      }
    }
 
    .privilege {
      background-image: url(#{$iconHttps}/static/img/loan-progress/loan-privilege-bg.png);
      background-repeat: no-repeat;
      background-position: center;
      background-size: cover;
      padding: 32rpx 30rpx 28rpx;
      margin-bottom: 40rpx;
      border-radius: 16rpx;
      margin-top: 30rpx;
      .privilege-title {
        font-size: 30rpx;
        font-weight: 600;
        color: #2a428c;
        line-height: 42rpx;
        margin-bottom: 8rpx;
      }
      .privilege-intro {
        font-size: 24rpx;
        color: #2a428c;
        line-height: 34rpx;
      }
    }
 
 
    .loan-status-list {
      .loan-status-item {
        display: flex;
        position: relative;
        flex-direction: row;
        padding-bottom: 60rpx;
        &:not(:last-child)::before {
          content: '';
          width: 2rpx;
          background: #bdbdbe;
          opacity: 0.3;
          position: absolute;
          top: 0;
          bottom: -2px;
          left: 16rpx;
        }
        .loan-status-icon {
          flex: none;
          width: 34rpx;
          height: 34rpx;
          background-image: url(#{$iconHttps}/static/img/loan-progress/loan-status-icon.png);
          background-position: center;
          background-size: contain;
          background-repeat: no-repeat;
          margin-right: 34rpx;
          margin-top: 4rpx;
          position: relative;
          z-index: 1;
        }
        &:last-child .loan-status-icon::before {
          content: none;
        }
        .loan-status-title {
          font-size: 30rpx;
          font-weight: 600;
          color: #8b8d96;
          line-height: 42rpx;
          margin-bottom: 8rpx;
          display: flex;
          flex-direction: row;
        }
        .loan-status-date {
          font-size: 24rpx;
          line-height: 34rpx;
          margin-left: 20rpx;
          font-weight: 400;
        }
        .loan-status-desc {
          font-size: 24rpx;
          color: #8b8d96;
          line-height: 34rpx;
          margin-bottom: 16rpx;
        }
 
        .loan-status-actions2 {
          display: flex;
          min-height: 1px;
          margin-bottom: 40rpx;
          text-align: center;
          .mybutton1 {
            width: 280rpx;
            height: 64rpx;
            margin-left: 0;
            background: linear-gradient(118deg, #fce6bc 0%, #daa864 100%);
            border-radius: 32rpx;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 28rpx;
            color: #75361f;
            line-height: 40rpx;
          }
          .mybutton2 {
            width: 280rpx;
            height: 64rpx;
            margin-left: 12rpx;
            background: #d8d8d8 linear-gradient(104deg, #6d89ff 0%, #2865f2 100%);
            border-radius: 32rpx;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 28rpx;
            color: #ffffff;
            line-height: 40rpx;
          }
        }
 
        .loan-status-actions {
          min-height: 1px;
          margin-bottom: 40rpx;
          text-align: center;
          .loan-status-action {
            width: 286rpx;
            height: 64rpx;
            margin-left: 0;
            background: #d8d8d8 linear-gradient(104deg, #6d89ff 0%, #2865f2 100%);
            border-radius: 32rpx;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 28rpx;
            color: #ffffff;
            line-height: 40rpx;
          }
        }
        &.current {
          .loan-status-icon {
            background-image: url(#{$iconHttps}/static/img/loan-progress/loan-status-current-icon.png);
          }
          .loan-status-title {
            color: #4766fe;
          }
        }
      }
    }
  }
 
}
.head{
  background: #2865F2;
  display: flex;
  flex-direction: row;
  padding: 36rpx  40rpx;
  justify-content:space-between;
}
.loan-status-icon {
  width: 34rpx;
  height: 34rpx;
}
</style>