Handy_Cao 1 year ago
parent
commit
161afac621
26 changed files with 302 additions and 181 deletions
  1. 123 2
      public/locales/zh-CN.json
  2. 24 24
      src/packages/gcszt/views/mine/Index.vue
  3. 2 2
      src/packages/mobile/views/bank/capital/index.vue
  4. 1 1
      src/packages/mobile/views/bank/capital/statement/history/index.vue
  5. 2 2
      src/packages/mobile/views/bank/capital/statement/index.vue
  6. 14 14
      src/packages/mobile/views/bank/sign/Index.vue
  7. 26 26
      src/packages/mobile/views/mine/Index.vue
  8. 3 3
      src/packages/mobile/views/mine/address/Index.vue
  9. 9 9
      src/packages/mobile/views/mine/address/components/edit/Index.vue
  10. 4 4
      src/packages/mobile/views/mine/email/Index.vue
  11. 4 4
      src/packages/mobile/views/mine/profile/Index.vue
  12. 3 3
      src/packages/mobile/views/mine/setting/Index.vue
  13. 4 4
      src/packages/mobile/views/mine/wechat/Index.vue
  14. 2 2
      src/packages/mobile/views/order/list/Index.vue
  15. 14 14
      src/packages/mobile/views/order/performance/Index.vue
  16. 9 9
      src/packages/mobile/views/order/performance/components/breach/Index.vue
  17. 22 22
      src/packages/mobile/views/order/performance/components/detail/Index.vue
  18. 9 9
      src/packages/mobile/views/order/performance/components/history/Index.vue
  19. 9 9
      src/packages/mobile/views/order/performance/components/modify/Index.vue
  20. 1 1
      src/packages/mobile/views/rules/fwrx/Index.vue
  21. 1 1
      src/packages/mobile/views/rules/gywm/Index.vue
  22. 1 1
      src/packages/mobile/views/rules/yszc/Index.vue
  23. 1 1
      src/packages/mobile/views/rules/zcxy/Index.vue
  24. 8 8
      src/packages/mobile/views/user/cancel/Index.vue
  25. 5 5
      src/packages/mobile/views/user/password/Index.vue
  26. 1 1
      src/stores/modules/language.ts

+ 123 - 2
public/locales/zh-CN.json

@@ -6,6 +6,8 @@
         "more": "更多",
         "details": "明细",
         "placeholder": "请输入",
+        "loadingfailed": "加载失败",
+        "required": "必填",
         "logout": "退出登录"
     },
     "tabbar": {
@@ -19,11 +21,15 @@
         "sign": "签约账户",
         "profile": "个人信息",
         "setting": "设置",
-        "about": "关于我们"
+        "about": "关于我们",
+        "modifypwd": "修改密码",
+        "usercancel": "注销服务"
     },
     "operation": {
         "submit": "提交",
         "confirm": "确认",
+        "delete": "删除",
+        "save": "保存",
         "cancel": "取消",
         "cancel2": "撤销",
         "transfer": "转让",
@@ -408,7 +414,36 @@
         "attachment": "附件",
         "contract": "联络信息",
         "receive": "收货地址",
-        "receipt": "发票信息"
+        "receipt": "发票信息",
+        "more": "更多",
+        "performancedate": "日期",
+        "performanceqty": "履约数量",
+        "breach": "违约",
+        "modify": "修改",
+        "detail": "详情",
+        "breachapply": "违约申请",
+        "remark": "备注",
+        "pleaseinputremark": "请输入备注",
+        "applybreach": "申请违约",
+        "pleaseuploadtheattachment": "请上传附件",
+        "areyousureyouwanttoSubmitadefaultapplication?": "确认要提交违约申请吗?",
+        "thedefaultapplicationissuccessful": "违约申请成功",
+        "performancedetail": "履约详情",
+        "pleaseenterthedelaydays": "请输入延期天数",
+        "delaydays": "延期天数",
+        "days": "天",
+        "executinfo": "执行信息",
+        "applydelay": "延期申请",
+        "applyexecute": "立即执行",
+        "receiptinfo": "发票信息",
+        "address": "收货地址",
+        "pleaseentertheaddress": "请输入收货地址",
+        "pleaseenterthecontractinfo": "请输入收货地址",
+        "buyuserinfo": "买方信息",
+        "selluserinfo": "卖方信息",
+        "modifyinfo": "修改信息",
+        "buyhisperformanceinfo": "买历史履约信息",
+        "sellhisperformanceinfo": "卖历史履约信息"
     },
     "settlement":{
         "title": "结算单"
@@ -416,7 +451,93 @@
     "rules": {
         "zcxy": "用户注册协议",
         "yszc": "关于隐私",
+        "ryszc": "隐私政策",
         "fwrx": "服务热线",
         "zrxy": "转让协议"
+    },
+    "mine": {
+        "title": "我的",
+        "normal": "正常",
+        "balance": "余额",
+        "netWorth": "净值",
+        "freezeMargin": "预扣",
+        "usedMargin": "占用",
+        "availableFunds": "可用",
+        "riskRate": "风险率",
+        "cashin": "入金",
+        "cashout": "出金",
+        "myposition": "我的持仓",
+        "myorder": "我的订单",
+        "delivery": "交货提货",
+        "performance": "履约信息",
+        "fundsinfo": "资金信息",
+        "authentication": "实名认证",
+        "banksign": "签约账户",
+        "personalinformation": "个人信息",
+        "settings": "设置",
+        "aboutus": "关于我们",
+        "protocol": "入市协议",
+        "positiontransfer": "持仓过户",
+        "profile": {
+            "title": "个人信息",
+            "invoiceinfo": "发票信息",
+            "addressinfo": "收货地址",
+            "wechat": "微信",
+            "email": "邮箱"
+        },
+        "address": {
+            "title": "收货地址管理",
+            "add": "新增地址",
+            "default": "默认",
+            "detail": "详细地址",
+            "phoneNum": "联系电话",
+            "receiverName": "收货人",
+            "region": "收货地区",
+            "modifyaddressinfo": "修改收货地址",
+            "addaddressinfo": "新增收货地址"
+        }
+    },
+    "banksign": {
+        "title": "签约账户管理",
+        "bankname": "开户银行",
+        "bankaccountname": "姓名",
+        "mobilephone": "手机号码",
+        "branchbankname": "支行名称",
+        "remark": "备注",
+        "signstatus": "状态",
+        "signagain": "重新签约",
+        "cancel": "解约",
+        "modify": "修改",
+        "add": "添加签约账户",
+        "youhavenotaddedasignedaccount": "您还未添加签约账户",
+        "fundstype": "资金类型",
+        "pleasechoicefundstype": "请选择资金类型",
+        "time": "时间",
+        "operatetype": "操作类型",
+        "amount": "金额",
+        "bankaccountno": "银行卡号",
+        "capital": {
+            "title": "资金",
+            "hisamountlogs": "历史资金流水"
+        }
+    },
+    "user": {
+        "password": {
+            "title": "修改密码",
+            "newpwd": "新密码",
+            "confirmpwd": "确认密码",
+            "oldpwd": "原密码"
+        },
+        "cancel": {
+            "title": "注销服务",
+            "confirmcancellation": "确认注销",
+            "submitmessage": "账户注销后不能再使用该系统,如果账户有余额需要人工审核才能注销,确定要注销账户吗?",
+            "tips_1": "为保证您的账号安全,在提交注销申请时,需同时满足以下条件:",
+            "tips_2": "1. 账号财产已结清",
+            "tips_3": "没有资产、欠款、未结清的资金和现货。",
+            "tips_4": "2. 账号处于安全状态",
+            "tips_5": "账号处于正常使用状态,无被盗风险。",
+            "tips_6": "3. 账号无任何纠纷"
+        }
     }
 }

