修复bug
This commit is contained in:
Vendored
+2
-2
@@ -4,7 +4,7 @@ NODE_ENV=development
|
|||||||
VITE_DELETE_CONSOLE=false
|
VITE_DELETE_CONSOLE=false
|
||||||
|
|
||||||
#本地环境
|
#本地环境
|
||||||
#VITE_SERVER_BASEURL=https://howhowfresh.com/prod-api
|
VITE_SERVER_BASEURL=https://howhowfresh.com/prod-api
|
||||||
VITE_SERVER_BASEURL=http://192.168.0.197:8889
|
#VITE_SERVER_BASEURL=http://192.168.0.197:8889
|
||||||
#VITE_SERVER_BASEURL=http://192.168.0.158:8888
|
#VITE_SERVER_BASEURL=http://192.168.0.158:8888
|
||||||
#VITE_SERVER_BASEURL=http://liuyao.nat100.top/meiguowaimai
|
#VITE_SERVER_BASEURL=http://liuyao.nat100.top/meiguowaimai
|
||||||
+40
-21
@@ -283,14 +283,20 @@
|
|||||||
"thinking": "Thinking...",
|
"thinking": "Thinking...",
|
||||||
"thinkingSearching": "AI is searching matching items...",
|
"thinkingSearching": "AI is searching matching items...",
|
||||||
"searchingGoods": "Searching products...",
|
"searchingGoods": "Searching products...",
|
||||||
"toolStatusWithSize": "Calling {tool}, total {size} items",
|
"toolStatusWithSizePrefix": "Calling ",
|
||||||
|
"toolStatusWithSizeMiddle": ", total ",
|
||||||
|
"toolStatusWithSizeSuffix": " items",
|
||||||
"emptyResult": "Completed, but no displayable content returned.",
|
"emptyResult": "Completed, but no displayable content returned.",
|
||||||
"requestFailed": "Request failed, please try again later.",
|
"requestFailed": "Request failed, please try again later.",
|
||||||
"recommendCountPrefix": "Recommended items: ",
|
"recommendCountPrefix": "Recommended items: ",
|
||||||
"recommendCountSuffix": "",
|
"recommendCountSuffix": "",
|
||||||
"recommendSource": "Selected by AI in real time",
|
"recommendSource": "Selected by AI in real time",
|
||||||
"summaryFound": "{count} items found",
|
"summaryFoundPrefix": "",
|
||||||
"summaryBudget": "Estimate {estimate}, actual {actual}, saved {save}",
|
"summaryFoundSuffix": " items found",
|
||||||
|
"summaryBudgetPrefix": "Estimate ",
|
||||||
|
"summaryBudgetMiddle1": ", actual ",
|
||||||
|
"summaryBudgetMiddle2": ", saved ",
|
||||||
|
"summaryBudgetSuffix": "",
|
||||||
"unnamed": "Unnamed Item",
|
"unnamed": "Unnamed Item",
|
||||||
"quickAdd": "Quick Add",
|
"quickAdd": "Quick Add",
|
||||||
"added": "Added",
|
"added": "Added",
|
||||||
@@ -321,7 +327,8 @@
|
|||||||
"activity-description": "Activity description",
|
"activity-description": "Activity description",
|
||||||
"activity-description-tip": "Share the QR code and invite new users to register successfully. Successful invitation",
|
"activity-description-tip": "Share the QR code and invite new users to register successfully. Successful invitation",
|
||||||
"collection": "My Collection",
|
"collection": "My Collection",
|
||||||
"collectionBatchDeleteConfirm": "Remove {count} selected favorite(s)?",
|
"collectionBatchDeleteConfirmPrefix": "Remove ",
|
||||||
|
"collectionBatchDeleteConfirmSuffix": " selected favorite(s)?",
|
||||||
"collectionBatchModeHint": "Select items to remove, then tap the trash again to delete",
|
"collectionBatchModeHint": "Select items to remove, then tap the trash again to delete",
|
||||||
"collectionSelectFirst": "Please select favorites to remove",
|
"collectionSelectFirst": "Please select favorites to remove",
|
||||||
"complaintsAndSuggestions": "Complaints and suggestions",
|
"complaintsAndSuggestions": "Complaints and suggestions",
|
||||||
@@ -361,7 +368,8 @@
|
|||||||
"confirmReady": "CONF/READY",
|
"confirmReady": "CONF/READY",
|
||||||
"onTheWay": "OTW",
|
"onTheWay": "OTW",
|
||||||
"title": "History",
|
"title": "History",
|
||||||
"totalItemCount": "{count} items"
|
"totalItemCountPrefix": "",
|
||||||
|
"totalItemCountSuffix": " items"
|
||||||
},
|
},
|
||||||
"store": {
|
"store": {
|
||||||
"all": "All"
|
"all": "All"
|
||||||
@@ -466,15 +474,18 @@
|
|||||||
"addCoupon": "Add coupon",
|
"addCoupon": "Add coupon",
|
||||||
"confirmOrder": "Confirm order",
|
"confirmOrder": "Confirm order",
|
||||||
"couponInputPlaceholder": "Enter coupon code",
|
"couponInputPlaceholder": "Enter coupon code",
|
||||||
"deliverBefore": "Arriving before {time}",
|
"deliverBeforePrefix": "Arriving before ",
|
||||||
|
"deliverBeforeSuffix": "",
|
||||||
"deliveryInfo": "Delivery",
|
"deliveryInfo": "Delivery",
|
||||||
"driverTip": "Driver tip",
|
"driverTip": "Driver tip",
|
||||||
"driverTipNote": "100% of your tip goes to the driver.",
|
"driverTipNote": "100% of your tip goes to the driver.",
|
||||||
"fillAddressHint": "Add delivery address and contact",
|
"fillAddressHint": "Add delivery address and contact",
|
||||||
"freeTag": "Free",
|
"freeTag": "Free",
|
||||||
"localDelivery": "Local delivery",
|
"localDelivery": "Local delivery",
|
||||||
"localDeliverySubtitle": "Delivered by {name}.",
|
"localDeliverySubtitlePrefix": "Delivered by ",
|
||||||
"memberThanks": "Thanks for being a {name} member.",
|
"localDeliverySubtitleSuffix": ".",
|
||||||
|
"memberThanksPrefix": "Thanks for being a ",
|
||||||
|
"memberThanksSuffix": " member.",
|
||||||
"orderTotalLine": "Order total",
|
"orderTotalLine": "Order total",
|
||||||
"orderBreakdown": "Order details",
|
"orderBreakdown": "Order details",
|
||||||
"pay": "Pay",
|
"pay": "Pay",
|
||||||
@@ -483,21 +494,24 @@
|
|||||||
"pickupTitle": "Pickup",
|
"pickupTitle": "Pickup",
|
||||||
"scheduledDeliveryHint": "Delivery fee refunded if we miss the promised window.",
|
"scheduledDeliveryHint": "Delivery fee refunded if we miss the promised window.",
|
||||||
"scheduledDeliveryTitle": "Scheduled delivery",
|
"scheduledDeliveryTitle": "Scheduled delivery",
|
||||||
"scheduledDeliveryWindow": "By {time}",
|
"scheduledDeliveryWindowPrefix": "By ",
|
||||||
|
"scheduledDeliveryWindowSuffix": "",
|
||||||
"scheduledDeliveryAddon": "+ $ 2.99",
|
"scheduledDeliveryAddon": "+ $ 2.99",
|
||||||
"scheduledDeliveryStandardTitle": "Standard delivery",
|
"scheduledDeliveryStandardTitle": "Standard delivery",
|
||||||
"scheduledDeliveryStandardDesc": "Delivered in your selected window. No rush fee.",
|
"scheduledDeliveryStandardDesc": "Delivered in your selected window. No rush fee.",
|
||||||
"serviceFee": "Service fee",
|
"serviceFee": "Service fee",
|
||||||
"shippingFee": "Delivery fee",
|
"shippingFee": "Delivery fee",
|
||||||
"subtotalBar": "Subtotal",
|
"subtotalBar": "Subtotal",
|
||||||
"subtotalOneLine": "Subtotal: $ {amount}",
|
"subtotalOneLinePrefix": "Subtotal: $ ",
|
||||||
"subtotalWithPieces": "Items total ({count})",
|
"subtotalWithPiecesPrefix": "Items total (",
|
||||||
"itemsGoodsTotalWithPrice": "{count} items total ${amount}",
|
"subtotalWithPiecesSuffix": ")",
|
||||||
|
"itemsGoodsTotalWithPriceMiddle": " items total $",
|
||||||
"useDiscount": "Discounts",
|
"useDiscount": "Discounts",
|
||||||
"appointmentDelivery": "Appointment delivery",
|
"appointmentDelivery": "Appointment delivery",
|
||||||
"appointmentPickup": "Appointment pickup",
|
"appointmentPickup": "Appointment pickup",
|
||||||
"chooseTime": "Choose the time",
|
"chooseTime": "Choose the time",
|
||||||
"chooseTimeForStore": "Please choose a delivery time for \"{name}\"",
|
"chooseTimeForStorePrefix": "Please choose a delivery time for \"",
|
||||||
|
"chooseTimeForStoreSuffix": "\"",
|
||||||
"chooseTips": "Choose tips",
|
"chooseTips": "Choose tips",
|
||||||
"contactPhone": "Contact phone",
|
"contactPhone": "Contact phone",
|
||||||
"deliveryPreference": "Delivery preference",
|
"deliveryPreference": "Delivery preference",
|
||||||
@@ -637,7 +651,7 @@
|
|||||||
"allergen": "Allergen",
|
"allergen": "Allergen",
|
||||||
"weeklySales": "Weekly sales",
|
"weeklySales": "Weekly sales",
|
||||||
"forYou": "Recommended for you",
|
"forYou": "Recommended for you",
|
||||||
"memberPriceLabel": "{name} member price",
|
"memberPriceLabelSuffix": " member price",
|
||||||
"dash": "—",
|
"dash": "—",
|
||||||
"lbUnit": "lb",
|
"lbUnit": "lb",
|
||||||
"hotSalesBadge": "Fresh picks",
|
"hotSalesBadge": "Fresh picks",
|
||||||
@@ -655,7 +669,7 @@
|
|||||||
"tips3": "membership to enjoy a ",
|
"tips3": "membership to enjoy a ",
|
||||||
"tips4": "Enjoy delivery service over",
|
"tips4": "Enjoy delivery service over",
|
||||||
"tips5": "Delivery fee",
|
"tips5": "Delivery fee",
|
||||||
"deliveryScheduleDays": "Delivery days: {days}",
|
"deliveryScheduleDaysPrefix": "Delivery days: ",
|
||||||
"start": " and up",
|
"start": " and up",
|
||||||
"title": "The minimum order amount for this store is",
|
"title": "The minimum order amount for this store is",
|
||||||
"toast": {
|
"toast": {
|
||||||
@@ -714,8 +728,9 @@
|
|||||||
"viewCart": "View Shopping Cart",
|
"viewCart": "View Shopping Cart",
|
||||||
"viewStore": "View Store",
|
"viewStore": "View Store",
|
||||||
"localDelivery": "Local delivery",
|
"localDelivery": "Local delivery",
|
||||||
"deliveryUnified": "Orders are delivered by {name}.",
|
"deliveryUnifiedPrefix": "Orders are delivered by ",
|
||||||
"itemsTotalWithPrice": "{count} items total ${amount}",
|
"deliveryUnifiedSuffix": ".",
|
||||||
|
"itemsTotalWithPriceMiddle": " items total $",
|
||||||
"deliveryFeeLine": "Delivery",
|
"deliveryFeeLine": "Delivery",
|
||||||
"serviceFeeLine": "Service fee",
|
"serviceFeeLine": "Service fee",
|
||||||
"subtotalLine": "Subtotal",
|
"subtotalLine": "Subtotal",
|
||||||
@@ -726,7 +741,8 @@
|
|||||||
"removeCartTitle": "Delete shopping cart?",
|
"removeCartTitle": "Delete shopping cart?",
|
||||||
"removeCartDesc": "Are you sure you want to delete this cart?",
|
"removeCartDesc": "Are you sure you want to delete this cart?",
|
||||||
"removeProductTitle": "Remove the product?",
|
"removeProductTitle": "Remove the product?",
|
||||||
"removeProductDesc": "Are you sure you want to remove {name} from your shopping cart?",
|
"removeProductDescPrefix": "Are you sure you want to remove ",
|
||||||
|
"removeProductDescSuffix": " from your shopping cart?",
|
||||||
"emptyTitle": "Your cart is empty",
|
"emptyTitle": "Your cart is empty",
|
||||||
"emptyAction": "Explore Restaurants",
|
"emptyAction": "Explore Restaurants",
|
||||||
"orderNoticeTitle": "Order Notice",
|
"orderNoticeTitle": "Order Notice",
|
||||||
@@ -759,7 +775,8 @@
|
|||||||
"coupon": {
|
"coupon": {
|
||||||
"all-merchants": "Applicable to all merchants",
|
"all-merchants": "Applicable to all merchants",
|
||||||
"expiry-date": "Expiry date: ",
|
"expiry-date": "Expiry date: ",
|
||||||
"merchant-only": "Only available at {name}",
|
"merchantOnlyPrefix": "Only available at ",
|
||||||
|
"merchantOnlySuffix": "",
|
||||||
"merchant-specific": "For specific merchant use",
|
"merchant-specific": "For specific merchant use",
|
||||||
"no-coupons": "You currently do not have any coupons",
|
"no-coupons": "You currently do not have any coupons",
|
||||||
"redeem-now": "Redeem now",
|
"redeem-now": "Redeem now",
|
||||||
@@ -782,8 +799,10 @@
|
|||||||
"paymentMethod": "Payment method",
|
"paymentMethod": "Payment method",
|
||||||
"renewalNow": "Renewal now",
|
"renewalNow": "Renewal now",
|
||||||
"weeks": "weeks",
|
"weeks": "weeks",
|
||||||
"billedAnnually": "Billed at ${amount}/year",
|
"billedAnnuallyPrefix": "Billed at $",
|
||||||
"savingsPerYear": "It can save an additional ${amount} per year."
|
"billedAnnuallySuffix": "/year",
|
||||||
|
"savingsPerYearPrefix": "It can save an additional $",
|
||||||
|
"savingsPerYearSuffix": " per year."
|
||||||
},
|
},
|
||||||
"member-center": {
|
"member-center": {
|
||||||
"chooseLike": "Choose 3 items you like",
|
"chooseLike": "Choose 3 items you like",
|
||||||
|
|||||||
+40
-21
@@ -283,14 +283,20 @@
|
|||||||
"thinking": "思考中...",
|
"thinking": "思考中...",
|
||||||
"thinkingSearching": "AI 正在检索匹配商品...",
|
"thinkingSearching": "AI 正在检索匹配商品...",
|
||||||
"searchingGoods": "正在检索商品...",
|
"searchingGoods": "正在检索商品...",
|
||||||
"toolStatusWithSize": "正在调用 {tool},共 {size} 条",
|
"toolStatusWithSizePrefix": "正在调用 ",
|
||||||
|
"toolStatusWithSizeMiddle": ",共 ",
|
||||||
|
"toolStatusWithSizeSuffix": " 条",
|
||||||
"emptyResult": "已完成,但未返回可展示内容。",
|
"emptyResult": "已完成,但未返回可展示内容。",
|
||||||
"requestFailed": "请求失败,请稍后重试。",
|
"requestFailed": "请求失败,请稍后重试。",
|
||||||
"recommendCountPrefix": "推荐商品 ",
|
"recommendCountPrefix": "推荐商品 ",
|
||||||
"recommendCountSuffix": " 件",
|
"recommendCountSuffix": " 件",
|
||||||
"recommendSource": "来自 AI 实时筛选",
|
"recommendSource": "来自 AI 实时筛选",
|
||||||
"summaryFound": "找到 {count} 件商品",
|
"summaryFoundPrefix": "找到 ",
|
||||||
"summaryBudget": "预估 {estimate},实际 {actual},优惠 {save} 元",
|
"summaryFoundSuffix": " 件商品",
|
||||||
|
"summaryBudgetPrefix": "预估 ",
|
||||||
|
"summaryBudgetMiddle1": ",实际 ",
|
||||||
|
"summaryBudgetMiddle2": ",优惠 ",
|
||||||
|
"summaryBudgetSuffix": " 元",
|
||||||
"unnamed": "未命名商品",
|
"unnamed": "未命名商品",
|
||||||
"quickAdd": "一键加购",
|
"quickAdd": "一键加购",
|
||||||
"added": "已加购",
|
"added": "已加购",
|
||||||
@@ -321,7 +327,8 @@
|
|||||||
"activity-description": "活动说明:",
|
"activity-description": "活动说明:",
|
||||||
"activity-description-tip": "分享专属二维码邀请新用户注册即邀请成功。一起来注册体验点餐功能。",
|
"activity-description-tip": "分享专属二维码邀请新用户注册即邀请成功。一起来注册体验点餐功能。",
|
||||||
"collection": "我的收藏",
|
"collection": "我的收藏",
|
||||||
"collectionBatchDeleteConfirm": "确定删除已选中的 {count} 条收藏?",
|
"collectionBatchDeleteConfirmPrefix": "确定删除已选中的 ",
|
||||||
|
"collectionBatchDeleteConfirmSuffix": " 条收藏?",
|
||||||
"collectionBatchModeHint": "请选择要删除的收藏,再次点击垃圾桶执行删除",
|
"collectionBatchModeHint": "请选择要删除的收藏,再次点击垃圾桶执行删除",
|
||||||
"collectionSelectFirst": "请先选择要删除的收藏",
|
"collectionSelectFirst": "请先选择要删除的收藏",
|
||||||
"complaintsAndSuggestions": "投诉建议",
|
"complaintsAndSuggestions": "投诉建议",
|
||||||
@@ -361,7 +368,8 @@
|
|||||||
"confirmReady": "确认/已准备",
|
"confirmReady": "确认/已准备",
|
||||||
"onTheWay": "在路上",
|
"onTheWay": "在路上",
|
||||||
"title": "订单",
|
"title": "订单",
|
||||||
"totalItemCount": "共{count}件"
|
"totalItemCountPrefix": "共",
|
||||||
|
"totalItemCountSuffix": "件"
|
||||||
},
|
},
|
||||||
"store": {
|
"store": {
|
||||||
"all": "全部"
|
"all": "全部"
|
||||||
@@ -466,15 +474,18 @@
|
|||||||
"addCoupon": "添加优惠券",
|
"addCoupon": "添加优惠券",
|
||||||
"confirmOrder": "确认订单",
|
"confirmOrder": "确认订单",
|
||||||
"couponInputPlaceholder": "请输入优惠券",
|
"couponInputPlaceholder": "请输入优惠券",
|
||||||
"deliverBefore": "将在 {time} 之前送达",
|
"deliverBeforePrefix": "将在 ",
|
||||||
|
"deliverBeforeSuffix": " 之前送达",
|
||||||
"deliveryInfo": "配送信息",
|
"deliveryInfo": "配送信息",
|
||||||
"driverTip": "司机小费",
|
"driverTip": "司机小费",
|
||||||
"driverTipNote": "您所支付的小费 100% 归司机所有",
|
"driverTipNote": "您所支付的小费 100% 归司机所有",
|
||||||
"fillAddressHint": "请填写您的送货地址及联系方式",
|
"fillAddressHint": "请填写您的送货地址及联系方式",
|
||||||
"freeTag": "免费",
|
"freeTag": "免费",
|
||||||
"localDelivery": "本地配送",
|
"localDelivery": "本地配送",
|
||||||
"localDeliverySubtitle": "商品将由 {name} 统一配送!",
|
"localDeliverySubtitlePrefix": "商品将由 ",
|
||||||
"memberThanks": "感谢您成为 {name} 会员。",
|
"localDeliverySubtitleSuffix": " 统一配送!",
|
||||||
|
"memberThanksPrefix": "感谢您成为 ",
|
||||||
|
"memberThanksSuffix": " 会员。",
|
||||||
"orderTotalLine": "订单总计",
|
"orderTotalLine": "订单总计",
|
||||||
"orderBreakdown": "订单明细",
|
"orderBreakdown": "订单明细",
|
||||||
"pay": "付款",
|
"pay": "付款",
|
||||||
@@ -483,21 +494,24 @@
|
|||||||
"pickupTitle": "门店自取",
|
"pickupTitle": "门店自取",
|
||||||
"scheduledDeliveryHint": "若未在承诺时间内送达,运费将予以退还。",
|
"scheduledDeliveryHint": "若未在承诺时间内送达,运费将予以退还。",
|
||||||
"scheduledDeliveryTitle": "定时送达服务",
|
"scheduledDeliveryTitle": "定时送达服务",
|
||||||
"scheduledDeliveryWindow": "{time} 前送达",
|
"scheduledDeliveryWindowPrefix": "",
|
||||||
|
"scheduledDeliveryWindowSuffix": " 前送达",
|
||||||
"scheduledDeliveryAddon": "+ $ 2.99",
|
"scheduledDeliveryAddon": "+ $ 2.99",
|
||||||
"scheduledDeliveryStandardTitle": "标准送达",
|
"scheduledDeliveryStandardTitle": "标准送达",
|
||||||
"scheduledDeliveryStandardDesc": "按预约时段配送,无加急费用。",
|
"scheduledDeliveryStandardDesc": "按预约时段配送,无加急费用。",
|
||||||
"serviceFee": "服务费",
|
"serviceFee": "服务费",
|
||||||
"shippingFee": "运费",
|
"shippingFee": "运费",
|
||||||
"subtotalBar": "小计",
|
"subtotalBar": "小计",
|
||||||
"subtotalOneLine": "小计: $ {amount}",
|
"subtotalOneLinePrefix": "小计: $ ",
|
||||||
"subtotalWithPieces": "总计({count}件)",
|
"subtotalWithPiecesPrefix": "总计(",
|
||||||
"itemsGoodsTotalWithPrice": "{count}件商品总共${amount}",
|
"subtotalWithPiecesSuffix": "件)",
|
||||||
|
"itemsGoodsTotalWithPriceMiddle": "件商品总共$",
|
||||||
"useDiscount": "使用优惠",
|
"useDiscount": "使用优惠",
|
||||||
"appointmentDelivery": "预约配送",
|
"appointmentDelivery": "预约配送",
|
||||||
"appointmentPickup": "预约自取",
|
"appointmentPickup": "预约自取",
|
||||||
"chooseTime": "选择时间",
|
"chooseTime": "选择时间",
|
||||||
"chooseTimeForStore": "请为「{name}」选择配送时间",
|
"chooseTimeForStorePrefix": "请为「",
|
||||||
|
"chooseTimeForStoreSuffix": "」选择配送时间",
|
||||||
"chooseTips": "选择小费",
|
"chooseTips": "选择小费",
|
||||||
"contactPhone": "联系电话",
|
"contactPhone": "联系电话",
|
||||||
"deliveryPreference": "配送偏好",
|
"deliveryPreference": "配送偏好",
|
||||||
@@ -637,7 +651,7 @@
|
|||||||
"allergen": "过敏源",
|
"allergen": "过敏源",
|
||||||
"weeklySales": "周销量",
|
"weeklySales": "周销量",
|
||||||
"forYou": "为您推荐",
|
"forYou": "为您推荐",
|
||||||
"memberPriceLabel": "{name}会员价",
|
"memberPriceLabelSuffix": "会员价",
|
||||||
"dash": "—",
|
"dash": "—",
|
||||||
"lbUnit": "磅",
|
"lbUnit": "磅",
|
||||||
"hotSalesBadge": "生鲜热销榜",
|
"hotSalesBadge": "生鲜热销榜",
|
||||||
@@ -655,7 +669,7 @@
|
|||||||
"tips3": "会员可享受",
|
"tips3": "会员可享受",
|
||||||
"tips4": "最低起送金额",
|
"tips4": "最低起送金额",
|
||||||
"tips5": "配送费",
|
"tips5": "配送费",
|
||||||
"deliveryScheduleDays": "配送日:{days}",
|
"deliveryScheduleDaysPrefix": "配送日:",
|
||||||
"start": "起",
|
"start": "起",
|
||||||
"title": "这家店的起送金额是",
|
"title": "这家店的起送金额是",
|
||||||
"toast": {
|
"toast": {
|
||||||
@@ -714,8 +728,9 @@
|
|||||||
"viewCart": "查看购物车",
|
"viewCart": "查看购物车",
|
||||||
"viewStore": "查看店铺",
|
"viewStore": "查看店铺",
|
||||||
"localDelivery": "本地配送",
|
"localDelivery": "本地配送",
|
||||||
"deliveryUnified": "商品将由 {name} 统一配送!",
|
"deliveryUnifiedPrefix": "商品将由 ",
|
||||||
"itemsTotalWithPrice": "{count}件商品总共${amount}",
|
"deliveryUnifiedSuffix": " 统一配送!",
|
||||||
|
"itemsTotalWithPriceMiddle": "件商品总共$",
|
||||||
"deliveryFeeLine": "运费",
|
"deliveryFeeLine": "运费",
|
||||||
"serviceFeeLine": "服务费",
|
"serviceFeeLine": "服务费",
|
||||||
"subtotalLine": "小计",
|
"subtotalLine": "小计",
|
||||||
@@ -726,7 +741,8 @@
|
|||||||
"removeCartTitle": "删除购物车?",
|
"removeCartTitle": "删除购物车?",
|
||||||
"removeCartDesc": "确定要删除该店铺购物车吗?",
|
"removeCartDesc": "确定要删除该店铺购物车吗?",
|
||||||
"removeProductTitle": "移除商品?",
|
"removeProductTitle": "移除商品?",
|
||||||
"removeProductDesc": "确定要将 {name} 从购物车中移除吗?",
|
"removeProductDescPrefix": "确定要将 ",
|
||||||
|
"removeProductDescSuffix": " 从购物车中移除吗?",
|
||||||
"emptyTitle": "购物车为空",
|
"emptyTitle": "购物车为空",
|
||||||
"emptyAction": "去逛逛餐厅",
|
"emptyAction": "去逛逛餐厅",
|
||||||
"orderNoticeTitle": "下单须知",
|
"orderNoticeTitle": "下单须知",
|
||||||
@@ -759,7 +775,8 @@
|
|||||||
"coupon": {
|
"coupon": {
|
||||||
"all-merchants": "适用于所有商户使用",
|
"all-merchants": "适用于所有商户使用",
|
||||||
"expiry-date": "到期日:",
|
"expiry-date": "到期日:",
|
||||||
"merchant-only": "仅{name}可用",
|
"merchantOnlyPrefix": "仅",
|
||||||
|
"merchantOnlySuffix": "可用",
|
||||||
"merchant-specific": "指定商户使用",
|
"merchant-specific": "指定商户使用",
|
||||||
"no-coupons": "您目前没有任何优惠券",
|
"no-coupons": "您目前没有任何优惠券",
|
||||||
"redeem-now": "立即兑换",
|
"redeem-now": "立即兑换",
|
||||||
@@ -782,8 +799,10 @@
|
|||||||
"paymentMethod": "支付方式",
|
"paymentMethod": "支付方式",
|
||||||
"renewalNow": "立即加入",
|
"renewalNow": "立即加入",
|
||||||
"weeks": "周",
|
"weeks": "周",
|
||||||
"billedAnnually": "按${amount}/年 结算",
|
"billedAnnuallyPrefix": "按$",
|
||||||
"savingsPerYear": "它每年可以额外节省${amount}"
|
"billedAnnuallySuffix": "/年 结算",
|
||||||
|
"savingsPerYearPrefix": "它每年可以额外节省$",
|
||||||
|
"savingsPerYearSuffix": ""
|
||||||
},
|
},
|
||||||
"member-center": {
|
"member-center": {
|
||||||
"chooseLike": "选择您喜欢的3个项目",
|
"chooseLike": "选择您喜欢的3个项目",
|
||||||
|
|||||||
+2
-2
@@ -2,8 +2,8 @@
|
|||||||
"name" : "CHEFLINK delivery",
|
"name" : "CHEFLINK delivery",
|
||||||
"appid" : "__UNI__06509BE",
|
"appid" : "__UNI__06509BE",
|
||||||
"description" : "",
|
"description" : "",
|
||||||
"versionName" : "3.2.0",
|
"versionName" : "3.2.2",
|
||||||
"versionCode" : 320,
|
"versionCode" : 322,
|
||||||
"transformPx" : false,
|
"transformPx" : false,
|
||||||
/* 5+App特有相关 */
|
/* 5+App特有相关 */
|
||||||
"app-plus" : {
|
"app-plus" : {
|
||||||
|
|||||||
@@ -919,9 +919,7 @@ function handleGoSettle() {
|
|||||||
const ap = merchantAppointmentMap.value[String(m.id)];
|
const ap = merchantAppointmentMap.value[String(m.id)];
|
||||||
if (!ap?.startTime || !ap?.endTime) {
|
if (!ap?.startTime || !ap?.endTime) {
|
||||||
uni.showToast({
|
uni.showToast({
|
||||||
title: t("pages-store.checkout.chooseTimeForStore", {
|
title: `${t("pages-store.checkout.chooseTimeForStorePrefix")}${m.merchantName || ""}${t("pages-store.checkout.chooseTimeForStoreSuffix")}`,
|
||||||
name: m.merchantName || "",
|
|
||||||
}),
|
|
||||||
icon: "none",
|
icon: "none",
|
||||||
});
|
});
|
||||||
return;
|
return;
|
||||||
@@ -1417,44 +1415,34 @@ const scheduledServiceEndLabel = computed(() => {
|
|||||||
});
|
});
|
||||||
|
|
||||||
const localDeliverySubtitleText = computed(() =>
|
const localDeliverySubtitleText = computed(() =>
|
||||||
t('pages-store.checkout.localDeliverySubtitle', { name: appDisplayName.value })
|
`${t('pages-store.checkout.localDeliverySubtitlePrefix')}${appDisplayName.value}${t('pages-store.checkout.localDeliverySubtitleSuffix')}`
|
||||||
);
|
);
|
||||||
|
|
||||||
const itemsGoodsTotalWithPriceText = computed(() =>
|
const itemsGoodsTotalWithPriceText = computed(() =>
|
||||||
t('pages-store.checkout.itemsGoodsTotalWithPrice', {
|
`${cartTotalPieceCount.value}${t('pages-store.checkout.itemsGoodsTotalWithPriceMiddle')}${displayGoodsAmountStr.value}`
|
||||||
count: cartTotalPieceCount.value,
|
|
||||||
amount: displayGoodsAmountStr.value,
|
|
||||||
})
|
|
||||||
);
|
);
|
||||||
|
|
||||||
const scheduledDeliveryWindowText = computed(() =>
|
const scheduledDeliveryWindowText = computed(() =>
|
||||||
t('pages-store.checkout.scheduledDeliveryWindow', {
|
`${t('pages-store.checkout.scheduledDeliveryWindowPrefix')}${scheduledServiceEndLabel.value}${t('pages-store.checkout.scheduledDeliveryWindowSuffix')}`
|
||||||
time: scheduledServiceEndLabel.value,
|
|
||||||
})
|
|
||||||
);
|
);
|
||||||
|
|
||||||
const deliverBeforeText = computed(() =>
|
const deliverBeforeText = computed(() => {
|
||||||
t('pages-store.checkout.deliverBefore', {
|
const time = deliveryMethod.value === 0
|
||||||
time: deliveryMethod.value === 0
|
? String(userSelectedDeliveryTimeDate.value ?? '')
|
||||||
? String(userSelectedDeliveryTimeDate.value ?? '')
|
: String(userSelectedSelfPickupTimeDate.value ?? '');
|
||||||
: String(userSelectedSelfPickupTimeDate.value ?? ''),
|
return `${t('pages-store.checkout.deliverBeforePrefix')}${time}${t('pages-store.checkout.deliverBeforeSuffix')}`;
|
||||||
})
|
});
|
||||||
);
|
|
||||||
|
|
||||||
const memberThanksText = computed(() =>
|
const memberThanksText = computed(() =>
|
||||||
t('pages-store.checkout.memberThanks', { name: appDisplayName.value })
|
`${t('pages-store.checkout.memberThanksPrefix')}${appDisplayName.value}${t('pages-store.checkout.memberThanksSuffix')}`
|
||||||
);
|
);
|
||||||
|
|
||||||
const subtotalWithPiecesText = computed(() =>
|
const subtotalWithPiecesText = computed(() =>
|
||||||
t('pages-store.checkout.subtotalWithPieces', {
|
`${t('pages-store.checkout.subtotalWithPiecesPrefix')}${cartTotalPieceCount.value}${t('pages-store.checkout.subtotalWithPiecesSuffix')}`
|
||||||
count: cartTotalPieceCount.value,
|
|
||||||
})
|
|
||||||
);
|
);
|
||||||
|
|
||||||
const subtotalOneLineText = computed(() =>
|
const subtotalOneLineText = computed(() =>
|
||||||
t('pages-store.checkout.subtotalOneLine', {
|
`${t('pages-store.checkout.subtotalOneLinePrefix')}${displayPaidStr.value}`
|
||||||
amount: displayPaidStr.value,
|
|
||||||
})
|
|
||||||
);
|
);
|
||||||
|
|
||||||
const showAppointmentEntry = computed(() => {
|
const showAppointmentEntry = computed(() => {
|
||||||
|
|||||||
@@ -129,9 +129,7 @@ const orderTotalItemCount = computed(() => {
|
|||||||
})
|
})
|
||||||
|
|
||||||
const orderTotalItemCountText = computed(() => {
|
const orderTotalItemCountText = computed(() => {
|
||||||
return t('pages.order.totalItemCount', {
|
return `${t('pages.order.totalItemCountPrefix')}${orderTotalItemCount.value}${t('pages.order.totalItemCountSuffix')}`
|
||||||
count: orderTotalItemCount.value,
|
|
||||||
})
|
|
||||||
})
|
})
|
||||||
|
|
||||||
const orderTotalPrice = computed(() => {
|
const orderTotalPrice = computed(() => {
|
||||||
|
|||||||
@@ -320,9 +320,7 @@ const appDisplayName = computed(() => {
|
|||||||
});
|
});
|
||||||
|
|
||||||
const memberPriceLabelText = computed(() =>
|
const memberPriceLabelText = computed(() =>
|
||||||
t("pages-store.store.dishDetail.memberPriceLabel", {
|
`${appDisplayName.value}${t("pages-store.store.dishDetail.memberPriceLabelSuffix")}`
|
||||||
name: appDisplayName.value,
|
|
||||||
})
|
|
||||||
);
|
);
|
||||||
|
|
||||||
function formatPriceText(val: unknown) {
|
function formatPriceText(val: unknown) {
|
||||||
@@ -655,7 +653,7 @@ const deliveryScheduleDaysText = computed(() => {
|
|||||||
storeDetail.value?.deliveryScheduleTimes,
|
storeDetail.value?.deliveryScheduleTimes,
|
||||||
(key) => t(key)
|
(key) => t(key)
|
||||||
);
|
);
|
||||||
return days ? t("pages-store.store.deliveryScheduleDays", { days }) : "";
|
return days ? `${t("pages-store.store.deliveryScheduleDaysPrefix")}${days}` : "";
|
||||||
});
|
});
|
||||||
function getStoreDetail() {
|
function getStoreDetail() {
|
||||||
appMerchantDetailMerchantIdGet({
|
appMerchantDetailMerchantIdGet({
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ import {
|
|||||||
appCollectCollectPost,
|
appCollectCollectPost,
|
||||||
appMerchantCartCalculateSavingsPost,
|
appMerchantCartCalculateSavingsPost,
|
||||||
appMerchantCartListByMerchantIdPost,
|
appMerchantCartListByMerchantIdPost,
|
||||||
appMerchantCartListMerchantPost,
|
appMerchantFeaturedListPost,
|
||||||
appMerchantDetailMerchantIdGet,
|
appMerchantDetailMerchantIdGet,
|
||||||
appMerchantDishDishIdGet,
|
appMerchantDishDishIdGet,
|
||||||
appMerchantMenuMenuListByUserPost,
|
appMerchantMenuMenuListByUserPost,
|
||||||
@@ -70,7 +70,12 @@ const deliveryNoticeTexts = computed(() => {
|
|||||||
|
|
||||||
async function loadMerchantList() {
|
async function loadMerchantList() {
|
||||||
try {
|
try {
|
||||||
const res = await appMerchantCartListMerchantPost({})
|
const res = await appMerchantFeaturedListPost({
|
||||||
|
body: {
|
||||||
|
lat: userStore.userLocation.latitude,
|
||||||
|
lng: userStore.userLocation.longitude,
|
||||||
|
},
|
||||||
|
})
|
||||||
merchantList.value = Array.isArray(res?.data) ? res.data : []
|
merchantList.value = Array.isArray(res?.data) ? res.data : []
|
||||||
} catch {
|
} catch {
|
||||||
merchantList.value = []
|
merchantList.value = []
|
||||||
@@ -179,7 +184,7 @@ const deliveryScheduleDaysText = computed(() => {
|
|||||||
storeDetail.value?.deliveryScheduleTimes,
|
storeDetail.value?.deliveryScheduleTimes,
|
||||||
(key) => t(key)
|
(key) => t(key)
|
||||||
);
|
);
|
||||||
return days ? t("pages-store.store.deliveryScheduleDays", { days }) : "";
|
return days ? `${t("pages-store.store.deliveryScheduleDaysPrefix")}${days}` : "";
|
||||||
});
|
});
|
||||||
// 闭店提示信息
|
// 闭店提示信息
|
||||||
const closingInfo = ref({ show: false, minutes: 0 })
|
const closingInfo = ref({ show: false, minutes: 0 })
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ const show = ref(false);
|
|||||||
const goodsName = ref('');
|
const goodsName = ref('');
|
||||||
|
|
||||||
const removeProductDescText = computed(() =>
|
const removeProductDescText = computed(() =>
|
||||||
t("pages-user.cart.removeProductDesc", { name: goodsName.value })
|
`${t("pages-user.cart.removeProductDescPrefix")}${goodsName.value}${t("pages-user.cart.removeProductDescSuffix")}`
|
||||||
);
|
);
|
||||||
function onOpen(title: string) {
|
function onOpen(title: string) {
|
||||||
if (title) {
|
if (title) {
|
||||||
|
|||||||
@@ -157,14 +157,11 @@ const selectedGoodsSubtotal = computed(() => {
|
|||||||
});
|
});
|
||||||
|
|
||||||
const deliveryUnifiedText = computed(() =>
|
const deliveryUnifiedText = computed(() =>
|
||||||
t("pages-user.cart.deliveryUnified", { name: appDisplayName.value })
|
`${t("pages-user.cart.deliveryUnifiedPrefix")}${appDisplayName.value}${t("pages-user.cart.deliveryUnifiedSuffix")}`
|
||||||
);
|
);
|
||||||
|
|
||||||
const itemsTotalWithPriceText = computed(() =>
|
const itemsTotalWithPriceText = computed(() =>
|
||||||
t("pages-user.cart.itemsTotalWithPrice", {
|
`${priceData.value.totalQuantity ?? selectedItemQty.value}${t("pages-user.cart.itemsTotalWithPriceMiddle")}${selectedGoodsSubtotal.value}`
|
||||||
count: priceData.value.totalQuantity ?? selectedItemQty.value,
|
|
||||||
amount: selectedGoodsSubtotal.value,
|
|
||||||
})
|
|
||||||
);
|
);
|
||||||
|
|
||||||
const merchantAppointmentMap = ref<Record<string, MerchantAppointmentSlot>>({});
|
const merchantAppointmentMap = ref<Record<string, MerchantAppointmentSlot>>({});
|
||||||
@@ -333,9 +330,7 @@ const goCheckoutNow = () => {
|
|||||||
const ap = merchantAppointmentMap.value[String(m.id)];
|
const ap = merchantAppointmentMap.value[String(m.id)];
|
||||||
if (!ap?.startTime || !ap?.endTime) {
|
if (!ap?.startTime || !ap?.endTime) {
|
||||||
uni.showToast({
|
uni.showToast({
|
||||||
title: t("pages-store.checkout.chooseTimeForStore", {
|
title: `${t("pages-store.checkout.chooseTimeForStorePrefix")}${m.merchantName || ""}${t("pages-store.checkout.chooseTimeForStoreSuffix")}`,
|
||||||
name: m.merchantName || "",
|
|
||||||
}),
|
|
||||||
icon: "none",
|
icon: "none",
|
||||||
});
|
});
|
||||||
return;
|
return;
|
||||||
|
|||||||
@@ -132,7 +132,7 @@ function runBatchDelete() {
|
|||||||
}
|
}
|
||||||
uni.showModal({
|
uni.showModal({
|
||||||
title: t('common.prompt.system-prompt'),
|
title: t('common.prompt.system-prompt'),
|
||||||
content: t('pages.mine.collectionBatchDeleteConfirm', { count: selectedIds.value.length }),
|
content: `${t('pages.mine.collectionBatchDeleteConfirmPrefix')}${selectedIds.value.length}${t('pages.mine.collectionBatchDeleteConfirmSuffix')}`,
|
||||||
success: (res) => {
|
success: (res) => {
|
||||||
if (!res.confirm) return
|
if (!res.confirm) return
|
||||||
const targetType = typeList[props.index] as number
|
const targetType = typeList[props.index] as number
|
||||||
|
|||||||
@@ -45,7 +45,7 @@ function formatCouponDetail(item: any) {
|
|||||||
function formatCouponMerchantText(item: any) {
|
function formatCouponMerchantText(item: any) {
|
||||||
const name = String(item?.merchantVo?.merchantName || '').trim()
|
const name = String(item?.merchantVo?.merchantName || '').trim()
|
||||||
if (name) {
|
if (name) {
|
||||||
return t('pages-user.coupon.merchant-only', { name })
|
return `${t('pages-user.coupon.merchantOnlyPrefix')}${name}${t('pages-user.coupon.merchantOnlySuffix')}`
|
||||||
}
|
}
|
||||||
return item?.snapshotMerchantId
|
return item?.snapshotMerchantId
|
||||||
? t('pages-user.coupon.merchant-specific')
|
? t('pages-user.coupon.merchant-specific')
|
||||||
|
|||||||
@@ -11,7 +11,6 @@ const configStore = useConfigStore()
|
|||||||
const userStore = useUserStore();
|
const userStore = useUserStore();
|
||||||
import {EventEnum} from "@/constant/enums";
|
import {EventEnum} from "@/constant/enums";
|
||||||
import {appMembershipRechargePost, appUserCardSelectDefaultPost} from "@/service";
|
import {appMembershipRechargePost, appUserCardSelectDefaultPost} from "@/service";
|
||||||
import { tWithParams } from '@/utils/utils';
|
|
||||||
|
|
||||||
// 订阅选项
|
// 订阅选项
|
||||||
const subscriptionPlans = ref([]);
|
const subscriptionPlans = ref([]);
|
||||||
@@ -213,7 +212,7 @@ function changeAutoSubscribe() {
|
|||||||
<text
|
<text
|
||||||
v-if="+item.membershipType === 2"
|
v-if="+item.membershipType === 2"
|
||||||
class=" text-#999 ml-16rpx"
|
class=" text-#999 ml-16rpx"
|
||||||
>({{ tWithParams('pages-user.member.billedAnnually', { amount: item.rechargeAmount }) }})</text
|
>({{ t('pages-user.member.billedAnnuallyPrefix') }}{{ item.rechargeAmount }}{{ t('pages-user.member.billedAnnuallySuffix') }})</text
|
||||||
>
|
>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
@@ -240,7 +239,7 @@ function changeAutoSubscribe() {
|
|||||||
class="w-32rpx h-32rpx mr-16rpx shrink-0"
|
class="w-32rpx h-32rpx mr-16rpx shrink-0"
|
||||||
mode="aspectFit"
|
mode="aspectFit"
|
||||||
/>
|
/>
|
||||||
<text class="text-24rpx text-#CE7138">{{ tWithParams('pages-user.member.savingsPerYear', { amount: `$${annualDiscount}` }) }}</text>
|
<text class="text-24rpx text-#CE7138">{{ t('pages-user.member.savingsPerYearPrefix') }}{{ annualDiscount }}{{ t('pages-user.member.savingsPerYearSuffix') }}</text>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
|||||||
@@ -377,7 +377,7 @@ function handleSend() {
|
|||||||
const tool = String(payload?.tool || '')
|
const tool = String(payload?.tool || '')
|
||||||
const size = payload?.size != null ? String(payload.size) : ''
|
const size = payload?.size != null ? String(payload.size) : ''
|
||||||
toolStatus.value = tool
|
toolStatus.value = tool
|
||||||
? t('pages.ai.chat.toolStatusWithSize', { tool, size: size || '-' })
|
? `${t('pages.ai.chat.toolStatusWithSizePrefix')}${tool}${t('pages.ai.chat.toolStatusWithSizeMiddle')}${size || '-'}${t('pages.ai.chat.toolStatusWithSizeSuffix')}`
|
||||||
: t('pages.ai.chat.searchingGoods')
|
: t('pages.ai.chat.searchingGoods')
|
||||||
thinkingStatus.value = t('pages.ai.chat.thinkingSearching')
|
thinkingStatus.value = t('pages.ai.chat.thinkingSearching')
|
||||||
},
|
},
|
||||||
|
|||||||
+1
-3
@@ -102,9 +102,7 @@ function getTotalDishCount(item: MerchantOrderVo) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function getTotalDishCountText(item: MerchantOrderVo) {
|
function getTotalDishCountText(item: MerchantOrderVo) {
|
||||||
return t('pages.order.totalItemCount', {
|
return `${t('pages.order.totalItemCountPrefix')}${getTotalDishCount(item)}${t('pages.order.totalItemCountSuffix')}`
|
||||||
count: getTotalDishCount(item),
|
|
||||||
})
|
|
||||||
}
|
}
|
||||||
|
|
||||||
function isSameCode(value: unknown, code: unknown) {
|
function isSameCode(value: unknown, code: unknown) {
|
||||||
|
|||||||
Reference in New Issue
Block a user