DashboardView ("میز کار"): Rebuilt from scratch with a new structure, distinct from the old card+grid layout but visually aligned with HomeView (same blurred bar, @ink/@wine palette, staged reveal animation on mount):
Single hero card (ink→wine gradient) showing balance, gold/fiat debt, and identity — no quick-action icons inside it anymore.
Live gold rate folded into a slim inline row at the bottom instead of a titled section.
Iterated shadow/spacing on the hero card per feedback (softer, less clipped).
DialogVant / DialogVantOneButton (shared modal components, used in 7+ call sites: Dashboard, Cart, SingleProduct, Register, App): Replaced Vant's default dialog chrome with the app's own rounded-card language — circular icon badge for the illustration, pill-shaped primary/secondary buttons. No call-site markup changed.
LoginView: Rebuilt from scratch — full-bleed dark hero (brand + step copy) overlapped by a floating white form sheet, animated crossfade transition between the mobile-number and OTP steps, same staged entrance animation as Home/Dashboard. All auth logic (API check, OTP stub, session login) unchanged.
39 lines
966 B
JSON
39 lines
966 B
JSON
{
|
|
"name": "user-app-v2",
|
|
"version": "0.0.1",
|
|
"private": true,
|
|
"scripts": {
|
|
"dev": "vite",
|
|
"build": "vue-tsc -b && vite build",
|
|
"lint": "eslint \"src/**/*.{ts,vue}\""
|
|
},
|
|
"dependencies": {
|
|
"@ant-design/icons-vue": "^6.1.0",
|
|
"@gold-bank/shared-types": "workspace:*",
|
|
"@vueuse/core": "^9.13.0",
|
|
"ant-design-vue": "^3.2.20",
|
|
"gsap": "^3.9.1",
|
|
"moment-jalaali": "^0.10.0",
|
|
"pinia": "^2.2.0",
|
|
"swiper": "^7.4.1",
|
|
"vant": "^4.0.3",
|
|
"vue": "^3.5.0",
|
|
"vue-router": "^4.4.0",
|
|
"vue3-lazyload": "^0.2.5-beta",
|
|
"@lottiefiles/dotlottie-vue": "^0.4.15"
|
|
},
|
|
"devDependencies": {
|
|
"@vitejs/plugin-vue": "^5.1.0",
|
|
"autoprefixer": "^10.4.2",
|
|
"less": "^4.1.2",
|
|
"postcss": "^8.4.5",
|
|
"tailwindcss": "3.0.18",
|
|
"typescript": "^5.5.0",
|
|
"vite": "^5.4.0",
|
|
"vue-tsc": "^2.1.0",
|
|
"vite-plugin-pwa": "^0.20.5",
|
|
"workbox-precaching": "^7.1.0",
|
|
"workbox-window": "^7.1.0"
|
|
}
|
|
}
|