Commit 12af1a45 authored by zhengke's avatar zhengke

修改

parent ba833ced
......@@ -82,7 +82,7 @@
<i class="iconfont iconbiyan" v-if="flag==2" @click="flag=1"></i>
</div>
<div>
<q-btn color="primary" unelevated style="width:100%;height:50px;margin-top:20px;" filled label="登入"
<q-btn color="primary" unelevated style="width:100%;height:50px;margin-top:20px;" filled :label="mylabel"
@click="login" />
</div>
</div>
......@@ -104,7 +104,8 @@
password: ""
},
logo: '',
flag: 2
flag: 2,
mylabel:'登入'
};
},
created() {
......@@ -139,16 +140,11 @@
})
return;
}
this.$q.notify({
type: 'negative',
message: '提交中',
position: 'top',
color:'secondary',
timeout: 500, // 以毫秒为单位; 0意味着没有超时
})
this.mylabel='提交中...';
this.apipost(
"b2b_post_Login", this.loginMsg,
res => {
this.mylabel='登入';
if (res.data.resultCode == 1) {
var jsonData = JSON.stringify(res.data.data);
window.localStorage.setItem("b2bUser", jsonData);
......@@ -158,7 +154,6 @@
type: 'negative',
message: res.data.message,
position: 'top',
color:'secondary',
timeout: 2000, // 以毫秒为单位; 0意味着没有超时
})
}
......
......@@ -20,7 +20,7 @@
}
.header_content {
flex-basis: 60%;
flex-basis: 100%;
padding: 30px;
color: #fff;
font-weight: 600;
......
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