verce-vue-test 0.0.37 → 0.0.39

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.
Files changed (153) hide show
  1. package/888/mini2.0-main/.editorconfig +8 -0
  2. package/888/mini2.0-main/.env.development +3 -0
  3. package/888/mini2.0-main/.env.production +3 -0
  4. package/888/mini2.0-main/.env.test +3 -0
  5. package/888/mini2.0-main/.gitattributes +1 -0
  6. package/888/mini2.0-main/.oxlintrc.json +10 -0
  7. package/888/mini2.0-main/.prettierrc.json +6 -0
  8. package/888/mini2.0-main/.vscode/extensions.json +9 -0
  9. package/888/mini2.0-main/README.md +179 -0
  10. package/888/mini2.0-main/auto-imports.d.ts +629 -0
  11. package/888/mini2.0-main/components.d.ts +21 -0
  12. package/888/mini2.0-main/design-qa.md +36 -0
  13. package/888/mini2.0-main/docs/MX_API.md +244 -0
  14. package/888/mini2.0-main/docs/REQUEST.md +217 -0
  15. package/888/mini2.0-main/docs/jsapi.js +515 -0
  16. package/888/mini2.0-main/docs/package-json-guide.md +132 -0
  17. package/888/mini2.0-main/env.d.ts +15 -0
  18. package/888/mini2.0-main/eslint.config.ts +26 -0
  19. package/888/mini2.0-main/index.html +16 -0
  20. package/888/mini2.0-main/output/playwright/rmb-position/design-comparison.png +0 -0
  21. package/888/mini2.0-main/output/playwright/rmb-position/rmb-position-back-top.png +0 -0
  22. package/888/mini2.0-main/output/playwright/rmb-position/rmb-position-page.png +0 -0
  23. package/888/mini2.0-main/output/playwright/rmb-position/rmb-position-sticky-check.png +0 -0
  24. package/888/mini2.0-main/output/playwright/rmb-position/rmb-position-sticky-scrolled.png +0 -0
  25. package/888/mini2.0-main/package-lock.json +6442 -0
  26. package/888/mini2.0-main/package.json +66 -0
  27. package/888/mini2.0-main/plugins/bump-version.ts +61 -0
  28. package/888/mini2.0-main/postcss.config.ts +15 -0
  29. package/888/mini2.0-main/public/favicon.ico +0 -0
  30. package/888/mini2.0-main/public/images/12a73787-86a9-4891-a65f-66104746f6a8.png +0 -0
  31. package/888/mini2.0-main/public/images/5798d7aa-ba8b-4605-8079-58b35495ac55.png +0 -0
  32. package/888/mini2.0-main/public/images/73fef1e4-0fd0-4a1a-9b8b-a70a5b6acbbc.png +0 -0
  33. package/888/mini2.0-main/public/images/bc685b4c-0cca-4a79-924c-a8ee10e6f8eb.png +0 -0
  34. package/888/mini2.0-main/public/images/c3dbbd9d-be56-490e-b9f4-6ee17ebefffc.png +0 -0
  35. package/888/mini2.0-main/public/images/ea745a10-42aa-4f44-8d7f-3ab02cc0adcd.png +0 -0
  36. package/888/mini2.0-main/public/images/f5876785-b927-4347-ba19-999114240649.png +0 -0
  37. package/888/mini2.0-main/public/images/img.png +0 -0
  38. package/888/mini2.0-main/src/App.vue +59 -0
  39. package/888/mini2.0-main/src/api/health.ts +13 -0
  40. package/888/mini2.0-main/src/api/rmb-position.ts +287 -0
  41. package/888/mini2.0-main/src/api/user.ts +54 -0
  42. package/888/mini2.0-main/src/auto-imports.d.ts +639 -0
  43. package/888/mini2.0-main/src/components.d.ts +30 -0
  44. package/888/mini2.0-main/src/config/config.properties +3 -0
  45. package/888/mini2.0-main/src/config/env.ts +6 -0
  46. package/888/mini2.0-main/src/config/plugin.properties.pro +6 -0
  47. package/888/mini2.0-main/src/config/plugin.properties.test +6 -0
  48. package/888/mini2.0-main/src/core/mxApi/index.ts +344 -0
  49. package/888/mini2.0-main/src/core/request/index.ts +135 -0
  50. package/888/mini2.0-main/src/main.ts +39 -0
  51. package/888/mini2.0-main/src/router/index.ts +77 -0
  52. package/888/mini2.0-main/src/stores/app.ts +24 -0
  53. package/888/mini2.0-main/src/stores/counter.ts +12 -0
  54. package/888/mini2.0-main/src/stores/user.ts +85 -0
  55. package/888/mini2.0-main/src/types/api.d.ts +14 -0
  56. package/888/mini2.0-main/src/types/nprogress.d.ts +8 -0
  57. package/888/mini2.0-main/src/utils/auth-token.ts +197 -0
  58. package/888/mini2.0-main/src/utils/query.ts +27 -0
  59. package/888/mini2.0-main/src/utils/request.ts +233 -0
  60. package/888/mini2.0-main/src/views/clearing-detail/index.vue +49 -0
  61. package/888/mini2.0-main/src/views/foreign-position/index.vue +49 -0
  62. package/888/mini2.0-main/src/views/home/index.vue +213 -0
  63. package/888/mini2.0-main/src/views/login/index.vue +202 -0
  64. package/888/mini2.0-main/src/views/mine/index.vue +143 -0
  65. package/888/mini2.0-main/src/views/net-debit/index.vue +49 -0
  66. package/888/mini2.0-main/src/views/pbc-position/index.vue +49 -0
  67. package/888/mini2.0-main/src/views/position-estimate/index.vue +49 -0
  68. package/888/mini2.0-main/src/views/rmb-position/index.vue +1042 -0
  69. package/888/mini2.0-main/src/views/warning/index.vue +49 -0
  70. package/888/mini2.0-main/tsconfig.app.json +18 -0
  71. package/888/mini2.0-main/tsconfig.json +11 -0
  72. package/888/mini2.0-main/tsconfig.node.json +28 -0
  73. package/888/mini2.0-main/vite.config.ts +98 -0
  74. package/design-qa.md +39 -0
  75. package/mini2.0-main 2/.editorconfig +8 -0
  76. package/mini2.0-main 2/.env.development +3 -0
  77. package/mini2.0-main 2/.env.production +3 -0
  78. package/mini2.0-main 2/.env.test +3 -0
  79. package/mini2.0-main 2/.gitattributes +1 -0
  80. package/mini2.0-main 2/.oxlintrc.json +10 -0
  81. package/mini2.0-main 2/.prettierrc.json +6 -0
  82. package/mini2.0-main 2/.vscode/extensions.json +9 -0
  83. package/mini2.0-main 2/README.md +179 -0
  84. package/mini2.0-main 2/auto-imports.d.ts +629 -0
  85. package/mini2.0-main 2/components.d.ts +21 -0
  86. package/mini2.0-main 2/docs/MX_API.md +244 -0
  87. package/mini2.0-main 2/docs/REQUEST.md +217 -0
  88. package/mini2.0-main 2/docs/jsapi.js +515 -0
  89. package/mini2.0-main 2/docs/package-json-guide.md +132 -0
  90. package/mini2.0-main 2/env.d.ts +13 -0
  91. package/mini2.0-main 2/eslint.config.ts +26 -0
  92. package/mini2.0-main 2/index.html +16 -0
  93. package/mini2.0-main 2/package-lock.json +6442 -0
  94. package/mini2.0-main 2/package.json +66 -0
  95. package/mini2.0-main 2/plugins/bump-version.ts +61 -0
  96. package/mini2.0-main 2/postcss.config.ts +15 -0
  97. package/mini2.0-main 2/public/favicon.ico +0 -0
  98. package/mini2.0-main 2/public/images/12a73787-86a9-4891-a65f-66104746f6a8.png +0 -0
  99. package/mini2.0-main 2/public/images/5798d7aa-ba8b-4605-8079-58b35495ac55.png +0 -0
  100. package/mini2.0-main 2/public/images/73fef1e4-0fd0-4a1a-9b8b-a70a5b6acbbc.png +0 -0
  101. package/mini2.0-main 2/public/images/bc685b4c-0cca-4a79-924c-a8ee10e6f8eb.png +0 -0
  102. package/mini2.0-main 2/public/images/c3dbbd9d-be56-490e-b9f4-6ee17ebefffc.png +0 -0
  103. package/mini2.0-main 2/public/images/ea745a10-42aa-4f44-8d7f-3ab02cc0adcd.png +0 -0
  104. package/mini2.0-main 2/public/images/f5876785-b927-4347-ba19-999114240649.png +0 -0
  105. package/mini2.0-main 2/public/images/img.png +0 -0
  106. package/mini2.0-main 2/src/App.vue +11 -0
  107. package/mini2.0-main 2/src/api/user.ts +33 -0
  108. package/mini2.0-main 2/src/auto-imports.d.ts +639 -0
  109. package/mini2.0-main 2/src/components.d.ts +23 -0
  110. package/mini2.0-main 2/src/config/config.properties +3 -0
  111. package/mini2.0-main 2/src/config/env.ts +6 -0
  112. package/mini2.0-main 2/src/config/plugin.properties.pro +6 -0
  113. package/mini2.0-main 2/src/config/plugin.properties.test +6 -0
  114. package/mini2.0-main 2/src/core/mxApi/index.ts +217 -0
  115. package/mini2.0-main 2/src/core/request/index.ts +42 -0
  116. package/mini2.0-main 2/src/main.ts +28 -0
  117. package/mini2.0-main 2/src/router/index.ts +70 -0
  118. package/mini2.0-main 2/src/stores/app.ts +24 -0
  119. package/mini2.0-main 2/src/stores/counter.ts +12 -0
  120. package/mini2.0-main 2/src/stores/user.ts +52 -0
  121. package/mini2.0-main 2/src/types/api.d.ts +14 -0
  122. package/mini2.0-main 2/src/types/nprogress.d.ts +8 -0
  123. package/mini2.0-main 2/src/utils/query.ts +27 -0
  124. package/mini2.0-main 2/src/utils/request.ts +159 -0
  125. package/mini2.0-main 2/src/views/clearing-detail/index.vue +49 -0
  126. package/mini2.0-main 2/src/views/foreign-position/index.vue +49 -0
  127. package/mini2.0-main 2/src/views/home/index.vue +201 -0
  128. package/mini2.0-main 2/src/views/login/index.vue +196 -0
  129. package/mini2.0-main 2/src/views/net-debit/index.vue +49 -0
  130. package/mini2.0-main 2/src/views/pbc-position/index.vue +49 -0
  131. package/mini2.0-main 2/src/views/position-estimate/index.vue +49 -0
  132. package/mini2.0-main 2/src/views/rmb-position/index.vue +49 -0
  133. package/mini2.0-main 2/src/views/warning/index.vue +49 -0
  134. package/mini2.0-main 2/tsconfig.app.json +18 -0
  135. package/mini2.0-main 2/tsconfig.json +11 -0
  136. package/mini2.0-main 2/tsconfig.node.json +28 -0
  137. package/mini2.0-main 2/vite.config.ts +69 -0
  138. package/output/playwright/home-1672x941.png +0 -0
  139. package/output/playwright/home-preview-1672x941.png +0 -0
  140. package/output/playwright/home-reference-vs-preview.png +0 -0
  141. package/package.json +1 -1
  142. package/src/assets/home/card-clearing-city.png +0 -0
  143. package/src/assets/home/card-cross-border-map.png +0 -0
  144. package/src/assets/home/card-digital-currency.png +0 -0
  145. package/src/assets/home/card-eur-church.png +0 -0
  146. package/src/assets/home/card-hkd-skyline.png +0 -0
  147. package/src/assets/home/card-jpy-fuji.png +0 -0
  148. package/src/assets/home/card-rmb-great-wall.png +0 -0
  149. package/src/assets/home/card-usd-liberty.png +0 -0
  150. package/src/assets/home/home-page-bg.png +0 -0
  151. package/src/router/index.ts +1 -0
  152. package/src/views/FundCockpitView.vue +17 -23
  153. package/src/views/HomeView.vue +619 -33
