Commit ac5f798d authored by 李晓兵's avatar 李晓兵

'修改登录bug'

parent caaa755c
......@@ -55,7 +55,7 @@ export default {
}
vm.$post(process.env.basePath + 'app_login', param)
.then(function (res) {
if (res.result === 'S') {
if (res.result === 'S' && res.info.login_flag === 'Y') {
vm.hlsPopup.hideLoading()
window.localStorage.setItem('user_phone', vm.username)
window.localStorage.setItem('password', md5passwprd)
......@@ -73,6 +73,9 @@ export default {
'user_id': res.user_id,
}
vm.Jpush._jpush_config(tagOption) */
} else {
hlsPopup.hideLoading()
hlsPopup.showLongCenter('登录失败')
}
// 极光推送
})
......
......@@ -161,7 +161,7 @@
</bottom-tab>
<h-modal ref="modal" v-model="showModalValue" position="bottom" cus-class="sign-modal">
<h-view>
<h-content class="modal-content">
<div class="modal-content">
<notify v-model="show1" content="请输入本人的银行卡" type="warning" class="notice" />
<notify v-model="show2" content="请输入完整字段" type="warning" class="notice" />
<notify v-model="show3" content="添加成功" type="success" class="notice" />
......@@ -188,7 +188,7 @@
<input slot="content" v-model="bank.bank_branch_name" placeholder="请输入支行名称" >
</item>
</list-item>
</h-content>
</div>
</h-view>
<bottom-tab class="add-box">
<tab-button class="add-card" @click.native="addBankInfo">添加</tab-button>
......@@ -832,6 +832,7 @@ export default {
display: none;
}
.modal-content {
width: 100%;
height: 75%;
position: absolute;
top: 25%;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment