verce-vue-test 0.0.39 → 0.0.41

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 (67) hide show
  1. package/design-qa.md +17 -9
  2. package/package.json +1 -1
  3. package/src/views/HomeView.vue +340 -172
  4. package/vite.config.ts +6 -0
  5. package/mini2.0-main 2/.editorconfig +0 -8
  6. package/mini2.0-main 2/.env.development +0 -3
  7. package/mini2.0-main 2/.env.production +0 -3
  8. package/mini2.0-main 2/.env.test +0 -3
  9. package/mini2.0-main 2/.gitattributes +0 -1
  10. package/mini2.0-main 2/.oxlintrc.json +0 -10
  11. package/mini2.0-main 2/.prettierrc.json +0 -6
  12. package/mini2.0-main 2/.vscode/extensions.json +0 -9
  13. package/mini2.0-main 2/README.md +0 -179
  14. package/mini2.0-main 2/auto-imports.d.ts +0 -629
  15. package/mini2.0-main 2/components.d.ts +0 -21
  16. package/mini2.0-main 2/docs/MX_API.md +0 -244
  17. package/mini2.0-main 2/docs/REQUEST.md +0 -217
  18. package/mini2.0-main 2/docs/jsapi.js +0 -515
  19. package/mini2.0-main 2/docs/package-json-guide.md +0 -132
  20. package/mini2.0-main 2/env.d.ts +0 -13
  21. package/mini2.0-main 2/eslint.config.ts +0 -26
  22. package/mini2.0-main 2/index.html +0 -16
  23. package/mini2.0-main 2/package-lock.json +0 -6442
  24. package/mini2.0-main 2/package.json +0 -66
  25. package/mini2.0-main 2/plugins/bump-version.ts +0 -61
  26. package/mini2.0-main 2/postcss.config.ts +0 -15
  27. package/mini2.0-main 2/public/favicon.ico +0 -0
  28. package/mini2.0-main 2/public/images/12a73787-86a9-4891-a65f-66104746f6a8.png +0 -0
  29. package/mini2.0-main 2/public/images/5798d7aa-ba8b-4605-8079-58b35495ac55.png +0 -0
  30. package/mini2.0-main 2/public/images/73fef1e4-0fd0-4a1a-9b8b-a70a5b6acbbc.png +0 -0
  31. package/mini2.0-main 2/public/images/bc685b4c-0cca-4a79-924c-a8ee10e6f8eb.png +0 -0
  32. package/mini2.0-main 2/public/images/c3dbbd9d-be56-490e-b9f4-6ee17ebefffc.png +0 -0
  33. package/mini2.0-main 2/public/images/ea745a10-42aa-4f44-8d7f-3ab02cc0adcd.png +0 -0
  34. package/mini2.0-main 2/public/images/f5876785-b927-4347-ba19-999114240649.png +0 -0
  35. package/mini2.0-main 2/public/images/img.png +0 -0
  36. package/mini2.0-main 2/src/App.vue +0 -11
  37. package/mini2.0-main 2/src/api/user.ts +0 -33
  38. package/mini2.0-main 2/src/auto-imports.d.ts +0 -639
  39. package/mini2.0-main 2/src/components.d.ts +0 -23
  40. package/mini2.0-main 2/src/config/config.properties +0 -3
  41. package/mini2.0-main 2/src/config/env.ts +0 -6
  42. package/mini2.0-main 2/src/config/plugin.properties.pro +0 -6
  43. package/mini2.0-main 2/src/config/plugin.properties.test +0 -6
  44. package/mini2.0-main 2/src/core/mxApi/index.ts +0 -217
  45. package/mini2.0-main 2/src/core/request/index.ts +0 -42
  46. package/mini2.0-main 2/src/main.ts +0 -28
  47. package/mini2.0-main 2/src/router/index.ts +0 -70
  48. package/mini2.0-main 2/src/stores/app.ts +0 -24
  49. package/mini2.0-main 2/src/stores/counter.ts +0 -12
  50. package/mini2.0-main 2/src/stores/user.ts +0 -52
  51. package/mini2.0-main 2/src/types/api.d.ts +0 -14
  52. package/mini2.0-main 2/src/types/nprogress.d.ts +0 -8
  53. package/mini2.0-main 2/src/utils/query.ts +0 -27
  54. package/mini2.0-main 2/src/utils/request.ts +0 -159
  55. package/mini2.0-main 2/src/views/clearing-detail/index.vue +0 -49
  56. package/mini2.0-main 2/src/views/foreign-position/index.vue +0 -49
  57. package/mini2.0-main 2/src/views/home/index.vue +0 -201
  58. package/mini2.0-main 2/src/views/login/index.vue +0 -196
  59. package/mini2.0-main 2/src/views/net-debit/index.vue +0 -49
  60. package/mini2.0-main 2/src/views/pbc-position/index.vue +0 -49
  61. package/mini2.0-main 2/src/views/position-estimate/index.vue +0 -49
  62. package/mini2.0-main 2/src/views/rmb-position/index.vue +0 -49
  63. package/mini2.0-main 2/src/views/warning/index.vue +0 -49
  64. package/mini2.0-main 2/tsconfig.app.json +0 -18
  65. package/mini2.0-main 2/tsconfig.json +0 -11
  66. package/mini2.0-main 2/tsconfig.node.json +0 -28
  67. package/mini2.0-main 2/vite.config.ts +0 -69
