修改移入气泡位置,输了开户业务其他点击密码框只需要保留一个输入密码即可bug

20240205
e 3 years ago
parent afac2b8282
commit cb8fa9a5cb
  1. 18
      src/pages/counter/list/index.vue

@ -9,8 +9,8 @@
<!-- 系统录入 height: 178px;position:relative;top:-450px;right:20px--> <!-- 系统录入 height: 178px;position:relative;top:-450px;right:20px-->
<el-tooltip placement="top" popper-class="sth-popper"> <el-tooltip placement="top" popper-class="sth-popper">
<div slot="content"> <div slot="content" class="computerContent" style="">
<img style="height: 150px;position:relative;top:10vh;right:20px" v-lazy="lazyImg[3]" alt="" /> <img style="height: 150px;" v-lazy="lazyImg[3]" alt="" />
</div> </div>
<img @click="showManage" class="sth computer cp" v-lazy="lazyImg[4]" alt="" /> <img @click="showManage" class="sth computer cp" v-lazy="lazyImg[4]" alt="" />
</el-tooltip> </el-tooltip>
@ -126,7 +126,7 @@
<el-form-item label="密码" prop="password"> <el-form-item label="密码" prop="password">
<el-input v-focus show-password v-model="passwordForm.password" maxlength="6" onkeyup="{this.value=this.value.replace(/\D/g,'')}" autocomplete="off"></el-input> <el-input v-focus show-password v-model="passwordForm.password" maxlength="6" onkeyup="{this.value=this.value.replace(/\D/g,'')}" autocomplete="off"></el-input>
</el-form-item> </el-form-item>
<el-form-item label="确认密码" prop="passwordAgain"> <el-form-item label="确认密码" prop="passwordAgain" v-if="systemId == '62,1' || systemId == '62,2' || systemId == '62,3'">
<el-input show-password v-model="passwordForm.passwordAgain" maxlength="6" onkeyup="this.value=this.value.replace(/\D/g,'')" autocomplete="off"></el-input> <el-input show-password v-model="passwordForm.passwordAgain" maxlength="6" onkeyup="this.value=this.value.replace(/\D/g,'')" autocomplete="off"></el-input>
</el-form-item> </el-form-item>
</el-form> </el-form>
@ -477,6 +477,7 @@ export default {
password:'', password:'',
passwordAgain: '' passwordAgain: ''
}, },
systemId:'',
passwordRules:{ passwordRules:{
password:[ password:[
{ validator: validatePass, trigger: 'blur' }, { validator: validatePass, trigger: 'blur' },
@ -727,6 +728,7 @@ export default {
} }
else if(this.$store.state.system.popText == '密码器'){ else if(this.$store.state.system.popText == '密码器'){
if(this.$store.state.system.id == '62,1'){ if(this.$store.state.system.id == '62,1'){
this.systemId = this.$store.state.system.id
let accountPassword = sessionStorage.getItem('accountPassword'); let accountPassword = sessionStorage.getItem('accountPassword');
if(accountPassword){ if(accountPassword){
this.passwordForm.password = accountPassword this.passwordForm.password = accountPassword
@ -1801,6 +1803,16 @@ export default {
line-height: 100px; line-height: 100px;
font-size: 23px; font-size: 23px;
} }
@media screen and (min-width: 1200px) and (max-width: 1919px) {
.computerContent{
position: absolute;top: -50px;width:200px;left: -100px
}
}
@media screen and (min-width: 1920px) {
.computerContent{
position: absolute;top: -10px;width:200px;left: -100px
}
}
.wrap { .wrap {
.bg { .bg {

Loading…
Cancel
Save