@@ -1,35 +1,621 @@
1
+ <script setup lang="ts">
2
+ import type { Component } from 'vue'
3
+ import {
4
+ Clock,
5
+ Compass,
6
+ Connection,
7
+ Lock,
8
+ School,
9
+ } from '@element-plus/icons-vue'
10
+
11
+ import homePageBg from '@/assets/home/home-page-bg.png'
12
+ import cardRmbBg from '@/assets/home/card-rmb-great-wall.png'
13
+ import cardUsdBg from '@/assets/home/card-usd-liberty.png'
14
+ import cardClearingBg from '@/assets/home/card-clearing-city.png'
15
+ import cardEurBg from '@/assets/home/card-eur-church.png'
16
+ import cardCrossBorderBg from '@/assets/home/card-cross-border-map.png'
17
+ import cardHkdBg from '@/assets/home/card-hkd-skyline.png'
18
+ import cardDigitalBg from '@/assets/home/card-digital-currency.png'
19
+ import cardJpyBg from '@/assets/home/card-jpy-fuji.png'
20
+
21
+ type BalanceCard = {
22
+ id: string
23
+ title: string
24
+ amount: string
25
+ decimal: string
26
+ unit: string
27
+ symbol?: string
28
+ icon?: Component
29
+ iconSize?: 'normal' | 'compact'
30
+ background: string
31
+ accent: string
32
+ accentDeep: string
33
+ accentSoft: string
34
+ border: string
35
+ glow: string
36
+ }
37
+
38
+ const updatedAt = '2025-05-27 10:30:00'
39
+
40
+ const balanceCards: BalanceCard[] = [
41
+ {
42
+ id: 'rmb',
43
+ title: '人民币',
44
+ amount: '128,456,789',
45
+ decimal: '.12',
46
+ unit: 'CNY',
47
+ symbol: '¥',
48
+ background: cardRmbBg,
49
+ accent: '#f11b1f',
50
+ accentDeep: '#c90c13',
51
+ accentSoft: '#ff5d64',
52
+ border: 'rgba(237, 47, 49, 0.56)',
53
+ glow: 'rgba(224, 20, 26, 0.34)',
54
+ },
55
+ {
56
+ id: 'usd',
57
+ title: '美元',
58
+ amount: '24,567,890',
59
+ decimal: '.35',
60
+ unit: 'USD',
61
+ symbol: '$',
62
+ background: cardUsdBg,
63
+ accent: '#159143',
64
+ accentDeep: '#05752f',
65
+ accentSoft: '#3ecf74',
66
+ border: 'rgba(25, 177, 96, 0.58)',
67
+ glow: 'rgba(19, 151, 77, 0.28)',
68
+ },
69
+ {
70
+ id: 'clearing',
71
+ title: '城银清',
72
+ amount: '32,765,432',
73
+ decimal: '.10',
74
+ unit: 'CNY',
75
+ icon: School,
76
+ background: cardClearingBg,
77
+ accent: '#1867ee',
78
+ accentDeep: '#0752d3',
79
+ accentSoft: '#4aa4ff',
80
+ border: 'rgba(35, 121, 239, 0.58)',
81
+ glow: 'rgba(0, 91, 222, 0.3)',
82
+ },
83
+ {
84
+ id: 'eur',
85
+ title: '欧元',
86
+ amount: '15,678,234',
87
+ decimal: '.56',
88
+ unit: 'EUR',
89
+ symbol: '€',
90
+ background: cardEurBg,
91
+ accent: '#135fdc',
92
+ accentDeep: '#084cc7',
93
+ accentSoft: '#56a4ff',
94
+ border: 'rgba(28, 112, 232, 0.58)',
95
+ glow: 'rgba(9, 90, 215, 0.28)',
96
+ },
97
+ {
98
+ id: 'cross-border-rmb',
99
+ title: '跨境人民币',
100
+ amount: '18,903,245',
101
+ decimal: '.67',
102
+ unit: 'CNY',
103
+ icon: Compass,
104
+ background: cardCrossBorderBg,
105
+ accent: '#05879b',
106
+ accentDeep: '#056d80',
107
+ accentSoft: '#23c2d0',
108
+ border: 'rgba(0, 159, 181, 0.54)',
109
+ glow: 'rgba(0, 136, 160, 0.28)',
110
+ },
111
+ {
112
+ id: 'hkd',
113
+ title: '港币',
114
+ amount: '8,765,432',
115
+ decimal: '.10',
116
+ unit: 'HKD',
117
+ symbol: 'HK$',
118
+ iconSize: 'compact',
119
+ background: cardHkdBg,
120
+ accent: '#ee7600',
121
+ accentDeep: '#d35a00',
122
+ accentSoft: '#ffab33',
123
+ border: 'rgba(247, 136, 20, 0.58)',
124
+ glow: 'rgba(222, 105, 0, 0.27)',
125
+ },
126
+ {
127
+ id: 'digital-currency',
128
+ title: '数字货币',
129
+ amount: '5,678,901',
130
+ decimal: '.23',
131
+ unit: 'CNY',
132
+ icon: Connection,
133
+ background: cardDigitalBg,
134
+ accent: '#6a2ad4',
135
+ accentDeep: '#5520b7',
136
+ accentSoft: '#9d62f0',
137
+ border: 'rgba(119, 65, 221, 0.56)',
138
+ glow: 'rgba(96, 46, 197, 0.28)',
139
+ },
140
+ {
141
+ id: 'jpy',
142
+ title: '日元',
143
+ amount: '1,234,567,890',
144
+ decimal: '.00',
145
+ unit: 'JPY',
146
+ symbol: '¥',
147
+ background: cardJpyBg,
148
+ accent: '#6629c8',
149
+ accentDeep: '#5420af',
150
+ accentSoft: '#9359ec',
151
+ border: 'rgba(115, 63, 216, 0.56)',
152
+ glow: 'rgba(88, 41, 191, 0.27)',
153
+ },
154
+ ]
155
+ </script>
156
+
1
157
  <template>
