Browse Source

Merge branch 'v20' of http://192.168.31.240:3000/MTP2.0_New/MTP20_WEB_GLOBAL into v20

li.shaoyi 3 weeks ago
parent
commit
df6d1cefb1

+ 68 - 38
public/locales/en-US.json

@@ -20,7 +20,7 @@
         "loosing-text": "Release to load...",
         "loading-text": "Loading..",
         "success-text": "Loading successful",
-        "nodatas": "No data available",
+        "nodatas": "No Datas",
         "baseinfo": "Basic information",
         "more": "More",
         "details": "Details",
@@ -98,7 +98,10 @@
         "home": "Homepage",
         "mine": "Me",
         "pricing": "Pricing",
-        "trade": "Trade"
+        "trade": "Trade",
+        "wallet": "Wallet",
+        "contract": "Contract",
+        "spot": "Spots"
     },
     "routes": {
         "news": "Market news",
@@ -214,7 +217,8 @@
         "cutRate": "Liquidation rate:",
         "tips1": "Risk rate = (Occupied / Net value) * 100%",
         "tips2": "Liquidation rate = (Risk rate / Liquidation risk rate) * 100%",
-        "formula": "Formula"
+        "formula": "Formula",
+        "freeze": "FreezeMargin"
     },
     "quote": {
         "title": "Reference market data",
@@ -317,7 +321,7 @@
             "tips4": "Please enter the delisting amount",
             "delistingqty": "Delisting amount",
             "delistingbuyorsell": "Delisting direction",
-            "remainqty": "Remaining quantity",
+            "remainqty": "RemainingQty",
             "listingprice": "Listing price",
             "taaccount": "TaAccount"
         },
@@ -426,7 +430,7 @@
             "listingqty": "Listing amount",
             "paymentamount": "Payment amount",
             "avaiableMoney": "Available funds",
-            "enableqty": "Available quantity",
+            "enableqty": "EnableQty",
             "listingprice": "ListingPrice",
             "tips1": "Please select a performance template",
             "tips2": "Please enter the price",
@@ -481,7 +485,7 @@
             "deposit": "Deposit",
             "buyorderqty": "Buy volume",
             "transferprice": "Transfer price",
-            "orderqty1": "Order quantity",
+            "orderqty1": "OrderQty",
             "tips1": "Please enter the price",
             "tips2": "Please enter the quantity",
             "tips3": "Submission successful"
@@ -503,7 +507,7 @@
             "buyorsell": "BuyOrSell",
             "buildtype": "Type",
             "buyorsellbuildtype": "Direction/Type",
-            "orderqty": "Order quantity",
+            "orderqty": "OrderQty",
             "orderprice": "Order price",
             "tradeqty": "Transaction volume",
             "orderstatus": "Order status",
@@ -555,7 +559,7 @@
             "fixedprice": "Listing price",
             "fixedprice1": "Price/Basis",
             "wrtypename": "Futures contract",
-            "orderqty": "Order quantity",
+            "orderqty": "OrderQty",
             "tradeqty": "Transaction volume",
             "cancelqty": "Cancellation volume",
             "ordertime": "Order time",
@@ -603,7 +607,7 @@
             "ordertime": "Order time",
             "orderdate": "Order time",
             "tradeprice": "Proposed price",
-            "tradeqty": "Order quantity",
+            "tradeqty": "OrderQty",
             "orderid": "Order number"
         },
         "transferorder": {
@@ -612,7 +616,7 @@
             "subtitle1": "Historical transfer orders",
             "goodsname": "Product code/name",
             "buyorsell": "Direction",
-            "orderqty": "Order quantity",
+            "orderqty": "OrderQty",
             "orderprice": "Requested pric",
             "presaleprice": "Order price",
             "tradeqty": "Transaction volume",
@@ -644,7 +648,7 @@
             "subtitle2": "Swap order details",
             "goodsname": "Product code/name",
             "buyorsell": "Direction",
-            "orderqty": "Order quantity",
+            "orderqty": "OrderQty",
             "orderprice": "Order price",
             "tradeqty": "Transaction volume",
             "orderstatus": "Order status",
@@ -680,7 +684,7 @@
             "ordertime": "Order time",
             "orderdate": "Order date",
             "buyorsell": "BuyOrSell",
-            "orderqty": "Order quantity",
+            "orderqty": "OrderQty",
             "orderprice": "Order price",
             "orderstatus": "Order status",
             "tradeqty": "Transaction amount",
@@ -731,7 +735,7 @@
             "curpositionqty": "CurPositionQty",
             "averageprice": "AveragePrice",
             "frozenqty": "FrozenQty",
-            "enableqty": "Available quantit",
+            "enableqty": "EnableQty",
             "mindeliverylot": "MinDeliveryLot",
             "orderid": "OrderID",
             "closepl": "ClosePl",
@@ -740,8 +744,8 @@
             "deposit": "Make-UpAmount",
             "fees": "Pick-UpFees",
             "matchname": "Settlement counterparty",
-            "deliverylot": "Settlement quantity",
-            "deliveryqty": "Settlement quantity",
+            "deliverylot": "SettlementLot",
+            "deliveryqty": "SettlementQty",
             "freezeqty": "FreezeQty",
             "address": "Delivery address",
             "transferprice": "Price",
@@ -766,7 +770,7 @@
                 "tradeid": "Transaction number",
                 "tradetime": "TradeTime",
                 "buyorsell": "Type",
-                "enableqty": "Available quantity",
+                "enableqty": "EnableQty",
                 "holderqty": "HolderQty",
                 "freezeqty": "FreezeQty",
                 "holderprice": "Position price",
@@ -785,13 +789,13 @@
             "goodsname": "Product code/name",
             "PerformanceTemplate": "Performance method",
             "warehousename": "Warehouse",
-            "qty": "Inventory quantity",
-            "freezerqty": "Frozen quantity",
-            "enableqty": "Available quantity",
+            "qty": "InventoryQty",
+            "freezerqty": "FrozenQty",
+            "enableqty": "EnableQty",
             "orderqty": "Listing volume",
             "fixedprice": "Listing price",
             "performancetemplate": "Performance Template",
-            "orderqty2": "Pickup quantity",
+            "orderqty2": "PickupQty",
             "appointmentmodel": "Pickup method",
             "contactname": "Contact person",
             "contactnum": "Contact information",
@@ -799,7 +803,7 @@
             "address": "Delivery address",
             "remark": "Invoice information",
             "createtime": "Transfer time",
-            "pledgeqty": "Pledged quantity",
+            "pledgeqty": "PledgedQty",
             "wrstandardname": "Product name",
             "deliverygoodsname": "Type",
             "wrholdeno": "Warehouse receipt number",
@@ -852,16 +856,16 @@
             "buyorsell": "Position direction",
             "goodsdisplay": "Product details",
             "buycurholderamount": "Position amount",
-            "buycurpositionqty": "Position quantity",
-            "curpositionqty": "Position quantity",
-            "buyfrozenqty": "Frozen quantity",
-            "frozenqty": "Frozen quantity",
-            "enableqty": "Available quantity",
+            "buycurpositionqty": "PositionQty",
+            "curpositionqty": "PositionQty",
+            "buyfrozenqty": "FrozenQty",
+            "frozenqty": "FrozenQty",
+            "enableqty": "EnableQty",
             "sellname": "Issuing party",
             "presaleprice": "Order price",
             "closepl": "Reference profit and loss",
             "averageprice": "Average position price",
-            "holderqty": "Position quantity",
+            "holderqty": "PositionQty",
             "holderprice": "Position price",
             "tradeamount": "Total payment",
             "transferdepositratio": "Transfer deposit ratio",
@@ -877,7 +881,7 @@
             "limitdown": "Lower limit price",
             "transferprice": "Transfer price",
             "transferqty": "TransferQty",
-            "giveupqty": "Abandon quantity",
+            "giveupqty": "AbandonQty",
             "tips1": "Do you want to add the unpaid transfer deposit?",
             "tips2": "Submission successful",
             "tips3": "Please enter the price",
@@ -890,9 +894,9 @@
             "averageprice": "Average order price",
             "curpositionqty": "Holding amount",
             "curholderamount": "Order amount",
-            "frozenqty": "Frozen quantity",
+            "frozenqty": "FrozenQty",
             "lastprice": "Reference price",
-            "enableqty": "Available quantity",
+            "enableqty": "EnableQty",
             "closepl": "Reference profit and loss",
             "expiredate": "Expiration date",
             "tips1": "Are you sure you want to close the position?",
@@ -908,7 +912,7 @@
             "averageprice1": "Order price",
             "frozenqty": "FrozenQty",
             "curholderamount": "CurHolderAmount",
-            "enableqty": "Available quantity",
+            "enableqty": "EnableQty",
             "closepl": "ClosePl",
             "tips1": "Do you want to cancel all orders?"
         }
