Files
lucky_shop/lang/zh-cn/goods/detail.js
ZF sun a6091f6b68 refactor(commodity-detail): optimize performance and fix UI flicker issues
1. add empty form tip for product message section
2. lazy load goods form to unblock initial page render
3. optimize category and tabbar rendering to fix flicker on WeChat mini-program
4. delay non-critical data processing to improve first-screen rendering speed
5. fix popup blank issue when opening product message form for the first time
2026-07-18 16:57:10 +08:00

181 lines
4.8 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
export const lang = {
//title为每个页面的标题
title: '商品详情',
select: '选择',
details:'商品详情',
document:'文档详情',
params: '参数',
service: '商品服务',
allGoods: '全部商品',
image: '图片',
video: '视频',
home:'首页',
cart:'购物车',
leave:'立即留言',
make:'立即咨询',
send:'配送',
express:'快递发货',
commission:'佣金详情',
commissiontext:'佣金',
addcart:'添加购物车',
buynow:'立即购买',
status:'该商品已下架',
sellout:'库存不足',
max:'已达最大限购数量',
makebtn:'立即咨询',
sales:'销量',
stock:'库存',
kefu:'客服',
follow:'收藏',
spec:'规格',
// SKU相关
stockInsufficient: '库存不足',
offShelves: '该商品已下架',
soldOut: '商品已售罄',
buyCountNotZero: '购买数量不能小于等于0',
stockLessThanMinBuy: '库存小于最低购买数量',
purchaseLimit: '该商品每人限购{count}{unit}',
purchaseLimitWithPurchased: '该商品每人限购{count}{unit},您已购买了{purchased}{unit}',
maxPurchasePerTime: '该商品每次最多购买{count}{unit}',
selectedSpec: '已选规格:',
buyCount: '购买数量',
exchangeCount: '兑换数量',
joinCart: '加入购物车',
confirmBtn: '确认',
rushBuy: '立即抢购',
exchangeBtn: '兑换',
addToCartSuccess: '加入购物车成功',
minBuyStart: '{minBuy}{unit}起售',
balanceLabel: '尾款',
pointLabel: '积分:',
stockLabel: '库存:',
groupOfNum: '{num}人团',
limitPerPerson: '每人限购{count}{unit}',
limitBuyRange: '{minBuy}{unit}起售,限购{maxBuy}{unit}',
limitBuyMax: '限购{maxBuy}{unit}',
previewCannotBuy: '预览商品无法购买',
specNotInBale: '该规格未参与打包一口价活动',
goodsStockInsufficient: '商品库存不足',
goodsAddCartSuccess: '商品添加购物车成功',
selected: '已选择:',
startingNum: '起售{num}件',
goodsOffShelves: '商品已下架',
// 价格与促销
limitedTimeDiscount: '限时折扣',
sold: '已售',
countdownEndsIn: '距结束仅剩',
originalPrice: '原价',
// 组合套餐
comboPackage: '组合套餐',
comboPrice: '套餐价',
// 优惠券
coupons: '优惠券',
discountOff: '折',
minSpendAvailable: '满{amount}可用',
noThreshold: '无门槛',
maxDiscount: '最多可抵{symbol}{amount}',
validUntilDate: '有效期:{date}',
validForDays: '有效期:领取之日起{days}天内有效',
validPermanent: '有效期:长期有效',
couponSoldOut: '已抢光',
couponClaimed: '已领取',
couponReceive: '领取',
couponAlreadyClaimed: '您已领取过该优惠券,快去使用吧',
couponClaimSuccess: '领取成功,快去使用吧',
// 促销活动
promotion: '促销',
fullReduction: '满减',
fullGift: '满送',
freeShipping: '包邮',
// 满减活动文案模板
manjianUnitYuan: '元',
manjianUnitPiece: '件',
manjianItemSeparator: ';',
fullReductionItem: '满{limit}{unit}减{money}元',
fullGiftPoints: '送{point}积分',
fullGiftDiscountCoupon: '送{count}张{discount}折优惠券',
fullGiftMoneyCoupon: '送{count}张{money}元优惠券',
fullGiftConnector: '、送',
fullGiftItem: '满{limit}{unit}{gift}',
freeShippingItem: '满{limit}{unit}包邮',
// 商品留言
productMessage: '商品留言',
formEmptyTip: '暂无需填写的留言字段',
// 智能客服
aiCustomerService: '智能客服',
// 联系弹窗
dialOnMobile: '可在手机端拨打{phone}',
cancel: '取消',
copyToClipboard: '复制到剪切板',
copySuccess: '复制成功',
// 通用按钮
confirm: '确定',
// 商品详情视图组件(goods-detail-view)
detailView: {
// 配送区域
notConfigured: '未配置',
serviceLabel: '服务',
// 商家认证
officialCertifiedMerchant: '官方认证商家,值得信赖!',
// 弹窗标题
deliveryTitle: '配送',
merchantsServiceTitle: '商品服务',
storeListTitle: '门店列表',
// 门店相关
distance: '距离{distance}',
businessHours: '营业时间:{time}',
// 社群
addCommunity: '添加',
// 评价区域
evaluate: '评价',
noEvaluate: '暂无评价',
viewAll: '查看全部',
// 规格属性
specAttrTitle: '规格属性',
expand: '展开',
collapse: '收起',
// PDF文档
defaultDocName: '商品文档',
viewDocDetail: '点击查看文档详情',
view: '查看',
// 海报
saveImage: '保存图片',
longPressToSave: '长按图片进行保存',
// 分享弹窗
shareTitle: '分享',
shareToFriends: '分享给好友',
shareToGoodsCircle: '分享到好物圈',
generateSharePoster: '生成分享海报',
copyLink: '复制链接',
cancelShare: '取消分享',
// 提示消息
posterGenerating: '海报生成中...',
saveSuccess: '保存成功',
saveFailed: '保存失败,请稍后重试',
loading: '正在加载',
fileNotExist: '文件不存在',
}
}