wkw преди 3 седмици
родител
ревизия
61b7ec7938

BIN
src/assets/img/down-icon.jpg


Файловите разлики са ограничени, защото са твърде много
+ 8 - 0
src/assets/svg/download.svg


+ 2 - 0
src/i18n/zhHk/router.js

@@ -25,5 +25,7 @@ export default {
   ImportWallet:"導入錢包",
 
   LanguageSettings:"語言設置",
+  AdministratorSettings:"管理員設置",
+  Download:"下載鏈接"
   
 };

+ 12 - 0
src/router/system.js

@@ -117,6 +117,18 @@ export const systemRoutes = [
         meta: { title: "router.LanguageSettings", keepAlive: false, navbar: true, leftArrow: true }, //  系統設置
         component: () => import("@/views/settings/languageSettings/index.vue"),
       },
+      {
+        path: "administratorSettings",
+        name: "administratorSettings",
+        meta: { title: "router.AdministratorSettings", keepAlive: false, navbar: true, leftArrow: true }, //  管理员设置
+        component: () => import("@/views/me/administratorSettings/index.vue"),
+      },
+      {
+        path: "download",
+        name: "download",
+        meta: { title: "router.Download", keepAlive: false, navbar: true, leftArrow: true }, //  下载链接
+        component: () => import("@/views/me/download/index.vue"),
+      },
     ],
   },
 ]

+ 68 - 0
src/views/me/administratorSettings/index.vue

@@ -0,0 +1,68 @@
+<template>
+    <div>
+        <div class="title">添加节点分红地址白名单</div>
+        <div class="input-box">
+            <van-field v-model="message" placeholder="请输入钱包完整地址" />
+        </div>
+        <div class="admin-btn">
+            <van-button class="add">加入白名单</van-button>
+            <van-button class="delete" color="#4765DD">移除白名单</van-button>
+            <van-button class="add">加入管理员</van-button>
+            <van-button class="delete" color="#4765DD">移除管理员</van-button>
+        </div>
+    </div>
+</template>
+
+<script setup>
+const message = ref('')
+</script>
+
+<style lang="less" scoped>
+.title{
+    margin: 20px 0 16px;
+    text-align: center;
+    font-family: PingFang SC, PingFang SC;
+    font-weight: 400;
+    font-size: 15px;
+    color: #000000;
+}
+.input-box{
+    background: #F2F2F2;
+    border-radius: 8px;
+    border: 1px solid #D8D8D8;
+    margin: 0 30px;
+    height: 64px;
+    font-family: PingFang SC, PingFang SC;
+    font-weight: 400;
+    font-size: 15px;
+    color: #8D8D8D;
+    :deep(.van-cell){
+        background: initial !important;
+        height: 64px;
+        box-sizing: border-box;
+        line-height: 64px;
+        padding: 0 16px !important;
+    }
+}
+.admin-btn{
+    margin: 32px 30px 0;
+    display: flex;
+    flex-wrap: wrap;
+    gap: 16px;
+    box-sizing: border-box;
+    .add,.delete{
+        width: calc(95% / 2);
+        height: 32px;
+        line-height: 32px;
+        border-radius: 17px;
+        font-family: PingFang SC, PingFang SC;
+        font-weight: 400;
+        font-size: 15px;
+        color: #FFFFFF;
+        border: none !important;
+    }
+    .add{
+        background: #869EFF;
+    }
+}
+</style>

+ 26 - 0
src/views/me/download/index.vue

@@ -0,0 +1,26 @@
+<template>
+    <div class="container">
+        <div class="qrcode">
+            <qrcode-vue :value="qrtext" :size="150" :margin="2"/>
+        </div>
+    </div>
+</template>
+
+<script setup>
+import QrcodeVue from 'qrcode.vue'
+const qrtext = ref('123');
+</script>
+
+<style lang="less" scoped>
+.container{
+    height: calc(100vh - 44px);
+    background: url('../../../assets/img/down-icon.jpg') no-repeat;
+    background-size: 100% 100%;
+    position: relative;
+    .qrcode{
+        position: absolute;
+        bottom: 6px;
+        left: 16px;
+    }
+}
+</style>

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

@@ -28,7 +28,7 @@
         </van-col>
         <van-col span="6">
           <div class="user-bar-icon-box">
-            <svg-icon class="user-bar-icon"  name="bar-url"/> 
+            <svg-icon class="user-bar-icon"  name="bar-url" @click="goToaPage('download')"/> 
             <span class="user-info-text">下载链接</span> 
           </div>
         </van-col>
@@ -74,7 +74,7 @@ const vanListConfig = [
   // { title: '帮助中心', icon:"help",  url: '/' },
   { title: $t('router.AboutUs'), icon:"me",  url: 'aboutUs' },
   { title: '系统设置', icon:"set",  url: 'systemSettings' },
-  { title: '管理员设置', icon:"admin-set",  url: '/' },
+  { title: '管理员设置', icon:"admin-set",  url: 'administratorSettings' },
 ]
 const evGoPath = (path)=>{
   router.push(path)

Някои файлове не бяха показани, защото твърде много файлове са промени