+ 24 - 24
src/packages/gcszt/views/mine/Index.vue

@@ -1,7 +1,7 @@
 <template>
     <app-view class="mine">
         <template #header>
-            <app-navbar title="我的" :show-back-button="false" @ready="onReady" />
+            <app-navbar :title="$t('mine.title')" :show-back-button="false" @ready="onReady" />
         </template>
         <div ref="headerRef" class="mine-header">
             <div class="mine-header__wrapper">
@@ -21,38 +21,38 @@
                         </div>
                     </div>
                     <div class="profile-account">
-                        <span>正常</span>
+                        <span>{{ $t('mine.normal') }}</span>
                         <span>{{ currentAccount.accountid ?? 0 }}</span>
                     </div>
                 </div>
                 <div class="bank">
                     <ul>
                         <li>
-                            <span>余额</span>
+                            <span>{{ $t('mine.balance') }}</span>
                             <span>{{ currentAccount.currentbalance?.toFixed(2) }}</span>
                         </li>
                         <li>
-                            <span>净值</span>
+                            <span>{{ $t('mine.netWorth') }}</span>
                             <span>{{ currentAccount.hazardValue?.toFixed(2) }}</span>
                         </li>
                     </ul>
                     <ul>
                         <li>
-                            <span>预扣</span>
+                            <span>{{ $t('mine.freezeMargin') }}</span>
                             <span>{{ currentAccount.freezeMargin?.toFixed(2) }}</span>
                         </li>
                         <li>
-                            <span>占用</span>
+                            <span>{{ $t('mine.usedMargin') }}</span>
                             <span>{{ currentAccount.usedmargin?.toFixed(2) }}</span>
                         </li>
                     </ul>
                     <ul>
                         <li>
-                            <span>可用</span>
+                            <span>{{ $t('mine.availableFunds') }}</span>
                             <span>{{ currentAccount.avaiableMoney?.toFixed(2) }}</span>
                         </li>
                         <li>
-                            <span>风险率</span>
+                            <span>{{ $t('mine.riskRate') }}</span>
                             <span :class="currentAccount.hazardRatioColor">
                                 {{ parsePercent(currentAccount.hazardRatio) }}
                             </span>
@@ -60,18 +60,18 @@
                     </ul>
                 </div>
                 <div class="button">
-                    <Button type="danger" size="small" round @click="doInOutMoney('0')">入金</Button>
-                    <Button size="small" round @click="doInOutMoney('1')">出金</Button>
+                    <Button type="danger" size="small" round @click="doInOutMoney('0')">{{ $t('mine.cashin') }}</Button>
+                    <Button size="small" round @click="doInOutMoney('1')">{{ $t('mine.cashout') }}</Button>
                 </div>
             </div>
         </div>
         <app-block class="mine-iconbar">
             <ul>
                 <li @click="routerTo('order-position')">
-                    <Iconfont label-direction="bottom" icon="g-icon-position--line">我的持仓</Iconfont>
+                    <Iconfont label-direction="bottom" icon="g-icon-position--line">{{ $t('mine.myposition') }}</Iconfont>
                 </li>
                 <li @click="routerTo('order-list')">
-                    <Iconfont label-direction="bottom" icon="g-icon-order--line">我的订单</Iconfont>
+                    <Iconfont label-direction="bottom" icon="g-icon-order--line">{{ $t('mine.myorder') }}</Iconfont>
                 </li>
             </ul>
         </app-block>
@@ -79,64 +79,64 @@
             <CellGroup>
                 <Cell is-link :to="{ name: 'bank-capital' }">
                     <template #title>
-                        <Iconfont icon="g-icon-capital">资金信息</Iconfont>
+                        <Iconfont icon="g-icon-capital">{{ $t('mine.fundsinfo') }}</Iconfont>
                     </template>
                 </Cell>
                 <Cell is-link :to="{ name: 'account-authresult' }" v-if="authStatus === AuthStatus.Submitted">
                     <template #title>
-                        <Iconfont icon="g-icon-certification">实名认证</Iconfont>
+                        <Iconfont icon="g-icon-certification">{{ $t('mine.authentication') }}</Iconfont>
                     </template>
                 </Cell>
                 <Cell is-link :to="{ name: 'account-certification' }" v-else-if="authStatus !== AuthStatus.Certified">
                     <template #title>
-                        <Iconfont icon="g-icon-certification">实名认证</Iconfont>
+                        <Iconfont icon="g-icon-certification">{{ $t('mine.authentication') }}</Iconfont>
                     </template>
                 </Cell>
                 <Cell is-link :to="{ name: 'bank-sign' }" v-if="authStatus === AuthStatus.Certified && hasSignContract">
                     <template #title>
-                        <Iconfont icon="g-icon-sign">银行签约</Iconfont>
+                        <Iconfont icon="g-icon-sign">{{ $t('mine.banksign') }}</Iconfont>
                     </template>
                 </Cell>
                 <Cell is-link :to="{ name: 'account-protocol', query: { memberUserId: getMemberUserId() } }"
                     v-if="userStore.userType != 2 && authStatus === AuthStatus.Certified">
                     <template #title>
-                        <Iconfont icon="g-icon-order--line">入市协议</Iconfont>
+                        <Iconfont icon="g-icon-order--line">{{ $t('mine.protocol') }}</Iconfont>
                     </template>
                 </Cell>
                 <Cell is-link :to="{ name: 'mine-profile' }">
                     <template #title>
-                        <Iconfont icon="g-icon-profile">个人信息</Iconfont>
+                        <Iconfont icon="g-icon-profile">{{ $t('mine.personalinformation') }}</Iconfont>
                     </template>
                 </Cell>
                 <Cell is-link :to="{ name: 'rules-zcxy' }">
                     <template #title>
-                        <Iconfont icon="g-icon-zcxy">用户注册协议</Iconfont>
+                        <Iconfont icon="g-icon-zcxy">{{ $t('rules.zcxy') }}</Iconfont>
                     </template>
                 </Cell>
                 <Cell is-link :to="{ name: 'rules-yszc' }">
                     <template #title>
-                        <Iconfont icon="g-icon-yszc">关于隐私</Iconfont>
+                        <Iconfont icon="g-icon-yszc">{{ $t('rules.yszc') }}</Iconfont>
                     </template>
                 </Cell>
                 <Cell is-link :to="{ name: 'rules-fwrx' }">
                     <template #title>
-                        <Iconfont icon="g-icon-fwrx">服务热线</Iconfont>
+                        <Iconfont icon="g-icon-fwrx">{{ $t('rules.fwrx') }}</Iconfont>
                     </template>
                 </Cell>
                 <Cell is-link :to="{ name: 'mine-setting' }">
                     <template #title>
-                        <Iconfont icon="g-icon-setting">设置</Iconfont>
+                        <Iconfont icon="g-icon-setting">{{ $t('mine.settings') }}</Iconfont>
                     </template>
                 </Cell>
                 <Cell is-link :to="{ name: 'rules-gywm' }">
                     <template #title>
-                        <Iconfont icon="g-icon-gywm">关于我们</Iconfont>
+                        <Iconfont icon="g-icon-gywm">{{ $t('mine.aboutus') }}</Iconfont>
                     </template>
                 </Cell>
             </CellGroup>
         </app-block>
         <div class="mine-footer">
