From 66a579d48c34e789addbd5c8091d62fd5f9de202 Mon Sep 17 00:00:00 2001 From: ZF sun <34314687@qq.com> Date: Fri, 26 Jun 2026 10:17:33 +0800 Subject: [PATCH] feat: add and optimize multiple multilingual language packs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 1. 新增拼团、砍价、分销、支付、地址、账户等多业务场景的中英文本地化文案 2. 替换项目中硬编码的文本为多语言调用,统一前端页面文案展示 3. 新增多个业务组件的国际化语言配置文件 --- components-diy/diy-bargain.vue | 30 +++++++-------- components-diy/diy-pinfan.vue | 27 +++++++------- components-diy/diy-pintuan.vue | 16 ++++---- lang/en-us/components-diy/diy-bargain.js | 19 ++++++++++ lang/en-us/components-diy/diy-pinfan.js | 16 ++++++++ lang/en-us/components-diy/diy-pintuan.js | 16 ++++++++ lang/en-us/components/ns-birthday-gift.js | 27 ++++++++++++++ lang/en-us/components/ns-new-gift.js | 24 ++++++++++++ lang/en-us/components/nsGoodsPromotion.js | 16 ++++++++ lang/en-us/fenxiao/goods_list.js | 37 +++++++++++++++++-- lang/en-us/fenxiao/order.js | 33 ++++++++++++++++- lang/en-us/fenxiao/order_detail.js | 28 ++++++++++++-- lang/en-us/fenxiao/promote_code.js | 23 +++++++++++- lang/en-us/fenxiao/ranking_list.js | 20 ++++++++++ lang/en-us/fenxiao/team.js | 22 ++++++++++- lang/en-us/fenxiao/withdraw_apply.js | 30 ++++++++++++++- lang/en-us/fenxiao/withdraw_list.js | 25 ++++++++++++- lang/en-us/member/account.js | 28 +++++++++++++- lang/en-us/member/address.js | 15 ++++++-- lang/en-us/member/apply_withdrawal.js | 34 ++++++++++++++++- lang/en-us/member/balance_detail.js | 10 ++++- lang/en-us/member/cancelstatus.js | 20 +++++++++- lang/en-us/merch/list.js | 21 +++++++++++ lang/en-us/order/refund_batch.js | 34 +++++++++++++++-- lang/en-us/pay/cashier.js | 20 ++++++++++ lang/en-us/pay/result.js | 33 ++++++++++++----- lang/en-us/point/order_list.js | 29 ++++++++++++++- lang/zh-cn/components-diy/diy-bargain.js | 19 ++++++++++ lang/zh-cn/components-diy/diy-pinfan.js | 16 ++++++++ lang/zh-cn/components-diy/diy-pintuan.js | 16 ++++++++ lang/zh-cn/components/ns-birthday-gift.js | 27 ++++++++++++++ lang/zh-cn/components/ns-new-gift.js | 24 ++++++++++++ lang/zh-cn/components/nsGoodsPromotion.js | 16 ++++++++ lang/zh-cn/fenxiao/goods_list.js | 33 ++++++++++++++++- lang/zh-cn/fenxiao/order.js | 31 +++++++++++++++- lang/zh-cn/fenxiao/order_detail.js | 24 +++++++++++- lang/zh-cn/fenxiao/promote_code.js | 21 ++++++++++- lang/zh-cn/fenxiao/ranking_list.js | 20 ++++++++++ lang/zh-cn/fenxiao/team.js | 20 +++++++++- lang/zh-cn/fenxiao/withdraw_apply.js | 28 +++++++++++++- lang/zh-cn/fenxiao/withdraw_list.js | 23 +++++++++++- lang/zh-cn/member/account.js | 26 ++++++++++++- lang/zh-cn/member/address.js | 11 +++++- lang/zh-cn/member/apply_withdrawal.js | 32 +++++++++++++++- lang/zh-cn/member/balance_detail.js | 8 +++- lang/zh-cn/member/cancelstatus.js | 20 +++++++++- lang/zh-cn/merch/list.js | 21 +++++++++++ lang/zh-cn/order/refund_batch.js | 30 ++++++++++++++- lang/zh-cn/pay/cashier.js | 20 ++++++++++ lang/zh-cn/pay/result.js | 31 ++++++++++++---- lang/zh-cn/point/order_list.js | 27 +++++++++++++- .../ns-goods-promotion/ns-goods-promotion.vue | 28 +++++++------- pages_promotion/fenxiao/goods_list.vue | 30 +++++++-------- pages_promotion/fenxiao/order.vue | 32 ++++++++-------- pages_promotion/fenxiao/order_detail.vue | 30 +++++++-------- pages_promotion/fenxiao/promote_code.vue | 24 ++++++------ .../fenxiao/public/js/goods_list.js | 10 ++--- pages_promotion/fenxiao/ranking_list.vue | 28 +++++++------- pages_promotion/fenxiao/team.vue | 26 ++++++------- pages_promotion/fenxiao/withdraw_apply.vue | 36 +++++++++--------- pages_promotion/fenxiao/withdraw_list.vue | 12 +++--- pages_promotion/merch/public/js/list.js | 22 +++++------ pages_promotion/point/order_list.vue | 34 ++++++++--------- .../ns-birthday-gift/ns-birthday-gift.vue | 30 +++++++-------- .../_components/ns-new-gift/ns-new-gift.vue | 28 +++++++------- pages_tool/member/account.vue | 26 ++++++------- pages_tool/member/address.vue | 20 +++++----- pages_tool/member/apply_withdrawal.vue | 33 ++++++++--------- pages_tool/member/balance_detail.vue | 20 +++++----- pages_tool/member/cancelstatus.vue | 20 +++++----- pages_tool/order/refund_batch.vue | 26 ++++++------- pages_tool/pay/cashier.vue | 18 ++++----- pages_tool/pay/result.vue | 28 +++++++------- 73 files changed, 1378 insertions(+), 380 deletions(-) create mode 100644 lang/en-us/components-diy/diy-bargain.js create mode 100644 lang/en-us/components-diy/diy-pinfan.js create mode 100644 lang/en-us/components-diy/diy-pintuan.js create mode 100644 lang/en-us/components/ns-birthday-gift.js create mode 100644 lang/en-us/components/ns-new-gift.js create mode 100644 lang/en-us/components/nsGoodsPromotion.js create mode 100644 lang/en-us/merch/list.js create mode 100644 lang/en-us/pay/cashier.js create mode 100644 lang/zh-cn/components-diy/diy-bargain.js create mode 100644 lang/zh-cn/components-diy/diy-pinfan.js create mode 100644 lang/zh-cn/components-diy/diy-pintuan.js create mode 100644 lang/zh-cn/components/ns-birthday-gift.js create mode 100644 lang/zh-cn/components/ns-new-gift.js create mode 100644 lang/zh-cn/components/nsGoodsPromotion.js create mode 100644 lang/zh-cn/merch/list.js create mode 100644 lang/zh-cn/pay/cashier.js diff --git a/components-diy/diy-bargain.vue b/components-diy/diy-bargain.vue index 3135710..b1bdaa4 100644 --- a/components-diy/diy-bargain.vue +++ b/components-diy/diy-bargain.vue @@ -12,7 +12,7 @@ 低至0元免费拿 + :style="{ color: value.titleStyle.textColor }">{{ $lang('components-diy.diyBargain.freeGet') }} @@ -44,19 +44,19 @@ :src="$util.img('public/uniapp/bargain/progress_bar_01.png')" show-menu-by-longpress/> - - 已砍 - ¥{{ (item.price - item.curr_price).toFixed(2) }} - ,仅差 - ¥{{ item.curr_price }} - - - 最低可砍至 - ¥{{ item.floor_price }} - + + {{ $lang('components-diy.diyBargain.bargained') }} + ¥{{ (item.price - item.curr_price).toFixed(2) }} + {{ $lang('components-diy.diyBargain.onlyDiff') }} + ¥{{ item.curr_price }} + + + {{ $lang('components-diy.diyBargain.minBargainTo') }} + ¥{{ item.floor_price }} + - 最低可砍至 + {{ $lang('components-diy.diyBargain.minBargainTo') }} ¥{{ item.floor_price }} @@ -75,7 +75,7 @@ color: value.btnStyle.theme == 'diy' ? value.btnStyle.textColor : '', borderRadius: value.btnStyle.aroundRadius * 2 + 'rpx' }"> - {{ item.is_bargaining ? '继续砍价' : value.btnStyle.text }} + {{ item.is_bargaining ? $lang('components-diy.diyBargain.continueBargain') : value.btnStyle.text }} @@ -96,7 +96,7 @@ - 已砍{{ item.sale_num }}件 + {{ $lang('components-diy.diyBargain.soldCount', { num: item.sale_num }) }} - 已砍{{ item.sale_num }}件 + {{ $lang('components-diy.diyBargain.soldCount', { num: item.sale_num }) }} - {{ item.pintuan_num }}人团 + {{ $lang('components-diy.diyPinfan.peopleGroup', { num: item.pintuan_num }) }} - 已拼{{ item.order_num }}件 + {{ $lang('components-diy.diyPinfan.soldCount', { num: item.order_num }) }} @@ -49,10 +49,9 @@ borderRadius: value.btnStyle.aroundRadius * 2 + 'rpx' }"> {{ value.btnStyle.text }} - 返{{ item.reward_type_num }}积分 - 返¥{{ - item.reward_type_num }} - 返优惠券 + {{ $lang('components-diy.diyPinfan.backPoints', { num: item.reward_type_num }) }} + {{ $lang('components-diy.diyPinfan.backCash', { num: item.reward_type_num }) }} + {{ $lang('components-diy.diyPinfan.backCoupon') }} @@ -78,21 +77,21 @@ - {{ item.pintuan_num }}人团 + {{ $lang('components-diy.diyPinfan.peopleGroup', { num: item.pintuan_num }) }} - 返{{ item.reward_type_num }}积分 + {{ $lang('components-diy.diyPinfan.backPoints', { num: item.reward_type_num }) }} - 返¥{{ item.reward_type_num }} + {{ $lang('components-diy.diyPinfan.backCash', { num: item.reward_type_num }) }} 返优惠券 + v-if="item.reward_type == 3">{{ $lang('components-diy.diyPinfan.backCoupon') }} - {{ item.pintuan_num }}人团 + {{ $lang('components-diy.diyPinfan.peopleGroup', { num: item.pintuan_num }) }} - 返{{ item.reward_type_num }}积分 + {{ $lang('components-diy.diyPinfan.backPoints', { num: item.reward_type_num }) }} - 返¥{{ item.reward_type_num }} + {{ $lang('components-diy.diyPinfan.backCash', { num: item.reward_type_num }) }} - 返优惠券 + {{ $lang('components-diy.diyPinfan.backCoupon') }} diff --git a/components-diy/diy-pintuan.vue b/components-diy/diy-pintuan.vue index 623565a..17d5068 100644 --- a/components-diy/diy-pintuan.vue +++ b/components-diy/diy-pintuan.vue @@ -26,7 +26,7 @@ {{ value.titleStyle.virtualNum || headData.pintuan_count }} - {{ value.titleStyle.style == 'style-2' ? '人参与' : '人拼团成功' }} + {{ value.titleStyle.style == 'style-2' ? $lang('components-diy.diyPintuan.peopleParticipating') : $lang('components-diy.diyPintuan.peopleGroupSuccess') }} - {{ item.pintuan_num }}人团 + {{ $lang('components-diy.diyPintuan.peopleGroup', { num: item.pintuan_num }) }} - 已拼{{ item.order_num }}件 + {{ $lang('components-diy.diyPintuan.soldCount', { num: item.order_num }) }} @@ -110,7 +110,7 @@ color: value.theme == 'diy' ? value.groupStyle.color : '', background: value.theme == 'diy' ? 'linear-gradient(to right,' + value.groupStyle.bgColorStart + ',' + value.groupStyle.bgColorEnd + ')' : '' }"> - {{ item.pintuan_num }}人团 + {{ $lang('components-diy.diyPintuan.peopleGroup', { num: item.pintuan_num }) }} - 去参团 + {{ $lang('components-diy.diyPintuan.joinGroup') }} - 已拼{{ item.sale_num }}件 + {{ $lang('components-diy.diyPintuan.soldCount', { num: item.sale_num }) }} @@ -170,7 +170,7 @@ color: value.theme == 'diy' ? value.groupStyle.color : '', background: value.theme == 'diy' ? 'linear-gradient(to right,' + value.groupStyle.bgColorStart + ',' + value.groupStyle.bgColorEnd + ')' : '' }"> - {{ item.pintuan_num }}人团 + {{ $lang('components-diy.diyPintuan.peopleGroup', { num: item.pintuan_num }) }} - 已拼{{ item.sale_num }}件 + {{ $lang('components-diy.diyPintuan.soldCount', { num: item.sale_num }) }} diff --git a/lang/en-us/components-diy/diy-bargain.js b/lang/en-us/components-diy/diy-bargain.js new file mode 100644 index 0000000..f19a6f6 --- /dev/null +++ b/lang/en-us/components-diy/diy-bargain.js @@ -0,0 +1,19 @@ +export const lang = { + // Head text: 低至0元免费拿 + freeGet: 'Get it free from ¥0', + + // Progress text: 已砍 + bargained: 'Bargained', + + // Progress text: ,仅差 + onlyDiff: ', only', + + // Progress text: 最低可砍至 + minBargainTo: 'Min. bargain to', + + // Button text: 继续砍价 + continueBargain: 'Continue', + + // Sold count: 已砍{num}件 + soldCount: '{num} sold', +} diff --git a/lang/en-us/components-diy/diy-pinfan.js b/lang/en-us/components-diy/diy-pinfan.js new file mode 100644 index 0000000..e7154ff --- /dev/null +++ b/lang/en-us/components-diy/diy-pinfan.js @@ -0,0 +1,16 @@ +export const lang = { + // Group buy people count + peopleGroup: '{num}-person group', + + // Sold count + soldCount: '{num} sold', + + // Points reward + backPoints: '+{num} pts', + + // Cash reward + backCash: '+¥{num}', + + // Coupon reward + backCoupon: 'Coupon', +} diff --git a/lang/en-us/components-diy/diy-pintuan.js b/lang/en-us/components-diy/diy-pintuan.js new file mode 100644 index 0000000..6130561 --- /dev/null +++ b/lang/en-us/components-diy/diy-pintuan.js @@ -0,0 +1,16 @@ +export const lang = { + // Header subtitle: participating people count (style-2) + peopleParticipating: 'participating', + + // Header subtitle: successful group buy people count + peopleGroupSuccess: 'joined successfully', + + // Group buy people count tag + peopleGroup: '{num}-person group', + + // Sold count + soldCount: '{num} sold', + + // Join group button + joinGroup: 'Join Group', +} diff --git a/lang/en-us/components/ns-birthday-gift.js b/lang/en-us/components/ns-birthday-gift.js new file mode 100644 index 0000000..2f19ce1 --- /dev/null +++ b/lang/en-us/components/ns-birthday-gift.js @@ -0,0 +1,27 @@ +export const lang = { + // ===== ns-birthday-gift component ===== + nsBirthdayGift: { + // Title + birthdayGift: 'Birthday Gift', + + // Blessing message + defaultBlessing: 'Thank you for your continued support. On your birthday, we send you our most sincere blessings!', + + // Points + points: 'points', + pointDesc: 'Use for cash deduction or product exchange', + + // Red packet + yuanRedPacket: ' yuan red packet', + nonWithdrawable: 'Non-withdrawable red packet', + withdrawable: 'Withdrawable red packet', + + // Coupon + yuanCoupon: ' yuan coupon', + discount: '% off', + couponDesc: 'Use for cash deduction or product exchange', + + // Action button + viewNow: 'View Now', + } +} diff --git a/lang/en-us/components/ns-new-gift.js b/lang/en-us/components/ns-new-gift.js new file mode 100644 index 0000000..e8d8ec9 --- /dev/null +++ b/lang/en-us/components/ns-new-gift.js @@ -0,0 +1,24 @@ +export const lang = { + // ===== ns-new-gift component ===== + nsNewGift: { + // Thank you hint - with activity name parameter + thankYouHint: 'Thank you for your continued support. As a token of appreciation, we offer the following benefits for our members during the {activityName} festival', + + // Points + points: 'points', + pointDesc: 'Use for deduction when purchasing products in activities', + + // Red packet + yuanRedPacket: ' yuan red packet', + nonWithdrawableDesc: 'Non-withdrawable red packet', + withdrawableDesc: 'Withdrawable red packet', + + // Coupon + yuanCoupon: ' yuan coupon', + discount: '% off', + couponDesc: 'Use for cash deduction or product exchange when ordering', + + // Action button + viewNow: 'View Now', + } +} diff --git a/lang/en-us/components/nsGoodsPromotion.js b/lang/en-us/components/nsGoodsPromotion.js new file mode 100644 index 0000000..c0f66e0 --- /dev/null +++ b/lang/en-us/components/nsGoodsPromotion.js @@ -0,0 +1,16 @@ +export const lang = { + // ===== ns-goods-promotion component ===== + 'nsGoodsPromotion': { + // Promotion tags + discount: 'Limited Discount', + groupbuy: 'Group Buy', + pintuan: 'Group Bargain', + seckill: 'Flash Sale', + topic: 'Topic Event', + bargain: 'Bargain', + pinfan: 'Group Rebate', + + // Title text + participatingTip: 'This product is participating in {promotionName}', + } +} diff --git a/lang/en-us/fenxiao/goods_list.js b/lang/en-us/fenxiao/goods_list.js index 7c9bbf1..4db5bcb 100644 --- a/lang/en-us/fenxiao/goods_list.js +++ b/lang/en-us/fenxiao/goods_list.js @@ -1,5 +1,36 @@ export const lang = { - //title为每个页面的标题 + //title is the title of each page // title: 'Distribution Product List', - title: '' -} \ No newline at end of file + title: '', + + // Category navigation + all: 'All', + + // Goods list + share: 'Share', + earnCommission: 'Earn {money}', + noGoods: 'No distribution products', + + // Bottom action buttons + shareFriends: 'Share with Friends', + generatePoster: 'Generate Poster', + + // Share popup + shareTitle: 'Share', + shareToFriends: 'Share with Friends', + shareToGoodsCircle: 'Share to Good Things Circle', + generateSharePoster: 'Generate Share Poster', + copyLink: 'Copy Link', + cancelShare: 'Cancel Share', + + // Poster popup + saveImage: 'Save Image', + longPressSaveImage: 'Long Press to Save Image', + + // Toast / Loading messages + merchantNotOpenFenxiao: 'Merchant has not enabled distribution', + center: 'Center', + posterGenerating: 'Generating poster...', + saveSuccess: 'Saved successfully', + saveFail: 'Save failed, please try again later', +} diff --git a/lang/en-us/fenxiao/order.js b/lang/en-us/fenxiao/order.js index 43ed42f..0c22315 100644 --- a/lang/en-us/fenxiao/order.js +++ b/lang/en-us/fenxiao/order.js @@ -1,5 +1,34 @@ export const lang = { //title为每个页面的标题 // title: 'Distribution Orders', - title: '' -} \ No newline at end of file + title: '', + + // Top category tabs + all: 'All', + pendingSettlement: 'Pending Settlement', + settled: 'Settled', + refunded: 'Refunded', + + // Order status + statusPendingSettlement: 'Pending Settlement', + statusSettled: 'Settled', + statusRefunded: 'Refunded', + + // Commission related + earnPrefix: 'Earn ', + + // Order total + totalLabel: 'Total: ', + + // Empty states + noOrders: 'No orders yet', + noPendingSettlementOrders: 'No pending settlement orders', + noSettledOrders: 'No settled orders', + noRefundedOrders: 'No refunded orders', + + // Toast提示 + merchantNotOpenFenxiao: 'Merchant has not enabled distribution', + + // Title suffix + orderSuffix: ' Orders' +} diff --git a/lang/en-us/fenxiao/order_detail.js b/lang/en-us/fenxiao/order_detail.js index 0d8984e..c6264ba 100644 --- a/lang/en-us/fenxiao/order_detail.js +++ b/lang/en-us/fenxiao/order_detail.js @@ -1,4 +1,26 @@ export const lang = { - //title为每个页面的标题 - title: 'Order Details' -} \ No newline at end of file + //title is the page title + title: 'Order Details', + + // Item count + totalItems: '{count} items', + + // Order status + statusRefunded: 'Refunded', + statusSettled: 'Settled', + statusPendingSettlement: 'Pending Settlement', + + // Total + totalLabel: 'Total: ', + + // Commission details + commissionDetail: 'Commission Details', + orderNo: 'Order No.: ', + commissionLevel: 'Commission Level: ', + levelText: 'Level {level}', + commissionAmount: 'Commission Amount: ', + + // Toast messages + merchantNotOpenFenxiao: 'Merchant has not enabled distribution', + orderInfoNotFound: 'Order information not found!' +} diff --git a/lang/en-us/fenxiao/promote_code.js b/lang/en-us/fenxiao/promote_code.js index de3fd13..318416d 100644 --- a/lang/en-us/fenxiao/promote_code.js +++ b/lang/en-us/fenxiao/promote_code.js @@ -1,4 +1,23 @@ export const lang = { //title为每个页面的标题 - title: 'Promotion Poster' -} \ No newline at end of file + title: 'Promotion Poster', + + // H5 tip + longPressTip: 'Long press to identify the QR code in the image', + + // Buttons + savePoster: 'Save Poster', + + // Auth dialog + dialogTitle: 'Tip', + authDeniedMessage: 'You have denied the authorization request to save images to the album. Images cannot be saved. Please authorize before proceeding.', + cancel: 'Cancel', + authorizeNow: 'Authorize Now', + + // Toast messages + saveSuccess: 'Saved successfully', + saveFail: 'Save failed, please try again later', + downloadFail: 'Download failed', + posterGenerateFail: 'Poster generation failed', + merchantNotOpenFenxiao: 'Merchant has not enabled distribution' +} diff --git a/lang/en-us/fenxiao/ranking_list.js b/lang/en-us/fenxiao/ranking_list.js index 93b9c9d..1bac08c 100644 --- a/lang/en-us/fenxiao/ranking_list.js +++ b/lang/en-us/fenxiao/ranking_list.js @@ -1,4 +1,24 @@ export const lang = { //title为每个页面的标题 title: 'Ranking', + + // Top action buttons + clickToWithdraw: 'Withdraw', + myTeam: 'My Team', + + // Commission ranking (profit) + distributionCommission: 'Distribution Commission', + todayCommission: '{amount} Yuan', + commissionRanking: 'Commission Ranking', + + // Promotion ranking (invited_num) + promotionCount: 'Promotion Count', + promotionPeople: '{count} people', + promotionRanking: 'Promotion Ranking', + + // Ranking tip + rankingTip: 'You are ranked #{ranking}', + + // Empty state + noData: 'No data', } diff --git a/lang/en-us/fenxiao/team.js b/lang/en-us/fenxiao/team.js index 8a96e75..5ea5e99 100644 --- a/lang/en-us/fenxiao/team.js +++ b/lang/en-us/fenxiao/team.js @@ -1,5 +1,23 @@ export const lang = { //title为每个页面的标题 // title: 'My Team' - title: '' -} \ No newline at end of file + title: '', + + // Level tabs + levelOne: 'Level 1', + levelTwo: 'Level 2', + + // Member info + joinTime: 'Join Date: ', + + // Stats units + peopleUnit: ' people', + orderUnit: ' orders', + currencyUnit: ' Yuan', + + // Empty state + noData: 'No data', + + // Toast messages + merchantNotOpenFenxiao: 'Merchant has not enabled distribution', +} diff --git a/lang/en-us/fenxiao/withdraw_apply.js b/lang/en-us/fenxiao/withdraw_apply.js index 7b23789..ec3be0a 100644 --- a/lang/en-us/fenxiao/withdraw_apply.js +++ b/lang/en-us/fenxiao/withdraw_apply.js @@ -1,5 +1,31 @@ export const lang = { //title为每个页面的标题 // title: 'Withdrawal Application' - title: '' -} \ No newline at end of file + title: '', + + // Withdrawal account + withdrawTo: 'Withdraw to', + wechatDefaultWallet: 'WeChat default wallet', + pleaseAddWithdrawAccount: 'Please add a withdrawal account', + balance: 'Balance', + + // Withdrawal amount + withdrawAmountLabel: 'Withdrawal amount:', + withdrawableAmountLabel: 'Withdrawable amount:', + withdrawAll: 'Withdraw all', + + // Withdrawal description + minWithdrawAmountTip: 'Minimum withdrawal amount: {symbol}{min}, ', + maxWithdrawAmountTip: 'Maximum withdrawal amount: {symbol}{max}, ', + serviceFeeTip: 'Service fee: {rate}', + + // Buttons + withdrawBtn: 'Withdraw', + + // Toast messages + pleaseEnterWithdrawAmount: 'Please enter the withdrawal amount', + withdrawAmountExceeds: 'Withdrawal amount exceeds available balance', + withdrawAmountBelowMin: 'Withdrawal amount is below the minimum', + pleaseAddWithdrawMethod: 'Please add a withdrawal method first', + withdrawApplySuccess: 'Withdrawal application submitted successfully', +} diff --git a/lang/en-us/fenxiao/withdraw_list.js b/lang/en-us/fenxiao/withdraw_list.js index a8bb884..98a061d 100644 --- a/lang/en-us/fenxiao/withdraw_list.js +++ b/lang/en-us/fenxiao/withdraw_list.js @@ -1,5 +1,26 @@ export const lang = { //title为每个页面的标题 // title: 'Withdrawal Records' - title: '' -} \ No newline at end of file + title: '', + + // Transfer type + transferTypeBalance: 'Balance', + transferTypeAlipay: 'Alipay', + transferTypeBank: 'Bank Card', + transferTypeWechatpay: 'WeChat', + + // Status + statusTransferred: 'Transferred', + statusPendingReview: 'Pending Review', + statusReviewed: 'Reviewed', + statusRejected: 'Rejected', + + // Empty state + noWithdrawRecords: 'No withdrawal records', + + // Title suffix + detailSuffix: ' Details', + + // Toast messages + merchantNotOpenFenxiao: 'Merchant has not enabled distribution', +} diff --git a/lang/en-us/member/account.js b/lang/en-us/member/account.js index 75dad35..780ffc8 100644 --- a/lang/en-us/member/account.js +++ b/lang/en-us/member/account.js @@ -9,5 +9,29 @@ export const lang = { newAddAccount: 'Add New Account', del: 'Delete', update: 'Modify', - emptyText: 'No accounts available' -} \ No newline at end of file + emptyText: 'No accounts available', + // 提现到余额 + withdrawToBalance: 'Withdraw to Balance', + // 提现账号:{account} + withdrawalAccountLabel: 'Account: {account}', + // 银行名称:{bankName} + bankNameLabel: 'Bank Name: {bankName}', + // 设为默认账户 + setAsDefault: 'Set as Default', + // 暂无账户信息,请添加 + emptyTip: 'No account information yet, please add one', + // 操作提示 + operationTip: 'Operation Tip', + // 确定要删除该账户吗? + confirmDeleteAccount: 'Are you sure you want to delete this account?', + // 删除成功 + deleteSuccess: 'Deleted successfully', + // 删除失败 + deleteFailed: 'Delete failed', + // 提现类型:银行 + withdrawTypeBank: 'Bank', + // 提现类型:支付宝 + withdrawTypeAlipay: 'Alipay', + // 提现类型:微信 + withdrawTypeWechat: 'WeChat' +} diff --git a/lang/en-us/member/address.js b/lang/en-us/member/address.js index 7fedc77..9f62644 100644 --- a/lang/en-us/member/address.js +++ b/lang/en-us/member/address.js @@ -1,9 +1,18 @@ export const lang = { - //title为每个页面的标题 + //title is the title of each page title: 'Shipping Address', newAddAddress: 'Add Shipping Address', getAddress: 'Get Address with One Click', is_default: 'Default', modify: 'Edit', - del: 'Delete' -} \ No newline at end of file + del: 'Delete', + setAsDefault: 'Set as Default Address', + emptyTip: 'No shipping address yet, please add one', + operationTip: 'Operation Tip', + confirmDelete: 'Are you sure you want to delete this address?', + cannotDeleteDefault: 'Default address cannot be deleted', + deleteSuccess: 'Deleted successfully', + deleteFail: 'Delete failed', + setDefaultSuccess: 'Default address updated successfully', + pcWechatNotSupportGetAddress: 'PC WeChat does not support one-click address retrieval', +} diff --git a/lang/en-us/member/apply_withdrawal.js b/lang/en-us/member/apply_withdrawal.js index d3a3633..4e20a66 100644 --- a/lang/en-us/member/apply_withdrawal.js +++ b/lang/en-us/member/apply_withdrawal.js @@ -1,4 +1,34 @@ export const lang = { //title为每个页面的标题 - title: 'Apply for Withdrawal' -} \ No newline at end of file + title: 'Apply for Withdrawal', + // 提现到 + withdrawTo: 'Withdraw to', + // 微信默认钱包 + wechatDefaultWallet: 'WeChat Default Wallet', + // 请添加提现方式 + pleaseAddWithdrawMethod: 'Please add a withdrawal method', + // 提现金额 + withdrawAmount: 'Withdrawal Amount', + // 可提现余额: + withdrawableBalance: 'Withdrawable Balance: ', + // 全部提现 + withdrawAll: 'Withdraw All', + // 最小提现金额为{min},手续费为{rate} + minWithdrawAndFeeTip: 'Minimum withdrawal amount is {min}, fee is {rate}', + // 提现 + withdraw: 'Withdraw', + // 提现记录 + withdrawalRecords: 'Withdrawal Records', + // 未开启提现 + withdrawalNotEnabled: 'Withdrawal not enabled', + // 请输入提现金额 + pleaseEnterWithdrawAmount: 'Please enter withdrawal amount', + // 提现金额超出可提现金额 + withdrawAmountExceedsBalance: 'Withdrawal amount exceeds available balance', + // 提现金额小于最低提现金额 + withdrawAmountBelowMinimum: 'Withdrawal amount is below minimum', + // 请先添加提现方式 + pleaseAddWithdrawMethodFirst: 'Please add a withdrawal method first', + // 提现申请成功 + withdrawApplySuccess: 'Withdrawal application submitted successfully' +} diff --git a/lang/en-us/member/balance_detail.js b/lang/en-us/member/balance_detail.js index 4f55314..63ef25f 100644 --- a/lang/en-us/member/balance_detail.js +++ b/lang/en-us/member/balance_detail.js @@ -1,4 +1,10 @@ export const lang = { //title为每个页面的标题 - title: 'Balance Details' -} \ No newline at end of file + title: 'Balance Details', + emptyTips: 'No balance details', + yuan: ' Yuan', + filterAll: 'All', + filterIncome: 'Income', + filterExpense: 'Expense', + dateFormatYM: '{month}/{year}' +} diff --git a/lang/en-us/member/cancelstatus.js b/lang/en-us/member/cancelstatus.js index 605a8db..172a282 100644 --- a/lang/en-us/member/cancelstatus.js +++ b/lang/en-us/member/cancelstatus.js @@ -1,3 +1,21 @@ export const lang = { + //title is the title of each page title: 'Account Cancellation', -} \ No newline at end of file + // Step 1: Submit Application + step1Name: 'Submit Application', + step1Desc: 'Your application has been submitted, please wait patiently~', + // Step 2: Pending Review + step2Name: 'Pending Review', + step2Desc: 'Under review. Your account will be deleted directly after approval', + // Step 3: Approved, Cancellation Completed + step3Name: 'Approved, Cancellation Completed', + step3Desc: 'Your account has been successfully cancelled. Looking forward to meeting you again', + // Back + back: 'Back', + // Revoke Application + revokeApplication: 'Revoke Application', + // Risk Warning + riskTip: 'Risk Warning', + // Are you sure you want to revoke the application? + revokeConfirm: 'Are you sure you want to revoke the application?', +} diff --git a/lang/en-us/merch/list.js b/lang/en-us/merch/list.js new file mode 100644 index 0000000..a1f3f43 --- /dev/null +++ b/lang/en-us/merch/list.js @@ -0,0 +1,21 @@ +export const lang = { + // Default button text + buyText: 'Buy', + + // Modal dialog + modal: { + title: 'Notice', + merchantNotExist: 'Merchant does not exist', + }, + + // Share title + shareTitle: 'Found {count} quality products related to "{keyword}"', + + // Price filter messages + priceFilter: { + pleaseEnterMaxPrice: 'Please enter the maximum price', + priceCannotBeLessThanZero: 'Filter price cannot be less than 0', + minCannotExceedMax: 'Minimum price cannot exceed maximum price', + maxCannotBeLessThanMin: 'Maximum price cannot be less than minimum price', + }, +} diff --git a/lang/en-us/order/refund_batch.js b/lang/en-us/order/refund_batch.js index 4e5e27f..ad55d54 100644 --- a/lang/en-us/order/refund_batch.js +++ b/lang/en-us/order/refund_batch.js @@ -1,4 +1,32 @@ export const lang = { - //title为每个页面的标题 - title: 'Apply for Refund', -} \ No newline at end of file + //title is the title of each page + title: 'Batch Refund', + + // ====== Refund Form ====== + form: { + refundReason: 'Refund Reason:', + refundType: 'Refund Type:', + refundOnly: 'Refund Only', + returnRefund: 'Return & Refund', + refundAmount: 'Refund Amount:', + refundRemark: 'Refund Remark', + pleaseSelect: 'Please Select', + remarkPlaceholder: 'Please enter refund remark (optional)' + }, + + // ====== Refund Reason Popup ====== + reasonPopup: { + title: 'Refund Reason', + confirm: 'Confirm' + }, + + // ====== Toast Messages ====== + toast: { + noRefundInfo: 'Failed to get refund information for this order item' + }, + + // ====== Form Validation ====== + validate: { + pleaseSelectRefundReason: 'Please select a refund reason' + } +} diff --git a/lang/en-us/pay/cashier.js b/lang/en-us/pay/cashier.js new file mode 100644 index 0000000..08706e6 --- /dev/null +++ b/lang/en-us/pay/cashier.js @@ -0,0 +1,20 @@ +export const lang = { + pay: { + cashier: { + // Pay button + confirmPay: 'Confirm Payment', + // Empty states + noPayMethodConfigured: 'No payment method configured!', + orderAlreadyPaid: 'This order has been paid', + noPayInfo: 'Payment information not found', + // Payment methods + alipay: 'Alipay', + wechatpay: 'WeChat Pay', + // Messages + pleaseSelectPayMethod: 'Please select a payment method!', + paying: 'Processing payment...', + paymentCancelled: 'Payment cancelled', + paymentFailed: 'Payment failed, reason: {reason}', + } + } +}; diff --git a/lang/en-us/pay/result.js b/lang/en-us/pay/result.js index 4ec2575..a7e3333 100644 --- a/lang/en-us/pay/result.js +++ b/lang/en-us/pay/result.js @@ -1,10 +1,25 @@ export const lang = { - //title为每个页面的标题 - title: 'Payment Result', - paymentSuccess: 'Payment Successful', - paymentFail: 'Payment Failed', - goHome: 'Back to Home', - memberCenter: 'Member Center', - payMoney: 'Payment Amount', - unit: 'Yuan' -} \ No newline at end of file + pay: { + result: { + //title is the page title + title: 'Payment Result', + paymentSuccess: 'Payment Successful', + paymentFail: 'Payment Failed', + goHome: 'Back to Home', + memberCenter: 'Member Center', + payMoney: 'Payment Amount', + unit: 'Yuan', + // consumption rewards + congratulations: 'Congratulations, you have received', + points: 'Points', + growthValue: 'Growth Value', + couponsCount: '{count} Coupons', + // action buttons + rechargeRecords: 'Recharge Records', + memberCard: 'Member Card', + viewOrder: 'View Order', + // toast messages + noPayInfo: 'Payment information not found!', + } + } +} diff --git a/lang/en-us/point/order_list.js b/lang/en-us/point/order_list.js index b234764..813c2b4 100644 --- a/lang/en-us/point/order_list.js +++ b/lang/en-us/point/order_list.js @@ -1,5 +1,30 @@ export const lang = { //title为每个页面的标题 title: 'Points Exchange', - emptyTips: 'No more data available' -} \ No newline at end of file + emptyTips: 'No more data available', + + // Order status + statusAll: 'All', + statusPendingPayment: 'Pending Payment', + statusCompleted: 'Completed', + statusClosed: 'Closed', + + // Order info + orderNo: 'Order No.: ', + points: 'points', + + // Action buttons + closeBtn: 'Close', + payBtn: 'Pay', + viewDetails: 'View Details', + + // Empty state + emptyText: 'No point exchange orders yet', + goBrowse: 'Go Browse', + + // Tips + merchantNotEnabled: 'Merchant has not enabled points mall', + tip: 'Tip', + confirmCloseExchange: 'Are you sure to close this exchange?', + closeSuccess: 'Closed successfully' +} diff --git a/lang/zh-cn/components-diy/diy-bargain.js b/lang/zh-cn/components-diy/diy-bargain.js new file mode 100644 index 0000000..83bb27c --- /dev/null +++ b/lang/zh-cn/components-diy/diy-bargain.js @@ -0,0 +1,19 @@ +export const lang = { + // 头部文案:低至0元免费拿 + freeGet: '低至0元免费拿', + + // 进度条文案:已砍 + bargained: '已砍', + + // 进度条文案:,仅差 + onlyDiff: ',仅差', + + // 进度条文案:最低可砍至 + minBargainTo: '最低可砍至', + + // 按钮文案:继续砍价 + continueBargain: '继续砍价', + + // 已砍件数 + soldCount: '已砍{num}件', +} diff --git a/lang/zh-cn/components-diy/diy-pinfan.js b/lang/zh-cn/components-diy/diy-pinfan.js new file mode 100644 index 0000000..24567a7 --- /dev/null +++ b/lang/zh-cn/components-diy/diy-pinfan.js @@ -0,0 +1,16 @@ +export const lang = { + // 拼团人数 + peopleGroup: '{num}人团', + + // 已拼件数 + soldCount: '已拼{num}件', + + // 奖励返积分 + backPoints: '返{num}积分', + + // 奖励返现金 + backCash: '返¥{num}', + + // 奖励返优惠券 + backCoupon: '返优惠券', +} diff --git a/lang/zh-cn/components-diy/diy-pintuan.js b/lang/zh-cn/components-diy/diy-pintuan.js new file mode 100644 index 0000000..32b811f --- /dev/null +++ b/lang/zh-cn/components-diy/diy-pintuan.js @@ -0,0 +1,16 @@ +export const lang = { + // 头部副标题:参与人数(style-2) + peopleParticipating: '人参与', + + // 头部副标题:拼团成功人数 + peopleGroupSuccess: '人拼团成功', + + // 拼团人数标签 + peopleGroup: '{num}人团', + + // 已拼件数 + soldCount: '已拼{num}件', + + // 去参团按钮 + joinGroup: '去参团', +} diff --git a/lang/zh-cn/components/ns-birthday-gift.js b/lang/zh-cn/components/ns-birthday-gift.js new file mode 100644 index 0000000..bd1469b --- /dev/null +++ b/lang/zh-cn/components/ns-birthday-gift.js @@ -0,0 +1,27 @@ +export const lang = { + // ===== ns-birthday-gift 组件 ===== + nsBirthdayGift: { + // 标题 + birthdayGift: '生日贺礼', + + // 祝福语 + defaultBlessing: '感谢您一直以来的支持,在您生日到来之际,特为您送上最真诚的祝福!', + + // 积分 + points: '积分', + pointDesc: '用于下单时抵现或兑换商品等', + + // 红包 + yuanRedPacket: '元红包', + nonWithdrawable: '不可提现红包', + withdrawable: '可提现红包', + + // 优惠券 + yuanCoupon: '元优惠劵', + discount: '折', + couponDesc: '用于下单时抵现或兑换商品等', + + // 操作按钮 + viewNow: '立即查看', + } +} diff --git a/lang/zh-cn/components/ns-new-gift.js b/lang/zh-cn/components/ns-new-gift.js new file mode 100644 index 0000000..0aa3b5b --- /dev/null +++ b/lang/zh-cn/components/ns-new-gift.js @@ -0,0 +1,24 @@ +export const lang = { + // ===== ns-new-gift 组件 ===== + nsNewGift: { + // 感谢语 - 带活动名参数 + thankYouHint: '感谢您一直以来的支持,为回馈会员,商城{activityName}节日,为您提供以下福利', + + // 积分 + points: '积分', + pointDesc: '用于参与活动购买商品时抵扣', + + // 红包 + yuanRedPacket: '元红包', + nonWithdrawableDesc: '不可提现红包', + withdrawableDesc: '可提现红包', + + // 优惠券 + yuanCoupon: '元优惠劵', + discount: '折', + couponDesc: '用于下单时抵现或兑换商品等', + + // 操作按钮 + viewNow: '立即查看', + } +} diff --git a/lang/zh-cn/components/nsGoodsPromotion.js b/lang/zh-cn/components/nsGoodsPromotion.js new file mode 100644 index 0000000..894942c --- /dev/null +++ b/lang/zh-cn/components/nsGoodsPromotion.js @@ -0,0 +1,16 @@ +export const lang = { + // ===== ns-goods-promotion 组件 ===== + 'nsGoodsPromotion': { + // 促销活动标签 + discount: '限时折扣', + groupbuy: '团购', + pintuan: '拼团', + seckill: '秒杀', + topic: '专题活动', + bargain: '砍价', + pinfan: '拼团返利', + + // 标题文案 + participatingTip: '当前商品正在参加{promotionName}', + } +} diff --git a/lang/zh-cn/fenxiao/goods_list.js b/lang/zh-cn/fenxiao/goods_list.js index 2c765c5..8c7865e 100644 --- a/lang/zh-cn/fenxiao/goods_list.js +++ b/lang/zh-cn/fenxiao/goods_list.js @@ -1,5 +1,36 @@ export const lang = { //title为每个页面的标题 // title: '分销商品列表', - title: '' + title: '', + + // 分类导航 + all: '全部', + + // 商品列表 + share: '分享', + earnCommission: '赚{money}元', + noGoods: '暂无分销商品', + + // 底部操作按钮 + shareFriends: '分享好友', + generatePoster: '生成海报', + + // 分享弹窗 + shareTitle: '分享', + shareToFriends: '分享给好友', + shareToGoodsCircle: '分享到好物圈', + generateSharePoster: '生成分享海报', + copyLink: '复制链接', + cancelShare: '取消分享', + + // 海报弹窗 + saveImage: '保存图片', + longPressSaveImage: '长按保存图片', + + // Toast / Loading 提示 + merchantNotOpenFenxiao: '商家未开启分销', + center: '中心', + posterGenerating: '海报生成中...', + saveSuccess: '保存成功', + saveFail: '保存失败,请稍后重试', } diff --git a/lang/zh-cn/fenxiao/order.js b/lang/zh-cn/fenxiao/order.js index 7db8bb1..ebb2b8c 100644 --- a/lang/zh-cn/fenxiao/order.js +++ b/lang/zh-cn/fenxiao/order.js @@ -1,5 +1,34 @@ export const lang = { //title为每个页面的标题 // title: '分销订单', - title: '' + title: '', + + // 顶部分类tab + all: '全部', + pendingSettlement: '待结算', + settled: '已结算', + refunded: '已退款', + + // 订单状态 + statusPendingSettlement: '待结算', + statusSettled: '已结算', + statusRefunded: '已退款', + + // 佣金相关 + earnPrefix: '返', + + // 订单合计 + totalLabel: '合计:', + + // 空状态 + noOrders: '暂无订单', + noPendingSettlementOrders: '暂无待结算订单', + noSettledOrders: '暂无已结算订单', + noRefundedOrders: '暂无已退款订单', + + // Toast 提示 + merchantNotOpenFenxiao: '商家未开启分销', + + // 标题后缀 + orderSuffix: '订单' } diff --git a/lang/zh-cn/fenxiao/order_detail.js b/lang/zh-cn/fenxiao/order_detail.js index 6c02235..09023d3 100644 --- a/lang/zh-cn/fenxiao/order_detail.js +++ b/lang/zh-cn/fenxiao/order_detail.js @@ -1,4 +1,26 @@ export const lang = { //title为每个页面的标题 - title: '订单详情' + title: '订单详情', + + // 商品数量 + totalItems: '共{count}件商品', + + // 订单状态 + statusRefunded: '已退款', + statusSettled: '已结算', + statusPendingSettlement: '待结算', + + // 合计 + totalLabel: '合计:', + + // 返佣详情 + commissionDetail: '返佣详情', + orderNo: '订单编号:', + commissionLevel: '分佣层级:', + levelText: '{level}级', + commissionAmount: '返佣金额:', + + // Toast 提示 + merchantNotOpenFenxiao: '商家未开启分销', + orderInfoNotFound: '未获取到订单信息!' } diff --git a/lang/zh-cn/fenxiao/promote_code.js b/lang/zh-cn/fenxiao/promote_code.js index e462f20..8fd2a00 100644 --- a/lang/zh-cn/fenxiao/promote_code.js +++ b/lang/zh-cn/fenxiao/promote_code.js @@ -1,4 +1,23 @@ export const lang = { //title为每个页面的标题 - title: '推广海报' + title: '推广海报', + + // H5 提示 + longPressTip: '长按识别图中二维码', + + // 按钮 + savePoster: '保存海报', + + // 授权弹窗 + dialogTitle: '提示', + authDeniedMessage: '您拒绝了保存图片到相册的授权请求,无法保存图片到相册,如需正常使用,请授权之后再进行操作。', + cancel: '取消', + authorizeNow: '立即授权', + + // Toast 提示 + saveSuccess: '保存成功', + saveFail: '保存失败,请稍后重试', + downloadFail: '下载失败', + posterGenerateFail: '海报生成失败', + merchantNotOpenFenxiao: '商家未开启分销' } diff --git a/lang/zh-cn/fenxiao/ranking_list.js b/lang/zh-cn/fenxiao/ranking_list.js index 2001885..dfde116 100644 --- a/lang/zh-cn/fenxiao/ranking_list.js +++ b/lang/zh-cn/fenxiao/ranking_list.js @@ -1,4 +1,24 @@ export const lang = { //title为每个页面的标题 title: '排行榜', + + // 顶部操作按钮 + clickToWithdraw: '点击提现', + myTeam: '我的团队', + + // 佣金排行(profit) + distributionCommission: '分销佣金', + todayCommission: '{amount}元', + commissionRanking: '佣金排行', + + // 推广排行(invited_num) + promotionCount: '推广人数', + promotionPeople: '{count}人', + promotionRanking: '推广排行', + + // 排名提示 + rankingTip: '您排行第{ranking}名', + + // 空状态 + noData: '暂无数据', } diff --git a/lang/zh-cn/fenxiao/team.js b/lang/zh-cn/fenxiao/team.js index 26c1595..788d4d5 100644 --- a/lang/zh-cn/fenxiao/team.js +++ b/lang/zh-cn/fenxiao/team.js @@ -1,5 +1,23 @@ export const lang = { //title为每个页面的标题 // title: '我的团队' - title: '' + title: '', + + // 等级分类 + levelOne: '一级', + levelTwo: '二级', + + // 会员信息 + joinTime: '加入时间:', + + // 统计单位 + peopleUnit: '人', + orderUnit: '单', + currencyUnit: '元', + + // 空状态 + noData: '暂无数据', + + // Toast 提示 + merchantNotOpenFenxiao: '商家未开启分销', } diff --git a/lang/zh-cn/fenxiao/withdraw_apply.js b/lang/zh-cn/fenxiao/withdraw_apply.js index 5ed3079..4bc0bb2 100644 --- a/lang/zh-cn/fenxiao/withdraw_apply.js +++ b/lang/zh-cn/fenxiao/withdraw_apply.js @@ -1,5 +1,31 @@ export const lang = { //title为每个页面的标题 // title: '提现申请' - title: '' + title: '', + + // 提现账户 + withdrawTo: '提现到', + wechatDefaultWallet: '微信默认钱包', + pleaseAddWithdrawAccount: '请添加提现账户', + balance: '余额', + + // 提现金额 + withdrawAmountLabel: '提现金额:', + withdrawableAmountLabel: '可提现金额:', + withdrawAll: '全部提现', + + // 提现说明 + minWithdrawAmountTip: '最小提现金额为{symbol}{min},', + maxWithdrawAmountTip: '最大提现金额为{symbol}{max},', + serviceFeeTip: '手续费为{rate}', + + // 按钮 + withdrawBtn: '提现', + + // Toast 提示 + pleaseEnterWithdrawAmount: '请输入提现金额', + withdrawAmountExceeds: '提现金额超出可提现金额', + withdrawAmountBelowMin: '提现金额小于最低提现金额', + pleaseAddWithdrawMethod: '请先添加提现方式', + withdrawApplySuccess: '提现申请成功', } diff --git a/lang/zh-cn/fenxiao/withdraw_list.js b/lang/zh-cn/fenxiao/withdraw_list.js index 6b4a6ae..16e0703 100644 --- a/lang/zh-cn/fenxiao/withdraw_list.js +++ b/lang/zh-cn/fenxiao/withdraw_list.js @@ -1,5 +1,26 @@ export const lang = { //title为每个页面的标题 // title: '提现记录' - title: '' + title: '', + + // 提现方式 + transferTypeBalance: '余额', + transferTypeAlipay: '支付宝', + transferTypeBank: '银行卡', + transferTypeWechatpay: '微信', + + // 状态 + statusTransferred: '已转账', + statusPendingReview: '待审核', + statusReviewed: '已审核', + statusRejected: '已拒绝', + + // 空状态 + noWithdrawRecords: '暂无提现记录', + + // 标题后缀 + detailSuffix: '明细', + + // Toast 提示 + merchantNotOpenFenxiao: '商家未开启分销', } diff --git a/lang/zh-cn/member/account.js b/lang/zh-cn/member/account.js index 79dde87..69b7c80 100644 --- a/lang/zh-cn/member/account.js +++ b/lang/zh-cn/member/account.js @@ -9,5 +9,29 @@ export const lang = { newAddAccount: '新增账户', del: '删除', update: "修改", - emptyText:"当前暂无账户" + emptyText:"当前暂无账户", + // 提现到余额 + withdrawToBalance: '提现到余额', + // 提现账号:{account} + withdrawalAccountLabel: '提现账号:{account}', + // 银行名称:{bankName} + bankNameLabel: '银行名称:{bankName}', + // 设为默认账户 + setAsDefault: '设为默认账户', + // 暂无账户信息,请添加 + emptyTip: '暂无账户信息,请添加', + // 操作提示 + operationTip: '操作提示', + // 确定要删除该账户吗? + confirmDeleteAccount: '确定要删除该账户吗?', + // 删除成功 + deleteSuccess: '删除成功', + // 删除失败 + deleteFailed: '删除失败', + // 提现类型:银行 + withdrawTypeBank: '银行', + // 提现类型:支付宝 + withdrawTypeAlipay: '支付宝', + // 提现类型:微信 + withdrawTypeWechat: '微信' } diff --git a/lang/zh-cn/member/address.js b/lang/zh-cn/member/address.js index 08a97e8..9b7fe47 100644 --- a/lang/zh-cn/member/address.js +++ b/lang/zh-cn/member/address.js @@ -5,5 +5,14 @@ export const lang = { getAddress: '一键获取地址', is_default: '默认', modify: '编辑', - del: '删除' + del: '删除', + setAsDefault: '设为默认地址', + emptyTip: '暂无收货地址,请添加', + operationTip: '操作提示', + confirmDelete: '确定要删除该地址吗?', + cannotDeleteDefault: '默认地址,不能删除', + deleteSuccess: '删除成功', + deleteFail: '删除失败', + setDefaultSuccess: '修改默认地址成功', + pcWechatNotSupportGetAddress: 'PC端微信不支持一键获取地址', } diff --git a/lang/zh-cn/member/apply_withdrawal.js b/lang/zh-cn/member/apply_withdrawal.js index d2f5f7a..359294a 100644 --- a/lang/zh-cn/member/apply_withdrawal.js +++ b/lang/zh-cn/member/apply_withdrawal.js @@ -1,4 +1,34 @@ export const lang = { //title为每个页面的标题 - title: '申请提现' + title: '申请提现', + // 提现到 + withdrawTo: '提现到', + // 微信默认钱包 + wechatDefaultWallet: '微信默认钱包', + // 请添加提现方式 + pleaseAddWithdrawMethod: '请添加提现方式', + // 提现金额 + withdrawAmount: '提现金额', + // 可提现余额: + withdrawableBalance: '可提现余额:', + // 全部提现 + withdrawAll: '全部提现', + // 最小提现金额为{min},手续费为{rate} + minWithdrawAndFeeTip: '最小提现金额为{min},手续费为{rate}', + // 提现 + withdraw: '提现', + // 提现记录 + withdrawalRecords: '提现记录', + // 未开启提现 + withdrawalNotEnabled: '未开启提现', + // 请输入提现金额 + pleaseEnterWithdrawAmount: '请输入提现金额', + // 提现金额超出可提现金额 + withdrawAmountExceedsBalance: '提现金额超出可提现金额', + // 提现金额小于最低提现金额 + withdrawAmountBelowMinimum: '提现金额小于最低提现金额', + // 请先添加提现方式 + pleaseAddWithdrawMethodFirst: '请先添加提现方式', + // 提现申请成功 + withdrawApplySuccess: '提现申请成功' } diff --git a/lang/zh-cn/member/balance_detail.js b/lang/zh-cn/member/balance_detail.js index 538ab54..d6d3695 100644 --- a/lang/zh-cn/member/balance_detail.js +++ b/lang/zh-cn/member/balance_detail.js @@ -1,4 +1,10 @@ export const lang = { //title为每个页面的标题 - title: '余额明细' + title: '余额明细', + emptyTips: '暂无余额明细', + yuan: '元', + filterAll: '全部', + filterIncome: '收入', + filterExpense: '支出', + dateFormatYM: '{year}年{month}月' } diff --git a/lang/zh-cn/member/cancelstatus.js b/lang/zh-cn/member/cancelstatus.js index 1702e20..b0437bb 100644 --- a/lang/zh-cn/member/cancelstatus.js +++ b/lang/zh-cn/member/cancelstatus.js @@ -1,3 +1,21 @@ export const lang = { + //title为每个页面的标题 title: '账号注销', -} \ No newline at end of file + // 步骤1:提交申请 + step1Name: '提交申请', + step1Desc: '您已提交申请,请耐心等待~', + // 步骤2:等待审核 + step2Name: '等待审核', + step2Desc: '等待审核中,审核通过后您的账号将直接被删除', + // 步骤3:审核通过,注销完成 + step3Name: '审核通过,注销完成', + step3Desc: '您已成功注销账号,期待下一次与您相遇', + // 返回 + back: '返回', + // 撤销申请 + revokeApplication: '撤销申请', + // 风险提示 + riskTip: '风险提示', + // 确定要撤销申请吗? + revokeConfirm: '确定要撤销申请吗?', +} diff --git a/lang/zh-cn/merch/list.js b/lang/zh-cn/merch/list.js new file mode 100644 index 0000000..c7c2465 --- /dev/null +++ b/lang/zh-cn/merch/list.js @@ -0,0 +1,21 @@ +export const lang = { + // 按钮默认文本 + buyText: '购买', + + // 弹窗提示 + modal: { + title: '提示', + merchantNotExist: '商家不存在', + }, + + // 分享标题 + shareTitle: '搜索到{count}件"{keyword}"相关的优质商品', + + // 价格筛选提示 + priceFilter: { + pleaseEnterMaxPrice: '请输入最高价', + priceCannotBeLessThanZero: '筛选价格不能小于0', + minCannotExceedMax: '最低价不能大于最高价', + maxCannotBeLessThanMin: '最高价不能小于最低价', + }, +} diff --git a/lang/zh-cn/order/refund_batch.js b/lang/zh-cn/order/refund_batch.js index d1b3c1d..5249e82 100644 --- a/lang/zh-cn/order/refund_batch.js +++ b/lang/zh-cn/order/refund_batch.js @@ -1,4 +1,32 @@ export const lang = { //title为每个页面的标题 - title: '申请退款', + title: '批量退款', + + // ====== 退款表单 ====== + form: { + refundReason: '退款原因:', + refundType: '退款方式:', + refundOnly: '退款无需退货', + returnRefund: '退货退款', + refundAmount: '退款金额:', + refundRemark: '退款说明', + pleaseSelect: '请选择', + remarkPlaceholder: '请输入退款说明(选填)' + }, + + // ====== 退款原因弹窗 ====== + reasonPopup: { + title: '退款原因', + confirm: '确定' + }, + + // ====== 提示信息 ====== + toast: { + noRefundInfo: '未获取到该订单项退款信息' + }, + + // ====== 表单验证 ====== + validate: { + pleaseSelectRefundReason: '请选择退款原因' + } } diff --git a/lang/zh-cn/pay/cashier.js b/lang/zh-cn/pay/cashier.js new file mode 100644 index 0000000..e292042 --- /dev/null +++ b/lang/zh-cn/pay/cashier.js @@ -0,0 +1,20 @@ +export const lang = { + pay: { + cashier: { + // 支付按钮 + confirmPay: '确认支付', + // 空状态 + noPayMethodConfigured: '店铺尚未配置支付方式!', + orderAlreadyPaid: '该支付单据已支付', + noPayInfo: '未获取到支付信息', + // 支付方式 + alipay: '支付宝支付', + wechatpay: '微信支付', + // 提示信息 + pleaseSelectPayMethod: '请选择支付方式!', + paying: '支付中...', + paymentCancelled: '您已取消支付', + paymentFailed: '支付失败,失败原因: {reason}', + } + } +}; diff --git a/lang/zh-cn/pay/result.js b/lang/zh-cn/pay/result.js index 294c202..ab6dfd1 100644 --- a/lang/zh-cn/pay/result.js +++ b/lang/zh-cn/pay/result.js @@ -1,10 +1,25 @@ export const lang = { - //title为每个页面的标题 - title: '支付结果', - paymentSuccess: '支付成功', - paymentFail: '支付失败', - goHome: '回到首页', - memberCenter: '会员中心', - payMoney: '支付金额', - unit: '元' + pay: { + result: { + //title为每个页面的标题 + title: '支付结果', + paymentSuccess: '支付成功', + paymentFail: '支付失败', + goHome: '回到首页', + memberCenter: '会员中心', + payMoney: '支付金额', + unit: '元', + // 消费奖励 + congratulations: '恭喜您获得', + points: '积分', + growthValue: '成长值', + couponsCount: '{count}张优惠券', + // 操作按钮 + rechargeRecords: '充值记录', + memberCard: '会员卡', + viewOrder: '查看订单', + // 提示信息 + noPayInfo: '未获取到支付信息!', + } + } } diff --git a/lang/zh-cn/point/order_list.js b/lang/zh-cn/point/order_list.js index 5139a9a..b7b11dc 100644 --- a/lang/zh-cn/point/order_list.js +++ b/lang/zh-cn/point/order_list.js @@ -1,5 +1,30 @@ export const lang = { //title为每个页面的标题 title: '积分兑换', - emptyTips: '暂无更多数据了' + emptyTips: '暂无更多数据了', + + // 订单状态 + statusAll: '全部', + statusPendingPayment: '待支付', + statusCompleted: '已完成', + statusClosed: '已关闭', + + // 订单信息 + orderNo: '订单号:', + points: '积分', + + // 操作按钮 + closeBtn: '关闭', + payBtn: '支付', + viewDetails: '查看详情', + + // 空状态 + emptyText: '暂无积分兑换订单', + goBrowse: '去逛逛', + + // 提示 + merchantNotEnabled: '商家未开启积分商城', + tip: '提示', + confirmCloseExchange: '确定关闭此次兑换?', + closeSuccess: '关闭成功' } diff --git a/pages_goods/_components/ns-goods-promotion/ns-goods-promotion.vue b/pages_goods/_components/ns-goods-promotion/ns-goods-promotion.vue index 93c8905..606fbc3 100644 --- a/pages_goods/_components/ns-goods-promotion/ns-goods-promotion.vue +++ b/pages_goods/_components/ns-goods-promotion/ns-goods-promotion.vue @@ -3,45 +3,45 @@ - 限时折扣 - 当前商品正在参加{{ item.promotion_name }} + {{ $lang('components.nsGoodsPromotion.discount') }} + {{ $lang('components.nsGoodsPromotion.participatingTip', { promotionName: item.promotion_name }) }} - 团购 - 当前商品正在参加{{ item.promotion_name }} + {{ $lang('components.nsGoodsPromotion.groupbuy') }} + {{ $lang('components.nsGoodsPromotion.participatingTip', { promotionName: item.promotion_name }) }} - 拼团 - 当前商品正在参加{{ item.promotion_name }} + {{ $lang('components.nsGoodsPromotion.pintuan') }} + {{ $lang('components.nsGoodsPromotion.participatingTip', { promotionName: item.promotion_name }) }} - 秒杀 - 当前商品正在参加{{ item.promotion_name }} + {{ $lang('components.nsGoodsPromotion.seckill') }} + {{ $lang('components.nsGoodsPromotion.participatingTip', { promotionName: item.promotion_name }) }} - 专题活动 - 当前商品正在参加{{ item.promotion_name }} + {{ $lang('components.nsGoodsPromotion.topic') }} + {{ $lang('components.nsGoodsPromotion.participatingTip', { promotionName: item.promotion_name }) }} - 砍价 - 当前商品正在参加{{ item.promotion_name }} + {{ $lang('components.nsGoodsPromotion.bargain') }} + {{ $lang('components.nsGoodsPromotion.participatingTip', { promotionName: item.promotion_name }) }} - 拼团返利 - 当前商品正在参加{{ item.promotion_name }} + {{ $lang('components.nsGoodsPromotion.pinfan') }} + {{ $lang('components.nsGoodsPromotion.participatingTip', { promotionName: item.promotion_name }) }} diff --git a/pages_promotion/fenxiao/goods_list.vue b/pages_promotion/fenxiao/goods_list.vue index e21d1be..182852a 100644 --- a/pages_promotion/fenxiao/goods_list.vue +++ b/pages_promotion/fenxiao/goods_list.vue @@ -9,7 +9,7 @@ 全部 + @click="changeCategory(0)">{{ $lang('all') }} @@ -34,29 +34,29 @@ - ¥ + {{ $lang('common.currencySymbol') }} {{ item.discount_price }} - 分享 - 赚{{ item.commission_money }}元 + {{ $lang('share') }} + {{ $lang('earnCommission', { money: item.commission_money }) }} - + - + | - 生成海报 + {{ $lang('generatePoster') }} @@ -64,13 +64,13 @@ - + - + @@ -112,10 +112,10 @@ - 保存图片 + {{ $lang('saveImage') }} - 长按保存图片 + {{ $lang('longPressSaveImage') }} diff --git a/pages_promotion/fenxiao/order.vue b/pages_promotion/fenxiao/order.vue index 2aef62a..3649b70 100644 --- a/pages_promotion/fenxiao/order.vue +++ b/pages_promotion/fenxiao/order.vue @@ -3,7 +3,7 @@ {{ item.name }} + :class="{ 'active color-base-text color-base-bg-before': selectId == item.id }">{{ $lang(item.nameKey) }} @@ -14,10 +14,10 @@ @click="toDetail(orderItem.fenxiao_order_id)"> {{ orderItem.order_no }} - 已退款 + {{ $lang('statusRefunded') }} 已结算 - 待结算 + v-else-if="orderItem.is_settlement == 1">{{ $lang('statusSettled') }} + {{ $lang('statusPendingSettlement') }} @@ -30,7 +30,7 @@ {{ orderItem.sku_name }} - 返{{ fenxiaoWords.account }} + {{ $lang('earnPrefix') }}{{ fenxiaoWords.account }} {{ $lang('common.currencySymbol') }} {{ @@ -66,7 +66,7 @@ {{ $lang('common.currencySymbol') }}{{ orderItem.commission }} --> - 合计: + {{ $lang('totalLabel') }} {{ $lang('common.currencySymbol') }} {{ parseFloat(orderItem.real_goods_money).toFixed(2).split(".")[0] }} @@ -78,13 +78,13 @@ - - - - @@ -108,22 +108,22 @@ export default { category: [ { id: 0, - name: '全部', + nameKey: 'all', number: 2 }, { id: 1, - name: '待结算', + nameKey: 'pendingSettlement', number: 0 }, { id: 2, - name: '已结算', + nameKey: 'settled', number: 0 }, { id: 3, - name: '已退款', + nameKey: 'refunded', number: 0 } ], @@ -142,7 +142,7 @@ export default { setTimeout(() => { if (!this.addonIsExist.fenxiao) { this.$util.showToast({ - title: '商家未开启分销', + title: this.$lang('merchantNotOpenFenxiao'), mask: true, duration: 2000 }); @@ -152,7 +152,7 @@ export default { } }, 1000); - if (this.fenxiaoWords && this.fenxiaoWords.concept) this.$langConfig.title(this.fenxiaoWords.concept + '订单'); + if (this.fenxiaoWords && this.fenxiaoWords.concept) this.$langConfig.title(this.fenxiaoWords.concept + this.$lang('orderSuffix')); if (!this.storeToken) { this.$nextTick(() => { diff --git a/pages_promotion/fenxiao/order_detail.vue b/pages_promotion/fenxiao/order_detail.vue index 7c50602..7d52871 100644 --- a/pages_promotion/fenxiao/order_detail.vue +++ b/pages_promotion/fenxiao/order_detail.vue @@ -4,11 +4,11 @@ - 共{{ orderData.num }}件商品 + {{ $lang('totalItems', { count: orderData.num }) }} - 已退款 - 已结算 - 待结算 + {{ $lang('statusRefunded') }} + {{ $lang('statusSettled') }} + {{ $lang('statusPendingSettlement') }} @@ -18,7 +18,7 @@ - ¥ + {{ $lang('common.currencySymbol') }} {{ parseFloat(orderData.price).toFixed(2).split(".")[0] }} .{{ parseFloat(orderData.price).toFixed(2).split(".")[1] }} @@ -37,29 +37,29 @@ - 合计: - ¥{{ orderData.real_goods_money }} + {{ $lang('totalLabel') }} + {{ $lang('common.currencySymbol') }}{{ orderData.real_goods_money }} - 返佣详情 + {{ $lang('commissionDetail') }}        - 订单编号: + {{ $lang('orderNo') }} {{ orderData.order_no }} - 分佣层级: - {{ orderData.commission_level }}级 + {{ $lang('commissionLevel') }} + {{ $lang('levelText', { level: orderData.commission_level }) }} - 返佣金额: + {{ $lang('commissionAmount') }} - ¥ + {{ $lang('common.currencySymbol') }} {{ parseFloat(orderData.commission).toFixed(2).split(".")[0] }} .{{ parseFloat(orderData.commission).toFixed(2).split(".")[1] }} @@ -100,7 +100,7 @@ export default { setTimeout( () => { if (!this.addonIsExist.fenxiao) { this.$util.showToast({ - title: '商家未开启分销', + title: this.$lang('merchantNotOpenFenxiao'), mask: true, duration: 2000 }); @@ -133,7 +133,7 @@ export default { this.orderData = res.data; } else { this.$util.showToast({ - title: '未获取到订单信息!' + title: this.$lang('orderInfoNotFound') }); setTimeout(() => { this.$util.redirectTo('/pages_promotion/fenxiao/order', {}, 'redirectTo'); diff --git a/pages_promotion/fenxiao/promote_code.vue b/pages_promotion/fenxiao/promote_code.vue index 7b032b9..118b137 100644 --- a/pages_promotion/fenxiao/promote_code.vue +++ b/pages_promotion/fenxiao/promote_code.vue @@ -11,22 +11,22 @@ - 长按识别图中二维码 + {{ $lang('longPressTip') }} - 保存海报 + {{ $lang('savePoster') }} - 提示 - 您拒绝了保存图片到相册的授权请求,无法保存图片到相册,如需正常使用,请授权之后再进行操作。 + {{ $lang('dialogTitle') }} + {{ $lang('authDeniedMessage') }} - 取消 + {{ $lang('cancel') }} + hover-class="none">{{ $lang('authorizeNow') }} @@ -95,7 +95,7 @@ export default { filePath: res.tempFilePath, success: () => { this.$util.showToast({ - title: '保存成功' + title: this.$lang('saveSuccess') }); }, fail: res => { @@ -104,20 +104,20 @@ export default { this.$refs.popupDialog.open(); } else { this.$util.showToast({ - title: '保存失败,请稍后重试' + title: this.$lang('saveFail') }); } } }); } else { this.$util.showToast({ - title: '下载失败' + title: this.$lang('downloadFail') }); } }, fail: res => { this.$util.showToast({ - title: '下载失败' + title: this.$lang('downloadFail') }); } }); @@ -136,7 +136,7 @@ export default { }); } catch { this.$util.showToast({ - title: '海报生成失败' + title: this.$lang('posterGenerateFail') }); } }, @@ -149,7 +149,7 @@ export default { setTimeout(() => { if (!this.addonIsExist.fenxiao) { this.$util.showToast({ - title: '商家未开启分销', + title: this.$lang('merchantNotOpenFenxiao'), mask: true, duration: 2000 }); diff --git a/pages_promotion/fenxiao/public/js/goods_list.js b/pages_promotion/fenxiao/public/js/goods_list.js index c2860ca..6c38bde 100644 --- a/pages_promotion/fenxiao/public/js/goods_list.js +++ b/pages_promotion/fenxiao/public/js/goods_list.js @@ -22,7 +22,7 @@ export default { setTimeout(() => { if (!this.addonIsExist.fenxiao) { this.$util.showToast({ - title: '商家未开启分销', + title: this.$lang('merchantNotOpenFenxiao'), mask: true, duration: 2000 }); @@ -48,7 +48,7 @@ export default { return; } - if (this.fenxiaoWords && this.fenxiaoWords.concept) this.$langConfig.title(this.fenxiaoWords.concept + '中心'); + if (this.fenxiaoWords && this.fenxiaoWords.concept) this.$langConfig.title(this.fenxiaoWords.concept + this.$lang('center')); this.is_fenxiao = Boolean(this.memberInfo.is_fenxiao); }, methods: { @@ -157,7 +157,7 @@ export default { //生成海报 getGoodsPoster() { uni.showLoading({ - 'title': '海报生成中...' + 'title': this.$lang('posterGenerating') }); let url = ""; let data = {}; @@ -204,12 +204,12 @@ export default { filePath: res.tempFilePath, success: () => { this.$util.showToast({ - title: "保存成功" + title: this.$lang('saveSuccess') }); }, fail: () => { this.$util.showToast({ - title: "保存失败,请稍后重试" + title: this.$lang('saveFail') }); } }); diff --git a/pages_promotion/fenxiao/ranking_list.vue b/pages_promotion/fenxiao/ranking_list.vue index 8fa5d21..adb240b 100644 --- a/pages_promotion/fenxiao/ranking_list.vue +++ b/pages_promotion/fenxiao/ranking_list.vue @@ -16,9 +16,9 @@ 点击提现 + v-if="type == 'profit'">{{ $lang('clickToWithdraw') }} 我的团队 + v-if="type == 'invited_num'">{{ $lang('myTeam') }} @@ -30,8 +30,8 @@ - 分销佣金 - {{ info.today_commission }}元 + {{ $lang('distributionCommission') }} + {{ $lang('todayCommission', { amount: info.today_commission }) }} @@ -41,8 +41,8 @@ - 佣金排行 - 您排行第{{ ranking }}名 + {{ $lang('commissionRanking') }} + {{ $lang('rankingTip', { ranking: ranking }) }} @@ -54,8 +54,8 @@ - 推广人数 - {{ info.one_child_num }}人 + {{ $lang('promotionCount') }} + {{ $lang('promotionPeople', { count: info.one_child_num }) }} @@ -65,15 +65,15 @@ - 推广排行 - 您排行第{{ ranking }}名 + {{ $lang('promotionRanking') }} + {{ $lang('rankingTip', { ranking: ranking }) }} - 佣金排行 - 推广排行 + {{ $lang('commissionRanking') }} + {{ $lang('promotionRanking') }} @@ -87,13 +87,13 @@ ¥{{ item.total_commission | moneyFormat }} - {{ item.child_num }}人 + {{ $lang('promotionPeople', { count: item.child_num }) }} - + diff --git a/pages_promotion/fenxiao/team.vue b/pages_promotion/fenxiao/team.vue index e7999c9..aa7b220 100644 --- a/pages_promotion/fenxiao/team.vue +++ b/pages_promotion/fenxiao/team.vue @@ -4,7 +4,7 @@ {{ item.name }} + @click="selectLevel(item.level)">{{ $lang(item.nameKey) }} {{ fenxiaoWords.fenxiao_name }} - 加入时间:{{ + {{ $lang('joinTime') }}{{ $util.timeStampTurnTime(item.bind_fenxiao_time).substring(0, 10) }} {{ item.one_child_num }} - 人 + {{ $lang('peopleUnit') }} {{ item.order_num }} - 单 + {{ $lang('orderUnit') }} {{ item.order_money | moneyFormat }} - 元 + {{ $lang('currencyUnit') }} @@ -50,21 +50,21 @@ {{ item.nickname }} - 加入时间:{{ + {{ $lang('joinTime') }}{{ $util.timeStampTurnTime(item.bind_fenxiao_time).substring(0, 10) }} 0 - 人 + {{ $lang('peopleUnit') }} {{ item.order_num }} - 单 + {{ $lang('orderUnit') }} {{ item.order_money | moneyFormat }} - 元 + {{ $lang('currencyUnit') }} @@ -72,7 +72,7 @@ - + @@ -89,11 +89,11 @@ export default { return { levelList: [ { - name: '一级', + nameKey: 'levelOne', level: 1 }, { - name: '二级', + nameKey: 'levelTwo', level: 2 } ], @@ -108,7 +108,7 @@ export default { setTimeout(() => { if (!this.addonIsExist.fenxiao) { this.$util.showToast({ - title: '商家未开启分销', + title: this.$lang('merchantNotOpenFenxiao'), mask: true, duration: 2000 }); diff --git a/pages_promotion/fenxiao/withdraw_apply.vue b/pages_promotion/fenxiao/withdraw_apply.vue index 9301d95..92be99d 100644 --- a/pages_promotion/fenxiao/withdraw_apply.vue +++ b/pages_promotion/fenxiao/withdraw_apply.vue @@ -2,8 +2,8 @@ - 提现到 - 微信默认钱包 + {{ $lang('withdrawTo') }} + {{ $lang('wechatDefaultWallet') }} {{ bankAccountInfo.bank_account }} @@ -16,10 +16,10 @@ - 请添加提现账户 + {{ $lang('pleaseAddWithdrawAccount') }} - 提现到 - 余额 + {{ $lang('withdrawTo') }} + {{ $lang('balance') }} @@ -28,7 +28,7 @@ - 提现金额: + {{ $lang('withdrawAmountLabel') }} {{ $lang('common.currencySymbol') }} @@ -38,14 +38,14 @@ - 可提现金额:{{ $lang('common.currencySymbol') }}{{ withdrawInfo.account | moneyFormat }} - 全部提现 + {{ $lang('withdrawableAmountLabel') }}{{ $lang('common.currencySymbol') }}{{ withdrawInfo.account | moneyFormat }} + {{ $lang('withdrawAll') }} - 最小提现金额为{{ $lang('common.currencySymbol') }}{{ withdrawConfigInfo.withdraw | moneyFormat }}, - 最大提现金额为{{ $lang('common.currencySymbol') }}{{ (withdrawConfigInfo.max > withdrawInfo.account ? withdrawInfo.account : withdrawConfigInfo.max) | moneyFormat }}, - 手续费为{{ withdrawConfigInfo.withdraw_rate + '%' }} + {{ $lang('minWithdrawAmountTip', { symbol: $lang('common.currencySymbol'), min: withdrawConfigInfo.withdraw | moneyFormat }) }} + {{ $lang('maxWithdrawAmountTip', { symbol: $lang('common.currencySymbol'), max: (withdrawConfigInfo.max > withdrawInfo.account ? withdrawInfo.account : withdrawConfigInfo.max) | moneyFormat }) }} + {{ $lang('serviceFeeTip', { rate: withdrawConfigInfo.withdraw_rate + '%' }) }} @@ -56,7 +56,7 @@ - + @@ -175,7 +175,7 @@ verify() { if (this.withdrawMoney == '' || this.withdrawMoney < 0 || isNaN(parseFloat(this.withdrawMoney))) { this.$util.showToast({ - title: '请输入提现金额' + title: this.$lang('pleaseEnterWithdrawAmount') }); return false; } @@ -186,14 +186,14 @@ } if (parseFloat(this.withdrawMoney) > 0 && (parseFloat(this.withdrawMoney) > parseFloat(money))) { this.$util.showToast({ - title: '提现金额超出可提现金额' + title: this.$lang('withdrawAmountExceeds') }); return false; } if (parseFloat(this.withdrawMoney) > 0 && (parseFloat(this.withdrawMoney) < parseFloat(this .withdrawConfigInfo.withdraw))) { this.$util.showToast({ - title: '提现金额小于最低提现金额' + title: this.$lang('withdrawAmountBelowMin') }); return false; } @@ -202,7 +202,7 @@ withdraw() { if (!this.bankAccountInfo.withdraw_type && !this.isBalance) { this.$util.showToast({ - title: '请先添加提现方式' + title: this.$lang('pleaseAddWithdrawMethod') }); return; } @@ -235,7 +235,7 @@ success: res => { if (res.code >= 0) { this.$util.showToast({ - title: '提现申请成功' + title: this.$lang('withdrawApplySuccess') }); setTimeout(() => { this.$util.redirectTo('/pages_promotion/fenxiao/withdraw_list', {}, @@ -270,7 +270,7 @@ success: res => { if (res.code >= 0) { this.$util.showToast({ - title: '提现申请成功' + title: this.$lang('withdrawApplySuccess') }); setTimeout(() => { this.$util.redirectTo('/pages_promotion/fenxiao/withdraw_list', {}, diff --git a/pages_promotion/fenxiao/withdraw_list.vue b/pages_promotion/fenxiao/withdraw_list.vue index 0e37783..58ec293 100644 --- a/pages_promotion/fenxiao/withdraw_list.vue +++ b/pages_promotion/fenxiao/withdraw_list.vue @@ -8,9 +8,9 @@ - {{ item.transfer_type == 'balance' && '余额' || - item.transfer_type == 'alipay' && '支付宝' || item.transfer_type == 'bank' && '银行卡' || - item.transfer_type =='wechatpay'&&'微信' }} + {{ item.transfer_type == 'balance' && $lang('transferTypeBalance') || + item.transfer_type == 'alipay' && $lang('transferTypeAlipay') || item.transfer_type == 'bank' && $lang('transferTypeBank') || + item.transfer_type =='wechatpay'&& $lang('transferTypeWechatpay') }} {{ $util.timeStampTurnTime(item.create_time) }} @@ -25,7 +25,7 @@ - + @@ -65,7 +65,7 @@ export default { setTimeout(() => { if (!this.addonIsExist.fenxiao) { this.$util.showToast({ - title: '商家未开启分销', + title: this.$lang('merchantNotOpenFenxiao'), mask: true, duration: 2000 }); @@ -75,7 +75,7 @@ export default { } }, 1000); - if (this.fenxiaoWords && this.fenxiaoWords.withdraw) this.$langConfig.title(this.fenxiaoWords.withdraw + '明细'); + if (this.fenxiaoWords && this.fenxiaoWords.withdraw) this.$langConfig.title(this.fenxiaoWords.withdraw + this.$lang('detailSuffix')); if (!this.storeToken) { this.$nextTick(() => { diff --git a/pages_promotion/merch/public/js/list.js b/pages_promotion/merch/public/js/list.js index 0d2c625..5cf9d30 100644 --- a/pages_promotion/merch/public/js/list.js +++ b/pages_promotion/merch/public/js/list.js @@ -39,7 +39,7 @@ export default { fontWeight: false, padding: 0, cartEvent: "detail", - text: "购买", + text: this.$lang('buyText'), textColor: "#FFFFFF", theme: "default", aroundRadius: 25, @@ -76,8 +76,8 @@ export default { this.getMerch() }else{ uni.showModal({ - title:'提示', - content:'商家不存在', + title: this.$lang('modal.title'), + content: this.$lang('modal.merchantNotExist'), showCancel:false, success(e){ uni.navigateBack({}) @@ -120,8 +120,8 @@ export default { * 转发分享 */ onShareAppMessage(res) { - var title = '搜索到' + this.count + '件“' + this.keyword + this.category_title + this.coupon_name + '”相关的优质商品'; - let route = this.$util.getCurrentShareRoute(this.memberInfo ? this.memberInfo.member_id : 0); + var title = this.$lang('shareTitle', { count: this.count, keyword: this.keyword + this.category_title + this.coupon_name }); + let route = this.$util.getCurrentShareRoute(this.memberInfo ? this.memberInfo.member_id : 0); var path = route.path; return { title: title, @@ -134,8 +134,8 @@ export default { }, // 分享到微信朋友圈 onShareTimeline() { - var title = '搜索到' + this.count + '件“' + this.keyword + this.category_title + this.coupon_name + '”相关的优质商品'; - let route = this.$util.getCurrentShareRoute(this.memberInfo ? this.memberInfo.member_id : 0); + var title = this.$lang('shareTitle', { count: this.count, keyword: this.keyword + this.category_title + this.coupon_name }); + let route = this.$util.getCurrentShareRoute(this.memberInfo ? this.memberInfo.member_id : 0); var query = route.query; return { title: title, @@ -336,26 +336,26 @@ export default { // } if (!Number(this.maxPrice) && this.maxPrice) { this.$util.showToast({ - title: '请输入最高价' + title: this.$lang('priceFilter.pleaseEnterMaxPrice') }); return; } if (Number(this.minPrice) < 0 || Number(this.maxPrice) < 0) { this.$util.showToast({ - title: '筛选价格不能小于0' + title: this.$lang('priceFilter.priceCannotBeLessThanZero') }); return; } if (this.minPrice != '' && Number(this.minPrice) > Number(this.maxPrice) && this.maxPrice) { this.$util.showToast({ - title: '最低价不能大于最高价' + title: this.$lang('priceFilter.minCannotExceedMax') }); return; } if (this.maxPrice != '' && Number(this.maxPrice) < Number(this.minPrice)) { this.$util.showToast({ - title: '最高价不能小于最低价' + title: this.$lang('priceFilter.maxCannotBeLessThanMin') }); return; } diff --git a/pages_promotion/point/order_list.vue b/pages_promotion/point/order_list.vue index 13938c5..70393eb 100644 --- a/pages_promotion/point/order_list.vue +++ b/pages_promotion/point/order_list.vue @@ -5,7 +5,7 @@ :id="statusItem.id" :data-current="statusIndex" @click="ontabtap"> - {{ statusItem.name }} + {{ $lang('point.orderList.' + statusItem.nameKey) }} @@ -16,10 +16,10 @@ - 订单号:{{ orderItem.order_no }} + {{ $lang('point.orderList.orderNo') }}{{ orderItem.order_no }} - {{ orderItem.order_status == 0 ? '待支付' : orderItem.order_status == 1 ? '已完成' : - orderItem.order_status == -1 ? '已关闭' : '' }} + {{ orderItem.order_status == 0 ? $lang('point.orderList.statusPendingPayment') : orderItem.order_status == 1 ? $lang('point.orderList.statusCompleted') : + orderItem.order_status == -1 ? $lang('point.orderList.statusClosed') : '' }} @@ -46,7 +46,7 @@ {{ orderItem.point }} - 积分 + {{ $lang('point.orderList.points') }} + {{ @@ -69,20 +69,20 @@ 关闭 + @click.stop="orderClose(orderItem.order_id, orderIndex)">{{ $lang('point.orderList.closeBtn') }} 支付 + @click.stop="openChoosePayment(orderItem.out_trade_no, orderItem.price)">{{ $lang('point.orderList.payBtn') }} - 查看详情 + {{ $lang('point.orderList.viewDetails') }} - + @@ -104,9 +104,9 @@ export default { outTradeNo: '', payMoney: 0, statusList: [ - { status: 'all', id: 'all', name: '全部' }, - { status: 0, id: 'pay', name: '待支付' }, - { status: 1, id: 'complete', name: '已完成' }, + { status: 'all', id: 'all', nameKey: 'statusAll' }, + { status: 0, id: 'pay', nameKey: 'statusPendingPayment' }, + { status: 1, id: 'complete', nameKey: 'statusCompleted' }, ], orderStatus: 'all', }; @@ -115,7 +115,7 @@ export default { setTimeout(() => { if (!this.addonIsExist.pointexchange) { this.$util.showToast({ - title: '商家未开启积分商城', + title: this.$lang('point.orderList.merchantNotEnabled'), mask: true, duration: 2000 }); @@ -182,8 +182,8 @@ export default { }, orderClose(order_id, index) { uni.showModal({ - title: '提示', - content: '确定关闭此次兑换?', + title: this.$lang('point.orderList.tip'), + content: this.$lang('point.orderList.confirmCloseExchange'), success: res => { if (res.confirm) { this.$api.sendRequest({ @@ -195,7 +195,7 @@ export default { if (res.code >= 0) { this.orderList[index].order_status = -1; this.$util.showToast({ - title: '关闭成功' + title: this.$lang('point.orderList.closeSuccess') }); this.$forceUpdate(); } diff --git a/pages_tool/_components/ns-birthday-gift/ns-birthday-gift.vue b/pages_tool/_components/ns-birthday-gift/ns-birthday-gift.vue index 4e21283..0d905c9 100644 --- a/pages_tool/_components/ns-birthday-gift/ns-birthday-gift.vue +++ b/pages_tool/_components/ns-birthday-gift/ns-birthday-gift.vue @@ -8,10 +8,10 @@ {{ birthday.blessing_content }} - 感谢您一直以来的支持,在您生日到来之际,特为您送上最真诚的祝福! + {{ $lang('components.nsBirthdayGift.defaultBlessing') }} - 生日贺礼 + {{ $lang('components.nsBirthdayGift.birthdayGift') }} @@ -20,31 +20,31 @@ {{ parseFloat(birthday.point) }} - 积分 + {{ $lang('components.nsBirthdayGift.points') }} - 用于下单时抵现或兑换商品等 + {{ $lang('components.nsBirthdayGift.pointDesc') }} - 立即查看 + {{ $lang('components.nsBirthdayGift.viewNow') }} {{ parseFloat(birthday.balance) }} - 元红包 + {{ $lang('components.nsBirthdayGift.yuanRedPacket') }} - 不可提现红包 + {{ $lang('components.nsBirthdayGift.nonWithdrawable') }} - 立即查看 + {{ $lang('components.nsBirthdayGift.viewNow') }} {{ parseFloat(birthday.balance_money) }} - 元红包 + {{ $lang('components.nsBirthdayGift.yuanRedPacket') }} - 可提现红包 + {{ $lang('components.nsBirthdayGift.withdrawable') }} - 立即查看 + {{ $lang('components.nsBirthdayGift.viewNow') }} @@ -54,18 +54,18 @@ {{ parseFloat(item.money) }} - 元优惠劵 + {{ $lang('components.nsBirthdayGift.yuanCoupon') }} {{ item.discount }} - 折 + {{ $lang('components.nsBirthdayGift.discount') }} - 用于下单时抵现或兑换商品等 + {{ $lang('components.nsBirthdayGift.couponDesc') }} - 立即查看 + {{ $lang('components.nsBirthdayGift.viewNow') }} diff --git a/pages_tool/_components/ns-new-gift/ns-new-gift.vue b/pages_tool/_components/ns-new-gift/ns-new-gift.vue index b5e49cd..5892327 100644 --- a/pages_tool/_components/ns-new-gift/ns-new-gift.vue +++ b/pages_tool/_components/ns-new-gift/ns-new-gift.vue @@ -11,38 +11,38 @@ Dear {{ memberInfo.nickname }} {{ newgift.remark }} - 感谢您一直以来的支持,为回馈会员,商城{{ newgift.activity_name ? newgift.activity_name : 'xx' }}节日,为您提供以下福利 + {{ $lang('components.nsNewGift.thankYouHint', { activityName: newgift.activity_name || 'xx' }) }} {{ newgift.award_list.point }} - 积分 + {{ $lang('components.nsNewGift.points') }} - 用于参与活动购买商品时抵扣 + {{ $lang('components.nsNewGift.pointDesc') }} - 立即查看 + {{ $lang('components.nsNewGift.viewNow') }} {{ newgift.award_list.balance | int }} - 元红包 + {{ $lang('components.nsNewGift.yuanRedPacket') }} - 不可提现红包 + {{ $lang('components.nsNewGift.nonWithdrawableDesc') }} - 立即查看 + {{ $lang('components.nsNewGift.viewNow') }} {{ newgift.award_list.balance_money | int }} - 元红包 + {{ $lang('components.nsNewGift.yuanRedPacket') }} - 可提现红包 + {{ $lang('components.nsNewGift.withdrawableDesc') }} - 立即查看 + {{ $lang('components.nsNewGift.viewNow') }} @@ -50,15 +50,15 @@ {{ parseFloat(item.money) }} - 元优惠劵 + {{ $lang('components.nsNewGift.yuanCoupon') }} {{ item.discount | int }} - 折 + {{ $lang('components.nsNewGift.discount') }} - 用于下单时抵现或兑换商品等 + {{ $lang('components.nsNewGift.couponDesc') }} - 立即查看 + {{ $lang('components.nsNewGift.viewNow') }} diff --git a/pages_tool/member/account.vue b/pages_tool/member/account.vue index 2921673..a8d0a2c 100644 --- a/pages_tool/member/account.vue +++ b/pages_tool/member/account.vue @@ -7,7 +7,7 @@ v-if="type == 'fenxiao' && payList && payList.balance"> - 提现到余额 + {{ $lang('withdrawToBalance') }} @@ -22,19 +22,19 @@ - 提现账号:{{ item.bank_account }} + {{ $lang('withdrawalAccountLabel', { account: item.bank_account }) }} - 银行名称 :{{ item.branch_bank_name }} + {{ $lang('bankNameLabel', { bankName: item.branch_bank_name }) }} - 修改 + {{ $lang('update') }} @@ -103,8 +103,8 @@ export default { }, deleteAccount(id) { uni.showModal({ - title: '操作提示', - content: '确定要删除该账户吗?', + title: this.$lang('operationTip'), + content: this.$lang('confirmDeleteAccount'), success: res => { if (res.confirm) { this.$api.sendRequest({ @@ -115,12 +115,12 @@ export default { success: result => { if (result.code == 0) { this.$util.showToast({ - title: '删除成功' + title: this.$lang('deleteSuccess') }); this.$refs.mescroll.refresh(); } else { this.$util.showToast({ - title: '删除失败' + title: this.$lang('deleteFailed') }); } } @@ -181,9 +181,9 @@ export default { this.dataList = this.dataList.concat(newArr); //追加新数据 let withdrawType = { - bank: '银行', - alipay: '支付宝', - wechatpay: '微信' + bank: this.$lang('withdrawTypeBank'), + alipay: this.$lang('withdrawTypeAlipay'), + wechatpay: this.$lang('withdrawTypeWechat') }; this.dataList.forEach(item => { diff --git a/pages_tool/member/address.vue b/pages_tool/member/address.vue index b0a4f9f..b454cbf 100644 --- a/pages_tool/member/address.vue +++ b/pages_tool/member/address.vue @@ -35,8 +35,8 @@ - 设为默认地址 - 设为默认地址 + {{ $lang('setAsDefault') }} + {{ $lang('setAsDefault') }} @@ -54,7 +54,7 @@ - 暂无收货地址,请添加 + {{ $lang('emptyTip') }} @@ -192,13 +192,13 @@ export default { /* 删除地址信息 */ deleteAddress(id, is_default) { uni.showModal({ - title: '操作提示', - content: '确定要删除该地址吗?', + title: this.$lang('operationTip'), + content: this.$lang('confirmDelete'), success: res => { if (res.confirm) { if (is_default == 1) { this.$util.showToast({ - title: '默认地址,不能删除' + title: this.$lang('cannotDeleteDefault') }); return; } @@ -210,11 +210,11 @@ export default { success: res => { if (res.code == 0) { this.$util.showToast({ - title: '删除成功' + title: this.$lang('deleteSuccess') }); } else { this.$util.showToast({ - title: '删除失败' + title: this.$lang('deleteFail') }); } this.$refs.mescroll.refresh(); @@ -244,7 +244,7 @@ export default { this.addressList = []; this.$refs.mescroll.refresh(); this.$util.showToast({ - title: '修改默认地址成功' + title: this.$lang('setDefaultSuccess') }); } } else { @@ -290,7 +290,7 @@ export default { }); } else { this.$util.showToast({ - title: res.errMsg == 'openAddress:function not implement' ? 'PC端微信不支持一键获取地址' : res.errMsg + title: res.errMsg == 'openAddress:function not implement' ? this.$lang('pcWechatNotSupportGetAddress') : res.errMsg }); } }); diff --git a/pages_tool/member/apply_withdrawal.vue b/pages_tool/member/apply_withdrawal.vue index 6317eb6..c6f5408 100644 --- a/pages_tool/member/apply_withdrawal.vue +++ b/pages_tool/member/apply_withdrawal.vue @@ -2,8 +2,8 @@ - 提现金额 + {{ $lang('member.applyWithdrawal.withdrawAmount') }} {{ $lang('common.currencySymbol') }} @@ -31,22 +31,21 @@ - 可提现余额:{{ $lang('common.currencySymbol') }}{{ withdrawInfo.member_info.balance_money | moneyFormat }} - 全部提现 + {{ $lang('member.applyWithdrawal.withdrawableBalance') }}{{ $lang('common.currencySymbol') }}{{ withdrawInfo.member_info.balance_money | moneyFormat }} + {{ $lang('member.applyWithdrawal.withdrawAll') }} - 最小提现金额为{{ $lang('common.currencySymbol') }}{{ withdrawInfo.config.min | moneyFormat }} - ,手续费为{{ withdrawInfo.config.rate + '%' }} + {{ $lang('member.applyWithdrawal.minWithdrawAndFeeTip', { min: $lang('common.currencySymbol') + (withdrawInfo.config.min | moneyFormat), rate: withdrawInfo.config.rate + '%' }) }} - 提现 + {{ $lang('member.applyWithdrawal.withdraw') }} - 提现记录 + {{ $lang('member.applyWithdrawal.withdrawalRecords') }} @@ -106,7 +105,7 @@ this.withdrawInfo = res.data; if (this.withdrawInfo.config.is_use == 0) { this.$util.showToast({ - title: '未开启提现' + title: this.$lang('member.applyWithdrawal.withdrawalNotEnabled') }); setTimeout(() => { this.$util.redirectTo(this.$util.MEMBER_PAGE_URL); @@ -136,19 +135,19 @@ verify() { if (this.withdrawMoney == '' || this.withdrawMoney == 0 || isNaN(parseFloat(this.withdrawMoney))) { this.$util.showToast({ - title: '请输入提现金额' + title: this.$lang('member.applyWithdrawal.pleaseEnterWithdrawAmount') }); return false; } if (parseFloat(this.withdrawMoney) > parseFloat(this.withdrawInfo.member_info.balance_money)) { this.$util.showToast({ - title: '提现金额超出可提现金额' + title: this.$lang('member.applyWithdrawal.withdrawAmountExceedsBalance') }); return false; } if (parseFloat(this.withdrawMoney) < parseFloat(this.withdrawInfo.config.min)) { this.$util.showToast({ - title: '提现金额小于最低提现金额' + title: this.$lang('member.applyWithdrawal.withdrawAmountBelowMinimum') }); return false; } @@ -157,7 +156,7 @@ withdraw() { if (!this.bankAccountInfo.withdraw_type) { this.$util.showToast({ - title: '请先添加提现方式' + title: this.$lang('member.applyWithdrawal.pleaseAddWithdrawMethodFirst') }); return; } @@ -188,7 +187,7 @@ success: res => { if (res.code >= 0) { this.$util.showToast({ - title: '提现申请成功' + title: this.$lang('member.applyWithdrawal.withdrawApplySuccess') }); setTimeout(() => { this.$util.redirectTo( @@ -224,7 +223,7 @@ success: res => { if (res.code >= 0) { this.$util.showToast({ - title: '提现申请成功' + title: this.$lang('member.applyWithdrawal.withdrawApplySuccess') }); setTimeout(() => { this.$util.redirectTo('/pages_tool/member/withdrawal', {}, diff --git a/pages_tool/member/balance_detail.vue b/pages_tool/member/balance_detail.vue index ff5586c..c0cb894 100644 --- a/pages_tool/member/balance_detail.vue +++ b/pages_tool/member/balance_detail.vue @@ -37,13 +37,13 @@ {{ $util.timeStampTurnTime(item.create_time) }} - {{ item.account_data > 0 ? - '+' + item.account_data : item.account_data }}元 + {{ (item.account_data > 0 ? + '+' + item.account_data : item.account_data) + $lang('yuan') }} - + @@ -62,13 +62,13 @@ export default { return { dataList: [], statusList: [{ - name: '全部', + name: this.$lang('filterAll'), id: '0' }, { - name: '收入', + name: this.$lang('filterIncome'), id: '1' }, { - name: '支出', + name: this.$lang('filterExpense'), id: '2' }], scrollInto: '', @@ -79,7 +79,7 @@ export default { date: '' }, balanceType: [{ - label: '全部', + label: this.$lang('filterAll'), value: '0' }], //积分类型 balanceIndex: 0, @@ -104,7 +104,7 @@ export default { bindDateChange: function (e) { var temp = e.target.value; var tempArr = temp.split('-'); - this.date = tempArr[0] + '年' + tempArr[1] + '月'; + this.date = this.$lang('dateFormatYM', { year: tempArr[0], month: tempArr[1] }); this.searchType.date = e.target.value; this.$refs.mescroll.refresh(); }, @@ -121,7 +121,7 @@ export default { } month = month > 9 ? month : '0' + month; day = day > 9 ? day : '0' + day; - return `${year}年${month}月`; + return this.$lang('dateFormatYM', { year, month }); }, bindPickerChange(e) { this.balanceIndex = e.detail.value; @@ -135,7 +135,7 @@ export default { success: res => { let balanceType = Object.assign(res.balance, res.balance_money), typeArr = [{ - label: '全部', + label: this.$lang('filterAll'), value: '0' }]; for (var index in balanceType) { diff --git a/pages_tool/member/cancelstatus.vue b/pages_tool/member/cancelstatus.vue index fc0e914..4695bcb 100644 --- a/pages_tool/member/cancelstatus.vue +++ b/pages_tool/member/cancelstatus.vue @@ -5,16 +5,16 @@ 1 - 提交申请 - 您已提交申请,请耐心等待~ + {{ $lang('member.cancelStatus.step1Name') }} + {{ $lang('member.cancelStatus.step1Desc') }} 2 - 等待审核 - 等待审核中,审核通过后您的账号将直接被删除 + {{ $lang('member.cancelStatus.step2Name') }} + {{ $lang('member.cancelStatus.step2Desc') }} @@ -23,14 +23,14 @@ 3 - 审核通过,注销完成 - 您已成功注销账号,期待下一次与您相遇 + {{ $lang('member.cancelStatus.step3Name') }} + {{ $lang('member.cancelStatus.step3Desc') }} - - + + @@ -81,8 +81,8 @@ }, revoke() { uni.showModal({ - title: '风险提示', - content: '确定要撤销申请吗?', + title: this.$lang('member.cancelStatus.riskTip'), + content: this.$lang('member.cancelStatus.revokeConfirm'), confirmColor: '#000000', success: res => { if (res.confirm) { diff --git a/pages_tool/order/refund_batch.vue b/pages_tool/order/refund_batch.vue index e745b94..07e2f05 100644 --- a/pages_tool/order/refund_batch.vue +++ b/pages_tool/order/refund_batch.vue @@ -15,32 +15,32 @@ - 退款原因: + {{ $lang('order.refundBatch.form.refundReason') }} - 请选择 + {{ $lang('order.refundBatch.form.pleaseSelect') }} {{ refund_reason }} - 退款方式: - 退款无需退货 - 退货退款 + {{ $lang('order.refundBatch.form.refundType') }} + {{ $lang('order.refundBatch.form.refundOnly') }} + {{ $lang('order.refundBatch.form.returnRefund') }} - 退款金额: + {{ $lang('order.refundBatch.form.refundAmount') }} {{ $lang('common.currencySymbol') }}{{ refund_data.refund_money }} - 退款说明 + {{ $lang('order.refundBatch.form.refundRemark') }}