diff --git a/locale/en.js b/locale/en.js
index d1725c2..1b39014 100644
--- a/locale/en.js
+++ b/locale/en.js
@@ -110,14 +110,9 @@ export default {
},
"center": {
"invtantion_code": "Invitation Code",
- "cradibiliy_value": "Credibility Value",
- "account_balance": "Account Balance",
- "account_balance_info": "The system will automatically update the daily earnings:",
- "wallet_amount": "Wallet Amount",
- "deposit": "Deposit",
+ "account_balance": "Balance",
+ "Payment": "Payment",
"withdraw": "Withdrawal",
- "personal_info": "Personal Info",
- "Transaction": "Transaction",
"wallet": "Wallet",
"language": "Language",
"customer_serivce": "Customer Service",
@@ -129,7 +124,11 @@ export default {
"fanList": "Fan List",
"cannotModified": "Cannot be modified",
"winningRecord": "Winning Record",
- "loginRecord" : "Entry record"
+ "loginRecord" : "Entry record",
+ "Detailed" : "Detailed",
+ "Password" : "Password",
+ "Rule" : "Rule",
+ "About" : "About Us",
},
"loginRecord" : {
"title" : "Entry record",
diff --git a/pages/center/center.vue b/pages/center/center.vue
index 538d419..283e13e 100644
--- a/pages/center/center.vue
+++ b/pages/center/center.vue
@@ -6,16 +6,7 @@
-
-
+
-
-
+ -->
+
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
+
+
+
+
+
+
+
+ {{ $t('page.center.invtantion_code') }} : {{ userInfo.account }}
+
+
+ {{ $t('page.center.invtantion_code') }} : {{ userInfo.invitationCode }}
+
+
+
+
+
+
+
+ {{ $t('page.center.account_balance') }}
+
+
+ {{ userInfo.belece }}
+
+
+
+ Recharge
+
+
+ Withdrawal
+
+
+
+
+
+ Services
+
+
+
+
+
+ {{ $t('page.center.' + item.title) }}
+
+
+
+
@@ -213,9 +245,43 @@
},
data() {
return {
- list: [{
-
- }],
+ baseList: [
+ {
+ image : '/static/center/1.png',
+ title: 'Detailed',
+ path : '/runningWater/runningWater',
+ },
+ {
+ image : '/static/center/2.png',
+ title: 'wallet',
+ path : '',
+ },
+ {
+ image : '/static/center/3.png',
+ title: 'Password',
+ path : '/modifyUser/modifyUser?type=1',
+ },
+ {
+ image : '/static/center/4.png',
+ title: 'Payment',
+ path : '/modifyUser/modifyUser?type=0',
+ },
+ {
+ image : '/static/center/6.png',
+ title: 'Rule',
+ path : '/instructions/instructions?key=Rule',
+ },
+ {
+ image : '/static/center/7.png',
+ title: 'About',
+ path : '/instructions/instructions?key=About',
+ },
+ {
+ image : '/static/center/8.png',
+ title: 'logout',
+ path : '',
+ },
+ ],
showAddress: false,
showLanguage: false,
showService: false,
@@ -359,6 +425,21 @@
url: '/pages/loginRecord/loginRecord'
})
},
+
+ // 跳转路径
+ toPath(item){
+ console.log(item);
+
+ if('logout' == item.title){
+ return this.logout()
+ }
+
+ if(item.path){
+ uni.navigateTo({
+ url: '/pages' + item.path
+ })
+ }
+ },
//跳转中奖记录
toWinningRecord() {
@@ -385,27 +466,103 @@