|
|
@@ -25,7 +25,7 @@ |
|
|
|
</view> |
|
|
|
|
|
|
|
<!-- 账户密码表单 --> |
|
|
|
<l-input v-if="ready" v-model="username" placeholder="手机号 / 账号" left> |
|
|
|
<l-input v-if="ready" v-model="username" placeholder="身份证号" left> |
|
|
|
<l-icon slot="title" type="people" /> |
|
|
|
</l-input> |
|
|
|
<l-input v-if="ready" v-model="password" placeholder="请输入身份证后八位" password left> |
|
|
@@ -137,11 +137,11 @@ export default { |
|
|
|
return |
|
|
|
} |
|
|
|
if(success.logined){ |
|
|
|
var logininfo = { |
|
|
|
account: account, |
|
|
|
token: success.baseinfo.token, |
|
|
|
date: moment().format('yyyy-MM-dd hh:mm:ss') |
|
|
|
}; |
|
|
|
// var logininfo = { |
|
|
|
// account: account, |
|
|
|
// token: success.baseinfo.token, |
|
|
|
// date: moment().format('yyyy-MM-dd hh:mm:ss') |
|
|
|
// }; |
|
|
|
this.SET_STORAGE("token",success.baseinfo.token) |
|
|
|
// this.SET_STORAGE("logininfo",logininfo) |
|
|
|
// this.SET_STORAGE("userinfo",success) |
|
|
|