-            <Button class="button-logout" type="danger" size="small" round @click="userLogout">退出登录</Button>
+            <Button class="button-logout" type="danger" size="small" round @click="userLogout">{{ $t('common.logout') }}</Button>
         </div>
     </app-view>
 </template>

+ 2 - 2
src/packages/mobile/views/bank/capital/index.vue

@@ -1,10 +1,10 @@
 <template>
     <app-view>
         <template #header>
-            <app-navbar title="资金">
+            <app-navbar :title="$t('banksign.capital.title')">
                 <template #right v-if="selectedComponent.history">
                     <div class="button-more" @click="openComponent(selectedComponent.name)">
-                        <span>更多</span>
+                        <span>{{ $t('common.more') }}</span>
                     </div>
                 </template>
             </app-navbar>

+ 1 - 1
src/packages/mobile/views/bank/capital/statement/history/index.vue

@@ -2,7 +2,7 @@
     <app-modal direction="right-top" height="100%" width="100%" v-model:show="showModal">
         <app-view class="bank-hisstatement">
             <template #header>
-                <app-navbar title="历史资金流水" @back="closed">
+                <app-navbar :title="$t('banksign.capital.hisamountlogs')" @back="closed">
                     <template #footer>
                         <app-calendar :default-date="[currentDate]" @confirm="onConfirm">
                             <app-select v-model="operatetype" :options="operateTypeSearchList"

+ 2 - 2
src/packages/mobile/views/bank/capital/statement/index.vue

@@ -2,9 +2,9 @@
     <app-pull-refresh ref="pullRefreshRef" class="bank-statement" v-model:loading="loading" v-model:error="error" v-model:pageIndex="pageIndex"
         :page-count="pageCount" @refresh="run">
         <CellGroup>
-            <Field name="operateType" label="资金类型" is-link>
+            <Field name="operateType" :label="$t('banksign.fundstype')" is-link>
                 <template #input>
-                    <app-select v-model="operatetype" placeholder="请选择资金类型" :options="operateTypeSearchList" :optionProps="{ label: 'label', value: 'value' }" @confirm="onConfirm"/>
+                    <app-select v-model="operatetype" :placeholder="$t('banksign.pleasechoicefundstype')" :options="operateTypeSearchList" :optionProps="{ label: 'label', value: 'value' }" @confirm="onConfirm"/>
                 </template>
             </Field>
         </CellGroup>

+ 14 - 14
src/packages/mobile/views/bank/sign/Index.vue

@@ -1,35 +1,35 @@
 <template>
     <app-view class="bank-sign g-form">
         <template #header>
-            <app-navbar title="签约账户管理" />
+            <app-navbar :title="$t('banksign.title')" />
         </template>
         <div class="bank-sign__container" v-if="bankInfo">
             <CellGroup>
-                <Cell title="开户银行" :value="bankInfo.bankname" />
-                <Cell title="银行卡号" :value="bankInfo.bankaccountno" />
+                <Cell :title="$t('banksign.bankname')" :value="bankInfo.bankname" />
+                <Cell :title="$t('banksign.bankaccountno')" :value="bankInfo.bankaccountno" />
                 <template v-if="bankInfo.signstatus === SignStatus.Signed">
-                    <Cell title="姓名" :value="bankInfo.bankaccountname" />
-                    <Cell title="手机号码" :value="bankInfo.mobilephone" v-if="bankInfo.mobilephone" />
+                    <Cell :title="$t('banksign.bankaccountname')" :value="bankInfo.bankaccountname" />
+                    <Cell :title="$t('banksign.mobilephone')" :value="bankInfo.mobilephone" v-if="bankInfo.mobilephone" />
                 </template>
-                <Cell title="支行名称" v-if="bankInfo.branchbankname != ''" :value="bankInfo.branchbankname" />
-                <Cell title="备注" v-if="bankInfo.dealstatus === 5 && bankInfo.remark != ''" :value="bankInfo.remark" />
-                <Cell title="状态" :value="getSignStatusName(bankInfo.signstatus)" />
+                <Cell :title="$t('banksign.branchbankname')" v-if="bankInfo.branchbankname != ''" :value="bankInfo.branchbankname" />
+                <Cell :title="$t('banksign.remark')" v-if="bankInfo.dealstatus === 5 && bankInfo.remark != ''" :value="bankInfo.remark" />
+                <Cell :title="$t('banksign.signstatus')" :value="getSignStatusName(bankInfo.signstatus)" />
             </CellGroup>
         </div>
         <div class="bank-sign__empty" v-else-if="isloaded">
-            <Empty description="您还未添加签约账户" />
-            <Button type="danger" @click="showComponent(false)" round>添加签约账户</Button>
+            <Empty :description="$t('banksign.youhavenotaddedasignedaccount')" />
+            <Button type="danger" @click="showComponent(false)" round>{{ $t('banksign.add') }}</Button>
         </div>
         <template #footer>
             <div class="g-form__footer inset" v-if="bankInfo">
                 <Button type="danger" round block @click="showComponent(true)"
-                    v-if="[SignStatus.Refuse, SignStatus.Rescinded].includes(bankInfo.signstatus)">重新签约</Button>
+                    v-if="[SignStatus.Refuse, SignStatus.Rescinded].includes(bankInfo.signstatus)">{{ $t('banksign.signagain') }}</Button>
                 <Button type="warning" round block @click="formSubmit"
-                    v-if="bankInfo.signstatus === SignStatus.Signed && cusBank?.canrelease === 1">解约</Button>
+                    v-if="bankInfo.signstatus === SignStatus.Signed && cusBank?.canrelease === 1">{{ $t('banksign.cancel') }}</Button>
                 <Button type="danger" round block @click="beforeShowComponent"
-                    v-if="bankInfo.signstatus === SignStatus.Signed && cusBank?.canmodifysigninfo === 1">修改</Button>
+                    v-if="bankInfo.signstatus === SignStatus.Signed && cusBank?.canmodifysigninfo === 1">{{ $t('banksign.modify') }}</Button>
                 <Button type="danger" round block @click="showComponent(false)"
-                    v-if="bankInfo.signstatus === SignStatus.Unsigned && cusBank?.cansign === 1">添加签约账户</Button>
+                    v-if="bankInfo.signstatus === SignStatus.Unsigned && cusBank?.cansign === 1">{{ $t('banksign.add') }}</Button>
             </div>
         </template>
         <component ref="componentRef" v-bind="{ isedit }" :is="componentMap.get(componentId)" @closed="closeComponent"

+ 26 - 26
src/packages/mobile/views/mine/Index.vue

@@ -1,7 +1,7 @@
 <template>
     <app-view class="mine">
         <template #header>
-            <app-navbar title="我的" :show-back-button="false" @ready="onReady" />
+            <app-navbar :title="$t('mine.title')" :show-back-button="false" @ready="onReady" />
         </template>
         <div ref="headerRef" class="mine-header">
             <div class="mine-header__wrapper">
@@ -21,38 +21,38 @@
                         </div>
                     </div>
                     <div class="profile-account">
-                        <span>正常</span>
+                        <span>{{ $t('mine.normal') }}</span>
                         <span>{{ currentAccount.accountid ?? 0 }}</span>
                     </div>
                 </div>
                 <div class="bank">
                     <ul>
                         <li>
-                            <span>余额</span>
+                            <span>{{ $t('mine.balance') }}</span>
                             <span>{{ currentAccount.currentbalance?.toFixed(2) }}</span>
                         </li>
                         <li>