2
- <el-card shadow="hover">
3
- <template #header>
4
- <el-text tag="h1" size="large">欢迎使用管理系统</el-text>
5
- </template>
6
- <el-text>基于 Vue 3 + Element Plus 构建的管理系统模板</el-text>
7
- </el-card>
8
-
9
- <el-row :gutter="20" style="margin-top: 20px">
10
- <el-col :span="8">
11
- <el-card shadow="hover">
12
- <template #header>
13
- <el-text tag="h3">Vue 3</el-text>
14
- </template>
15
- <el-text>渐进式 JavaScript 框架</el-text>
16
- </el-card>
17
- </el-col>
18
- <el-col :span="8">
19
- <el-card shadow="hover">
20
- <template #header>
21
- <el-text tag="h3">Element Plus</el-text>
22
- </template>
23
- <el-text>基于 Vue 3 的组件库</el-text>
24
- </el-card>
25
- </el-col>
26
- <el-col :span="8">
27
- <el-card shadow="hover">
28
- <template #header>
29
- <el-text tag="h3">Vite</el-text>
30
- </template>
31
- <el-text>下一代前端构建工具</el-text>
32
- </el-card>
33
- </el-col>
34
- </el-row>
158
+ <main
159
+ class="balance-home"
160
+ :style="{ '--home-bg': `url(${homePageBg})` }"
161
+ aria-label="账户余额总览"
162
+ >
163
+ <section class="balance-panel">
164
+ <div class="page-heading">
165
+ <h1>账户余额总览</h1>
166
+ <div class="heading-rule" aria-hidden="true">
167
+ <span></span>
168
+ <i><Lock /></i>
169
+ <span></span>
170
+ </div>
171
+ </div>
172
+
173
+ <div class="updated-at">
174
+ <el-icon><Clock /></el-icon>
175
+ <span>更新时间:</span>
176
+ <time :datetime="updatedAt">{{ updatedAt }}</time>
177
+ </div>
178
+
179
+ <div class="balance-grid">
180
+ <article
181
+ v-for="card in balanceCards"
182
+ :key="card.id"
183
+ class="balance-card"
184
+ :style="{
185
+ '--card-bg': `url(${card.background})`,
186
+ '--accent': card.accent,
187
+ '--accent-deep': card.accentDeep,
188
+ '--accent-soft': card.accentSoft,
189
+ '--card-border': card.border,
190
+ '--card-glow': card.glow,
191
+ }"
192
+ >
193
+ <img class="card-bg" :src="card.background" alt="" aria-hidden="true" />
194
+
195
+ <div class="badge-shell" aria-hidden="true">
196
+ <div class="currency-badge">
197
+ <span
198
+ v-if="card.symbol"
199
+ class="currency-symbol"
200
+ :class="{ 'is-compact': card.iconSize === 'compact' }"
201
+ >
202
+ {{ card.symbol }}
203
+ </span>
204
+ <component :is="card.icon" v-else class="badge-icon" />
205
+ </div>
206
+ </div>
207
+
208
+ <h2>{{ card.title }}</h2>
209
+
210
+ <div class="amount-block">
211
+ <div class="amount-row">
212
+ <span class="amount-main">{{ card.amount }}</span>
213
+ <span class="amount-decimal">{{ card.decimal }}</span>
214
+ </div>
215
+ <div class="unit-label">{{ card.unit }}</div>
216
+ </div>
217
+ </article>
218
+ </div>
219
+ </section>
220
+ </main>
35
221
  </template>
