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.
2 lines
5.7 KiB
CSS
2 lines
5.7 KiB
CSS
.hero__stage[data-v-97560afa]{position:relative;aspect-ratio:1.063;touch-action:pan-y;-webkit-user-select:none;-moz-user-select:none;user-select:none}.hero__card[data-v-97560afa]{position:absolute;top:0;bottom:0;left:13.45%;right:13.45%;border-radius:32px;overflow:hidden;cursor:pointer;background:#f4f5f6;will-change:transform,opacity}.hero__card.is-active[data-v-97560afa]{box-shadow:0 18px 44px -12px #14161a73,0 0 0 1px #ffffffe6}.hero__art[data-v-97560afa],.hero__artFallback[data-v-97560afa]{width:100%;height:100%;-o-object-fit:cover;object-fit:cover;display:block;transition:filter .42s cubic-bezier(.22,.61,.36,1)}.hero__card:not(.is-active) .hero__art[data-v-97560afa]{filter:grayscale(1)}.hero__artFallback[data-v-97560afa]{background:linear-gradient(140deg,#f4f5f6,#ecedef)}.hero__dots[data-v-97560afa]{display:flex;justify-content:center;gap:6px;padding-top:14px}.hero__dot[data-v-97560afa]{width:6px;height:6px;padding:0;border:0;cursor:pointer;border-radius:999px;background:#ecedef;transition:all .25s ease}.hero__dot.is-active[data-v-97560afa]{width:20px;background:#7a1b33}.cats[data-v-aef04be0]{display:flex;gap:15px;overflow-x:auto;margin:0 -16px;padding:2px 16px;scroll-snap-type:x proximity}.cats__tile[data-v-aef04be0]{scroll-snap-align:start;flex:0 0 auto;width:79px;height:65px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;cursor:pointer;font-family:inherit;border-radius:22px;border:0;background:#f4f5f6;color:#1c2d56;transition:border-color .2s ease,background .2s ease,transform .18s ease}.cats__tile[data-v-aef04be0]:active{transform:scale(.96)}.cats__tile.is-active[data-v-aef04be0]{background:#ecedef}.cats__mark[data-v-aef04be0]{display:grid;place-items:center;color:#1c2d56}.cats__mark img[data-v-aef04be0]{width:27px;height:27px;-o-object-fit:contain;object-fit:contain}.cats__title[data-v-aef04be0]{font-size:11px;font-weight:600;white-space:nowrap;max-width:71px;overflow:hidden;text-overflow:ellipsis}.panel[data-v-138b61b8]{cursor:pointer;border-radius:32px;background:#f4f5f6;padding:18px 16px 16px;text-align:center;transition:transform .2s ease,background .2s ease}.panel[data-v-138b61b8]:active{transform:scale(.985)}.panel__art[data-v-138b61b8]{height:148px;display:flex;align-items:center;justify-content:center}.panel__art img[data-v-138b61b8]{max-width:78%;max-height:100%;-o-object-fit:contain;object-fit:contain;display:block}.panel__title[data-v-138b61b8]{margin:14px 0 0;font-size:13.5px;font-weight:600;color:#14161a;line-height:1.6;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.panel__meta[data-v-138b61b8]{display:flex;align-items:center;justify-content:center;gap:8px;padding-top:9px;font-size:12px}.panel__weight[data-v-138b61b8]{color:#22262e;font-weight:600}.panel__sep[data-v-138b61b8]{width:1px;height:12px;background:#ecedef}.panel__wageOld[data-v-138b61b8]{color:#8a909c;text-decoration:line-through}.panel__wage[data-v-138b61b8]{color:#e31a1a;font-weight:700}.reel__stage[data-v-b79ea2a7]{position:relative;height:252px;touch-action:pan-y;-webkit-user-select:none;-moz-user-select:none;user-select:none;margin:0 -16px 26px}.reel__cell[data-v-b79ea2a7]{position:absolute;top:0;bottom:0;left:13%;right:13%;transform-origin:bottom center;will-change:transform,opacity}.reel__cell[data-v-b79ea2a7]>.panel,.reel__all[data-v-b79ea2a7]{transition:box-shadow .55s cubic-bezier(.21,1.02,.36,1)}.reel__cell.is-active[data-v-b79ea2a7]>.panel,.reel__cell.is-active .reel__all[data-v-b79ea2a7]{box-shadow:0 18px 38px -24px #14161a8c}.reel__cell[data-v-b79ea2a7]>.panel{height:100%;display:flex;flex-direction:column;justify-content:center}.reel__all[data-v-b79ea2a7]{width:100%;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;cursor:pointer;font-family:inherit;padding:18px 16px;border:0;border-radius:32px;background:#f4f5f6;color:#7a1b33;transition:transform .2s ease,background .2s ease}.reel__all[data-v-b79ea2a7]:active{transform:scale(.985)}.reel__allMark[data-v-b79ea2a7]{width:56px;height:56px;border-radius:999px;display:grid;place-items:center;background:#fff}.reel__allText[data-v-b79ea2a7]{font-size:13.5px;font-weight:700;line-height:1.7}.home[data-v-0f8e1ca4]{background:#fff;min-height:100vh}.home__bar[data-v-0f8e1ca4]{position:fixed;top:0;left:0;right:0;z-index:20;background:#ffffffd1;-webkit-backdrop-filter:blur(18px) saturate(140%);backdrop-filter:blur(18px) saturate(140%);border-bottom:1px solid rgba(28,45,86,.05);box-shadow:0 8px 20px -18px #1c2d568c}.home__barInner[data-v-0f8e1ca4]{max-width:768px;margin:0 auto;padding:10px 16px;display:flex;align-items:center;justify-content:space-between;gap:12px}.home__logo[data-v-0f8e1ca4]{height:25px;-o-object-fit:contain;object-fit:contain}.home__body[data-v-0f8e1ca4]{padding-top:58px;padding-bottom:90px}.home__reveal[data-v-0f8e1ca4]{opacity:0;transform:translate3d(0,14px,0) scale(.98);will-change:transform,opacity}.is-revealed .home__reveal[data-v-0f8e1ca4]{opacity:1;transform:translateZ(0) scale(1);transition:opacity .62s cubic-bezier(.32,.72,0,1) var(--reveal-delay, 0ms),transform .62s cubic-bezier(.32,.72,0,1) var(--reveal-delay, 0ms)}@media (prefers-reduced-motion: reduce){.home__reveal[data-v-0f8e1ca4]{opacity:1;transform:none}.is-revealed .home__reveal[data-v-0f8e1ca4]{transition:none}}.home__hero[data-v-0f8e1ca4]{margin-top:18px;margin-inline:-16px}.home__section[data-v-0f8e1ca4]{margin-top:30px}-v-0f8e1ca4]{margin:0 0 14px;font-size:16px;font-weight:800;color:#14161a;text-align:right}.home__list[data-v-0f8e1ca4]{display:flex;flex-direction:column;gap:14px;margin-top:14px}.home__empty[data-v-0f8e1ca4]{margin-top:28px;padding:34px 20px;border:1px dashed #ECEDEF;border-radius:32px;display:flex;flex-direction:column;align-items:center;gap:10px;color:#8a909c}.home__empty p[data-v-0f8e1ca4]{margin:0;font-size:12.5px}
|