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.
- package/888/mini2.0-main/.editorconfig +8 -0
- package/888/mini2.0-main/.env.development +3 -0
- package/888/mini2.0-main/.env.production +3 -0
- package/888/mini2.0-main/.env.test +3 -0
- package/888/mini2.0-main/.gitattributes +1 -0
- package/888/mini2.0-main/.oxlintrc.json +10 -0
- package/888/mini2.0-main/.prettierrc.json +6 -0
- package/888/mini2.0-main/.vscode/extensions.json +9 -0
- package/888/mini2.0-main/README.md +179 -0
- package/888/mini2.0-main/auto-imports.d.ts +629 -0
- package/888/mini2.0-main/components.d.ts +21 -0
- package/888/mini2.0-main/design-qa.md +36 -0
- package/888/mini2.0-main/docs/MX_API.md +244 -0
- package/888/mini2.0-main/docs/REQUEST.md +217 -0
- package/888/mini2.0-main/docs/jsapi.js +515 -0
- package/888/mini2.0-main/docs/package-json-guide.md +132 -0
- package/888/mini2.0-main/env.d.ts +15 -0
- package/888/mini2.0-main/eslint.config.ts +26 -0
- package/888/mini2.0-main/index.html +16 -0
- package/888/mini2.0-main/output/playwright/rmb-position/design-comparison.png +0 -0
- package/888/mini2.0-main/output/playwright/rmb-position/rmb-position-back-top.png +0 -0
- package/888/mini2.0-main/output/playwright/rmb-position/rmb-position-page.png +0 -0
- package/888/mini2.0-main/output/playwright/rmb-position/rmb-position-sticky-check.png +0 -0
- package/888/mini2.0-main/output/playwright/rmb-position/rmb-position-sticky-scrolled.png +0 -0
- package/888/mini2.0-main/package-lock.json +6442 -0
- package/888/mini2.0-main/package.json +66 -0
- package/888/mini2.0-main/plugins/bump-version.ts +61 -0
- package/888/mini2.0-main/postcss.config.ts +15 -0
- package/888/mini2.0-main/public/favicon.ico +0 -0
- package/888/mini2.0-main/public/images/12a73787-86a9-4891-a65f-66104746f6a8.png +0 -0
- package/888/mini2.0-main/public/images/5798d7aa-ba8b-4605-8079-58b35495ac55.png +0 -0
- package/888/mini2.0-main/public/images/73fef1e4-0fd0-4a1a-9b8b-a70a5b6acbbc.png +0 -0
- package/888/mini2.0-main/public/images/bc685b4c-0cca-4a79-924c-a8ee10e6f8eb.png +0 -0
- package/888/mini2.0-main/public/images/c3dbbd9d-be56-490e-b9f4-6ee17ebefffc.png +0 -0
- package/888/mini2.0-main/public/images/ea745a10-42aa-4f44-8d7f-3ab02cc0adcd.png +0 -0
- package/888/mini2.0-main/public/images/f5876785-b927-4347-ba19-999114240649.png +0 -0
- package/888/mini2.0-main/public/images/img.png +0 -0
- package/888/mini2.0-main/src/App.vue +59 -0
- package/888/mini2.0-main/src/api/health.ts +13 -0
- package/888/mini2.0-main/src/api/rmb-position.ts +287 -0
- package/888/mini2.0-main/src/api/user.ts +54 -0
- package/888/mini2.0-main/src/auto-imports.d.ts +639 -0
- package/888/mini2.0-main/src/components.d.ts +30 -0
- package/888/mini2.0-main/src/config/config.properties +3 -0
- package/888/mini2.0-main/src/config/env.ts +6 -0
- package/888/mini2.0-main/src/config/plugin.properties.pro +6 -0
- package/888/mini2.0-main/src/config/plugin.properties.test +6 -0
- package/888/mini2.0-main/src/core/mxApi/index.ts +344 -0
- package/888/mini2.0-main/src/core/request/index.ts +135 -0
- package/888/mini2.0-main/src/main.ts +39 -0
- package/888/mini2.0-main/src/router/index.ts +77 -0
- package/888/mini2.0-main/src/stores/app.ts +24 -0
- package/888/mini2.0-main/src/stores/counter.ts +12 -0
- package/888/mini2.0-main/src/stores/user.ts +85 -0
- package/888/mini2.0-main/src/types/api.d.ts +14 -0
- package/888/mini2.0-main/src/types/nprogress.d.ts +8 -0
- package/888/mini2.0-main/src/utils/auth-token.ts +197 -0
- package/888/mini2.0-main/src/utils/query.ts +27 -0
- package/888/mini2.0-main/src/utils/request.ts +233 -0
- package/888/mini2.0-main/src/views/clearing-detail/index.vue +49 -0
- package/888/mini2.0-main/src/views/foreign-position/index.vue +49 -0
- package/888/mini2.0-main/src/views/home/index.vue +213 -0
- package/888/mini2.0-main/src/views/login/index.vue +202 -0
- package/888/mini2.0-main/src/views/mine/index.vue +143 -0
- package/888/mini2.0-main/src/views/net-debit/index.vue +49 -0
- package/888/mini2.0-main/src/views/pbc-position/index.vue +49 -0
- package/888/mini2.0-main/src/views/position-estimate/index.vue +49 -0
- package/888/mini2.0-main/src/views/rmb-position/index.vue +1042 -0
- package/888/mini2.0-main/src/views/warning/index.vue +49 -0
- package/888/mini2.0-main/tsconfig.app.json +18 -0
- package/888/mini2.0-main/tsconfig.json +11 -0
- package/888/mini2.0-main/tsconfig.node.json +28 -0
- package/888/mini2.0-main/vite.config.ts +98 -0
- package/design-qa.md +39 -0
- package/mini2.0-main 2/.editorconfig +8 -0
- package/mini2.0-main 2/.env.development +3 -0
- package/mini2.0-main 2/.env.production +3 -0
- package/mini2.0-main 2/.env.test +3 -0
- package/mini2.0-main 2/.gitattributes +1 -0
- package/mini2.0-main 2/.oxlintrc.json +10 -0
- package/mini2.0-main 2/.prettierrc.json +6 -0
- package/mini2.0-main 2/.vscode/extensions.json +9 -0
- package/mini2.0-main 2/README.md +179 -0
- package/mini2.0-main 2/auto-imports.d.ts +629 -0
- package/mini2.0-main 2/components.d.ts +21 -0
- package/mini2.0-main 2/docs/MX_API.md +244 -0
- package/mini2.0-main 2/docs/REQUEST.md +217 -0
- package/mini2.0-main 2/docs/jsapi.js +515 -0
- package/mini2.0-main 2/docs/package-json-guide.md +132 -0
- package/mini2.0-main 2/env.d.ts +13 -0
- package/mini2.0-main 2/eslint.config.ts +26 -0
- package/mini2.0-main 2/index.html +16 -0
- package/mini2.0-main 2/package-lock.json +6442 -0
- package/mini2.0-main 2/package.json +66 -0
- package/mini2.0-main 2/plugins/bump-version.ts +61 -0
- package/mini2.0-main 2/postcss.config.ts +15 -0
- package/mini2.0-main 2/public/favicon.ico +0 -0
- package/mini2.0-main 2/public/images/12a73787-86a9-4891-a65f-66104746f6a8.png +0 -0
- package/mini2.0-main 2/public/images/5798d7aa-ba8b-4605-8079-58b35495ac55.png +0 -0
- package/mini2.0-main 2/public/images/73fef1e4-0fd0-4a1a-9b8b-a70a5b6acbbc.png +0 -0
- package/mini2.0-main 2/public/images/bc685b4c-0cca-4a79-924c-a8ee10e6f8eb.png +0 -0
- package/mini2.0-main 2/public/images/c3dbbd9d-be56-490e-b9f4-6ee17ebefffc.png +0 -0
- package/mini2.0-main 2/public/images/ea745a10-42aa-4f44-8d7f-3ab02cc0adcd.png +0 -0
- package/mini2.0-main 2/public/images/f5876785-b927-4347-ba19-999114240649.png +0 -0
- package/mini2.0-main 2/public/images/img.png +0 -0
- package/mini2.0-main 2/src/App.vue +11 -0
- package/mini2.0-main 2/src/api/user.ts +33 -0
- package/mini2.0-main 2/src/auto-imports.d.ts +639 -0
- package/mini2.0-main 2/src/components.d.ts +23 -0
- package/mini2.0-main 2/src/config/config.properties +3 -0
- package/mini2.0-main 2/src/config/env.ts +6 -0
- package/mini2.0-main 2/src/config/plugin.properties.pro +6 -0
- package/mini2.0-main 2/src/config/plugin.properties.test +6 -0
- package/mini2.0-main 2/src/core/mxApi/index.ts +217 -0
- package/mini2.0-main 2/src/core/request/index.ts +42 -0
- package/mini2.0-main 2/src/main.ts +28 -0
- package/mini2.0-main 2/src/router/index.ts +70 -0
- package/mini2.0-main 2/src/stores/app.ts +24 -0
- package/mini2.0-main 2/src/stores/counter.ts +12 -0
- package/mini2.0-main 2/src/stores/user.ts +52 -0
- package/mini2.0-main 2/src/types/api.d.ts +14 -0
- package/mini2.0-main 2/src/types/nprogress.d.ts +8 -0
- package/mini2.0-main 2/src/utils/query.ts +27 -0
- package/mini2.0-main 2/src/utils/request.ts +159 -0
- package/mini2.0-main 2/src/views/clearing-detail/index.vue +49 -0
- package/mini2.0-main 2/src/views/foreign-position/index.vue +49 -0
- package/mini2.0-main 2/src/views/home/index.vue +201 -0
- package/mini2.0-main 2/src/views/login/index.vue +196 -0
- package/mini2.0-main 2/src/views/net-debit/index.vue +49 -0
- package/mini2.0-main 2/src/views/pbc-position/index.vue +49 -0
- package/mini2.0-main 2/src/views/position-estimate/index.vue +49 -0
- package/mini2.0-main 2/src/views/rmb-position/index.vue +49 -0
- package/mini2.0-main 2/src/views/warning/index.vue +49 -0
- package/mini2.0-main 2/tsconfig.app.json +18 -0
- package/mini2.0-main 2/tsconfig.json +11 -0
- package/mini2.0-main 2/tsconfig.node.json +28 -0
- package/mini2.0-main 2/vite.config.ts +69 -0
- package/output/playwright/home-1672x941.png +0 -0
- package/output/playwright/home-preview-1672x941.png +0 -0
- package/output/playwright/home-reference-vs-preview.png +0 -0
- package/package.json +1 -1
- package/src/assets/home/card-clearing-city.png +0 -0
- package/src/assets/home/card-cross-border-map.png +0 -0
- package/src/assets/home/card-digital-currency.png +0 -0
- package/src/assets/home/card-eur-church.png +0 -0
- package/src/assets/home/card-hkd-skyline.png +0 -0
- package/src/assets/home/card-jpy-fuji.png +0 -0
- package/src/assets/home/card-rmb-great-wall.png +0 -0
- package/src/assets/home/card-usd-liberty.png +0 -0
- package/src/assets/home/home-page-bg.png +0 -0
- package/src/router/index.ts +1 -0
- package/src/views/FundCockpitView.vue +17 -23
- package/src/views/HomeView.vue +619 -33
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
<script setup lang="ts"></script>
|
|
2
|
+
|
|
3
|
+
<template>
|
|
4
|
+
<main class="page">
|
|
5
|
+
<header class="page-header">
|
|
6
|
+
<button class="back-btn" type="button" @click="$router.back()">←</button>
|
|
7
|
+
<h1>人行头寸余额查询</h1>
|
|
8
|
+
</header>
|
|
9
|
+
<section class="page-body">
|
|
10
|
+
<p class="placeholder">页面建设中…</p>
|
|
11
|
+
</section>
|
|
12
|
+
</main>
|
|
13
|
+
</template>
|
|
14
|
+
|
|
15
|
+
<style scoped>
|
|
16
|
+
.page {
|
|
17
|
+
max-width: 750px;
|
|
18
|
+
min-height: 100vh;
|
|
19
|
+
margin: 0 auto;
|
|
20
|
+
padding: 0 11px;
|
|
21
|
+
background: #f7f8fa;
|
|
22
|
+
}
|
|
23
|
+
.page-header {
|
|
24
|
+
display: flex;
|
|
25
|
+
align-items: center;
|
|
26
|
+
gap: 8px;
|
|
27
|
+
height: 48px;
|
|
28
|
+
}
|
|
29
|
+
.back-btn {
|
|
30
|
+
border: 0;
|
|
31
|
+
background: transparent;
|
|
32
|
+
font-size: 20px;
|
|
33
|
+
cursor: pointer;
|
|
34
|
+
}
|
|
35
|
+
.page-header h1 {
|
|
36
|
+
margin: 0;
|
|
37
|
+
font-size: 17px;
|
|
38
|
+
font-weight: 700;
|
|
39
|
+
}
|
|
40
|
+
.page-body {
|
|
41
|
+
padding: 24px 0;
|
|
42
|
+
}
|
|
43
|
+
.placeholder {
|
|
44
|
+
text-align: center;
|
|
45
|
+
color: #969799;
|
|
46
|
+
font-size: 14px;
|
|
47
|
+
padding-top: 120px;
|
|
48
|
+
}
|
|
49
|
+
</style>
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
<script setup lang="ts"></script>
|
|
2
|
+
|
|
3
|
+
<template>
|
|
4
|
+
<main class="page">
|
|
5
|
+
<header class="page-header">
|
|
6
|
+
<button class="back-btn" type="button" @click="$router.back()">←</button>
|
|
7
|
+
<h1>头寸匡算</h1>
|
|
8
|
+
</header>
|
|
9
|
+
<section class="page-body">
|
|
10
|
+
<p class="placeholder">页面建设中…</p>
|
|
11
|
+
</section>
|
|
12
|
+
</main>
|
|
13
|
+
</template>
|
|
14
|
+
|
|
15
|
+
<style scoped>
|
|
16
|
+
.page {
|
|
17
|
+
max-width: 750px;
|
|
18
|
+
min-height: 100vh;
|
|
19
|
+
margin: 0 auto;
|
|
20
|
+
padding: 0 11px;
|
|
21
|
+
background: #f7f8fa;
|
|
22
|
+
}
|
|
23
|
+
.page-header {
|
|
24
|
+
display: flex;
|
|
25
|
+
align-items: center;
|
|
26
|
+
gap: 8px;
|
|
27
|
+
height: 48px;
|
|
28
|
+
}
|
|
29
|
+
.back-btn {
|
|
30
|
+
border: 0;
|
|
31
|
+
background: transparent;
|
|
32
|
+
font-size: 20px;
|
|
33
|
+
cursor: pointer;
|
|
34
|
+
}
|
|
35
|
+
.page-header h1 {
|
|
36
|
+
margin: 0;
|
|
37
|
+
font-size: 17px;
|
|
38
|
+
font-weight: 700;
|
|
39
|
+
}
|
|
40
|
+
.page-body {
|
|
41
|
+
padding: 24px 0;
|
|
42
|
+
}
|
|
43
|
+
.placeholder {
|
|
44
|
+
text-align: center;
|
|
45
|
+
color: #969799;
|
|
46
|
+
font-size: 14px;
|
|
47
|
+
padding-top: 120px;
|
|
48
|
+
}
|
|
49
|
+
</style>
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
<script setup lang="ts"></script>
|
|
2
|
+
|
|
3
|
+
<template>
|
|
4
|
+
<main class="page">
|
|
5
|
+
<header class="page-header">
|
|
6
|
+
<button class="back-btn" type="button" @click="$router.back()">←</button>
|
|
7
|
+
<h1>人民币头寸预报及查询</h1>
|
|
8
|
+
</header>
|
|
9
|
+
<section class="page-body">
|
|
10
|
+
<p class="placeholder">页面建设中…</p>
|
|
11
|
+
</section>
|
|
12
|
+
</main>
|
|
13
|
+
</template>
|
|
14
|
+
|
|
15
|
+
<style scoped>
|
|
16
|
+
.page {
|
|
17
|
+
max-width: 750px;
|
|
18
|
+
min-height: 100vh;
|
|
19
|
+
margin: 0 auto;
|
|
20
|
+
padding: 0 11px;
|
|
21
|
+
background: #f7f8fa;
|
|
22
|
+
}
|
|
23
|
+
.page-header {
|
|
24
|
+
display: flex;
|
|
25
|
+
align-items: center;
|
|
26
|
+
gap: 8px;
|
|
27
|
+
height: 48px;
|
|
28
|
+
}
|
|
29
|
+
.back-btn {
|
|
30
|
+
border: 0;
|
|
31
|
+
background: transparent;
|
|
32
|
+
font-size: 20px;
|
|
33
|
+
cursor: pointer;
|
|
34
|
+
}
|
|
35
|
+
.page-header h1 {
|
|
36
|
+
margin: 0;
|
|
37
|
+
font-size: 17px;
|
|
38
|
+
font-weight: 700;
|
|
39
|
+
}
|
|
40
|
+
.page-body {
|
|
41
|
+
padding: 24px 0;
|
|
42
|
+
}
|
|
43
|
+
.placeholder {
|
|
44
|
+
text-align: center;
|
|
45
|
+
color: #969799;
|
|
46
|
+
font-size: 14px;
|
|
47
|
+
padding-top: 120px;
|
|
48
|
+
}
|
|
49
|
+
</style>
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
<script setup lang="ts"></script>
|
|
2
|
+
|
|
3
|
+
<template>
|
|
4
|
+
<main class="page">
|
|
5
|
+
<header class="page-header">
|
|
6
|
+
<button class="back-btn" type="button" @click="$router.back()">←</button>
|
|
7
|
+
<h1>预警信息</h1>
|
|
8
|
+
</header>
|
|
9
|
+
<section class="page-body">
|
|
10
|
+
<p class="placeholder">页面建设中…</p>
|
|
11
|
+
</section>
|
|
12
|
+
</main>
|
|
13
|
+
</template>
|
|
14
|
+
|
|
15
|
+
<style scoped>
|
|
16
|
+
.page {
|
|
17
|
+
max-width: 750px;
|
|
18
|
+
min-height: 100vh;
|
|
19
|
+
margin: 0 auto;
|
|
20
|
+
padding: 0 11px;
|
|
21
|
+
background: #f7f8fa;
|
|
22
|
+
}
|
|
23
|
+
.page-header {
|
|
24
|
+
display: flex;
|
|
25
|
+
align-items: center;
|
|
26
|
+
gap: 8px;
|
|
27
|
+
height: 48px;
|
|
28
|
+
}
|
|
29
|
+
.back-btn {
|
|
30
|
+
border: 0;
|
|
31
|
+
background: transparent;
|
|
32
|
+
font-size: 20px;
|
|
33
|
+
cursor: pointer;
|
|
34
|
+
}
|
|
35
|
+
.page-header h1 {
|
|
36
|
+
margin: 0;
|
|
37
|
+
font-size: 17px;
|
|
38
|
+
font-weight: 700;
|
|
39
|
+
}
|
|
40
|
+
.page-body {
|
|
41
|
+
padding: 24px 0;
|
|
42
|
+
}
|
|
43
|
+
.placeholder {
|
|
44
|
+
text-align: center;
|
|
45
|
+
color: #969799;
|
|
46
|
+
font-size: 14px;
|
|
47
|
+
padding-top: 120px;
|
|
48
|
+
}
|
|
49
|
+
</style>
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
{
|
|
2
|
+
"extends": "@vue/tsconfig/tsconfig.dom.json",
|
|
3
|
+
"include": ["env.d.ts", "auto-imports.d.ts", "components.d.ts", "src/**/*", "src/**/*.vue"],
|
|
4
|
+
"exclude": ["src/**/__tests__/*"],
|
|
5
|
+
"compilerOptions": {
|
|
6
|
+
// Extra safety for array and object lookups, but may have false positives.
|
|
7
|
+
"noUncheckedIndexedAccess": true,
|
|
8
|
+
|
|
9
|
+
// Path mapping for cleaner imports.
|
|
10
|
+
"paths": {
|
|
11
|
+
"@/*": ["./src/*"]
|
|
12
|
+
},
|
|
13
|
+
|
|
14
|
+
// `vue-tsc --build` produces a .tsbuildinfo file for incremental type-checking.
|
|
15
|
+
// Specified here to keep it out of the root directory.
|
|
16
|
+
"tsBuildInfoFile": "./node_modules/.tmp/tsconfig.app.tsbuildinfo"
|
|
17
|
+
}
|
|
18
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
// TSConfig for modules that run in Node.js environment via either transpilation or type-stripping.
|
|
2
|
+
{
|
|
3
|
+
"extends": "@tsconfig/node24/tsconfig.json",
|
|
4
|
+
"include": [
|
|
5
|
+
"vite.config.*",
|
|
6
|
+
"plugins/*.ts",
|
|
7
|
+
"vitest.config.*",
|
|
8
|
+
"cypress.config.*",
|
|
9
|
+
"playwright.config.*",
|
|
10
|
+
"eslint.config.*"
|
|
11
|
+
],
|
|
12
|
+
"compilerOptions": {
|
|
13
|
+
// Most tools use transpilation instead of Node.js's native type-stripping.
|
|
14
|
+
// Bundler mode provides a smoother developer experience.
|
|
15
|
+
"module": "preserve",
|
|
16
|
+
"moduleResolution": "bundler",
|
|
17
|
+
|
|
18
|
+
// Include Node.js types and avoid accidentally including other `@types/*` packages.
|
|
19
|
+
"types": ["node"],
|
|
20
|
+
|
|
21
|
+
// Disable emitting output during `vue-tsc --build`, which is used for type-checking only.
|
|
22
|
+
"noEmit": true,
|
|
23
|
+
|
|
24
|
+
// `vue-tsc --build` produces a .tsbuildinfo file for incremental type-checking.
|
|
25
|
+
// Specified here to keep it out of the root directory.
|
|
26
|
+
"tsBuildInfoFile": "./node_modules/.tmp/tsconfig.node.tsbuildinfo"
|
|
27
|
+
}
|
|
28
|
+
}
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import { fileURLToPath, URL } from 'node:url'
|
|
2
|
+
|
|
3
|
+
import { defineConfig, loadEnv } from 'vite'
|
|
4
|
+
import vue from '@vitejs/plugin-vue'
|
|
5
|
+
import vueDevTools from 'vite-plugin-vue-devtools'
|
|
6
|
+
import AutoImport from 'unplugin-auto-import/vite'
|
|
7
|
+
import Components from 'unplugin-vue-components/vite'
|
|
8
|
+
import { VantResolver } from 'unplugin-vue-components/resolvers'
|
|
9
|
+
import { bumpVersion } from './plugins/bump-version'
|
|
10
|
+
|
|
11
|
+
// https://vite.dev/config/
|
|
12
|
+
export default defineConfig(({ mode }) => {
|
|
13
|
+
const env = loadEnv(mode, process.cwd(), '')
|
|
14
|
+
const apiBaseUrl = env.VITE_API_BASE_URL || '/api'
|
|
15
|
+
|
|
16
|
+
return {
|
|
17
|
+
base: './',
|
|
18
|
+
plugins: [
|
|
19
|
+
vue(),
|
|
20
|
+
vueDevTools(),
|
|
21
|
+
|
|
22
|
+
// 自动导入 Vue / Vue Router / Pinia / VueUse / Vant 的 API,省去手动 import
|
|
23
|
+
AutoImport({
|
|
24
|
+
imports: [
|
|
25
|
+
'vue',
|
|
26
|
+
'vue-router',
|
|
27
|
+
'pinia',
|
|
28
|
+
'@vueuse/core',
|
|
29
|
+
{ vant: ['showToast', 'showDialog', 'showConfirmDialog', 'showLoadingToast', 'closeToast'] },
|
|
30
|
+
],
|
|
31
|
+
dts: 'src/auto-imports.d.ts',
|
|
32
|
+
vueTemplate: true,
|
|
33
|
+
}),
|
|
34
|
+
|
|
35
|
+
// 自动导入组件(Vant 按需加载)
|
|
36
|
+
Components({
|
|
37
|
+
resolvers: [VantResolver()],
|
|
38
|
+
dts: 'src/components.d.ts',
|
|
39
|
+
}),
|
|
40
|
+
|
|
41
|
+
// 打包时自增版本号,并将 plugin.properties 输出到 dist/
|
|
42
|
+
bumpVersion(mode),
|
|
43
|
+
],
|
|
44
|
+
|
|
45
|
+
server: {
|
|
46
|
+
host: '0.0.0.0',
|
|
47
|
+
port: 8080,
|
|
48
|
+
strictPort: true,
|
|
49
|
+
open: true,
|
|
50
|
+
|
|
51
|
+
proxy: {
|
|
52
|
+
'/oms': {
|
|
53
|
+
target: 'http://10.56.183.104:8090',
|
|
54
|
+
changeOrigin: true,
|
|
55
|
+
},
|
|
56
|
+
},
|
|
57
|
+
},
|
|
58
|
+
|
|
59
|
+
resolve: {
|
|
60
|
+
alias: {
|
|
61
|
+
'@': fileURLToPath(new URL('./src', import.meta.url)),
|
|
62
|
+
},
|
|
63
|
+
},
|
|
64
|
+
|
|
65
|
+
build: {
|
|
66
|
+
outDir: 'dist/www',
|
|
67
|
+
},
|
|
68
|
+
}
|
|
69
|
+
})
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/package.json
CHANGED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/src/router/index.ts
CHANGED
|
@@ -18,10 +18,10 @@ interface MetricCard {
|
|
|
18
18
|
|
|
19
19
|
interface GaugeCard {
|
|
20
20
|
title: string
|
|
21
|
+
date: string
|
|
21
22
|
max: number
|
|
22
23
|
needle: number
|
|
23
24
|
value: string
|
|
24
|
-
benchmark: string
|
|
25
25
|
}
|
|
26
26
|
|
|
27
27
|
interface ShiborRow {
|
|
@@ -83,9 +83,9 @@ const leftMetricCards = metricCards.slice(0, 2)
|
|
|
83
83
|
const rightMetricCards = metricCards.slice(2)
|
|
84
84
|
|
|
85
85
|
const gaugeCards: GaugeCard[] = [
|
|
86
|
-
{ title: '流动性比例', max: 100, needle: 18, value: '1%'
|
|
87
|
-
{ title: '流动性覆盖率', max: 200, needle: 72, value: '2%'
|
|
88
|
-
{ title: '净稳定资金比例', max: 200, needle: 66, value: '3%'
|
|
86
|
+
{ title: '流动性比例', date: '2026-06-04', max: 100, needle: 18, value: '1%' },
|
|
87
|
+
{ title: '流动性覆盖率', date: '2026-06-04', max: 200, needle: 72, value: '2%' },
|
|
88
|
+
{ title: '净稳定资金比例', date: '2026-06-04', max: 200, needle: 66, value: '3%' },
|
|
89
89
|
]
|
|
90
90
|
|
|
91
91
|
const shiborRows: ShiborRow[] = [
|
|
@@ -508,11 +508,11 @@ onUnmounted(() => {
|
|
|
508
508
|
<section class="gauge-section">
|
|
509
509
|
<article v-for="(gauge, index) in gaugeCards" :key="gauge.title" class="gauge-card">
|
|
510
510
|
<h2>{{ gauge.title }} <i>i</i></h2>
|
|
511
|
+
<p class="gauge-date">{{ gauge.date }}</p>
|
|
511
512
|
<div
|
|
512
513
|
:ref="(el) => setGaugeRef(el, index)"
|
|
513
514
|
class="gauge-chart"
|
|
514
515
|
></div>
|
|
515
|
-
<p>基准值 <b>{{ gauge.benchmark }}</b></p>
|
|
516
516
|
</article>
|
|
517
517
|
</section>
|
|
518
518
|
|
|
@@ -1014,6 +1014,7 @@ onUnmounted(() => {
|
|
|
1014
1014
|
.gauge-card h2 {
|
|
1015
1015
|
display: flex;
|
|
1016
1016
|
align-items: center;
|
|
1017
|
+
justify-content: center;
|
|
1017
1018
|
gap: 6px;
|
|
1018
1019
|
color: #f0f8ff;
|
|
1019
1020
|
font-size: 17px;
|
|
@@ -1035,28 +1036,21 @@ onUnmounted(() => {
|
|
|
1035
1036
|
font-weight: 600;
|
|
1036
1037
|
}
|
|
1037
1038
|
|
|
1038
|
-
.gauge-
|
|
1039
|
-
|
|
1040
|
-
left: -8px;
|
|
1041
|
-
right: -8px;
|
|
1042
|
-
top: 24px;
|
|
1043
|
-
height: 156px;
|
|
1044
|
-
}
|
|
1045
|
-
|
|
1046
|
-
.gauge-card p {
|
|
1047
|
-
position: absolute;
|
|
1048
|
-
left: 0;
|
|
1049
|
-
right: 0;
|
|
1050
|
-
bottom: 0;
|
|
1039
|
+
.gauge-date {
|
|
1040
|
+
margin: 8px 0 0;
|
|
1051
1041
|
color: #d7e6f6;
|
|
1052
1042
|
text-align: center;
|
|
1053
|
-
font-size:
|
|
1043
|
+
font-size: 15px;
|
|
1044
|
+
line-height: 1;
|
|
1045
|
+
font-weight: 500;
|
|
1054
1046
|
}
|
|
1055
1047
|
|
|
1056
|
-
.gauge-
|
|
1057
|
-
|
|
1058
|
-
|
|
1059
|
-
|
|
1048
|
+
.gauge-chart {
|
|
1049
|
+
position: absolute;
|
|
1050
|
+
left: -8px;
|
|
1051
|
+
right: -8px;
|
|
1052
|
+
top: 42px;
|
|
1053
|
+
height: 162px;
|
|
1060
1054
|
}
|
|
1061
1055
|
|
|
1062
1056
|
.maturity-section {
|