verce-vue-test 0.0.106 → 0.0.107
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/views/rmb-estimation/assets/styles/index.css +240 -29
- package/src/views/rmb-estimation/components/EndOfDayBorrowingEstimation.vue +2 -3
- package/src/views/rmb-estimation/components/ForecastOccurrence.vue +2 -3
- package/src/views/rmb-estimation/components/OpeningReserveEstimation.vue +2 -3
- package/src/views/rmb-estimation/index.vue +48 -9
package/package.json
CHANGED
|
@@ -2,53 +2,207 @@
|
|
|
2
2
|
width: 100%;
|
|
3
3
|
min-height: 100%;
|
|
4
4
|
margin: 0;
|
|
5
|
-
padding:
|
|
6
|
-
border-radius: 20px;
|
|
7
|
-
background: #fff;
|
|
5
|
+
padding: 24px;
|
|
8
6
|
box-sizing: border-box;
|
|
9
7
|
}
|
|
10
8
|
|
|
9
|
+
.rmb-estimation-page--menu {
|
|
10
|
+
display: flex;
|
|
11
|
+
align-items: center;
|
|
12
|
+
background: #f4f7fc;
|
|
13
|
+
}
|
|
14
|
+
|
|
11
15
|
.rmb-estimation-page .estimation-image-gallery {
|
|
12
16
|
display: grid;
|
|
13
17
|
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
14
|
-
gap:
|
|
18
|
+
gap: 20px;
|
|
19
|
+
width: 100%;
|
|
20
|
+
max-width: 1500px;
|
|
21
|
+
margin-inline: auto;
|
|
15
22
|
}
|
|
16
23
|
|
|
17
|
-
.rmb-estimation-page .estimation-
|
|
18
|
-
|
|
24
|
+
.rmb-estimation-page .estimation-module-card {
|
|
25
|
+
display: grid;
|
|
26
|
+
grid-template-rows: auto minmax(220px, 1fr) auto;
|
|
27
|
+
min-width: 0;
|
|
28
|
+
min-height: 480px;
|
|
29
|
+
padding: 24px;
|
|
19
30
|
overflow: hidden;
|
|
20
|
-
border: 1px solid #
|
|
21
|
-
border-radius:
|
|
31
|
+
border: 1px solid #e6edf8;
|
|
32
|
+
border-radius: 18px;
|
|
22
33
|
background: #fff;
|
|
34
|
+
color: inherit;
|
|
35
|
+
font: inherit;
|
|
36
|
+
text-align: left;
|
|
23
37
|
cursor: pointer;
|
|
24
|
-
box-shadow: 0
|
|
38
|
+
box-shadow: 0 10px 30px rgba(40, 72, 128, 0.1);
|
|
25
39
|
transition:
|
|
26
40
|
transform 180ms ease,
|
|
27
41
|
border-color 180ms ease,
|
|
28
42
|
box-shadow 180ms ease;
|
|
29
43
|
}
|
|
30
44
|
|
|
31
|
-
.rmb-estimation-page .estimation-
|
|
45
|
+
.rmb-estimation-page .estimation-module-card:hover {
|
|
32
46
|
border-color: #60a5fa;
|
|
33
|
-
transform: translateY(-
|
|
34
|
-
box-shadow: 0 18px
|
|
47
|
+
transform: translateY(-4px);
|
|
48
|
+
box-shadow: 0 18px 42px rgba(37, 99, 235, 0.16);
|
|
35
49
|
}
|
|
36
50
|
|
|
37
|
-
.rmb-estimation-page .estimation-
|
|
51
|
+
.rmb-estimation-page .estimation-module-card:focus-visible {
|
|
38
52
|
outline: 3px solid rgba(59, 130, 246, 0.35);
|
|
39
53
|
outline-offset: 4px;
|
|
40
54
|
}
|
|
41
55
|
|
|
56
|
+
.rmb-estimation-page .module-card-heading {
|
|
57
|
+
display: flex;
|
|
58
|
+
align-items: center;
|
|
59
|
+
gap: 16px;
|
|
60
|
+
min-width: 0;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
.rmb-estimation-page .module-card-sequence {
|
|
64
|
+
display: inline-grid;
|
|
65
|
+
width: 48px;
|
|
66
|
+
height: 48px;
|
|
67
|
+
flex: 0 0 48px;
|
|
68
|
+
place-items: center;
|
|
69
|
+
border-radius: 10px;
|
|
70
|
+
color: #1673e6;
|
|
71
|
+
background: #e5f0ff;
|
|
72
|
+
font: 700 20px/1 "DIN Alternate", Consolas, sans-serif;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
.rmb-estimation-page .module-card-title {
|
|
76
|
+
min-width: 0;
|
|
77
|
+
color: #092e68;
|
|
78
|
+
font: 700 clamp(20px, 1.7vw, 28px)/1.2 "PingFang SC", "Microsoft YaHei", sans-serif;
|
|
79
|
+
letter-spacing: 0.02em;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
.rmb-estimation-page .module-card-visual {
|
|
83
|
+
display: block;
|
|
84
|
+
min-height: 0;
|
|
85
|
+
margin: 14px -8px 16px;
|
|
86
|
+
overflow: hidden;
|
|
87
|
+
border-radius: 12px;
|
|
88
|
+
}
|
|
89
|
+
|
|
42
90
|
.rmb-estimation-page .estimation-image {
|
|
43
91
|
display: block;
|
|
44
92
|
width: 100%;
|
|
45
|
-
|
|
93
|
+
height: calc(100% + 120px);
|
|
94
|
+
min-height: 0;
|
|
95
|
+
margin-top: -120px;
|
|
46
96
|
object-fit: cover;
|
|
97
|
+
object-position: center bottom;
|
|
47
98
|
transition: transform 240ms ease;
|
|
48
99
|
}
|
|
49
100
|
|
|
50
|
-
.rmb-estimation-page .estimation-
|
|
51
|
-
transform: scale(1.
|
|
101
|
+
.rmb-estimation-page .estimation-module-card:hover .estimation-image {
|
|
102
|
+
transform: scale(1.02);
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
.rmb-estimation-page .module-card-action {
|
|
106
|
+
display: flex;
|
|
107
|
+
align-items: center;
|
|
108
|
+
justify-content: center;
|
|
109
|
+
gap: 28px;
|
|
110
|
+
min-height: 50px;
|
|
111
|
+
border-radius: 10px;
|
|
112
|
+
color: #1673e6;
|
|
113
|
+
background: #e8f1ff;
|
|
114
|
+
font-size: 16px;
|
|
115
|
+
font-weight: 700;
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
.rmb-estimation-page .module-card-action .el-icon {
|
|
119
|
+
font-size: 21px;
|
|
120
|
+
transition: transform 180ms ease;
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
.rmb-estimation-page .estimation-module-card:hover .module-card-action .el-icon {
|
|
124
|
+
transform: translateX(5px);
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
.rmb-estimation-page .estimation-module-card--2 .module-card-sequence {
|
|
128
|
+
color: #099eb2;
|
|
129
|
+
background: #e2f7f8;
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
.rmb-estimation-page .estimation-module-card--2 .module-card-action {
|
|
133
|
+
color: #099eb2;
|
|
134
|
+
background: #e8f8f8;
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
.rmb-estimation-page .estimation-module-card--3 .module-card-sequence {
|
|
138
|
+
color: #3f5cf3;
|
|
139
|
+
background: #e9edff;
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
.rmb-estimation-page .estimation-module-card--3 .module-card-action {
|
|
143
|
+
color: #3f5cf3;
|
|
144
|
+
background: #eef0ff;
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
.rmb-estimation-page .estimation-module-tabs {
|
|
148
|
+
display: flex;
|
|
149
|
+
align-items: center;
|
|
150
|
+
width: min(100%, 760px);
|
|
151
|
+
margin: 0 auto 12px;
|
|
152
|
+
overflow-x: auto;
|
|
153
|
+
border-bottom: 1px solid #d9e4f5;
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
.rmb-estimation-page .estimation-module-tab {
|
|
157
|
+
position: relative;
|
|
158
|
+
min-height: 44px;
|
|
159
|
+
padding: 0 22px;
|
|
160
|
+
border: 0;
|
|
161
|
+
color: #587095;
|
|
162
|
+
background: transparent;
|
|
163
|
+
font: 500 15px/1.2 "PingFang SC", "Microsoft YaHei", sans-serif;
|
|
164
|
+
white-space: nowrap;
|
|
165
|
+
cursor: pointer;
|
|
166
|
+
transition:
|
|
167
|
+
color 160ms ease,
|
|
168
|
+
background-color 160ms ease;
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
.rmb-estimation-page .estimation-module-tab::after {
|
|
172
|
+
position: absolute;
|
|
173
|
+
right: 22px;
|
|
174
|
+
bottom: -1px;
|
|
175
|
+
left: 22px;
|
|
176
|
+
height: 3px;
|
|
177
|
+
border-radius: 3px 3px 0 0;
|
|
178
|
+
background: #2777df;
|
|
179
|
+
content: "";
|
|
180
|
+
opacity: 0;
|
|
181
|
+
transform: scaleX(0.5);
|
|
182
|
+
transition:
|
|
183
|
+
opacity 160ms ease,
|
|
184
|
+
transform 160ms ease;
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
.rmb-estimation-page .estimation-module-tab:hover {
|
|
188
|
+
color: #1f66c5;
|
|
189
|
+
background: #f5f8fd;
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
.rmb-estimation-page .estimation-module-tab.is-active {
|
|
193
|
+
color: #155fbf;
|
|
194
|
+
font-weight: 700;
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
.rmb-estimation-page .estimation-module-tab.is-active::after {
|
|
198
|
+
opacity: 1;
|
|
199
|
+
transform: scaleX(1);
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
.rmb-estimation-page .estimation-module-tab:focus-visible {
|
|
203
|
+
z-index: 1;
|
|
204
|
+
outline: 2px solid rgba(39, 119, 223, 0.35);
|
|
205
|
+
outline-offset: -3px;
|
|
52
206
|
}
|
|
53
207
|
|
|
54
208
|
.rmb-estimation-page .estimation-detail-page {
|
|
@@ -59,7 +213,9 @@
|
|
|
59
213
|
.rmb-estimation-page .back-row {
|
|
60
214
|
display: flex;
|
|
61
215
|
align-items: center;
|
|
216
|
+
width: min(100%, 760px);
|
|
62
217
|
min-height: 48px;
|
|
218
|
+
margin-inline: auto;
|
|
63
219
|
}
|
|
64
220
|
|
|
65
221
|
.rmb-estimation-page .page-toolbar {
|
|
@@ -67,14 +223,38 @@
|
|
|
67
223
|
grid-template-columns: 1fr auto 1fr;
|
|
68
224
|
align-items: center;
|
|
69
225
|
gap: 24px;
|
|
226
|
+
width: min(100%, 960px);
|
|
70
227
|
min-height: 72px;
|
|
228
|
+
margin-inline: auto;
|
|
71
229
|
padding: 0 2px;
|
|
230
|
+
box-sizing: border-box;
|
|
72
231
|
}
|
|
73
232
|
|
|
74
233
|
.rmb-estimation-page .page-toolbar > :last-child {
|
|
75
234
|
justify-self: end;
|
|
76
235
|
}
|
|
77
236
|
|
|
237
|
+
.rmb-estimation-page :is(
|
|
238
|
+
.forecast-occurrence-page,
|
|
239
|
+
.borrowing-estimation-page,
|
|
240
|
+
.opening-reserve-page
|
|
241
|
+
) .page-toolbar {
|
|
242
|
+
grid-template-columns: minmax(0, 1fr) auto;
|
|
243
|
+
width: min(100%, 760px);
|
|
244
|
+
}
|
|
245
|
+
|
|
246
|
+
.rmb-estimation-page :is(
|
|
247
|
+
.forecast-occurrence-page,
|
|
248
|
+
.borrowing-estimation-page,
|
|
249
|
+
.opening-reserve-page
|
|
250
|
+
) .title-wrap {
|
|
251
|
+
text-align: left;
|
|
252
|
+
}
|
|
253
|
+
|
|
254
|
+
.rmb-estimation-page .forecast-occurrence-page .title-wrap {
|
|
255
|
+
justify-self: start;
|
|
256
|
+
}
|
|
257
|
+
|
|
78
258
|
.rmb-estimation-page .toolbar-actions,
|
|
79
259
|
.rmb-estimation-page .amount-unit-control {
|
|
80
260
|
display: flex;
|
|
@@ -146,46 +326,62 @@
|
|
|
146
326
|
}
|
|
147
327
|
|
|
148
328
|
.rmb-estimation-page .query-panel {
|
|
149
|
-
|
|
329
|
+
width: min(100%, 760px);
|
|
330
|
+
margin: 0 auto 16px;
|
|
150
331
|
padding: 18px 24px 2px;
|
|
151
332
|
border: 1px solid #d9e4f5;
|
|
152
333
|
border-radius: 6px;
|
|
153
|
-
|
|
334
|
+
box-sizing: border-box;
|
|
335
|
+
}
|
|
336
|
+
|
|
337
|
+
.rmb-estimation-page .query-panel .el-form {
|
|
338
|
+
display: flex;
|
|
339
|
+
flex-wrap: nowrap;
|
|
340
|
+
align-items: flex-start;
|
|
154
341
|
}
|
|
155
342
|
|
|
156
343
|
.rmb-estimation-page .query-panel .el-form-item {
|
|
157
|
-
margin-right:
|
|
344
|
+
margin-right: 16px;
|
|
345
|
+
}
|
|
346
|
+
|
|
347
|
+
.rmb-estimation-page .query-panel .el-form-item:last-child {
|
|
348
|
+
margin-right: 0;
|
|
349
|
+
}
|
|
350
|
+
|
|
351
|
+
.rmb-estimation-page .query-panel .query-button {
|
|
352
|
+
height: 32px;
|
|
353
|
+
min-height: 32px;
|
|
158
354
|
}
|
|
159
355
|
|
|
160
356
|
.rmb-estimation-page .query-panel .el-select,
|
|
161
357
|
.rmb-estimation-page .query-panel .el-date-editor {
|
|
162
|
-
width:
|
|
358
|
+
width: 190px;
|
|
163
359
|
}
|
|
164
360
|
|
|
165
361
|
.rmb-estimation-page .amount-table {
|
|
166
|
-
padding: 0
|
|
362
|
+
padding: 0 24px;
|
|
167
363
|
}
|
|
168
364
|
|
|
169
365
|
.rmb-estimation-page .amount-row {
|
|
170
366
|
display: grid;
|
|
171
367
|
align-items: center;
|
|
172
|
-
gap:
|
|
173
|
-
min-height:
|
|
368
|
+
gap: 18px;
|
|
369
|
+
min-height: 68px;
|
|
174
370
|
border-top: 1px dashed #dce5f2;
|
|
175
371
|
}
|
|
176
372
|
|
|
177
373
|
.rmb-estimation-page .amount-table--occurrence .amount-row {
|
|
178
374
|
grid-template-columns:
|
|
179
|
-
minmax(
|
|
180
|
-
repeat(2, minmax(
|
|
375
|
+
minmax(210px, 1.1fr)
|
|
376
|
+
repeat(2, minmax(180px, 0.9fr));
|
|
181
377
|
}
|
|
182
378
|
|
|
183
379
|
.rmb-estimation-page .amount-table--ledger .amount-row {
|
|
184
|
-
grid-template-columns: minmax(
|
|
380
|
+
grid-template-columns: minmax(220px, 1fr) minmax(180px, 0.72fr);
|
|
185
381
|
}
|
|
186
382
|
|
|
187
383
|
.rmb-estimation-page .amount-row--head {
|
|
188
|
-
min-height:
|
|
384
|
+
min-height: 52px;
|
|
189
385
|
border-top-style: solid;
|
|
190
386
|
border-top-color: #cbdaf0;
|
|
191
387
|
border-bottom: 1px solid #cbdaf0;
|
|
@@ -242,9 +438,24 @@
|
|
|
242
438
|
color: #d92c2c;
|
|
243
439
|
}
|
|
244
440
|
|
|
441
|
+
.rmb-estimation-page .occurrence-panel {
|
|
442
|
+
width: min(100%, 760px);
|
|
443
|
+
margin-inline: auto;
|
|
444
|
+
}
|
|
445
|
+
|
|
446
|
+
.rmb-estimation-page .ledger-panel {
|
|
447
|
+
width: min(100%, 760px);
|
|
448
|
+
margin-inline: auto;
|
|
449
|
+
}
|
|
450
|
+
|
|
245
451
|
@media screen and (max-width: 1080px) {
|
|
246
452
|
.rmb-estimation-page .estimation-image-gallery {
|
|
247
453
|
grid-template-columns: 1fr;
|
|
454
|
+
max-width: 620px;
|
|
455
|
+
}
|
|
456
|
+
|
|
457
|
+
.rmb-estimation-page .estimation-module-card {
|
|
458
|
+
min-height: 460px;
|
|
248
459
|
}
|
|
249
460
|
}
|
|
250
461
|
|
|
@@ -255,11 +466,11 @@
|
|
|
255
466
|
|
|
256
467
|
.rmb-estimation-page .query-panel,
|
|
257
468
|
.rmb-estimation-page .occurrence-panel {
|
|
258
|
-
min-width:
|
|
469
|
+
min-width: 760px;
|
|
259
470
|
}
|
|
260
471
|
|
|
261
472
|
.rmb-estimation-page .ledger-panel {
|
|
262
|
-
min-width:
|
|
473
|
+
min-width: 640px;
|
|
263
474
|
}
|
|
264
475
|
}
|
|
265
476
|
|
|
@@ -65,7 +65,7 @@ async function loadResult() {
|
|
|
65
65
|
loading.value = true
|
|
66
66
|
|
|
67
67
|
try {
|
|
68
|
-
const response = await queryEndOfDayBorrowingEstimation()
|
|
68
|
+
const response = await queryEndOfDayBorrowingEstimation() as any
|
|
69
69
|
result.value = response.body ?? {}
|
|
70
70
|
} catch (error) {
|
|
71
71
|
ElMessage.error(error instanceof Error ? error.message : '日终拆借数匡算查询失败')
|
|
@@ -80,7 +80,7 @@ onMounted(loadResult)
|
|
|
80
80
|
<template>
|
|
81
81
|
<section
|
|
82
82
|
v-loading="loading"
|
|
83
|
-
class="estimation-detail-page"
|
|
83
|
+
class="estimation-detail-page borrowing-estimation-page"
|
|
84
84
|
element-loading-text="正在查询日终拆借数匡算结果…"
|
|
85
85
|
>
|
|
86
86
|
<div class="back-row">
|
|
@@ -88,7 +88,6 @@ onMounted(loadResult)
|
|
|
88
88
|
</div>
|
|
89
89
|
|
|
90
90
|
<header class="page-toolbar">
|
|
91
|
-
<span class="toolbar-spacer" aria-hidden="true"></span>
|
|
92
91
|
<div class="title-wrap">
|
|
93
92
|
<h2 class="page-title">日终拆借数匡算</h2>
|
|
94
93
|
</div>
|
|
@@ -100,7 +100,7 @@ async function loadResult() {
|
|
|
100
100
|
const response = await queryForecastOccurrence({
|
|
101
101
|
busiType: filters.busiType.trim(),
|
|
102
102
|
tranDate: filters.tranDate,
|
|
103
|
-
})
|
|
103
|
+
}) as any
|
|
104
104
|
result.value = response.body ?? {}
|
|
105
105
|
} catch (error) {
|
|
106
106
|
ElMessage.error(error instanceof Error ? error.message : '预报发生情况查询失败')
|
|
@@ -115,7 +115,7 @@ onMounted(loadResult)
|
|
|
115
115
|
<template>
|
|
116
116
|
<section
|
|
117
117
|
v-loading="loading"
|
|
118
|
-
class="estimation-detail-page"
|
|
118
|
+
class="estimation-detail-page forecast-occurrence-page"
|
|
119
119
|
element-loading-text="正在查询预报发生情况…"
|
|
120
120
|
>
|
|
121
121
|
<div class="back-row">
|
|
@@ -123,7 +123,6 @@ onMounted(loadResult)
|
|
|
123
123
|
</div>
|
|
124
124
|
|
|
125
125
|
<header class="page-toolbar">
|
|
126
|
-
<span class="toolbar-spacer" aria-hidden="true"></span>
|
|
127
126
|
<div class="title-wrap">
|
|
128
127
|
<h2 class="page-title">预报与发生情况</h2>
|
|
129
128
|
</div>
|
|
@@ -61,7 +61,7 @@ async function loadResult() {
|
|
|
61
61
|
loading.value = true
|
|
62
62
|
|
|
63
63
|
try {
|
|
64
|
-
const response = await queryOpeningReserveEstimation()
|
|
64
|
+
const response = await queryOpeningReserveEstimation() as any
|
|
65
65
|
result.value = response.body ?? {}
|
|
66
66
|
} catch (error) {
|
|
67
67
|
ElMessage.error(error instanceof Error ? error.message : '日初备款数匡算查询失败')
|
|
@@ -76,7 +76,7 @@ onMounted(loadResult)
|
|
|
76
76
|
<template>
|
|
77
77
|
<section
|
|
78
78
|
v-loading="loading"
|
|
79
|
-
class="estimation-detail-page"
|
|
79
|
+
class="estimation-detail-page opening-reserve-page"
|
|
80
80
|
element-loading-text="正在查询日初备款数匡算结果…"
|
|
81
81
|
>
|
|
82
82
|
<div class="back-row">
|
|
@@ -84,7 +84,6 @@ onMounted(loadResult)
|
|
|
84
84
|
</div>
|
|
85
85
|
|
|
86
86
|
<header class="page-toolbar">
|
|
87
|
-
<span class="toolbar-spacer" aria-hidden="true"></span>
|
|
88
87
|
<div class="title-wrap">
|
|
89
88
|
<h2 class="page-title">日初备款数匡算</h2>
|
|
90
89
|
</div>
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
<script setup lang="ts">
|
|
2
2
|
import { ref } from 'vue'
|
|
3
|
+
import { Right } from '@element-plus/icons-vue'
|
|
3
4
|
import './assets/styles/index.css'
|
|
4
5
|
import forecastOccurrenceImage from './assets/images/rmb-position-forecast-occurrence.jpg'
|
|
5
6
|
import interbankLendingEstimationImage from './assets/images/rmb-position-interbank-lending-estimation.jpg'
|
|
@@ -10,6 +11,7 @@ import OpeningReserveEstimation from './components/OpeningReserveEstimation.vue'
|
|
|
10
11
|
|
|
11
12
|
type EstimationImage = {
|
|
12
13
|
key: 'forecast-occurrence' | 'interbank-lending' | 'opening-reserve'
|
|
14
|
+
sequence: string
|
|
13
15
|
title: string
|
|
14
16
|
src: string
|
|
15
17
|
}
|
|
@@ -17,16 +19,19 @@ type EstimationImage = {
|
|
|
17
19
|
const estimationImages: EstimationImage[] = [
|
|
18
20
|
{
|
|
19
21
|
key: 'forecast-occurrence',
|
|
22
|
+
sequence: '01',
|
|
20
23
|
title: '预报与发生情况',
|
|
21
24
|
src: forecastOccurrenceImage,
|
|
22
25
|
},
|
|
23
26
|
{
|
|
24
27
|
key: 'interbank-lending',
|
|
25
|
-
|
|
28
|
+
sequence: '02',
|
|
29
|
+
title: '日终拆借数匡算',
|
|
26
30
|
src: interbankLendingEstimationImage,
|
|
27
31
|
},
|
|
28
32
|
{
|
|
29
33
|
key: 'opening-reserve',
|
|
34
|
+
sequence: '03',
|
|
30
35
|
title: '日初备款数匡算',
|
|
31
36
|
src: openingReserveEstimationImage,
|
|
32
37
|
},
|
|
@@ -44,7 +49,28 @@ function backToImageList() {
|
|
|
44
49
|
</script>
|
|
45
50
|
|
|
46
51
|
<template>
|
|
47
|
-
<div
|
|
52
|
+
<div
|
|
53
|
+
class="rmb-estimation-page"
|
|
54
|
+
:class="{ 'rmb-estimation-page--menu': !selectedImage }"
|
|
55
|
+
>
|
|
56
|
+
<nav
|
|
57
|
+
v-if="selectedImage"
|
|
58
|
+
class="estimation-module-tabs"
|
|
59
|
+
aria-label="人民币匡算模块切换"
|
|
60
|
+
>
|
|
61
|
+
<button
|
|
62
|
+
v-for="image in estimationImages"
|
|
63
|
+
:key="image.key"
|
|
64
|
+
type="button"
|
|
65
|
+
class="estimation-module-tab"
|
|
66
|
+
:class="{ 'is-active': selectedImage.key === image.key }"
|
|
67
|
+
:aria-current="selectedImage.key === image.key ? 'page' : undefined"
|
|
68
|
+
@click="openImagePage(image)"
|
|
69
|
+
>
|
|
70
|
+
{{ image.title }}
|
|
71
|
+
</button>
|
|
72
|
+
</nav>
|
|
73
|
+
|
|
48
74
|
<ForecastOccurrence
|
|
49
75
|
v-if="selectedImage?.key === 'forecast-occurrence'"
|
|
50
76
|
@back="backToImageList"
|
|
@@ -62,18 +88,31 @@ function backToImageList() {
|
|
|
62
88
|
|
|
63
89
|
<section v-else class="estimation-image-gallery" aria-label="人民币匡算业务图示">
|
|
64
90
|
<button
|
|
65
|
-
v-for="image in estimationImages"
|
|
91
|
+
v-for="(image, index) in estimationImages"
|
|
66
92
|
:key="image.key"
|
|
67
93
|
type="button"
|
|
68
|
-
class="estimation-
|
|
94
|
+
class="estimation-module-card"
|
|
95
|
+
:class="`estimation-module-card--${index + 1}`"
|
|
69
96
|
:aria-label="`打开${image.title}`"
|
|
70
97
|
@click="openImagePage(image)"
|
|
71
98
|
>
|
|
72
|
-
<
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
99
|
+
<span class="module-card-heading">
|
|
100
|
+
<span class="module-card-sequence">{{ image.sequence }}</span>
|
|
101
|
+
<span class="module-card-title">{{ image.title }}</span>
|
|
102
|
+
</span>
|
|
103
|
+
|
|
104
|
+
<span class="module-card-visual">
|
|
105
|
+
<img
|
|
106
|
+
:src="image.src"
|
|
107
|
+
alt=""
|
|
108
|
+
class="estimation-image"
|
|
109
|
+
/>
|
|
110
|
+
</span>
|
|
111
|
+
|
|
112
|
+
<span class="module-card-action">
|
|
113
|
+
<span>进入模块</span>
|
|
114
|
+
<el-icon><Right /></el-icon>
|
|
115
|
+
</span>
|
|
77
116
|
</button>
|
|
78
117
|
</section>
|
|
79
118
|
</div>
|