Commit 41873b4b authored by zhengke's avatar zhengke

修改

parent 4bca574c
......@@ -69,9 +69,10 @@
</div>
<div class="form-group">
<div class="login_labelName">密碼</div>
<q-input outlined v-model="loginMsg.password" ref="pwd" class="bg-grey-1 login_pwd"/>
<i class="iconfont iconyanjing_xianshi" v-if="flag==1" @click="flag=2,getType(flag)"></i>
<i class="iconfont iconbiyan" v-if="flag==2" @click="flag=1,getType(flag)"></i>
<q-input v-if="flag==1" outlined v-model="loginMsg.password" type="text" ref="pwd" class="bg-grey-1 login_pwd"/>
<q-input v-if="flag==2" outlined v-model="loginMsg.password" type="password" ref="pwd" class="bg-grey-1 login_pwd"/>
<i class="iconfont iconyanjing_xianshi" v-if="flag==1" @click="flag=2"></i>
<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="登入" @click="login" />
......@@ -111,14 +112,6 @@
}
},
methods: {
//切换眼睛
getType(flag){
if(flag==2){
this.$refs.pwd.type="password";
}else{
this.$refs.pwd.type="text";
}
},
login() {
this.apipost(
"b2b_post_Login", this.loginMsg,
......
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