222
+
223
+ <style scoped>
224
+ .balance-home {
225
+ --navy: #071a55;
226
+ position: relative;
227
+ display: flex;
228
+ width: 100vw;
229
+ height: 100vh;
230
+ min-height: 640px;
231
+ overflow: hidden;
232
+ container-type: size;
233
+ color: var(--navy);
234
+ background: #dcecff var(--home-bg) center / cover no-repeat;
235
+ font-family:
236
+ "Microsoft YaHei",
237
+ "PingFang SC",
238
+ "Source Han Sans SC",
239
+ "Noto Sans CJK SC",
240
+ sans-serif;
241
+ }
242
+
243
+ .balance-panel {
244
+ position: absolute;
245
+ top: 4.45%;
246
+ right: 2.55%;
247
+ bottom: 0.35%;
248
+ left: 2.55%;
249
+ overflow: hidden;
250
+ border: 2px solid rgba(255, 255, 255, 0.92);
251
+ border-radius: 2.68cqw;
252
+ background:
253
+ linear-gradient(180deg, rgba(255, 255, 255, 0.48), rgba(245, 251, 255, 0.42)),
254
+ rgba(243, 249, 255, 0.52);
255
+ box-shadow:
256
+ 0 0 0 2px rgba(166, 204, 245, 0.55),
257
+ 0 1.4cqw 3cqw rgba(67, 125, 189, 0.25),
258
+ inset 0 0 1.8cqw rgba(255, 255, 255, 0.82),
259
+ inset 0 -1cqw 2.8cqw rgba(95, 155, 220, 0.14);
260
+ backdrop-filter: blur(2px);
261
+ }
262
+
263
+ .balance-panel::before {
264
+ position: absolute;
265
+ inset: 1.2cqw;
266
+ content: "";
267
+ pointer-events: none;
268
+ border: 1px solid rgba(187, 217, 247, 0.62);
269
+ border-radius: 2.08cqw;
270
+ box-shadow: inset 0 0 1.8cqw rgba(255, 255, 255, 0.72);
271
+ }
272
+
273
+ .page-heading {
274
+ position: absolute;
275
+ top: 4.1%;
276
+ left: 0;
277
+ right: 0;
278
+ display: grid;
279
+ justify-items: center;
280
+ }
281
+
282
+ .page-heading h1 {
283
+ margin: 0;
284
+ color: #06195a;
285
+ font-size: 4.22cqw;
286
+ font-weight: 900;
287
+ line-height: 0.98;
288
+ letter-spacing: 0;
289
+ text-shadow:
290
+ 0 0.12cqw 0 rgba(255, 255, 255, 0.86),
291
+ 0 0.2cqw 0.35cqw rgba(38, 66, 137, 0.2);
292
+ }
293
+
294
+ .heading-rule {
295
+ display: grid;
296
+ grid-template-columns: 12cqw 1.9cqw 12cqw;
297
+ align-items: center;
298
+ gap: 0.55cqw;
299
+ margin-top: 1.06cqw;
300
+ color: #1f57e2;
301
+ }
302
+
303
+ .heading-rule span {
304
+ height: 1px;
305
+ background:
306
+ linear-gradient(90deg, transparent, rgba(43, 89, 220, 0.64) 42%, rgba(49, 91, 222, 0.05)),
307
+ linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.9), transparent);
308
+ }
309
+
310
+ .heading-rule span:last-child {
311
+ transform: scaleX(-1);
312
+ }
313
+
314
+ .heading-rule i {
315
+ display: grid;
316
+ width: 1.45cqw;
317
+ height: 1.45cqw;
318
+ place-items: center;
319
+ color: #2466ec;
320
+ }
321
+
322
+ .heading-rule :deep(svg) {
323
+ width: 100%;
324
+ height: 100%;
325
+ stroke-width: 3;
326
+ }
327
+
328
+ .updated-at {
329
+ position: absolute;
330
+ top: 8.7%;
331
+ right: 4.25%;
332
+ display: flex;
333
+ align-items: center;
334
+ color: #23305b;
335
+ font-size: 1.11cqw;
336
+ font-weight: 500;
337
+ line-height: 1;
338
+ white-space: nowrap;
339
+ }
340
+
341
+ .updated-at .el-icon {
342
+ margin-right: 0.45cqw;
343
+ color: #172969;
344
+ font-size: 1.37cqw;
345
+ }
346
+
347
+ .balance-grid {
348
+ position: absolute;
349
+ top: 10.1cqw;
350
+ right: 3.85%;
351
+ bottom: 4cqw;
352
+ left: 3.82%;
353
+ z-index: 1;
354
+ display: grid;
355
+ grid-template-columns: repeat(2, minmax(0, 1fr));
356
+ grid-template-rows: repeat(4, minmax(0, 1fr));
357
+ gap: 1.32cqw 1.68cqw;
358
+ }
359
+
360
+ .balance-card {
361
+ position: relative;
362
+ display: grid;
363
+ grid-template-columns: 7.9cqw minmax(9.6cqw, 13.4cqw) minmax(0, 1fr);
364
+ align-items: center;
365
+ min-width: 0;
366
+ min-height: 0;
367
+ overflow: hidden;
368
+ padding: 0 1.68cqw 0 1.38cqw;
369
+ border: 1px solid var(--card-border);
370
+ border-radius: 0.9cqw;
371
+ background:
372
+ linear-gradient(90deg, rgba(255, 255, 255, 0.74), rgba(255, 255, 255, 0.28)),
373
+ #ffffff;
374
+ box-shadow:
375
+ 0 0.18cqw 0.65cqw var(--card-glow),
376
+ 0 0 0.85cqw rgba(255, 255, 255, 0.9) inset,
377
+ -0.16cqw 0 0 var(--accent) inset;
378
+ }
379
+
380
+ .balance-card::before {
381
+ position: absolute;
382
+ top: 11%;
383
+ bottom: 11%;
384
+ left: 0;
385
+ width: 0.22cqw;
386
+ content: "";
387
+ border-radius: 0 99px 99px 0;
388
+ background: linear-gradient(180deg, var(--accent-soft), var(--accent-deep));
389
+ box-shadow: 0 0 0.85cqw var(--card-glow);
390
+ }
391
+
392
+ .balance-card::after {
393
+ position: absolute;
394
+ inset: 0;
395
+ content: "";
396
+ pointer-events: none;
397
+ background:
398
+ linear-gradient(160deg, rgba(255, 255, 255, 0.52) 0%, transparent 31%),
399
+ linear-gradient(0deg, rgba(255, 255, 255, 0.15), transparent 55%);
400
+ }
401
+
402
+ .card-bg {
403
+ position: absolute;
404
+ inset: 0;
405
+ z-index: 0;
406
+ width: 100%;
407
+ height: 100%;
408
+ opacity: 0.92;
409
+ object-fit: fill;
410
+ pointer-events: none;
411
+ user-select: none;
412
+ }
413
+
414
+ .badge-shell,
415
+ .balance-card h2,
416
+ .amount-block {
417
+ position: relative;
418
+ z-index: 1;
419
+ }
420
+
421
+ .badge-shell {
422
+ display: grid;
423
+ width: 6.82cqw;
424
+ height: 6.82cqw;
425
+ place-items: center;
426
+ border-radius: 50%;
427
+ background:
428
+ radial-gradient(circle, rgba(255, 255, 255, 0.96) 0 51%, transparent 52%),
429
+ radial-gradient(circle, rgba(255, 255, 255, 0.5) 0 61%, rgba(255, 255, 255, 0) 62%),
430
+ conic-gradient(from 200deg, rgba(255, 255, 255, 0.1), var(--accent-soft), rgba(255, 255, 255, 0.78), var(--accent-deep), rgba(255, 255, 255, 0.24));
431
+ box-shadow:
432
+ 0 0.18cqw 0.7cqw var(--card-glow),
433
+ 0 0 1.25cqw rgba(255, 255, 255, 0.86) inset;
434
+ }
435
+
436
+ .currency-badge {
437
+ position: relative;
438
+ display: grid;
439
+ width: 5.55cqw;
440
+ height: 5.55cqw;
441
+ place-items: center;
442
+ overflow: hidden;
443
+ border: 0.16cqw solid rgba(255, 255, 255, 0.92);
444
+ border-radius: 50%;
445
+ color: #ffffff;
446
+ background:
447
+ radial-gradient(circle at 42% 35%, var(--accent-soft), var(--accent) 58%, var(--accent-deep) 100%);
448
+ box-shadow:
449
+ 0 0 0 0.13cqw rgba(255, 255, 255, 0.52),
450
+ 0 0.22cqw 0.46cqw rgba(2, 35, 79, 0.18),
451
+ inset 0 -0.22cqw 0.46cqw rgba(0, 0, 0, 0.14);
452
+ }
453
+
454
+ .currency-symbol {
455
+ color: #ffffff;
456
+ font-size: 3.32cqw;
457
+ font-weight: 900;
458
+ line-height: 1;
459
+ letter-spacing: 0;
460
+ text-shadow: 0 0.1cqw 0.12cqw rgba(0, 0, 0, 0.17);
461
+ }
462
+
463
+ .currency-symbol.is-compact {
464
+ font-size: 1.72cqw;
465
+ }
466
+
467
+ .badge-icon {
468
+ width: 3.1cqw;
469
+ height: 3.1cqw;
470
+ color: #ffffff;
471
+ filter: drop-shadow(0 0.08cqw 0.08cqw rgba(0, 0, 0, 0.2));
472
+ }
473
+
474
+ .balance-card h2 {
475
+ margin: 0;
476
+ color: #050d44;
477
+ font-size: 1.82cqw;
478
+ font-weight: 900;
479
+ line-height: 1.04;
480
+ letter-spacing: 0;
481
+ white-space: nowrap;
482
+ }
483
+
484
+ .amount-block {
485
+ display: grid;
486
+ justify-items: end;
487
+ min-width: 0;
488
+ padding-top: 0.55cqw;
489
+ }
490
+
491
+ .amount-row {
492
+ display: flex;
493
+ max-width: 100%;
494
+ align-items: flex-start;
495
+ justify-content: flex-end;
496
+ color: var(--accent);
497
+ font-family:
498
+ "Arial Narrow",
499
+ "DIN Condensed",
500
+ "Bahnschrift",
501
+ "Microsoft YaHei",
502
+ sans-serif;
503
+ font-weight: 900;
504
+ line-height: 0.94;
505
+ text-align: right;
506
+ text-shadow: 0 0.1cqw 0.18cqw rgba(255, 255, 255, 0.92);
507
+ white-space: nowrap;
508
+ }
509
+
510
+ .amount-main {
511
+ min-width: 0;
512
+ overflow: hidden;
513
+ font-size: 3.02cqw;
514
+ letter-spacing: 0;
515
+ text-overflow: ellipsis;
516
+ }
517
+
518
+ .amount-decimal {
519
+ flex: 0 0 auto;
520
+ margin-top: 0.72cqw;
521
+ margin-left: 0.14cqw;
522
+ font-size: 1.5cqw;
523
+ letter-spacing: 0;
524
+ }
525
+
526
+ .unit-label {
527
+ margin-top: 0.76cqw;
528
+ color: color-mix(in srgb, var(--accent-deep) 88%, #00164e);
529
+ font-size: 1.43cqw;
530
+ font-weight: 500;
531
+ line-height: 1;
532
+ letter-spacing: 0;
533
+ text-align: right;
534
+ }
535
+
536
+ @media (max-aspect-ratio: 13 / 10) {
537
+ .balance-home {
538
+ min-height: 900px;
539
+ overflow-y: auto;
540
+ }
541
+
542
+ .balance-panel {
543
+ position: relative;
544
+ inset: auto;
545
+ width: calc(100% - 32px);
546
+ min-height: 860px;
547
+ margin: 16px auto;
548
+ }
549
+
550
+ .page-heading h1 {
551
+ font-size: clamp(34px, 8vw, 64px);
552
+ }
553
+
554
+ .updated-at {
555
+ top: 12%;
556
+ right: 50%;
557
+ transform: translateX(50%);
558
+ font-size: clamp(13px, 2.6vw, 18px);
559
+ }
560
+
561
+ .updated-at .el-icon {
562
+ font-size: clamp(16px, 3.1vw, 22px);
563
+ }
564
+
565
+ .balance-grid {
566
+ top: 18%;
567
+ right: 24px;
568
+ bottom: 30px;
569
+ left: 24px;
570
+ grid-template-columns: 1fr;
571
+ grid-template-rows: repeat(8, minmax(120px, 1fr));
572
+ gap: 14px;
573
+ }
574
+
575
+ .balance-card {
576
+ grid-template-columns: 92px minmax(110px, 150px) minmax(0, 1fr);
577
+ padding: 0 20px 0 18px;
578
+ border-radius: 14px;
579
+ }
580
+
581
+ .badge-shell {
582
+ width: 82px;
583
+ height: 82px;
584
+ }
585
+
586
+ .currency-badge {
587
+ width: 66px;
588
+ height: 66px;
589
+ }
590
+
591
+ .currency-symbol {
592
+ font-size: 38px;
593
+ }
594
+
595
+ .currency-symbol.is-compact {
596
+ font-size: 21px;
597
+ }
598
+
599
+ .badge-icon {
600
+ width: 36px;
601
+ height: 36px;
602
+ }
603
+
604
+ .balance-card h2 {
605
+ font-size: 24px;
606
+ }
607
+
608
+ .amount-main {
609
+ font-size: clamp(30px, 7vw, 46px);
610
+ }
611
+
612
+ .amount-decimal {
613
+ margin-top: 9px;
614
+ font-size: clamp(16px, 3.5vw, 24px);
615
+ }
616
+
617
+ .unit-label {
618
+ font-size: 20px;
619
+ }
620
+ }
621
+ </style>