- Mock adapter implementing @vmall/shared ApiClient (localStorage-persisted cart/orders/invoices), runtime switch via mockApi flag (default on) - Fixed bilingual mock catalog: 3-level categories, 24 products w/ SKUs, stores, brands, banners, floors, seckill/collective/integral, comments, coupons, addresses, seeded orders/shipments/invoices - B2B2C mall shell: top bar, logo/search/cart header, dark nav + category mega-menu, value-prop footer, back-to-top; 1200px grid, #ca151e theme - UI primitives replacing element-plus: carousel, pagination, breadcrumb, qty stepper, rating stars, modal, tabs, step bar, product card - Pages: home floors, search (filters/sort/paging), goods detail (SKU picker, store rail, review tabs), cart -> checkout -> pay -> success, auth pages, user center (dashboard/orders/addresses/favorites/coupons/ invoices), stores, seckill, collective, integral - i18n split into per-domain locale modules (en+zh) - OpenSpec change mall-pc-storefront-replica archived; all specs green
61 lines
1.7 KiB
TypeScript
61 lines
1.7 KiB
TypeScript
export default {
|
|
en: {
|
|
stores: {
|
|
breadcrumbHome: "Home",
|
|
directory: "Store directory",
|
|
sortDefault: "Default",
|
|
sortDistance: "Distance",
|
|
distance: "{n} km away",
|
|
positiveRate: "Positive reviews 100%",
|
|
visitStore: "Visit store",
|
|
company: "Company",
|
|
region: "Region",
|
|
address: "Address",
|
|
storeProfile: "Store profile",
|
|
score: "Overall",
|
|
agreement: "Product",
|
|
service: "Service",
|
|
speed: "Delivery",
|
|
favorite: "Follow store",
|
|
favorited: "Following",
|
|
salesRank: "Top sellers",
|
|
storeProducts: "Store products",
|
|
sortPrice: "Price",
|
|
sortSales: "Sales",
|
|
sortComments: "Reviews",
|
|
noProducts: "This store has no products yet.",
|
|
unknownStore: "Store not found",
|
|
backToStores: "Back to stores",
|
|
},
|
|
},
|
|
zh: {
|
|
stores: {
|
|
breadcrumbHome: "首页",
|
|
directory: "店铺街",
|
|
sortDefault: "默认",
|
|
sortDistance: "距离",
|
|
distance: "距离 {n} 公里",
|
|
positiveRate: "好评率 100%",
|
|
visitStore: "进入店铺",
|
|
company: "公司",
|
|
region: "地区",
|
|
address: "地址",
|
|
storeProfile: "店铺信息",
|
|
score: "综合评分",
|
|
agreement: "商品质量",
|
|
service: "服务态度",
|
|
speed: "发货速度",
|
|
favorite: "收藏店铺",
|
|
favorited: "已收藏",
|
|
salesRank: "本店销量排行",
|
|
storeProducts: "店内商品",
|
|
sortPrice: "价格",
|
|
sortSales: "销量",
|
|
sortComments: "评论",
|
|
noProducts: "店铺暂时没有商品。",
|
|
unknownStore: "店铺不存在",
|
|
backToStores: "返回店铺街",
|
|
},
|
|
},
|
|
} as const;
|