-                            <span>净值</span>
+                            <span>{{ $t('mine.netWorth') }}</span>
                             <span>{{ currentAccount.hazardValue?.toFixed(2) }}</span>
                         </li>
                     </ul>
                     <ul>
                         <li>
-                            <span>预扣</span>
+                            <span>{{ $t('mine.freezeMargin') }}</span>
                             <span>{{ currentAccount.freezeMargin?.toFixed(2) }}</span>
                         </li>
                         <li>
-                            <span>占用</span>
+                            <span>{{ $t('mine.usedMargin') }}</span>
                             <span>{{ currentAccount.usedmargin?.toFixed(2) }}</span>
                         </li>
                     </ul>
                     <ul>
                         <li>
-                            <span>可用</span>
+                            <span>{{ $t('mine.availableFunds') }}</span>
                             <span>{{ currentAccount.avaiableMoney?.toFixed(2) }}</span>
                         </li>
                         <li>
-                            <span>风险率</span>
+                            <span>{{ $t('mine.riskRate') }}</span>
                             <span :class="currentAccount.hazardRatioColor">
                                 {{ parsePercent(currentAccount.hazardRatio) }}
                             </span>
@@ -60,29 +60,29 @@
                     </ul>
                 </div>
                 <div class="button">
-                    <Button type="danger" size="small" round @click="doInOutMoney('0')">入金</Button>
-                    <Button size="small" round @click="doInOutMoney('1')">出金</Button>
+                    <Button type="danger" size="small" round @click="doInOutMoney('0')">{{ $t('mine.cashin') }}</Button>
+                    <Button size="small" round @click="doInOutMoney('1')">{{ $t('mine.cashout') }}</Button>
                 </div>
             </div>
         </div>
         <app-block class="mine-iconbar">
             <ul>
                 <li @click="routerTo('order-position')">
-                    <Iconfont label-direction="bottom" icon="g-icon-position--line">我的持仓</Iconfont>
+                    <Iconfont label-direction="bottom" icon="g-icon-position--line">{{ $t('mine.myposition') }}</Iconfont>
                 </li>
                 <li @click="routerTo('order-list')">
-                    <Iconfont label-direction="bottom" icon="g-icon-order--line">我的订单</Iconfont>
+                    <Iconfont label-direction="bottom" icon="g-icon-order--line">{{ $t('mine.myorder') }}</Iconfont>
                 </li>
                 <li @click="routerTo('order-delivery')">
-                    <Iconfont label-direction="bottom" icon="g-icon-delivery--line">交货提货</Iconfont>
+                    <Iconfont label-direction="bottom" icon="g-icon-delivery--line">{{ $t('mine.delivery') }}</Iconfont>
                 </li>
                 <li @click="routerTo('order-performance')">
-                    <Iconfont label-direction="bottom" icon="g-icon-performance--line">履约信息</Iconfont>
+                    <Iconfont label-direction="bottom" icon="g-icon-performance--line">{{ $t('mine.performance') }}</Iconfont>
                 </li>
             </ul>
             <ul>
                 <li @click="routerTo('order-inout')">
-                    <Iconfont label-direction="bottom" icon="g-icon-inout--line">持仓过户</Iconfont>
+                    <Iconfont label-direction="bottom" icon="g-icon-inout--line">{{ $t('mine.positiontransfer') }}</Iconfont>
                 </li>
             </ul>
         </app-block>
@@ -90,58 +90,58 @@
             <CellGroup>
                 <Cell is-link :to="{ name: 'bank-capital' }">
                     <template #title>
-                        <Iconfont icon="g-icon-capital">资金信息</Iconfont>
+                        <Iconfont icon="g-icon-capital">{{ $t('mine.fundsinfo') }}</Iconfont>
                     </template>
                 </Cell>
                 <Cell is-link :to="{ name: 'account-authresult' }" v-if="authStatus === AuthStatus.Submitted">
                     <template #title>
-                        <Iconfont icon="g-icon-certification">实名认证</Iconfont>
+                        <Iconfont icon="g-icon-certification">{{ $t('mine.authentication') }}</Iconfont>
                     </template>
                 </Cell>
                 <Cell is-link :to="{ name: 'account-certification' }" v-else-if="authStatus !== AuthStatus.Certified">
                     <template #title>
-                        <Iconfont icon="g-icon-certification">实名认证</Iconfont>
+                        <Iconfont icon="g-icon-certification">{{ $t('mine.authentication') }}</Iconfont>
                     </template>
                 </Cell>
                 <Cell is-link :to="{ name: 'bank-sign' }" v-if="authStatus === AuthStatus.Certified">
                     <template #title>
-                        <Iconfont icon="g-icon-sign">签约账户</Iconfont>
+                        <Iconfont icon="g-icon-sign">{{ $t('mine.banksign') }}</Iconfont>
                     </template>
                 </Cell>
                 <Cell is-link :to="{ name: 'mine-profile' }">
                     <template #title>
-                        <Iconfont icon="g-icon-profile">个人信息</Iconfont>
+                        <Iconfont icon="g-icon-profile">{{ $t('mine.personalinformation') }}</Iconfont>
                     </template>
                 </Cell>
                 <Cell is-link :to="{ name: 'rules-zcxy' }">
                     <template #title>
-                        <Iconfont icon="g-icon-zcxy">用户注册协议</Iconfont>
+                        <Iconfont icon="g-icon-zcxy">{{ $t('rules.zcxy') }}</Iconfont>
                     </template>
                 </Cell>
                 <Cell is-link :to="{ name: 'rules-yszc' }">
                     <template #title>
-                        <Iconfont icon="g-icon-yszc">关于隐私</Iconfont>
+                        <Iconfont icon="g-icon-yszc">{{ $t('rules.yszc') }}</Iconfont>
                     </template>
                 </Cell>
                 <Cell is-link :to="{ name: 'rules-fwrx' }">
                     <template #title>
-                        <Iconfont icon="g-icon-fwrx">服务热线</Iconfont>
+                        <Iconfont icon="g-icon-fwrx">{{ $t('rules.fwrx') }}</Iconfont>
                     </template>
                 </Cell>
                 <Cell is-link :to="{ name: 'mine-setting' }">
                     <template #title>
-                        <Iconfont icon="g-icon-setting">设置</Iconfont>
+                        <Iconfont icon="g-icon-setting">{{ $t('mine.settings') }}</Iconfont>
                     </template>
                 </Cell>
                 <Cell is-link :to="{ name: 'rules-gywm' }">
                     <template #title>
-                        <Iconfont icon="g-icon-gywm">关于我们</Iconfont>
+                        <Iconfont icon="g-icon-gywm">{{ $t('mine.aboutus') }}</Iconfont>
                     </template>
                 </Cell>
             </CellGroup>
         </app-block>
         <div class="mine-footer">
-            <Button class="button-logout" type="danger" size="small" round @click="userLogout">退出登录</Button>
+            <Button class="button-logout" type="danger" size="small" round @click="userLogout">{{ $t('common.logout') }}</Button>
         </div>
     </app-view>
 </template>

+ 3 - 3
src/packages/mobile/views/mine/address/Index.vue

@@ -1,7 +1,7 @@
 <template>
     <app-view class="mine-address">
         <template #header>
-            <app-navbar title="收货地址管理" />
+            <app-navbar :title="$t('mine.address.title')" />
         </template>
         <RadioGroup class="mine-address__container" v-model="checkedRow" v-if="dataList.length">
             <ul class="list">
