diff --git a/pages.json b/pages.json
index c061971..095a70c 100644
--- a/pages.json
+++ b/pages.json
@@ -87,6 +87,12 @@
"navigationStyle": "custom"
}
},
+ {
+ "path": "pages/me/about",
+ "style": {
+ "navigationStyle": "custom"
+ }
+ },
{
"path": "pages/me/inviteFriends",
"style": {
diff --git a/pages/login/forget.vue b/pages/login/forget.vue
index a9d5030..e510aeb 100644
--- a/pages/login/forget.vue
+++ b/pages/login/forget.vue
@@ -1,216 +1,280 @@
-
- {{ i18n.ForgotPassword }}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{tips}}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{ i18n.Save }}
-
-
-
-
-
+
+ {{ i18n.ForgotPassword }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{tips}}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ i18n.Save }}
+
+
+
+
+
diff --git a/pages/login/index.vue b/pages/login/index.vue
index 7b74ce0..b945b30 100644
--- a/pages/login/index.vue
+++ b/pages/login/index.vue
@@ -21,8 +21,8 @@
{{ i18n.forgotText }}
- {{ i18n.Login }}
- {{ i18n.notAccountText }}
+ {{ i18n.Login }}
+ {{ i18n.notAccountText }}
{{ i18n.SignUp }}
@@ -31,10 +31,14 @@
+
+
diff --git a/pages/me/index.vue b/pages/me/index.vue
index 76dc2dc..24f7f7b 100644
--- a/pages/me/index.vue
+++ b/pages/me/index.vue
@@ -1,378 +1,408 @@
-
-
-
-
-
-
- ID:984934
- {{ i18n.account }}:348798457498579
-
-
-
-
-
-
-
- {{ i18n.Recharge }}
-
-
-
-
- {{ i18n.Withdrawal }}
-
-
-
-
- {{ i18n.Transfer }}
-
-
-
-
-
-
- 0
- {{ i18n.Balance }}
-
-
-
- 0
- {{ i18n.Pledge }}
-
-
-
- 0
- {{ i18n.Contarct }}
-
-
-
-
- {{ i18n.General }}
-
-
- {{ i18n.InviteFriends }}
-
- {{ i18n.AccountInfo }}
-
- {{ i18n.MyTeam }}
-
- {{ i18n.WalletHistory }}
-
- {{ i18n.Notification }}
-
- {{ i18n.DonateRecord }}
-
- {{ i18n.Language }}
-
- {{ i18n.AboutUs }}
-
-
-
-
-
- {{ i18n.LogOut }}
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+ ID:{{userInfo.uid}}
+ {{ i18n.account }}:{{userInfo.email}}
+
+
+
+
+
+
+
+ {{ i18n.Recharge }}
+
+
+
+
+ {{ i18n.Withdrawal }}
+
+
+
+
+ {{ i18n.Transfer }}
+
+
+
+
+
+
+ {{userInfoBalance.balance}}
+ {{ i18n.Balance }}
+
+
+
+ {{userInfoBalance.pledge}}
+ {{ i18n.Pledge }}
+
+
+
+ {{userInfoBalance.contract}}
+ {{ i18n.Contarct }}
+
+
+
+
+ {{ i18n.General }}
+
+
+ {{ i18n.InviteFriends }}
+
+ {{ i18n.AccountInfo }}
+
+ {{ i18n.MyTeam }}
+
+ {{ i18n.WalletHistory }}
+
+ {{ i18n.Notification }}
+
+ {{ i18n.DonateRecord }}
+
+ {{ i18n.Language }}
+
+ {{ i18n.AboutUs }}
+
+
+
+
+
+ {{ i18n.LogOut }}
+
+
+
+
+
+
+
+
diff --git a/utils/api.js b/utils/api.js
index f00dbeb..3de8b17 100644
--- a/utils/api.js
+++ b/utils/api.js
@@ -81,6 +81,7 @@ const api = {
//--------------------------------- 个人中心 ---------------------------------
register: (params) => Vue.prototype.$axios.post('/api/index/register',params),//注册
login: (params) => Vue.prototype.$axios.post('/api/user/login',params),//登录
+ aboutus: (params) => Vue.prototype.$axios.post('/api/index/aboutus',params),//关于我们
loginOut: (params) => Vue.prototype.$axios.post('/api/user/loginOut',params),//退出登录
forgotPassword: (params) => Vue.prototype.$axios.post('/api/user/forgotPassword',params),//忘记密码
updatePassword: () => Vue.prototype.$axios.get('/api/user/updatePassword'),//修改登录密码
diff --git a/utils/axios.js b/utils/axios.js
index 802f60d..05fb449 100644
--- a/utils/axios.js
+++ b/utils/axios.js
@@ -40,7 +40,8 @@ service.interceptors.request.use(
}
const ticket = uni.getStorageSync('ticket')
- if (ticket != '') {
+ if (ticket) {
+ config.data = {};
config.data['ticket'] = ticket
}
if (Vue.prototype.$showDialog) {
diff --git a/utils/language/en_US.js b/utils/language/en_US.js
index ff80a54..0e97ac0 100644
--- a/utils/language/en_US.js
+++ b/utils/language/en_US.js
@@ -14,6 +14,8 @@ export default {
Login: 'Login',
SignUp: 'Sign Up',
ForgotPassword: 'Forgot password',
+ Getcode:'Get code',
+ passwordRule:'Please enter a password of 6-20 characters, which must contain at least 1 capital letter, 1 lowercase letter and 1 digit',
// login
welcomeText: 'Hi, Welcome Back!',
signInText: 'Sign in to your account.',
@@ -27,6 +29,7 @@ export default {
checkTheTermsOfService: 'Please review and agree to the terms of service',
// register
+ passwordConfirm:"The login passwords entered repeatedly are inconsistent",
loginSuccess:"Login successful",
resSuccess:"Registration success",
Emailempty:"E-mail can not be empty",
@@ -321,6 +324,7 @@ export default {
//me
me: {
+ isLogOut:'Are you sure you want to log out?',
account: 'account',
Recharge: 'Recharge',
Withdrawal: 'Withdrawal',
@@ -354,6 +358,7 @@ export default {
PleaseEnterTheOldPassword: 'Please Enter the old password',
CreateNewLoginPassword: 'Create new Login password',
Confirm: 'Confirm',
+ Cancel: 'Cancel',
ModifyWithdrawalPassword: 'Modify Withdrawal Password',
CreateNewPassword: 'Create new password',