|
|
@@ -19,7 +19,11 @@
|
|
|
<div class="asset-management">
|
|
|
<div class="asset-title pf600 fs18 fc333333">资产管理</div>
|
|
|
<div class="index-menu">
|
|
|
- <div class="menu-item" v-for="(item, index) in indexMenu" :key="index">
|
|
|
+ <div
|
|
|
+ class="menu-item"
|
|
|
+ v-for="(item, index) in indexMenu"
|
|
|
+ :key="index"
|
|
|
+ @click="goIndexMenu(index)">
|
|
|
<img :src="item.image" alt="" />
|
|
|
<div class="item-text pf400 fs14 fc666666">{{ item.name }}</div>
|
|
|
</div>
|
|
|
@@ -41,7 +45,11 @@
|
|
|
<div class="common-functions">
|
|
|
<div class="asset-title pf600 fs18 fc333333">常用功能</div>
|
|
|
<div class="index-menu">
|
|
|
- <div class="menu-item" v-for="(item, index) in commonFunctions" :key="index">
|
|
|
+ <div
|
|
|
+ class="menu-item"
|
|
|
+ v-for="(item, index) in commonFunctions"
|
|
|
+ :key="index"
|
|
|
+ @click="goCommonFunc(index)">
|
|
|
<img :src="item.image" alt="" />
|
|
|
<div class="item-text pf400 fs14 fc666666">{{ item.name }}</div>
|
|
|
</div>
|
|
|
@@ -59,17 +67,58 @@
|
|
|
router.push("/userCenter");
|
|
|
};
|
|
|
|
|
|
+ const goIndexMenu = (index) => {
|
|
|
+ if (index == 0) {
|
|
|
+ router.push("/rechargeIndex");
|
|
|
+ } else if (index == 1) {
|
|
|
+ router.push("/withdrawIndex");
|
|
|
+ } else if (index == 2) {
|
|
|
+ router.push("/transfer");
|
|
|
+ } else if (index == 3) {
|
|
|
+ router.push("/loanIndex");
|
|
|
+ } else if (index == 4) {
|
|
|
+ router.push("/userAsset");
|
|
|
+ } else if (index == 5) {
|
|
|
+ router.push("/icoIndex");
|
|
|
+ }
|
|
|
+ };
|
|
|
+
|
|
|
const goTransaction = (index) => {
|
|
|
- if (index == 6) {
|
|
|
+ if (index == 0) {
|
|
|
+ router.push("/bitcoin/seconds");
|
|
|
+ } else if (index == 1) {
|
|
|
+ router.push("/bitcoin/contract");
|
|
|
+ } else if (index == 2) {
|
|
|
+ router.push("/bitcoin/options");
|
|
|
+ } else if (index == 3) {
|
|
|
+ router.push("/bitcoin/CryptocurrencyTrading");
|
|
|
+ } else if (index == 4) {
|
|
|
+ router.push("/financialIndex");
|
|
|
+ } else if (index == 5) {
|
|
|
+ router.push("/loanIndex");
|
|
|
+ } else if (index == 6) {
|
|
|
router.push("/otcIndex");
|
|
|
}
|
|
|
};
|
|
|
|
|
|
+ const goCommonFunc = (index) => {
|
|
|
+ if (index == 0) {
|
|
|
+ router.push("/invite");
|
|
|
+ } else if (index == 1) {
|
|
|
+ } else if (index == 2) {
|
|
|
+ router.push("/kyc/step1");
|
|
|
+ } else if (index == 3) {
|
|
|
+ router.push("/language");
|
|
|
+ } else if (index == 4) {
|
|
|
+ router.push("/detail");
|
|
|
+ } else if (index == 5) {
|
|
|
+ router.push("/userCenter");
|
|
|
+ } else if (index == 6) {
|
|
|
+ router.push("/about");
|
|
|
+ }
|
|
|
+ };
|
|
|
+
|
|
|
const indexMenu = [
|
|
|
- {
|
|
|
- name: "ICO功能",
|
|
|
- image: require("@/assets/img/index/user/ico.svg"),
|
|
|
- },
|
|
|
{
|
|
|
name: "充币",
|
|
|
image: require("@/assets/img/index/user/chongbi.svg"),
|
|
|
@@ -90,6 +139,10 @@
|
|
|
name: "我的资产",
|
|
|
image: require("@/assets/icon/index/zichan.png"),
|
|
|
},
|
|
|
+ {
|
|
|
+ name: "ICO",
|
|
|
+ image: require("@/assets/img/index/user/ico.svg"),
|
|
|
+ },
|
|
|
];
|
|
|
|
|
|
const transactionMenu = [
|
|
|
@@ -348,6 +401,7 @@
|
|
|
justify-content: flex-start;
|
|
|
align-items: center;
|
|
|
margin-top: 23px;
|
|
|
+ margin-bottom: 40px;
|
|
|
width: 345px;
|
|
|
|
|
|
.asset-title {
|