@@ -13,7 +13,7 @@
                         <div class="list-item__info-name">
                             <span>{{ item.receivername }}</span>
                             <span>{{ item.phonenum }}</span>
-                            <Tag type="danger" round v-if="item.isdefault">默认</Tag>
+                            <Tag type="danger" round v-if="item.isdefault">{{ $t('mine.address.default') }}</Tag>
                         </div>
                         <div class="list-item__info-address">
                             <span>{{ [item.provincename, item.cityname, item.districtname, item.address].join(' ')
@@ -29,7 +29,7 @@
         <Empty v-else />
         <template #footer>
             <div class="g-form__footer inset">
-                <Button type="danger" @click="onEdit" round block>新增地址</Button>
+                <Button type="danger" @click="onEdit" round block>{{ $t('mine.address.add') }}</Button>
             </div>
             <component ref="componentRef" v-bind="{ selectedRow }" :is="componentMap.get(componentId)"
                 @closed="closeComponent" v-if="componentId" />

+ 9 - 9
src/packages/mobile/views/mine/address/components/edit/Index.vue

@@ -3,31 +3,31 @@
         <template #default="{ animation }">
             <app-view class="g-form">
                 <template #header>
-                    <app-navbar :title="selectedRow.autoid ? '修改收货地址' : '新增收货地址'" @back="closed">
+                    <app-navbar :title="selectedRow.autoid ? $t('mine.address.modifyaddressinfo') : $t('mine.address.addaddressinfo')" @back="closed">
                         <template #right v-if="selectedRow.autoid">
-                            <span @click="formDelete">删除</span>
+                            <span @click="formDelete">{{ $t('common.delete') }}</span>
                         </template>
                     </app-navbar>
                 </template>
                 <Form ref="formRef" class="g-form__container" @submit="formSubmit">
                     <CellGroup inset>
                         <Field v-model="formData.ReceiverName" :rules="formRules.ReceiverName" name="ReceiverName"
-                            label="收货人" placeholder="必填" />
+                            :label="$t('common.receiverName')" :placeholder="$t('common.required')" />
                         <Field v-model="formData.PhoneNum" :rules="formRules.PhoneNum" type="tel" name="PhoneNum"
-                            label="联系电话" placeholder="必填" />
-                        <Field :rules="formRules.Region" name="Region" label="收货地区" is-link v-if="!animation">
+                            :label="$t('common.phoneNum')" :placeholder="$t('common.required')" />
+                        <Field :rules="formRules.Region" name="Region" :label="$t('mine.address.region')" is-link v-if="!animation">
                             <template #input>
                                 <component :is="AppRegion" v-model="formData.DistrictID" :label="regionName"
                                     @finish="onRegionFinish" />
                             </template>
                         </Field>
-                        <Field v-model="formData.Address" :rules="formRules.Address" name="Address" label="详细地址"
-                            placeholder="必填" />
+                        <Field v-model="formData.Address" :rules="formRules.Address" name="Address" :label="$t('mine.address.detail')"
+                        :placeholder="$t('common.required')" />
                     </CellGroup>
                 </Form>
                 <template #footer>
                     <div class="g-form__footer inset">
-                        <Button type="danger" @click="formRef?.submit" round block>保存</Button>
+                        <Button type="danger" @click="formRef?.submit" round block>{{ $t('common.save') }}</Button>
                     </div>
                 </template>
             </app-view>
@@ -123,7 +123,7 @@ const formDelete = () => {
     })
 }
 