@@ -928,10 +932,10 @@
             "pricemove": "Premium/Discount",
             "username": "Holder",
             "needqty": "Required contract amount",
-            "enableQty": "Deliverable quantity",
+            "enableQty": "DeliverableQty",
             "choicewarehousename": "Select warehouse receipt",
             "qty": "Quantity",
-            "deliveryqty": "Settlement quantity",
+            "deliveryqty": "SettlementQty",
             "xdeliveryprice": "Order price",
             "deliverypricemove": "Premium/Discount",
             "deliveryamount": "Total payment",
@@ -943,7 +947,7 @@
             "deliverytime": "Application time",
             "xgoodscode": "Settlement contract",
             "deliveryid": "Settlement order numbe",
-            "orderedqty": "Selected quantity"
+            "orderedqty": "SelectedQty"
         },
         "offline": {
             "title": "Offline settlement order",
@@ -969,7 +973,7 @@
             "deliverygoodsname": "Type",
             "wrstandardname": "Goods",
             "warehousename": "Warehouse",
-            "qty": "Pickup quantity",
+            "qty": "PickupQty",
             "appointmentmodeldisplay": "Pickup method",
             "contactname": "Contact person",
             "contactnum": "Contact information",
@@ -1026,7 +1030,7 @@
             "inusername": "Transfer in customer",
             "choice": "Please select",
             "goodsid": "Transfer product",
-            "enableqty": "Available quantity",
+            "enableqty": "EnableQty",
             "orderqty": "Transfer volume",
             "orderprice": "Transfer price",
             "freezedays": "Frozen day",
@@ -1105,7 +1109,7 @@
         "receipt": "Invoice information",
         "more": "More",
         "performancedate": "Date",
-        "performanceqty": "Performance quantity",
+        "performanceqty": "PerformanceQty",
         "breach": "Breach of contract",
         "modify": "Modify",
         "detail": "Details",
@@ -1214,6 +1218,8 @@
         "banksign": "Bank Management",
         "personalinformation": "Personal information",
         "settings": "Settings",
+        "system": "System",
+        "account": "Account",
         "aboutus": "About Us",
         "protocol": "Market entry agreement",
         "positiontransfer": "Position transfer",
@@ -1356,7 +1362,7 @@
             "title": "Search branch",
             "Pleaseenterbranchbankname": "Please enter the branch name",
             "choicebranchbank": "Select branch",
-            "nodatas": "No data available",
+            "nodatas": "No Datas",
             "searching": "Searching..."
         },
         "capital": {
@@ -1548,6 +1554,7 @@
         },
         "authentication": {
             "title": "Real-name authentication",
+            "subtitle": "Authentication Infos",
             "customername": "Name",
             "cardtype": "Document type",
             "cardnum": "Document number",
@@ -1810,5 +1817,28 @@
             "Buy": "Pick up materials",
             "Sell": "Hand over materials"
         }
+    },
+    "digital": {
+        "wallet-deposit": "Recharge",
+        "wallet-withdraw": "Withdraw",
+        "wallet-transfer": "Transfer",
+        "spot-goods-detail": "Transaction",
+        "setting": "Settings",
+        "search": "Search",
+        "goodscode": "Code/Name",
+        "last": "Latest",
+        "updown": "UpDown",
+        "price": "Bid/Ask",
+        "lowest": "Highest/Lowest",
+        "position": "Position",
+        "order": "Order",
+        "account": "Account",
+        "trade": "Deal Made",
+        "activation": "Activation",
+        "funds": "Funds Log",
+        "transfer-in": "Transfer-In",
+        "transfer-out": "Transfer-Out",
+        "currencydecimalplace": "EquityAccounts",
+        "balance": "Balance"
     }
 }

+ 32 - 2
public/locales/th-TH.json

@@ -98,7 +98,10 @@
         "home": "หน้าหลัก",
         "mine": "ฉัน",
         "pricing": "ราคา",
