margin: 20px calc(50% - 200px) 20px calc(50% - 200px);
background:none;
outline:none;
border:0px;
border-bottom: 2px solid #dcdcdc;
border-bottom-left-radius: 1px;
border-bottom-right-radius: 1px;
box-sizing: border-box;
font-family: PingFangSC-Regular;
font-size: 16px;
}
.my-code{
overflow: hidden;
}
.my-code-get{
float: left;
width: 120px;
height: 35px;
background-color: rgb(7, 187, 127);
margin: 0 auto 20px 0;
line-height: 35px;
font-family: PingFangSC-Regular;
color: #ffffff;
border-radius: 5px;
-webkit-user-select:none;
-moz-user-select:none;
-ms-user-select:none;
user-select:none;
}
.my-code-get:active{
background-color: #0F996B;
}
.my-code-get:hover{
cursor: pointer;
}
.my-code-input{
float: left;
text-align: left;
display: block;
width: 280px;
height: 35px;
padding: 3px;
margin: 0 auto 20px calc(50% - 200px);
background:none;
outline:none;
border:0px;
border-bottom: 2px solid #dcdcdc;
border-bottom-left-radius: 1px;
border-bottom-right-radius: 1px;
box-sizing: border-box;
font-family: PingFangSC-Regular;
font-size: 16px;
}
.my-code-input:focus{
border-bottom: 2px solid #0F996B;
border-bottom-left-radius: 1px;
border-bottom-right-radius: 1px;
}
.huise{
background-color: #dcdcdc !important;
color: black;
}
</style>
以上这篇vue 验证码界面实现点击后标灰并设置div按钮不可点击状态就是小编分享给大家的全部内容了,希望能给大家一个参考,也希望大家多多支持软件开发网。