-// 关闭弹窗
+// 关闭弹窗=
 const closed = (isRefresh = false) => {
     refresh.value = isRefresh
     showModal.value = false

+ 4 - 4
src/packages/mobile/views/mine/email/Index.vue

@@ -2,17 +2,17 @@
 <template>
     <app-view class="g-form">
         <template #header>
-            <app-navbar title="邮箱" />
+            <app-navbar :title="$t('mine.profile.email')" />
         </template>
         <Form ref="formRef" class="g-form__container" @submit="onSubmit">
             <CellGroup inset>
-                <Field :required="true" v-model="formData.email" :rules="formRules.email" name="email" label="邮箱"
-                    placeholder="必填" />
+                <Field :required="true" v-model="formData.email" :rules="formRules.email" name="email" :label="$t('mine.profile.email')"
+                    :placeholder="$t('common.required')" />
             </CellGroup>
         </Form>
         <template #footer>
             <div class="g-form__footer inset">
-                <Button round block type="danger" @click="formRef?.submit">确定</Button>
+                <Button round block type="danger" @click="formRef?.submit">{{ $t('operation.confirm') }}</Button>
             </div>
         </template>
     </app-view>

+ 4 - 4
src/packages/mobile/views/mine/profile/Index.vue

@@ -4,10 +4,10 @@
             <app-navbar :title="title" />
         </template>
         <CellGroup>
-            <Cell title="发票信息" :to="{ name: 'mine-invoice' }" is-link />
-            <Cell title="收货地址" :to="{ name: 'mine-address' }" is-link />
-            <Cell title="微信" :to="{ name: 'mine-wechat' }" :value="decryptAES(userStore.userInfo.wechat ?? '')" is-link />
-            <Cell title="邮箱" :to="{ name: 'mine-email' }" :value="decryptAES(userStore.userInfo.email ?? '')" is-link />
+            <Cell :title="$t('mine.profile.invoiceinfo')" :to="{ name: 'mine-invoice' }" is-link />
+            <Cell :title="$t('mine.profile.addressinfo')" :to="{ name: 'mine-address' }" is-link />
+            <Cell :title="$t('mine.profile.wechat')" :to="{ name: 'mine-wechat' }" :value="decryptAES(userStore.userInfo.wechat ?? '')" is-link />
+            <Cell :title="$t('mine.profile.email')" :to="{ name: 'mine-email' }" :value="decryptAES(userStore.userInfo.email ?? '')" is-link />
         </CellGroup>
     </app-view>
 </template>

+ 3 - 3
src/packages/mobile/views/mine/setting/Index.vue

@@ -1,18 +1,18 @@
 <template>
     <app-view class="navmenu-setting" :loading="false">
         <template #header>
-            <app-navbar title="设置" />
+            <app-navbar :title="$t('routes.setting')" />
         </template>
         <div class="g-navmenu" style="margin-top:10px">
             <CellGroup>
                 <Cell is-link :to="{ name: 'user-password' }">
                     <template #title>
-                        <app-iconfont icon="g-icon-password">修改密码</app-iconfont>
+                        <app-iconfont icon="g-icon-password">{{ $t('routes.modifypwd') }}</app-iconfont>
                     </template>
                 </Cell>
                 <Cell is-link :to="{ name: 'user-cancel' }" v-if="showCancel">
                     <template #title>
-                        <app-iconfont icon="g-icon-cancel">注销服务</app-iconfont>
+                        <app-iconfont icon="g-icon-cancel">{{ $t('routes.usercancel') }}</app-iconfont>
                     </template>
                 </Cell>
             </CellGroup>

+ 4 - 4
src/packages/mobile/views/mine/wechat/Index.vue

@@ -2,17 +2,17 @@
 <template>
     <app-view class="g-form">
         <template #header>
-            <app-navbar title="微信" />
+            <app-navbar :title="$t('mine.profile.wechat')" />
         </template>
         <Form ref="formRef" class="g-form__container" @submit="onSubmit">
             <CellGroup inset>
-                <Field :required="true" v-model="formData.wechat" :rules="formRules.wechat" name="email" label="微信"
-                    placeholder="必填" />
+                <Field :required="true" v-model="formData.wechat" :rules="formRules.wechat" name="email" :label="$t('mine.profile.wechat')"
+                    :placeholder="$t('common.required')" />
             </CellGroup>
         </Form>
         <template #footer>
             <div class="g-form__footer inset">
-                <Button round block type="danger" @click="formRef?.submit">确定</Button>
+                <Button round block type="danger" @click="formRef?.submit">{{ $t('operation.submit') }}</Button>
             </div>
         </template>
     </app-view>

+ 2 - 2
src/packages/mobile/views/order/list/Index.vue

@@ -1,10 +1,10 @@
 <template>
     <app-view>
         <template #header>
-            <app-navbar title="我的订单">
+            <app-navbar :title="$t('order.title')">
                 <template #right v-if="selectedComponent.history">
                     <div class="button-more" @click="openComponent(selectedComponent.name)">
-                        <span>更多</span>
+                        <span>{{ $t('common.more') }}</span>
                     </div>
                 </template>
             </app-navbar>

+ 14 - 14
src/packages/mobile/views/order/performance/Index.vue

@@ -1,16 +1,16 @@
 <template>
     <app-view>
         <template #header>
-            <app-navbar title="履约信息">
+            <app-navbar :title="$t('performance.title')">
                 <template #right>
                     <div class="button-more" @click="openComponent('history')">
-                        <span>更多</span>
+                        <span>{{ $t('performance.more') }}</span>
                     </div>
                 </template>
                 <template #footer>
                     <Tabs v-model:active="buyorsell" @click="onTabChange">
-                        <Tab title="买履约" />
-                        <Tab title="卖履约" />
+                        <Tab :title="$t('performance.buy')" />
+                        <Tab :title="$t('performance.sell')" />
                     </Tabs>
                 </template>
             </app-navbar>
@@ -30,40 +30,40 @@
                     <div class="g-order-list__content">
                         <ul>
                             <li>
-                                <span>日期</span>
+                                <span>{{ $t('performance.performancedate') }}</span>
                                 <span>{{ formatDate(item.createtime, 'YYYY-MM-DD') }}</span>
                             </li>
                             <li>
-                                <span>类型</span>
+                                <span>{{ $t('performance.performancetype') }}</span>
                                 <span>{{ getPerformanceTypeName(item.performancetype) }}</span>
                             </li>
                             <li>
-                                <span>履约数量</span>
+                                <span>{{ $t('performance.performanceqty') }}</span>
                                 <span>{{ item.qty }}</span>
                             </li>
                             <li>
-                                <span>履约金额</span>
+                                <span>{{ $t('performance.amount') }}</span>
                                 <span>{{ item.amount }}</span>
                             </li>
                             <li>
-                                <span>买方已付</span>
+                                <span>{{ $t('performance.buypaidamount') }}</span>
                                 <span>{{ item.buypaidamount }}</span>
                             </li>
                             <li>
-                                <span>当前步骤</span>
+                                <span>{{ $t('performance.curstepname') }}</span>
                                 <span>{{ handleNoneValue(item.curstepname) }}</span>
                             </li>
                             <li>
-                                <span>卖方已收</span>
+                                <span>{{ $t('performance.sellreceivedamount') }}</span>
                                 <span>{{ item.sellreceivedamount }}</span>
                             </li>
                         </ul>
                     </div>
                     <div class="g-order-list__btnbar">
                         <Button size="small" v-if="![6, 7].includes(item.performancestatus)"
-                            @click="showComponent('breach', item)" round>违约</Button>
-                        <Button size="small" @click="showComponent('modify', item)" round>修改</Button>
-                        <Button size="small" @click="showComponent('detail', item)" round>详情</Button>
+                            @click="showComponent('breach', item)" round>{{ $t('performance.breach') }}</Button>
+                        <Button size="small" @click="showComponent('modify', item)" round>{{ $t('performance.modify') }}</Button>
+                        <Button size="small" @click="showComponent('detail', item)" round>{{ $t('performance.detail') }}</Button>
                     </div>
                 </div>
             </div>

+ 9 - 9
src/packages/mobile/views/order/performance/components/breach/Index.vue

@@ -3,15 +3,15 @@
     <app-modal direction="right-top" height="100%" width="100%" v-model:show="showModal" :refresh="refresh">
         <app-view class="g-form">
             <template #header>
-                <app-navbar title="违约申请 " @back="closed" />
+                <app-navbar :title="$t('performance.breachapply')" @back="closed" />
             </template>
             <Form ref="formRef" class="g-form__container" @submit="formSubmit">
-                <CellGroup title="履约信息">
-                    <Cell title="履约单号" :value="selectedRow.performanceplanid" />
-                    <Cell title="当前步骤" :value="selectedRow.curstepname" />
-                    <Field name="ApplyRemark" label="备注" v-model="formData.ApplyRemark" maxlength="50" type="textarea"
-                        rows="2" autosize show-word-limit placeholder="请输入备注" :rules="formRules.ApplyRemark" />
-                    <Field name="Attachment" label="附件" :rules="formRules.Attachment" is-link
+                <CellGroup :title="$t('performance.title')">
+                    <Cell :title="$t('performance.performanceplanid')" :value="selectedRow.performanceplanid" />
+                    <Cell :title="$t('performance.curstepname')" :value="selectedRow.curstepname" />
+                    <Field name="ApplyRemark" :label="$t('performance.remark')" v-model="formData.ApplyRemark" maxlength="50" type="textarea"
+                        rows="2" autosize show-word-limit :placeholder="$t('performance.pleaseinputremark')" :rules="formRules.ApplyRemark" />
+                    <Field name="Attachment" :label="$t('performance.attachment')" :rules="formRules.Attachment" is-link
                         @click-input="onUploadSuccess">
                         <template #input>
                             <app-uploader @success="onUploadSuccess" />
@@ -21,7 +21,7 @@
             </Form>
             <template #footer>
                 <div class="g-form__footer inset">
-                    <Button type="danger" block round @click="contracted">申请违约</Button>
+                    <Button type="danger" block round @click="contracted">{{ $t('performance.applybreach') }}</Button>
                 </div>
             </template>
         </app-view>
@@ -59,7 +59,7 @@ const onUploadSuccess = (filePath: string) => {
 // 表单验证规则
 const formRules: { [key: string]: FieldRule[] } = {
     ApplyRemark: [{
-        message: '请选择银行信息',
+        message: '请输入备注',
         validator: () => {
             return !!formData.value.ApplyRemark
         }

+ 22 - 22
src/packages/mobile/views/order/performance/components/detail/Index.vue

@@ -3,25 +3,25 @@
     <app-modal direction="right-top" height="100%" width="100%" v-model:show="showModal" :refresh="refresh">
         <app-view class="g-form">
             <template #header>
-                <app-navbar title="履约详情" @back="closed" />
+                <app-navbar :title="$t('performance.performancedetail')" @back="closed" />
             </template>
             <div class="order-detail__container g-form__container">
-                <CellGroup title="履约信息">
-                    <Cell title="类型" :value="getPerformanceTypeName(selectedRow.performancetype)" />
-                    <Cell title="商品" :value="selectedRow.wrstandardname" />
-                    <Cell title="仓库" :value="selectedRow.warehousename" />
-                    <Cell title="数量" :value="selectedRow.qty" />
-                    <Cell title="履约金额" :value="formatDecimal(selectedRow.amount)" />
-                    <Cell title="买方" :value="selectedRow.buyusername" />
-                    <Cell title="卖方" :value="selectedRow.sellusername" />
-                    <Cell title="买方已付" :value="formatDecimal(selectedRow.buypaidamount)" />
-                    <Cell title="卖方已收" :value="formatDecimal(selectedRow.sellreceivedamount)" />
-                    <Cell title="当前步骤" :value="handleNoneValue(selectedRow.curstepname)" />
-                    <Cell title="开始时间" :value="formatDate(selectedRow.starttime)" />
-                    <Cell title="关联单号" :value="selectedRow.relatedorderid" />
-                    <Cell title="履约单号" :value="selectedRow.performanceplanid" />
+                <CellGroup :title="$t('performance.title')">
+                    <Cell :title="$t('performance.performancetype')" :value="getPerformanceTypeName(selectedRow.performancetype)" />
+                    <Cell :title="$t('performance.wrstandardname')" :value="selectedRow.wrstandardname" />
+                    <Cell :title="$t('performance.warehousename')" :value="selectedRow.warehousename" />
+                    <Cell :title="$t('performance.qty')" :value="selectedRow.qty" />
+                    <Cell :title="$t('performance.amount')" :value="formatDecimal(selectedRow.amount)" />
+                    <Cell :title="$t('performance.buyusername')" :value="selectedRow.buyusername" />
+                    <Cell :title="$t('performance.sellusername')" :value="selectedRow.sellusername" />
+                    <Cell :title="$t('performance.buypaidamount')" :value="formatDecimal(selectedRow.buypaidamount)" />
+                    <Cell :title="$t('performance.sellreceivedamount')" :value="formatDecimal(selectedRow.sellreceivedamount)" />
+                    <Cell :title="$t('performance.curstepname')" :value="handleNoneValue(selectedRow.curstepname)" />
+                    <Cell :title="$t('performance.starttime')" :value="formatDate(selectedRow.starttime)" />
+                    <Cell :title="$t('performance.relatedorderid')" :value="selectedRow.relatedorderid" />
+                    <Cell :title="$t('performance.performanceplanid')" :value="selectedRow.performanceplanid" />
                 </CellGroup>
-                <CellGroup title="执行信息">
+                <CellGroup :title="$t('performance.executinfo')">
                     <div class="planstep-info" v-for="(item, index) in dataList" :key="index">
                         <div class="planstep-info__up" :style="styles(item.stepstatus)">
                             <p class="stepindex">{{ item.stepindex }}</p>
@@ -34,7 +34,7 @@
                             <p class="endtime" v-if="item.stepstatus != 2">{{ handleNoneValue(item.endtime) }}</p>
                         </div>
                         <div class="planstep-info__dwn" v-if="[1, 4].includes(item.stepstatus)">
-                            <p class="remaindays">{{ item.stepdays }}</p>
+                            <p class="remaindays">{{ item.stepdays }}{{ $t('performance.days') }}</p>
                         </div>
                     </div>
                 </CellGroup>
@@ -42,17 +42,17 @@
             <Form ref="formRef" class="g-form__container" @submit="toConfirm">
                 <Dialog :title="dialogTitle" v-model:show="show" show-cancel-button @confirm="toConfirm"
                     @cancel="show = false">
-                    <Field name="DelayDays" v-model="formData.delaydays" type="number" v-if="showDays" label="延期天数"
-                        :rules="formRules.delaydays" placeholder="请输入延期天数" />
-                    <Field name="Remark" label="备注" v-model="remark" :rules="formRules.remark" placeholder="请输入备注信息" />
+                    <Field name="DelayDays" v-model="formData.delaydays" type="number" v-if="showDays" :label="$t('performance.delaydays')"
+                        :rules="formRules.delaydays" :placeholder="$t('performance.pleaseenterthedelaydays')" />
+                    <Field name="Remark" :label="$t('performance.remark')" v-model="remark" :rules="formRules.remark" :placeholder="$t('performance.pleaseinputremark')" />
                 </Dialog>
             </Form>
             <template #footer>
                 <div class="g-form__footer inset">
                     <Button type="primary" v-if="selectedRow.buyorsell === selectedRow.executeside - 1" block round
-                    @click="showConfirm(true)">延期申请</Button>
+                    @click="showConfirm(true)">{{ $t('performance.applydelay') }}</Button>
                     <Button type="danger" v-if="selectedRow.buyorsell === selectedRow.executeside - 1" block round
-                        @click="showConfirm(false)">立即执行</Button>
+                        @click="showConfirm(false)">{{ $t('performance.applyexecute') }}</Button>
                 </div>
             </template>
         </app-view>

+ 9 - 9
src/packages/mobile/views/order/performance/components/history/Index.vue

@@ -2,7 +2,7 @@
     <app-modal direction="right-top" height="100%" width="100%" v-model:show="showModal" :refresh="refresh">
         <app-view>
             <template #header>
-                <app-navbar :title="buyorsell === 0 ? '买历史履约信息' : '卖历史履约信息'" @back="closed">
+                <app-navbar :title="$t(buyorsell === 0 ? 'performance.buyhisperformanceinfo' : 'performance.sellhisperformanceinfo')" @back="closed">
                     <template #footer>
                         <app-calendar :default-date="[currentDate]" @confirm="onConfirm" />
                     </template>
@@ -23,37 +23,37 @@
                         <div class="g-order-list__content">
                             <ul>
                                 <li>
-                                    <span>日期</span>
+                                    <span>{{ $t('performance.performancedate') }}</span>
                                     <span>{{ formatDate(item.createtime, 'YYYY-MM-DD') }}</span>
                                 </li>
                                 <li>
-                                    <span>类型</span>
+                                    <span>{{ $t('performance.performancetype') }}</span>
                                     <span>{{ getPerformanceTypeName(item.performancetype) }}</span>
                                 </li>
                                 <li>
-                                    <span>履约数量</span>
+                                    <span>{{ $t('performance.performanceqty') }}</span>
                                     <span>{{ item.qty }}</span>
                                 </li>
                                 <li>
-                                    <span>履约金额</span>
+                                    <span>{{ $t('performance.amount') }}</span>
                                     <span>{{ item.amount }}</span>
                                 </li>
                                 <li>
-                                    <span>买方已付</span>
+                                    <span>{{ $t('performance.buypaidamount') }}</span>
                                     <span>{{ item.buypaidamount }}</span>
                                 </li>
                                 <li>
-                                    <span>当前步骤</span>
+                                    <span>{{ $t('performance.curstepname') }}</span>
                                     <span>{{ handleNoneValue(item.curstepname) }}</span>
                                 </li>
                                 <li>
-                                    <span>卖方已收</span>
+                                    <span>{{ $t('performance.sellreceivedamount') }}</span>
                                     <span>{{ item.sellreceivedamount }}</span>
                                 </li>
                             </ul>
                         </div>
                         <div class="g-order-list__btnbar">
-                            <Button size="small" @click="showComponent('detail', item)" round>详情</Button>
+                            <Button size="small" @click="showComponent('detail', item)" round>{{ $t('performance.detail') }}</Button>
                         </div>
                     </div>
                 </div>

+ 9 - 9
src/packages/mobile/views/order/performance/components/modify/Index.vue

@@ -3,23 +3,23 @@
     <app-modal direction="right-top" height="100%" width="100%" v-model:show="showModal" :refresh="refresh">
         <app-view class="g-form">
             <template #header>
-                <app-navbar :title="selectedRow.buyorsell === 0 ? '买方信息' : '卖方信息'" @back="closed" />
+                <app-navbar :title="selectedRow.buyorsell === 0 ? $t('performance.buyuserinfo') : $t('performance.selluserinfo')" @back="closed" />
             </template>
             <Form ref="formRef" class="g-form__container" @submit="formSubmit">
-                <CellGroup title="履约信息">
-                    <Field name="Contract" label="联络信息" type="textarea" autosize :maxlength="50" v-model="Contract"
-                        placeholder="请输入联络信息" :rules="formRules.Contract" />
-                    <Field name="Receive" v-if="selectedRow.buyorsell === 0" label="收货地址" type="textarea" autosize
-                        v-model="Receive" :rules="formRules.Receive" placeholder="请输入收货地址" right-icon="add-o"
+                <CellGroup :title="$t('performance.performancedetail')">
+                    <Field name="Contract" :label="$t('performance.contract')" type="textarea" autosize :maxlength="50" v-model="Contract"
+                        :placeholder="$t('performance.pleaseenterthecontractinfo')" :rules="formRules.Contract" />
+                    <Field name="Receive" v-if="selectedRow.buyorsell === 0" :label="$t('performance.address')" type="textarea" autosize
+                        v-model="Receive" :rules="formRules.Receive" :placeholder="$t('performance.pleaseentertheaddress')" right-icon="add-o"
                         @click-right-icon="showContact = true" />
-                    <Field name="Receipt" v-if="selectedRow.buyorsell === 0" label="发票信息" type="textarea" autosize
-                        v-model="Receipt" placeholder="必填" :rules="formRules.Receipt" right-icon="add-o"
+                    <Field name="Receipt" v-if="selectedRow.buyorsell === 0" :label="$t('performance.receiptinfo')" type="textarea" autosize
+                        v-model="Receipt" :placeholder="$t('common.required')" :rules="formRules.Receipt" right-icon="add-o"
                         @click-right-icon="showReceipt = true" />
                 </CellGroup>
             </Form>
             <template #footer>
                 <div class="g-form__footer inset">
-                    <Button type="danger" block round @click="contracted">修改信息</Button>
+                    <Button type="danger" block round @click="contracted">{{ $t('performance.modifyinfo') }}</Button>
                 </div>
             </template>
         </app-view>

+ 1 - 1
src/packages/mobile/views/rules/fwrx/Index.vue

@@ -1,7 +1,7 @@
 <template>
     <app-view>
         <template #header>
-            <app-navbar title="服务热线" />
+            <app-navbar :title="$t('rules.fwrx')" />
         </template>
         <component :is="asyncComponent" :url="getHtmlFileUrl('fwrx.htm')" />
     </app-view>

+ 1 - 1
src/packages/mobile/views/rules/gywm/Index.vue

@@ -1,7 +1,7 @@
 <template>
     <app-view>
         <template #header>
-            <app-navbar title="关于我们" />
+            <app-navbar :title="$t('routes.about')" />
         </template>
         <component :is="asyncComponent" :url="getHtmlFileUrl('gywm.htm')" />
     </app-view>

+ 1 - 1
src/packages/mobile/views/rules/yszc/Index.vue

@@ -1,7 +1,7 @@
 <template>
     <app-view>
         <template #header>
-            <app-navbar title="隐私政策" />
+            <app-navbar :title="$t('rules.ryszc')" />
         </template>
         <component :is="asyncComponent" :url="getHtmlFileUrl('yszc.htm')" />
     </app-view>

+ 1 - 1
src/packages/mobile/views/rules/zcxy/Index.vue

@@ -1,7 +1,7 @@
 <template>
     <app-view>
         <template #header>
-            <app-navbar title="用户注册协议" />
+            <app-navbar :title="$t('rules.zcxy')" />
         </template>
         <component :is="asyncComponent" :url="getHtmlFileUrl('yhzcxy.htm')" />
     </app-view>

+ 8 - 8
src/packages/mobile/views/user/cancel/Index.vue

@@ -1,21 +1,21 @@
 <template>
     <app-view class="g-form logoff" :loading="false">
         <template #header>
-            <app-navbar title="注销服务" />
+            <app-navbar :title="$t('user.cancel.title')" />
         </template>
         <section class="logoff__details">
-            <h4>为保证您的账号安全,在提交注销申请时,需同时满足以下条件:</h4>
+            <h4>{{ $t('user.cancel.tips_1') }}</h4>
             <dl>
-                <dt>1. 账号财产已结清</dt>
-                <dd>没有资产、欠款、未结清的资金和现货。</dd>
-                <dt>2. 账号处于安全状态</dt>
-                <dd>账号处于正常使用状态,无被盗风险。</dd>
-                <dt>3. 账号无任何纠纷</dt>
+                <dt>{{ $t('user.cancel.tips_2') }}</dt>
+                <dd>{{ $t('user.cancel.tips_3') }}</dd>
+                <dt>{{ $t('user.cancel.tips_4') }}</dt>
+                <dd>{{ $t('user.cancel.tips_5') }}</dd>
+                <dt>{{ $t('user.cancel.tips_6') }}</dt>
             </dl>
         </section>
         <template #footer>
             <div class="g-form__footer inset">
-                <Button type="danger" @click="onSubmit" round block>确认注销</Button>
+                <Button type="danger" @click="onSubmit" round block>{{ $t('user.cancel.confirmcancellation') }}</Button>
             </div>
         </template>
     </app-view>

+ 5 - 5
src/packages/mobile/views/user/password/Index.vue

@@ -1,21 +1,21 @@
 <template>
     <app-view class="g-form user-password" :loading="false">
         <template #header>
-            <app-navbar title="修改密码" />
+            <app-navbar :title="$t('user.password.title')" />
         </template>
         <Form ref="formRef" class="g-form__container" @submit="onSubmit">
             <CellGroup inset>
-                <Field v-model="formData.OldPwd" type="password" name="OldPwd" label="原密码" placeholder="必填"
+                <Field v-model="formData.OldPwd" type="password" name="OldPwd" :label="$t('user.password.oldpwd')" :placeholder="$t('common.required')"
                     autocomplete="off" :rules="formRules.OldPwd" />
-                <Field v-model="formData.NewPwd" name="NewPwd" type="password" label="新密码" placeholder="必填"
+                <Field v-model="formData.NewPwd" name="NewPwd" type="password" :label="$t('user.password.newpwd')" :placeholder="$t('common.required')"
                     autocomplete="off" :rules="formRules.NewPwd" />
-                <Field v-model="confirmpassword" name="confirmpassword" type="password" label="确认密码" placeholder="必填"
+                <Field v-model="confirmpassword" name="confirmpassword" type="password" :label="$t('user.password.confirmpwd')" :placeholder="$t('common.required')"
                     autocomplete="off" :rules="formRules.confirmpassword" />
             </CellGroup>
         </Form>
         <template #footer>
             <div class="g-form__footer inset">
-                <Button type="danger" @click="formRef?.submit()" round block>提交</Button>
+                <Button type="danger" @click="formRef?.submit()" round block>{{ $t('operation.submit') }}</Button>
             </div>
         </template>
     </app-view>

+ 1 - 1
src/stores/modules/language.ts

@@ -6,7 +6,7 @@ import enUS from '@public/locales/en-US.json'
 const appLanguage = localData.getRef('appLanguage')
 
 export const i18n = createI18n({
-    locale: appLanguage.value,
+    locale: 'en-US',//appLanguage.value,
     messages: {
         'zh-CN': zhCN,
         'en-US': enUS