liming před 4 týdny
rodič
revize
feb43012ae

+ 12 - 11
src/i18n/zhHk/router.js

@@ -8,16 +8,17 @@ export default {
   Me: "我的",
   CreateWallet: "創建錢包",
   PersonalInformation: "個人資料",
-  WalletManagement:"錢包管理",
-  receiptOfRecord:"領取記錄",
-  walletDetail:"詳情",
-  transfer:"轉賬",
-  addressBook:"地址簿",
-  addAddress:"添加地址",
-  collectionPayment:"收款",
-  exchange:"兌換",
+  WalletManagement: "錢包管理",
+  receiptOfRecord: "領取記錄",
+  walletDetail: "詳情",
+  transfer: "轉賬",
+  addressBook: "地址簿",
+  addAddress: "添加地址",
+  collectionPayment: "收款",
+  exchange: "兌換",
 
-   UserAgreement: "用戶協議",
+  UserAgreement: "用戶協議",
   BackupMnemonic: "備份助記詞",
-  AboutUs: "關於我們"
-}
+  AboutUs: "關於我們",
+  SystemSettings: "系統設置",
+};

+ 5 - 0
src/i18n/zhHk/settings.js

@@ -2,4 +2,9 @@ export default {
   ServiceAndPrivacyPolicy: "服務條款及隱私政策",
   OfficialWebsite: "官方網站",
   VersionUpdate: "版本更新",
+
+
+Language: "語言",
+MonetaryUnit: "貨幣單位",
+NodeSettings: "節點設置"
 }

+ 9 - 1
src/router/system.js

@@ -97,6 +97,14 @@ export const systemRoutes = [
         meta: { title: "router.AboutUs", keepAlive: false, navbar: true, leftArrow: true }, // 關於我們
         component: () => import("@/views/settings/aboutUs/index.vue"),
       },
+
+
+      {
+        path: "systemSettings",
+        name: "systemSettings",
+        meta: { title: "router.SystemSettings", keepAlive: false, navbar: true, leftArrow: true }, //  系統設置
+        component: () => import("@/views/settings/systemSettings/index.vue"),
+      },
     ],
   },
-];
+]

+ 3 - 3
src/views/me/index.vue

@@ -71,9 +71,9 @@ const vanListConfig = [
   { title: '元宝兑换', icon:"ingot",  url: 'exchange' },
   { title: '竞赛', icon:"competition",  url: '/' },
   { title: '节点分红', icon:"red-envelope",  url: 'nodeDividend' },
-  { title: '帮助中心', icon:"help",  url: '/' },
-  { title: '关于我们', icon:"me",  url: '/' },
-  { title: '系统设置', icon:"set",  url: '/' },
+  // { title: '帮助中心', icon:"help",  url: '/' },
+  { title: $t('router.AboutUs'), icon:"me",  url: 'aboutUs' },
+  { title: '系统设置', icon:"set",  url: 'systemSettings' },
   { title: '管理员设置', icon:"admin-set",  url: '/' },
 ]
 const evGoPath = (path)=>{

+ 2 - 6
src/views/settings/aboutUs/index.vue

@@ -19,6 +19,7 @@
           v-else
           :class="index == vanListConfig.length - 1 ? 'user-bar-list-last' : ''"
           :title="item.title"
+          :value="item.txt"
           is-link
           @click="evGoPath(item.url)"
         />
@@ -70,12 +71,7 @@ const evGoPath = (path)=>{
   margin: 25px 17px 0 17px;
   border-radius: 12px 12px 12px 12px;
   overflow: hidden; 
-
-  .cell-icon{
-    width: 21px;
-    height: 21px;
-    margin-right: 4px;
-  }
+ 
   :deep(.van-cell__value){
     min-width: 200px;
   }

+ 40 - 0
src/views/settings/systemSettings/index.vue

@@ -0,0 +1,40 @@
+<template>
+  <div class="c">
+    <van-list class="user-bar-list">
+      <van-cell
+        v-for="(item, index) in vanListConfig"
+        :key="index"
+        :class="index == vanListConfig.length - 1 ? 'user-bar-list-last' : ''"
+        :title="item.title"
+        :value="item.txt"
+        is-link
+        @click="evGoPath(item.url)"
+      />
+    </van-list>
+  </div>
+</template>
+
+<script setup> 
+
+const vanListConfig = [
+  { title: $t('settings.ServiceAndPrivacyPolicy'), icon:"ingot",  url: 'agreement' },
+  { title: $t('settings.OfficialWebsite'),   txt:"https://wallet.angeltokens.io" },
+  { title: $t('settings.VersionUpdate'),   url: 'nodeDividend' },
+]
+
+const evGoPath = (url) => {
+ 
+}
+</script>
+
+<style scoped lang="less"> 
+.user-bar-list{
+  margin: 25px 17px 0 17px;
+  border-radius: 12px 12px 12px 12px;
+  overflow: hidden; 
+
+  :deep(.van-cell__value){
+    min-width: 200px;
+  }
+}
+</style>