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
<!--
* @Author: jiangzaicheng jiangzaicheng_jzc@163.com
* @Date: 2022-07-07 16:13:13
* @LastEditors: jiangzaicheng jiangzaicheng_jzc@163.com
* @LastEditTime: 2022-07-25 18:17:02
* @FilePath: \mcep-h5\src\components\common\Bottom.vue
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
-->
<template>
<div class="body">
<div class="rarle">
<tatle-bar :tatle="tatleName" class="d-table"></tatle-bar>
</div>
<div class="rool">
<van-row type="flex">
<van-col span="24" class="title">贷款额度</van-col>
</van-row>
<van-row type="flex" justify="center" class="integral">
<van-col span="24" style="font-size: 24px;font-weight: 900; margin: 14px auto;">{{ money }}</van-col>
</van-row>
<van-row type="flex" justify="center" class="integrall">
<van-col span="24">{{ moneyName }}</van-col>
</van-row>
<van-row type="flex" class="layoutStep" gutter="2">
<van-col span="7" class="coolllo">下期还款日期</van-col>
<van-col span="9" class="coolllo">2021/02/21 03:14:12</van-col>
<van-col span="4" class="coolllo">还款金额</van-col>
<van-col span="4" class="coolllo">2000</van-col>
</van-row>
</div>
<div class="clltion">
<van-row type="flex" class="layoutSeep">
<van-col span="10" class="repaymentName">还款计划信息</van-col>
<van-col span="14" class="rain">单位:万元</van-col>
</van-row>
</div>
<div>
<a-table :columns="columns" :data-source="data" tableLayout="fixed " size="small" :scroll="{ y: '100%' }"
columnWidth=16 width=16 style="font-text:10px;" align="center" :pagination="false">
</a-table>
</div>
</div>
</template>
<script lang="ts">
import { Component, Vue, Prop, Watch, Emit } from "vue-property-decorator";
import 'ant-design-vue/dist/antd'
/*
* title
*/
@Component({
name: "Repayment"
})
export default class Repayment extends Vue {
money: string | undefined = "¥500万元"; //额度
moneyName: string | undefined = " 伍佰万元";//额度大写
tatleName = "还款计划"
//colum
columns = [
{
title: '期次',
dataIndex: 'Period ',
key: 'Period',
},
{
title: '还款日期',
dataIndex: 'Repayment',
key: 'Repayment',
},
{
title: '偿还利息',
dataIndex: 'principal',
key: 'principal',
},
{
title: '偿还本金',
dataIndex: 'Repay',
key: 'Repay'
},
{
title: '偿还利息',
dataIndex: 'interest',
key: 'interest',
},
{
title: '剩余利息',
dataIndex: 'residual',
key: 'residual',
},
];
//data
data = [
{
key: "1",
Period: "1",
Repayment: "2020-01-01",
principal: "1100",
Repay: "1000",
interest: "10000",
residual: "1000"
},
{
key: "1",
Period: "1",
Repayment: "2020-01-01",
principal: "1100",
Repay: "1000",
interest: "10000",
residual: "1000"
},
{
key: "1",
Period: "1",
Repayment: "2020-01-01",
principal: "1100",
Repay: "1000",
interest: "10000",
residual: "1000"
},
{
key: "1",
Period: "1",
Repayment: "2020-01-01",
principal: "1100",
Repay: "1000",
interest: "10000",
residual: "1000"
},
{
key: "1",
Period: "1",
Repayment: "2020-01-01",
principal: "1100",
Repay: "1000",
interest: "10000",
residual: "1000"
},
];
}
</script>
<style scoped lang="scss">
.d-table {
width: 100%;
height: 30vh;
}
.clltion {}
.repaymentName {
text-align: center;
font-family: 'Arial Negreta', 'Arial Normal', 'Arial';
font-weight: 700;
font-style: normal;
font-size: 16px;
}
.ant-table-column-title {
font-family: 'Arial Normal', 'Arial';
font-weight: 400;
font-style: normal;
font-size: 12px;
letter-spacing: normal;
color: #333333;
}
.rain {
padding-right: 4%;
text-align: right;
font-family: 'Arial Normal', 'Arial';
font-weight: 400;
font-style: normal;
font-size: 13px;
letter-spacing: normal;
color: #333333;
font-size: 12px;
}
.layoutSeep {
margin-top: 26%;
}
.title {
margin-top: 10%;
font-size: 14px;
text-align: center;
font-family: 'Arial Normal', 'Arial', sans-serif;
font-weight: 400;
font-style: normal;
letter-spacing: normal;
color: #999999;
vertical-align: none;
text-align: center;
line-height: normal;
text-transform: none;
}
.layoutStep {
margin: 5% auto;
text-align: center;
}
.integral {
//margin-top: 10%;
/* margin-left: 20%; */
text-align: center;
width: 90%;
height: 66px;
margin: 0px auto;
font-size: 36px;
color: #FFA121;
background-image: url('../../assets/images/tw.png');
}
.integrall {
//margin-top: 10%;
/* margin-left: 20%; */
text-align: center;
color: #FFA121;
font-size: 14px;
}
.rool {
margin: 0px auto;
background-color: rgba(255, 255, 255, 1);
position: absolute;
box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.12156862745098);
top: 13%;
/* left: calc(100vh - -15px); */
margin: 0px auto;
right: 4%;
width: 90%;
height: 30%;
/* margin: 2% auto; */
border-radius: 5px;
/* display: flex; */
font-weight: 400;
font-style: normal;
}
.coolllo {
font-family: 'Arial Normal', 'Arial';
font-weight: 400;
font-style: normal;
font-size: 12px;
letter-spacing: normal;
color: #333333;
}
</style>