From 9c4a966ee4f465b3a1c026fe6c6ae96b8ef35b43 Mon Sep 17 00:00:00 2001 From: zhongzm Date: Fri, 6 Dec 2024 09:34:51 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E5=A5=97=E9=A4=90=E7=95=8C=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/locales/langs/en-us.ts | 53 ++++++- src/locales/langs/zh-cn.ts | 51 ++++++- src/typings/auto-imports.d.ts | 1 + src/views/set-meal/index.vue | 258 +++++++++++++++++++++++++++++++++- 4 files changed, 357 insertions(+), 6 deletions(-) diff --git a/src/locales/langs/en-us.ts b/src/locales/langs/en-us.ts index e241312..c4e7160 100644 --- a/src/locales/langs/en-us.ts +++ b/src/locales/langs/en-us.ts @@ -484,8 +484,57 @@ const local: any = { }, addDict: 'Add Dictionary', editDict: 'Edit Dictionary' - } - } + }, + }, + setmeal:{ + changemeallable:'Change package discount|The traffic is unlimited, and you can choose from multiple grades!', + changablelevel:'Selectable gears', + highlyrecommended:'HOT', + mealmin:'min', + mealvip:'VIP*1', + mealdetail:'Course details', + Limitedtimeoffer:'Limited time offer', + GeneralPurposeTraffic:'General Purpose Traffic', + Effectivemethod:'Effective method', + Applynow:'Apply now', + }, + carddata:{ + email:'Email', + Rechargeamount:'Recharge amount', + Customization:'Customize', + price:'price', + setprice:'Please enter the amount', + Remainingbalance:'Remaining balance', + Theamountreceived:'The amount received', + pay:'pay now' + }, + headerbanner:{ + Remainingcredit:'Remain credit', + monthphonebill:'Month bill', + Flowremaining:'Remain flowr', + monthflowr:'Month flowr', + Trafficrate:'Traffic rate', + Currentspeed:'Current speed', + Used:'Used', + maxspeed:'Max', + }, + userInfo:{ + user:'User', + ownInfo:'Personal Information', + changepassword:'Change password', + KYCselect:'KYC certification', + Devicemanage:'Device management', + }, + histories:{ + billdate:'Bill date', + amount:'Amount', + status:'Status', + Historicalbilling:'Historical billing', + device:'Device', + Usetraffic:'Use traffic', + Paid:'Paid', + Unpaid:'Unpaid', + }, }, form: { required: 'Cannot be empty', diff --git a/src/locales/langs/zh-cn.ts b/src/locales/langs/zh-cn.ts index c33bda5..9f120be 100644 --- a/src/locales/langs/zh-cn.ts +++ b/src/locales/langs/zh-cn.ts @@ -485,7 +485,56 @@ const local:any = { addDict: '新增字典', editDict: '编辑字典' } - } + }, + setmeal:{ + changemeallable:'换套餐优惠|流量畅用,多个档次任你选!', + changablelevel:'可选档位', + highlyrecommended:'强烈推荐', + mealmin:'分钟', + mealvip:'会员', + mealdetail:'套餐详情', + Limitedtimeoffer:'限时优惠', + GeneralPurposeTraffic:'通用流量', + Effectivemethod:'生效方式', + Applynow:'立即办理', + }, + carddata:{ + email:'邮箱地址', + Rechargeamount:'充值金额', + Customization:'自定义', + price:'售价', + setprice:'请输入金额', + Remainingbalance:'话费余额', + Theamountreceived:'到账金额', + pay:'立即支付', + }, + headerbanner:{ + Remainingcredit:'剩余话费', + monthphonebill:'本月话费', + Flowremaining:'剩余流量', + monthflowr:'本月流量', + Trafficrate:'流量速率', + Currentspeed:'当前速度', + Used:'已用', + maxspeed:'峰值', + }, + userInfo:{ + user:'用户', + ownInfo:'个人信息', + changepassword:'修改密码', + KYCselect:'KYC认证', + Devicemanage:'设备管理', + }, + histories:{ + billdate:'账单日期', + amount:'金额', + status:'状态', + Historicalbilling:'历史账单', + device:'设备', + Usetraffic:'使用流量', + Paid:'已支付', + Unpaid:'未支付', + }, }, form: { required: '不能为空', diff --git a/src/typings/auto-imports.d.ts b/src/typings/auto-imports.d.ts index 57b1c30..f5875fc 100644 --- a/src/typings/auto-imports.d.ts +++ b/src/typings/auto-imports.d.ts @@ -246,6 +246,7 @@ declare global { const useAuthStore: typeof import('../store/modules/auth/index')['useAuthStore'] const useBase64: typeof import('@vueuse/core')['useBase64'] const useBattery: typeof import('@vueuse/core')['useBattery'] + const useBillingStore: typeof import('../store/modules/billing/billing')['useBillingStore'] const useBluetooth: typeof import('@vueuse/core')['useBluetooth'] const useBreakpoints: typeof import('@vueuse/core')['useBreakpoints'] const useBroadcastChannel: typeof import('@vueuse/core')['useBroadcastChannel'] diff --git a/src/views/set-meal/index.vue b/src/views/set-meal/index.vue index 5b43384..8bfe66a 100644 --- a/src/views/set-meal/index.vue +++ b/src/views/set-meal/index.vue @@ -1,7 +1,259 @@ - + - +