-        "trade": "การซื้อขาย"
+        "trade": "การซื้อขาย",
+        "wallet": "錢包",
+        "contract": "合約",
+        "spot": "現貨"
     },
     "routes": {
         "news": "ข่าวสารตลาด",
@@ -214,7 +217,8 @@
         "cutRate": "อัตราการบังคับขาย (หรือ อัตราการตัดขาดทุน):",
         "tips1": "อัตราความเสี่ยง = (การใช้ทรัพยากร / มูลค่าสุทธิ) * 100%",
         "tips2": "อัตราการบังคับขาย = (อัตราความเสี่ยง / อัตราความเสี่ยงสำหรับการบังคับขาย) * 100%",
-        "formula": "สูตร"
+        "formula": "สูตร",
+        "freeze": "FreezeMargin"
     },
     "quote": {
         "title": "ข้อมูลตลาดอ้างอิง",
@@ -1217,6 +1221,8 @@
         "banksign": "บัญชีการเซ็น",
         "personalinformation": "ข้อมูลส่วนบุคคล",
         "settings": "ตั้งค่า",
+        "system": "ระบบ",
+        "account": "บัญชีผู้ใช้",
         "aboutus": "เกี่ยวกับเรา",
         "protocol": "สัญญาเข้าสู่ตลาด",
         "positiontransfer": "การโอนสถานะการถือครอง",
@@ -1551,6 +1557,7 @@
         },
         "authentication": {
             "title": "การยืนยันตัวตนด้วยชื่อจริง",
+            "subtitle": "ข้อมูลการตรวจสอบสิทธิ์",
             "customername": "ชื่อ",
             "cardtype": "ประเภทเอกสารประจำตัว",
             "cardnum": "หมายเลขเอกสารประจำตัว",
@@ -1813,5 +1820,28 @@
             "Buy": "ดึงวัสดุ",
             "Sell": "ส่งวัสดุ"
         }
+    },
+    "digital": {
+        "wallet-deposit": "充值",
+        "wallet-withdraw": "提現",
+        "wallet-transfer": "劃轉",
+        "spot-goods-detail": "交易",
+        "setting": "设置",
+        "search": "搜索",
+        "goodscode": "代码/名称",
+        "last": "最新价格",
+        "updown": "涨跌",
+        "price": "买价/卖价",
+        "lowest": "最高/最低",
+        "position": "Position",
+        "order": "Order",
+        "account": "Account",
+        "trade": "成交",
+        "activation": "激活",
+        "funds": "資金明細",
+        "transfer-in": "轉入",
+        "transfer-out": "轉出",
+        "currencydecimalplace": "EquityAccounts",
+        "balance": "余额"
     }
 }

+ 32 - 2
public/locales/vi-VN.json

@@ -98,7 +98,10 @@
         "home": "Trang chủ",
         "mine": "Tôi",
         "pricing": "Gía cả",
-        "trade": "Trade"
+        "trade": "Trade",
+        "wallet": "錢包",
+        "contract": "合約",
+        "spot": "現貨"
     },
     "routes": {
         "news": "Thông tin thị trường",
@@ -214,7 +217,8 @@
         "cutRate": "Tỷ lệ cắt lỗ",
         "tips1": "Tỷ lệ rủi ro = (Chiếm dụng/Gía trị ròng)*100%",
         "tips2": "Tỷ lệ cắt lỗ = (Tỷ lệ rủi ro/Tỉ lệ rủi ro cắt lỗ)*100%",
-        "formula": "Công thức"
+        "formula": "Công thức",
+        "freeze": "FreezeMargin"
     },
     "quote": {
         "title": "Tham khảo thị trường",
@@ -1214,6 +1218,8 @@
         "banksign": "Bank Management",
         "personalinformation": "Thông tin cá nhân",
         "settings": "Cài đặt",
+        "system": "Hệ thống",
+        "account": "Tài khoản",
         "aboutus": "Về chúng tôi",
         "protocol": "Thỏa thuận tham gia thị trường",
         "positiontransfer": "Chuyển nhượng vị thế",
@@ -1548,6 +1554,7 @@
         },
         "authentication": {
             "title": "Xác thực danh tính",
+            "subtitle": "Thông tin xác nhận",
             "customername": "Họ tên",
             "cardtype": "Loại giấy tờ",
             "cardnum": "Số giấy tờ",
@@ -1810,5 +1817,28 @@
             "Buy": "Nhận nguyên liệu",
             "Sell": "Giao nguyên liệu"
         }
+    },
+    "digital": {
+        "wallet-deposit": "充值",
+        "wallet-withdraw": "提現",
+        "wallet-transfer": "劃轉",
+        "spot-goods-detail": "交易",
+        "setting": "设置",
+        "search": "搜索",
+        "goodscode": "代码/名称",
+        "last": "最新价格",
+        "updown": "涨跌",
+        "price": "买价/卖价",
+        "lowest": "最高/最低",
+        "position": "Position",
+        "order": "Order",
+        "account": "Account",
+        "trade": "成交",
+        "activation": "激活",
+        "funds": "資金明細",
+        "transfer-in": "轉入",
+        "transfer-out": "轉出",
+        "currencydecimalplace": "EquityAccounts",
+        "balance": "余额"
     }
 }

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

@@ -98,7 +98,10 @@
         "home": "首页",
         "mine": "我的",
         "trade": "交易",
-        "pricing": "价格"
+        "pricing": "价格",
+        "wallet": "钱包",
+        "contract": "合约",
+        "spot": "现货"
     },
     "routes": {
         "news": "市场资讯",
@@ -214,7 +217,8 @@
         "cutRate": "斩仓率:",
         "tips1": "风险率 = (占用 / 净值) * 100%",
         "tips2": "斩仓率 = (风险率 / 斩仓风险率) * 100%",
-        "formula": "公式"
+        "formula": "公式",
+        "freeze": "冻结"
     },
     "quote": {
         "title": "参考行情",
@@ -1217,6 +1221,8 @@
         "banksign": "签约账户",
         "personalinformation": "个人信息",
         "settings": "设置",
+        "system": "系统",
+        "account": "账户",
         "aboutus": "关于我们",
         "protocol": "入市协议",
         "positiontransfer": "持仓过户",
@@ -1551,6 +1557,7 @@
         },
         "authentication": {
             "title": "实名认证",
+            "subtitle": "认证信息",
             "customername": "姓名",
             "cardtype": "证件类型",
             "cardnum": "证件号码",
@@ -1813,5 +1820,28 @@
             "Buy": "提料",
             "Sell": "交料"
         }
+    },
+    "digital": {
+        "wallet-deposit": "充值",
+        "wallet-withdraw": "提现",
+        "wallet-transfer": "划转",
+        "spot-goods-detail": "交易",
+        "setting": "设置",
+        "search": "搜索",
+        "goodscode": "代码/名称",
+        "last": "最新价格",
+        "updown": "涨跌",
+        "price": "买价/卖价",
+        "lowest": "最高/最低",
+        "position": "持仓",
+        "order": "委托",
+        "account": "资金",
+        "trade": "成交",
+        "activation": "激活",
+        "funds": "资金明细",
+        "transfer-in": "转入",
+        "transfer-out": "转出",
+        "currencydecimalplace": "账户权益",
+        "balance": "余额"
     }
 }

+ 32 - 2
public/locales/zh-TW.json

@@ -98,7 +98,10 @@
         "home": "首頁",
         "mine": "我的",
         "pricing": "價格",