package/design-qa.md CHANGED
@@ -5,35 +5,43 @@
5
5
  - None for the current homepage state.
6
6
 
7
7
  **Implementation Checklist**
8
- - Built the homepage as a fullscreen balance overview route.
8
+ - Kept the homepage as a fullscreen balance overview route.
9
+ - Reworked the homepage shell into a responsive two-column layout with a right-side quick menu.
10
+ - Replaced the previous fixed-reference sizing with `grid`, `%`, `minmax()`, and `clamp()` sizing.
9
11
  - Reused the provided home assets and renamed them to ASCII filenames.
10
- - Matched the reference viewport at 1672x941.
12
+ - Verified the reference viewport at 1672x941 plus additional device sizes.
11
13
  - Removed the extra white highlight dot from all circular badge icons.
12
- - Verified the production preview screenshot against the source reference.
14
+ - Verified production preview screenshots across wide, laptop, tablet landscape, and tablet portrait viewports.
13
15
 
14
16
  **Follow-up Polish**
15
17
  - [P3] The three non-currency badge glyphs use the closest available Element Plus icons. If exact source icon artwork becomes available, replace those three glyphs with the supplied image assets for even tighter parity.
16
18
 
17
19
  source visual truth path: `/var/folders/9_/635n2vmx5017pd592w50p_d80000gn/T/codex-clipboard-5312293c-ab94-4ddd-9cdd-53b6bbe19f2b.png`
18
20
 
19
- implementation screenshot path: `/Users/bombingpig/WebstormProjects/verce-vue-test/output/playwright/home-preview-1672x941.png`
21
+ implementation screenshot path: `/Users/bombingpig/WebstormProjects/verce-vue-test/output/playwright/home-responsive-1672x941.png`
20
22
 
21
- viewport: `1672x941`
23
+ viewport: `1672x941`, `1366x768`, `1024x768`, `820x1180`
22
24
 
23
25
  state: production preview, `/`, default homepage
24
26
 
25
- full-view comparison evidence: `/Users/bombingpig/WebstormProjects/verce-vue-test/output/playwright/home-reference-vs-preview.png`
27
+ full-view comparison evidence:
28
+ - `/Users/bombingpig/WebstormProjects/verce-vue-test/output/playwright/home-responsive-1672x941.png`
29
+ - `/Users/bombingpig/WebstormProjects/verce-vue-test/output/playwright/home-responsive-1366x768.png`
30
+ - `/Users/bombingpig/WebstormProjects/verce-vue-test/output/playwright/home-responsive-1024x768.png`
31
+ - `/Users/bombingpig/WebstormProjects/verce-vue-test/output/playwright/home-responsive-820x1180.png`
26
32
 
27
- focused region comparison evidence: badge row and first-row card regions were checked in the combined comparison image; the previously visible white highlight dot on circular icons is no longer present.
33
+ focused region comparison evidence: card rows, amount blocks, badge icons, update time, and the right-side menu were checked in the rendered screenshots. The layout no longer depends on a single 1672px-wide design viewport.
28
34
 
29
35
  required fidelity surfaces:
30
36
  - Fonts and typography: Chinese titles, timestamps, labels, amounts, decimals, and unit codes match the visual hierarchy and stay inside their containers.
31
- - Spacing and layout rhythm: glass panel, two-column/four-row grid, card gaps, rounded corners, and bottom spacing are aligned to the 1672x941 reference viewport.
37
+ - Spacing and layout rhythm: glass panel, two-column/four-row grid, card gaps, rounded corners, and right-side menu scale across tested viewports. Portrait view uses panel scrolling instead of compressing all eight cards into overlapping rows.
32
38
  - Colors and visual tokens: red, green, blue, cyan, orange, and purple card themes follow the source palette and use supplied background art.
33
39
  - Image quality and asset fidelity: all provided raster backgrounds are used from `src/assets/home`; no Chinese filenames remain in the app references.
34
40
  - Copy and content: title, update time, account labels, amount strings, decimals, and currency codes match the screenshot.
35
41
 
36
42
  patches made since previous QA pass:
37
- - Removed the small white radial-gradient highlight dot from `.currency-badge`.
43
+ - Added a right-side quick menu to the fullscreen homepage.
44
+ - Replaced the rigid `cqw`/absolute-position layout with responsive CSS Grid and `clamp()` sizing.
45
+ - Confirmed badge highlight dots remain removed.
38
46
 
39
47
  final result: passed
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "verce-vue-test",
3
- "version": "0.0.39",
3
+ "version": "0.0.41",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "scripts": {