|
@@ -0,0 +1,83 @@
|
|
|
|
+<template>
|
|
|
|
+ <div class="container">
|
|
|
|
+ <div class="logo-box">
|
|
|
|
+ <svg-icon name="acc_logo" class="acc-logo" />
|
|
|
|
+ <span class="logo-text">Angel Token</span>
|
|
|
|
+ <span class="logo-version">1.0.0</span>
|
|
|
|
+ </div>
|
|
|
|
+
|
|
|
|
+ <van-list class="user-bar-list">
|
|
|
|
+ <template v-for="(item, index) in vanListConfig" >
|
|
|
|
+ <van-cell
|
|
|
|
+ v-if="item.txt"
|
|
|
|
+ :class="index == vanListConfig.length - 1 ? 'user-bar-list-last' : ''"
|
|
|
|
+ :title="item.title"
|
|
|
|
+ :value="item.txt"
|
|
|
|
+
|
|
|
|
+ />
|
|
|
|
+ <van-cell
|
|
|
|
+ v-else
|
|
|
|
+ :class="index == vanListConfig.length - 1 ? 'user-bar-list-last' : ''"
|
|
|
|
+ :title="item.title"
|
|
|
|
+ is-link
|
|
|
|
+ @click="evGoPath(item.url)"
|
|
|
|
+ />
|
|
|
|
+ </template>
|
|
|
|
+ </van-list>
|
|
|
|
+ </div>
|
|
|
|
+</template>
|
|
|
|
+
|
|
|
|
+<script setup>
|
|
|
|
+const router = useRouter();
|
|
|
|
+
|
|
|
|
+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 = (path)=>{
|
|
|
|
+ if(path == "agreement") router.push(path)
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+</script>
|
|
|
|
+
|
|
|
|
+<style scoped lang="less">
|
|
|
|
+.logo-box {
|
|
|
|
+ width: 100%;
|
|
|
|
+ display: flex;
|
|
|
|
+ flex-direction: column;
|
|
|
|
+ align-items: center;
|
|
|
|
+ .logo-text {
|
|
|
|
+ font-weight: 500;
|
|
|
|
+ font-size: 17px;
|
|
|
|
+ margin-top: 8px;
|
|
|
|
+ }
|
|
|
|
+ .logo-version {
|
|
|
|
+ font-weight: 400;
|
|
|
|
+ font-size: 12px;
|
|
|
|
+ color: #8d8d8d;
|
|
|
|
+ margin-top: 4px;
|
|
|
|
+ }
|
|
|
|
+}
|
|
|
|
+.acc-logo {
|
|
|
|
+ margin-top: 17px;
|
|
|
|
+ width: 73px;
|
|
|
|
+ height: 73px;
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+.user-bar-list{
|
|
|
|
+ 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;
|
|
|
|
+ }
|
|
|
|
+}
|
|
|
|
+</style>
|