-        "trade": "交易"
+        "trade": "交易",
+        "wallet": "錢包",
+        "contract": "合約",
+        "spot": "現貨"
     },
     "routes": {
         "news": "市場資訊",
@@ -214,7 +217,8 @@
         "cutRate": "斬倉率:",
         "tips1": "風險率 = (佔用 / 淨值) * 100%",
         "tips2": "斬倉率 = (風險率 / 斬倉風險率) * 100%",
-        "formula": "公式"
+        "formula": "公式",
+        "freeze": "凍結"
     },
     "quote": {
         "title": "参考行情",
@@ -1217,6 +1221,8 @@
         "banksign": "簽約賬戶",
         "personalinformation": "個人信息",
         "settings": "設置",
+        "system": "系統",
+        "account": "賬戶",
         "aboutus": "關於我們",
         "protocol": "入市協議",
         "positiontransfer": "持倉過戶",
@@ -1551,6 +1557,7 @@
         },
         "authentication": {
             "title": "實名認證",
+            "subtitle": "認證信息",
             "customername": "姓名",
             "cardtype": "證件類型",
             "cardnum": "證件號碼",
@@ -1813,5 +1820,28 @@
             "Buy": "提料",
             "Sell": "交料"
         }
+    },
+    "digital": {
+        "wallet-deposit": "充值",
+        "wallet-withdraw": "提現",
+        "wallet-transfer": "劃轉",
+        "spot-goods-detail": "交易",
+        "setting": "设置",
+        "search": "搜索",
+        "goodscode": "代碼/名稱",
+        "last": "最新價格",
+        "updown": "漲跌",
+        "price": "買價/賣價",
+        "lowest": "最高/最低",
+        "position": "持倉",
+        "order": "委託",
+        "account": "賬戶",
+        "trade": "成交",
+        "activation": "激活",
+        "funds": "資金明細",
+        "transfer-in": "轉入",
+        "transfer-out": "轉出",
+        "currencydecimalplace": "賬戶權益",
+        "balance": "餘額"
     }
 }

+ 8 - 5
src/packages/digital/components/iconbar/index.vue

@@ -11,6 +11,7 @@
 <script lang="ts" setup>
 import { shallowReactive, PropType, computed } from 'vue'
 import { Grid, GridItem } from 'vant'
