| | |
| | | </el-form-item> |
| | | |
| | | <el-form-item prop="password"> |
| | | <el-input show-password v-model="user.password" placeholder="密码"> |
| | | </el-input> |
| | | <PwInput show-password v-model="user.password" placeholder="密码"> |
| | | </PwInput> |
| | | </el-form-item> |
| | | <el-form-item prop="repassword"> |
| | | <el-input |
| | | show-password |
| | | v-model="user.repassword" |
| | | placeholder="确认密码" |
| | | > |
| | | </el-input> |
| | | <PwInput show-password v-model="user.repassword" placeholder="确认密码"> |
| | | </PwInput> |
| | | </el-form-item> |
| | | <el-form-item prop="phoneNum"> |
| | | <div class="phoneNum"> |
| | | <div class="phoneNum" :class="{ isFocus: phoneFocus }"> |
| | | <el-input |
| | | placeholder="手机号" |
| | | v-model="user.phoneNum" |
| | | class="input-with-select" |
| | | @focus="phoneFocus = true" |
| | | @blur="phoneFocus = false" |
| | | > |
| | | <div slot="prepend" class="teleSlot">+86(中国)</div> |
| | | </el-input> |
| | | <div slot="prepend" class="teleSlot">+86(中国)</div> |
| | | </div> |
| | | </el-form-item> |
| | | <el-form-item prop="verifyCode"> |
| | |
| | | isWrong: false, |
| | | countdown: 60, |
| | | gotCode: false, |
| | | phoneFocus: false, |
| | | }; |
| | | }, |
| | | methods: { |
| | |
| | | &.is-error ::v-deep .el-input__inner:focus { |
| | | border-color: #ff4b33; |
| | | } |
| | | |
| | | .PwInput { |
| | | ::v-deep .iconfont { |
| | | margin-right: 5px; |
| | | font-size: 18px; |
| | | } |
| | | } |
| | | } |
| | | |
| | | ::v-deep .el-input__inner { |
| | | padding: 10px 20px; |
| | | border-color: #c0c5cc; |
| | | |
| | | &:focus { |
| | | border-color: #0065ff; |
| | | } |
| | | |
| | | &::-webkit-input-placeholder { |
| | | font-size: 14px; |
| | |
| | | } |
| | | |
| | | .phoneNum { |
| | | ::v-deep .el-input-group__prepend { |
| | | margin: 0 4px; |
| | | padding: 0pt; |
| | | background-color: rgba($color: #fff, $alpha: 0); |
| | | border-right: none; |
| | | border-color: #c0c5cc; |
| | | } |
| | | |
| | | position: relative; |
| | | ::v-deep .el-input__inner { |
| | | border-left: none; |
| | | padding-left: 120px; |
| | | } |
| | | |
| | | .teleSlot { |
| | | position: absolute; |
| | | top: 7px; |
| | | width: 103px; |
| | | height: 28px; |
| | | line-height: 28px; |