+import { i18n } from '@/stores'
 
 const props = defineProps({
     query: {
@@ -26,17 +27,19 @@ const props = defineProps({
     }
 })
 
+const { global: { t } } = i18n
+
 const className = {
     'app-iconbar': true,
     'app-iconbar--inset': props.inset
 }
 
 const icons = shallowReactive([
-    { icon: 'pending-payment', text: '充值', to: { name: 'wallet-deposit' } },
-    { icon: 'paid', text: '提现', to: { name: 'wallet-withdraw' } },
-    { icon: 'peer-pay', text: '划转', to: { name: 'wallet-transfer' } },
-    { icon: 'chart-trending-o', text: '交易', to: { name: 'spot-goods-detail' } },
-    { icon: 'setting-o', text: '设置', to: { name: 'setting' } },
+    { icon: 'pending-payment', text: t('digital.wallet-deposit'), to: { name: 'wallet-deposit' } },
+    { icon: 'paid', text: t('digital.wallet-withdraw'), to: { name: 'wallet-withdraw' } },
+    { icon: 'peer-pay', text: t('digital.wallet-transfer'), to: { name: 'wallet-transfer' } },
+    { icon: 'chart-trending-o', text: t('digital.spot-goods-detail'), to: { name: 'spot-goods-detail' } },
+    { icon: 'setting-o', text: t('digital.wallet-setting'), to: { name: 'setting' } },
 ])
 
 const filteredIcons = computed(() => icons.filter((e) => props.routes.includes(e.to.name)))

+ 0 - 1
src/packages/digital/views/boot/index.vue

@@ -17,7 +17,6 @@
 <script lang="ts" setup>
 import { reactive, onUnmounted } from 'vue'
 import { useRoute, useRouter } from 'vue-router'
-import { Swipe, SwipeItem } from 'vant'
 import { showLoading, dialog } from '@/utils/vant'
 import { useLogin } from '@/business/login'
 import service from '@/services'

+ 1 - 1
src/packages/digital/views/contract/components/position/list/close/index.vue

@@ -127,7 +127,7 @@ const onCloseSumit = () => {
         /// loding....
         fullloading((hideLoading) => {
             formSubmit().then(() => {
-                hideLoading(t('position.goods.tips4'), 'success')
+                hideLoading('提交成功', 'success')
                 closed()
             }).catch((err) => {
                 hideLoading(err, 'fail')

+ 11 - 7
src/packages/digital/views/contract/components/position/list/index.vue

@@ -13,7 +13,7 @@
                 </tr>
                 <tr>
                     <td colspan="2">
-                        <span class="text-small">浮动盈亏({{ getGoodsCurrencyItemName(item.currencyid) }})</span>
+                        <span class="text-small">{{ $t('account.profitLoss')+`(${ enumName(item.currencyid) })` }}</span>
                         <span :class="item.profitLossClass">
                             {{ item.profitLoss.toFixed(item.decimalplace) }}
                         </span>
@@ -26,27 +26,27 @@
                 </tr>
                 <tr>
                     <td>
-                        <span class="text-small">可用量({{ item.goodscode }})</span>
+                        <span class="text-small">{{ $t('quote.spot.enableqty')+`(${item.goodscode})` }}</span>
                         <span>
                             {{ item.enableqty }}
-                        </span>
+                        </span>.
                     </td>
                     <td>
-                        <span class="text-small">持仓量({{ item.goodscode }})</span>
+                        <span class="text-small">{{ $t('position.goods.curpositionqty')+`(${ item.goodscode })` }}</span>
                         <span>{{ item.curpositionqty }}</span>
                     </td>
                     <td>
-                        <span class="text-small">冻结量({{ item.goodscode }})</span>
+                        <span class="text-small">{{ $t('position.goods.frozenqty')+`(${ item.goodscode })` }}</span>
                         <span>{{ item.frozenqty }}</span>
                     </td>
                 </tr>
                 <tr>
                     <td>
-                        <span class="text-small">持仓价格({{ getGoodsCurrencyItemName(item.currencyid) }})</span>
+                        <span class="text-small">{{ $t('position.goods.holderprice')+`(${ enumName(item.currencyid) })` }}</span>
                         <span>{{ item.averageprice }}</span>
                     </td>
                     <td>
-                        <span class="text-small">持仓金额( {{ getGoodsCurrencyItemName(item.currencyid) }} )</span>
+                        <span class="text-small">{{ $t('position.goods.holderamount')+`(${ enumName(item.currencyid) })` }}</span>
                         <span>{{ item.curholderamount }}</span>
                     </td>
                     <td></td>
@@ -95,6 +95,10 @@ const selectedRow = shallowRef<Model.TradePositionRsp>()
 
 const dataList = computed(() => positionStore.filterPositionList(props.params))
 
+const enumName = (id: number) => {
+    return getGoodsCurrencyItemName(id)
+}
+
 const showComponent = (componentName: string, row: Model.TradePositionRsp) => {
     selectedRow.value = row
     openComponent(componentName)

+ 10 - 8
src/packages/digital/views/contract/goods/detail/index.vue

@@ -19,8 +19,8 @@
             </app-navbar>
         </template>
         <div class="contract-goods-detail__price g-layout-block g-layout-block--inset">
-            <h3 :class="quote?.askColor">{{ quote?.ask }}</h3>
-            <h3 :class="quote?.bidColor">{{ quote?.bid }}</h3>
+            <h3 :class="quote?.askColor">{{ handleNumberValue(quote?.ask) }}</h3>
+            <h3 :class="quote?.bidColor">{{ handleNumberValue(quote?.bid) }}</h3>
         </div>
         <Row class="g-layout-block g-layout-block--inset" gutter="10">
             <Col span="12">
@@ -56,7 +56,7 @@
             </CellGroup>
             <CellGroup inset>
                 <Cell title="可用余额" :value="formatDecimal(calculations.maxBalance)" />
-                <Cell title="可开数量" :value="formatDecimal(calculations.maxBuyQty, 0)" />
+                <Cell title="可开数量" :value="handleNoneValue(formatDecimal(calculations.maxBuyQty, 0))" />
                 <Cell title="预估手续费" :value="formatDecimal(calculations.buyEstimatedFee)" />
             </CellGroup>
             <!-- 任务 #7130 -->
@@ -122,13 +122,13 @@
             </Col>
         </Row>
         <Tabs v-model:active="tabIndex">
-            <Tab title="持仓">
+            <Tab :title="t('digital.position')">
                 <contract-position :params="{ goodsid: goodsId }" />
             </Tab>
-            <Tab title="委托">
+            <Tab :title="t('digital.order')">
                 <contract-order :params="{ goodsID: goodsId, orderStatus: '3,7' }" />
             </Tab>
-            <Tab title="资金">
+            <Tab :title="t('digital.account')">
                 <contract-account v-bind="{ goodsId }" />
             </Tab>
         </Tabs>
@@ -139,9 +139,9 @@
 import { shallowRef, computed, onMounted, onActivated } from 'vue'
 import { Form, FormInstance, Button, CellGroup, Field, Cell, Tab, Tabs, FieldRule, Col, Row, Slider, Checkbox } from 'vant'
 import { EValidType, EOrderOperateType, EBuildType } from '@/constants/client'
-import { formatDecimal, parsePercent } from '@/filters'
+import { formatDecimal, handleNoneValue, handleNumberValue, parsePercent } from '@/filters'
 import { useNavigation } from '@mobile/router/navigation'
-import { useFuturesStore, useSBYJOrderStore, useUserStore, useAccountStore } from '@/stores'
+import { useFuturesStore, useSBYJOrderStore, useUserStore, useAccountStore, i18n } from '@/stores'
 import { fullloading, dialog } from '@/utils/vant'
 import { useOrder } from '@/business/trade'
 import { BuyOrSell, getGoodsCurrencyItemName, PriceMode } from '@/constants/order'
@@ -156,6 +156,8 @@ const goodsId = getQueryStringToNumber('id')
 const futuresStore = useFuturesStore()
 const tabIndex = shallowRef(0)
 
+const { global: { t } } = i18n
+
 const formRef = shallowRef<FormInstance>()
 const showModal = shallowRef(true)
 

+ 8 - 7
src/packages/digital/views/contract/goods/list/index.vue

@@ -2,7 +2,7 @@
     <app-view class="contract">
         <template #header>
             <app-statusbar>
-                <Search shape="round" placeholder="搜索" />
+                <Search shape="round" :placeholder="t('digital.search')" />
             </app-statusbar>
         </template>
         <Tabs v-model:active="currentGroupId" v-if="goodsGroups.length">
@@ -12,16 +12,16 @@
                         <thead class="table-thead">
                             <tr class="table-row">
                                 <th>
-                                    <div class="table-cell">代码/名称</div>
+                                    <div class="table-cell">{{ $t('digital.goodscode') }}</div>
                                 </th>
                                 <th>
-                                    <div class="table-cell">买价/卖价</div>
+                                    <div class="table-cell">{{ $t('digital.price') }}</div>
                                 </th>
                                 <th>
-                                    <div class="table-cell">最高/最低</div>
+                                    <div class="table-cell">{{ $t('digital.lowest') }}</div>
                                 </th>
                                 <th>
-                                    <div class="table-cell">涨跌</div>
+                                    <div class="table-cell">{{ $t('digital.updown') }}</div>
                                 </th>
                             </tr>
                         </thead>
@@ -78,7 +78,7 @@
                 </Tab>
             </template>
         </Tabs>
-        <Empty description="暂无数据" v-else />
+        <Empty :description="t('common.nodatas')" v-else />
     </app-view>
 </template>
 
@@ -87,13 +87,14 @@ import { shallowRef, onMounted, computed, onActivated, onUnmounted } from 'vue'
 import { Search, Tab, Tabs, Image, Empty } from 'vant'
 import { useNavigation } from '@mobile/router/navigation'
 import { parsePercent, handleNumberValue, getFirstImage } from '@/filters'
-import { useFuturesStore, useUserStore } from '@/stores'
+import { i18n, useFuturesStore, useUserStore } from '@/stores'
 import quoteSocket from '@/services/websocket/quote'
 
 const { router } = useNavigation()
 const userStore = useUserStore()
 const futuresStore = useFuturesStore()
 const currentGroupId = shallowRef(0)
+const { global: { t } } = i18n
 
 const goodsGroups = userStore.userData.goodsgroups.filter((e) => e.marketid === 10101)
 

+ 3 - 3
src/packages/digital/views/home/index.vue

@@ -46,17 +46,17 @@ const tabbarItems = [
   },
   {
     name: 'home-contract',
-    label: '合约',
+    label: t('tabbar.contract'),
     icon: 'records',
   },
   {
     name: 'home-spot',
-    label: '现货',
+    label: t('tabbar.spot'),
     icon: 'graphic',
   },
   {
     name: 'home-wallet',
-    label: '钱包',
+    label: t('tabbar.wallet'),
     icon: 'cash-back-record',
   }
 ]

+ 7 - 4
src/packages/digital/views/order/list/index.vue

@@ -1,10 +1,10 @@
 <template>
     <app-view>
         <template #header>
-            <app-navbar title="我的订单">
+            <app-navbar :title="t('mine.myorder')">
                 <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>
@@ -25,17 +25,20 @@
 import { shallowRef, defineAsyncComponent, computed } from 'vue'
 import { Tab, Tabs } from 'vant'
 import { useComponent } from '@/hooks/component'
+import { i18n } from '@/stores'
+
+const { global: { t } } = i18n
 
 const components = [
     {
         name: 'goodsorder',
-        title: '订单委托',
+        title: t('order.goodsorder.title'),
         component: defineAsyncComponent(() => import('@mobile/views/order/list/components/goodsorder/list/Index.vue')),
         history: defineAsyncComponent(() => import('@mobile/views/order/list/components/goodsorder/history/Index.vue')),
     },
     {
         name: 'goodstrade',
-        title: '订单成交',
+        title: t('order.goodstrade.title'),
         component: defineAsyncComponent(() => import('@mobile/views/order/list/components/goodstrade/list/Index.vue')),
         history: defineAsyncComponent(() => import('@mobile/views/order/list/components/goodstrade/history/Index.vue')),
     }

+ 13 - 11
src/packages/digital/views/setting/index.vue

@@ -1,35 +1,35 @@
 <template>
     <app-view class="setting">
         <template #header>
-            <app-navbar title="设置" />
+            <app-navbar :title="t('mine.settings')" />
         </template>
-        <CellGroup title="账户" inset>
+        <CellGroup :title="t('mine.account')" inset>
             <Cell is-link :to="{ name: 'account-certification' }"
                 v-if="userStore.userAccount.hasauth === AuthStatus.Uncertified && userStore.userAccount.modifystatus === 1">
                 <template #title>
-                    <app-iconfont icon="g-icon-certification">实名认证</app-iconfont>
+                    <app-iconfont icon="g-icon-certification">{{ $t('user.authentication.title') }}</app-iconfont>
                 </template>
             </Cell>
             <Cell is-link :to="{ name: 'account-authresult' }" v-else>
                 <template #title>
-                    <app-iconfont icon="g-icon-certification">实名认证</app-iconfont>
+                    <app-iconfont icon="g-icon-certification">{{ $t('user.authentication.title') }}</app-iconfont>
                 </template>
             </Cell>
             <Cell is-link :to="{ name: 'user-password' }">
                 <template #title>
-                    <app-iconfont icon="g-icon-password">修改密码</app-iconfont>
+                    <app-iconfont icon="g-icon-password">{{ $t('user.password.title') }}</app-iconfont>
                 </template>
             </Cell>
             <Cell is-link :to="{ name: 'user-cancel' }">
                 <template #title>
-                    <app-iconfont icon="g-icon-cancel">注销服务</app-iconfont>
+                    <app-iconfont icon="g-icon-cancel">{{ $t('user.cancel.title') }}</app-iconfont>
                 </template>
             </Cell>
         </CellGroup>
-        <CellGroup title="系统" inset>
+        <CellGroup :title="t('mine.system')" inset>
             <Cell is-link v-if="globalStore.getSystemInfo('i18nEnabled')">
                 <template #title>
-                    <app-iconfont icon="g-icon-lang">语言设置</app-iconfont>
+                    <app-iconfont icon="g-icon-lang">{{ $t('mine.setting.language') }}</app-iconfont>
                 </template>
                 <template #value>
                     <app-luanguage />
@@ -37,7 +37,7 @@
             </Cell>
             <Cell is-link @click="userLogout">
                 <template #title>
-                    <app-iconfont icon="g-icon-cancel">退出登录</app-iconfont>
+                    <app-iconfont icon="g-icon-cancel">{{ $t('common.logout')}}</app-iconfont>
                 </template>
             </Cell>
         </CellGroup>
@@ -48,7 +48,7 @@
 import { Cell, CellGroup } from 'vant'
 import { dialog } from '@/utils/vant'
 import { AuthStatus } from '@/constants/account'
-import { useUserStore, useLoginStore, useGlobalStore } from '@/stores'
+import { useUserStore, useLoginStore, useGlobalStore, i18n } from '@/stores'
 import eventBus from '@/services/bus'
 import AppIconfont from '@/components/base/iconfont/index.vue'
 import AppLuanguage from '@mobile/components/modules/luanguage/index.vue'
@@ -57,9 +57,11 @@ const globalStore = useGlobalStore()
 const loginStore = useLoginStore()
 const userStore = useUserStore()
 
+const { t } = i18n.global
+
 const userLogout = () => {
     dialog({
-        message: '是否退出当前账号?',
+        message: t('banksign.tips5'),
         showCancelButton: true,
     }).then(() => {
         loginStore.clearAutoLoginData()

+ 3 - 3
src/packages/digital/views/spot/components/account/index.vue

@@ -27,9 +27,9 @@
             <tfoot>
                 <tr>
                     <td colspan="2">
-                        <Button type="primary" size="small" @click="activate(item)" v-if="!item.digitalaccountid">激活</Button>
-                        <Button size="small" @click="navigateTo('wallet-deposit', item.digitalaccountid)">充值</Button>
-                        <Button size="small" @click="navigateTo('wallet-withdraw', item.digitalaccountid)">提现</Button>
+                        <Button type="primary" size="small" @click="activate(item)" v-if="!item.digitalaccountid">{{ $t('digital.activation') }}</Button>
+                        <Button size="small" @click="navigateTo('wallet-deposit', item.digitalaccountid)">{{ $t('digital.wallet-deposit') }}</Button>
+                        <Button size="small" @click="navigateTo('wallet-withdraw', item.digitalaccountid)">{{ $t('digital.wallet-withdraw') }}</Button>
                     </td>
                 </tr>
             </tfoot>

+ 17 - 15
src/packages/digital/views/spot/detail/index.vue

@@ -1,20 +1,20 @@
 <template>
     <app-view class="spot-detail g-form">
         <template #header>
-            <app-navbar title="现货明细" />
+            <app-navbar :title="t('pcroute.bottom.bottom_spot_position')" />
         </template>
         <Grid :border="false" :column-num="quotes.length ? 3 : 2">
-            <GridItem icon="pending-payment" text="充值"
+            <GridItem icon="pending-payment" :text="t('digital.wallet-deposit')"
                 :to="{ name: 'wallet-deposit', query: { id: digitalaccountid } }" />
-            <GridItem icon="paid" text="提现" :to="{ name: 'wallet-withdraw', query: { id: digitalaccountid } }" />
-            <GridItem icon="chart-trending-o" text="交易" @click="navigateToSpotDetail()" v-if="quotes.length" />
+            <GridItem icon="paid" :text="t('digital.wallet-withdraw')" :to="{ name: 'wallet-withdraw', query: { id: digitalaccountid } }" />
+            <GridItem icon="chart-trending-o" :text="t('spot-goods-detail')" @click="navigateToSpotDetail()" v-if="quotes.length" />
         </Grid>
         <div class="g-detail-table" v-if="accountItem">
             <table cellspacing="0" cellpadding="0">
                 <tbody>
                     <tr>
                         <td colspan="2">
-                            <span class="text-small">余额({{ accountItem.currencycode }})</span>
+                            <span class="text-small">{{ t('account.balance')+`(${accountItem.currencycode})`}}</span>
                             <span>
                                 {{ formatDecimal(accountItem.currentbalance, accountItem.currencydecimalplace) }}
                             </span>
@@ -22,13 +22,13 @@
                     </tr>
                     <tr>
                         <td>
-                            <span class="text-small">可用({{ accountItem.currencycode }})</span>
+                            <span class="text-small">{{ t('account.availableFunds')+`(${accountItem.currencycode})`}}</span>
                             <span>
                                 {{ formatDecimal(spotAccountStore.getAvailableBalance(accountItem), accountItem.currencydecimalplace) }}
                             </span>
                         </td>
                         <td>
-                            <span class="text-small">冻结({{ accountItem.currencycode }})</span>
+                            <span class="text-small">{{ t('account.freeze')+`(${accountItem.currencycode})`}}</span>
                             <span>
                                 {{ formatDecimal(accountItem.freezemargin, accountItem.currencydecimalplace) }}
                             </span>
@@ -38,25 +38,25 @@
             </table>
         </div>
         <Tabs>
-            <Tab title="充值">
+            <Tab :title="t('digital.wallet-deposit')">
                 <wallet-record :params="{ digitalaccountid, transfertypes: '1' }" />
             </Tab>
-            <Tab title="提现">
+            <Tab :title="t('digital.wallet-withdraw')">
                 <wallet-record :params="{ digitalaccountid, transfertypes: '2' }" />
             </Tab>
-            <Tab title="转入">
+            <Tab :title="t('digital.transfer-in')">
                 <wallet-record :params="{ digitalaccountid, transfertypes: '3' }" />
             </Tab>
-            <Tab title="转出">
+            <Tab :title="t('digital.transfer-out')">
                 <wallet-record :params="{ digitalaccountid, transfertypes: '4' }" />
             </Tab>
-            <Tab title="委托">
+            <Tab :title="t('digital.order')">
                 <spot-order :params="{ digitalaccountid }" showDatePicker />
             </Tab>
-            <Tab title="成交">
+            <Tab :title="t('digital.trade')">
                 <spot-trade :params="{ digitalaccountid }" showDatePicker />
             </Tab>
-            <Tab title="资金明细">
+            <Tab :title="t('digital.funds')">
                 <spot-statement :params="{ digitalaccountid }" />
             </Tab>
         </Tabs>
@@ -76,7 +76,7 @@ import { shallowRef, computed } from 'vue'
 import { Cell, CellGroup, Tab, Tabs, Grid, GridItem, ActionSheet } from 'vant'
 import { formatDecimal } from '@/filters'
 import { useNavigation } from '@mobile/router/navigation'
-import { useFuturesStore } from '@/stores'
+import { i18n, useFuturesStore } from '@/stores'
 import { useSpotAccountStore } from '../../wallet/components/spot/composables'
 import WalletRecord from '../../wallet/components/record/index.vue'
 import SpotOrder from '../components/order/index.vue'
@@ -85,6 +85,8 @@ import SpotStatement from '../components/statement/index.vue'
 
 const { router, getQueryStringToNumber } = useNavigation()
 
+const { global: { t } } = i18n
+
 const futuresStore = useFuturesStore()
 const spotAccountStore = useSpotAccountStore()
 

+ 5 - 3
src/packages/digital/views/spot/goods/detail/index.vue

@@ -73,10 +73,10 @@
             </Col>
         </Row>
         <Tabs v-model:active="tabIndex" sticky>
-            <Tab title="委托">
+            <Tab :title="t('digital.order')">
                 <spot-order :params="{ goodsid: goodsId, orderstatuses: '3,7' }" />
             </Tab>
-            <Tab title="资金">
+            <Tab :title="t('digital.account')">
                 <spot-account v-bind="{ goodsId }" />
             </Tab>
         </Tabs>
@@ -92,7 +92,7 @@ import { EBuildType, EDelistingType, EListingSelectType, EOrderOperateType, EVal
 import { BuyOrSell, PriceMode, getPricemode2List } from '@/constants/order'
 import { useNavigation } from '@mobile/router/navigation'
 import { digitalOrder } from '@/services/api/digital'
-import { useFuturesStore, useUserStore } from '@/stores'
+import { i18n, useFuturesStore, useUserStore } from '@/stores'
 import { useSpotAccountStore } from '../../../wallet/components/spot/composables'
 import quoteSocket from '@/services/websocket/quote'
 import Long from 'long'
@@ -103,6 +103,8 @@ import SpotAccount from '../../components/account/index.vue'
 
 const subscribe = quoteSocket.createSubscribe()
 
+const { global: { t } } = i18n
+
 const { router, getQueryStringToNumber, getGlobalUrlParams } = useNavigation()
 const goodsId = getQueryStringToNumber('id')
 const userStore = useUserStore()

+ 7 - 6
src/packages/digital/views/spot/goods/list/index.vue

@@ -2,7 +2,7 @@
     <app-view class="spot">
         <template #header>
             <app-statusbar>
-                <Search shape="round" placeholder="搜索" />
+                <Search shape="round" :placeholder="t('digital.search')" />
             </app-statusbar>
         </template>
         <Tabs v-model:active="currentGroupId" v-if="goodsGroups.length">
@@ -12,13 +12,13 @@
                         <thead class="table-thead">
                             <tr class="table-row">
                                 <th>
-                                    <div class="table-cell">代码/名称</div>
+                                    <div class="table-cell">{{ $t('digital.goodscode') }}</div>
                                 </th>
                                 <th>
-                                    <div class="table-cell">最新价格</div>
+                                    <div class="table-cell">{{ $t('digital.last') }}</div>
                                 </th>
                                 <th>
-                                    <div class="table-cell">涨跌</div>
+                                    <div class="table-cell">{{ $t('digital.updown') }}</div>
                                 </th>
                             </tr>
                         </thead>
@@ -62,7 +62,7 @@
                 </Tab>
             </template>
         </Tabs>
-        <Empty description="暂无数据" v-else />
+        <Empty :description="t('common.nodatas')" v-else />
     </app-view>
 </template>
 
@@ -71,7 +71,7 @@ import { shallowRef, onMounted, computed } from 'vue'
 import { Search, Tab, Tabs, Image,Empty } from 'vant'
 import { useNavigation } from '@mobile/router/navigation'
 import { parsePercent, handleNumberValue, getFirstImage } from '@/filters'
-import { useFuturesStore, useUserStore } from '@/stores'
+import { i18n, useFuturesStore, useUserStore } from '@/stores'
 import quoteSocket from '@/services/websocket/quote'
 
 const { router } = useNavigation()
@@ -79,6 +79,7 @@ const userStore = useUserStore()
 const futuresStore = useFuturesStore()
 const subscribe = quoteSocket.createSubscribe()
 const currentGroupId = shallowRef(0)
+const { global: { t } } = i18n
 
 const goodsGroups = userStore.userData.goodsgroups.filter((e) => e.marketid === 80201)
 

+ 1 - 1
src/packages/digital/views/user/login/index.vue

@@ -9,7 +9,7 @@
     </template>
     <div class="login-container">
       <div class="login-title">
-        <h1>登录</h1>
+        <h1>{{ $t('user.login.login') }}</h1>
       </div>
       <Form ref="formRef" class="login-form" @submit="formValidate">
         <CellGroup inset>

+ 12 - 6
src/packages/digital/views/wallet/components/contract/index.vue

@@ -6,7 +6,7 @@
                 <thead>
                     <tr>
                         <th colspan="2">
-                            <span>资金({{ item.accountid }})</span>
+                            <span>{{ $t('digital.account')+`(${item.accountid})` }}</span>
                         </th>
                         <th>
                             <Icon name="arrow" />
@@ -16,11 +16,11 @@
                 <tbody>
                     <tr>
                         <td colspan="2">
-                            <span class="text-small">账户权益(USDT)</span>
+                            <span class="text-small">{{ $t('digital.currencydecimalplace')+`(${currencycode(item.currencyid)})` }}</span>
                             <span>{{ item.balance.toFixed(item.currencydecimalplace) }}</span>
                         </td>
                         <td>
-                            <span class="text-small">浮动盈亏</span>
+                            <span class="text-small">{{ $t('account.profitLoss') }}</span>
                             <span :class="handlePriceColor(item.profitLoss)">
                                 {{ item.profitLoss.toFixed(item.currencydecimalplace) }}
                             </span>
@@ -28,15 +28,15 @@
                     </tr>
                     <tr>
                         <td>
-                            <span class="text-small">可用(USDT)</span>
+                            <span class="text-small">{{ $t('account.availableFunds')+`(${currencycode(item.currencyid)})` }}</span>
                             <span>{{ item.avaiableBalance.toFixed(item.currencydecimalplace) }}</span>
                         </td>
                         <td>
-                            <span class="text-small">占用(USDT)</span>
+                            <span class="text-small">{{ $t('account.usedMargin')+`(${currencycode(item.currencyid)})` }}</span>
                             <span>{{ item.usedmargin.toFixed(item.currencydecimalplace) }}</span>
                         </td>
                         <td>
-                            <span class="text-small">冻结(USDT)</span>
+                            <span class="text-small">{{ $t('account.freeze')+`(${currencycode(item.currencyid)})` }}</span>
                             <span>{{ item.freezemargin.toFixed(item.currencydecimalplace) }}</span>
                         </td>
                     </tr>
@@ -50,9 +50,15 @@
 import { Icon } from 'vant'
 import { handlePriceColor } from '@/filters'
 import { useAccountStore } from '@/stores'
+import { getCurrencyName, getGoodsCurrencyItemName } from '@/constants/order'
+import { computed } from 'vue'
 
 const emit = defineEmits(['click'])
 
+const currencycode = (accountid: number) => {
+    return getGoodsCurrencyItemName(accountid)
+}
+
 const accountStore = useAccountStore()
 
 const onClick = (accountId: number) => {

+ 4 - 1
src/packages/digital/views/wallet/components/spot/index.vue

@@ -1,6 +1,7 @@
 <!-- 现货-账户 -->
 <template>
     <div class="spot-account">
+        <Search shape="round" :placeholder="t('digital.search')" />
         <template v-for="(item, index) in spotAccountStore.dataList" :key="index">
             <div class="card" @click="onClick(item)">
                 <div class="card-section">
@@ -19,7 +20,7 @@
                 <div class="card-section">
                     <div class="card-section__balance">
                         <span>
-                            余额({{ item.currencycode }})
+                            {{ t('digital.balance')+`(${item.currencycode})` }}
                         </span>
                         <span class="text-small">
                             {{ formatDecimal(item.currentbalance, item.currencydecimalplace) }}
@@ -39,8 +40,10 @@ import { Icon } from 'vant'
 import { formatDecimal } from '@/filters'
 import { getDigitalCurrencyName } from '@/constants/order'
 import { useSpotAccountStore } from './composables'
+import { i18n } from '@/stores'
 
 const emit = defineEmits(['click'])
+const { global: { t } } = i18n
 
 const onClick = (item: Model.TaaccountDigitalsRsp) => {
     emit('click', item.currencyid)

+ 4 - 3
src/packages/digital/views/wallet/index.vue

@@ -11,10 +11,10 @@
             <GridItem icon="setting-o" text="设置" :to="{ name: 'setting' }" />
         </Grid>
         <Tabs v-model:active="currentTabIndex">
-            <Tab title="合约">
+            <Tab :title="t('tabbar.contract')">
                 <contract-account @click="navigateToContractDetail" />
             </Tab>
-            <Tab title="现货">
+            <Tab :title="t('tabbar.spot')">
                 <Search shape="round" placeholder="搜索" />
                 <spot-account @click="navigateToSpotDetail" />
             </Tab>
@@ -28,9 +28,10 @@ import { Tab, Tabs, Grid, GridItem, Search } from 'vant'
 import { useNavigation } from '@mobile/router/navigation'
 import SpotAccount from './components/spot/index.vue'
 import ContractAccount from './components/contract/index.vue'
+import { i18n } from '@/stores'
 
 const { router } = useNavigation()
-
+const { global: { t } } = i18n
 const currentTabIndex = shallowRef(0)
 
 const navigateToSpotDetail = (currencyId: number) => {

+ 1 - 1
src/packages/mobile/views/account/authresult/Index.vue

@@ -4,7 +4,7 @@
             <app-navbar :title="$t('user.authentication.title')" />
         </template>
         <template v-if="userInfo && !loading">
-            <CellGroup title="认证信息" inset>
+            <CellGroup :title="t('user.authentication.subtitle')" inset>
                 <Cell :title="$t('user.authentication.customername')" :value="userInfo.customername" />
                 <Cell :title="$t('user.authentication.cardtype')"
                     :value="getCertificateTypeCodeName(userInfo.cardtypeid)" />