|
@@ -92,8 +92,8 @@ export default {
|
|
|
methods: {
|
|
|
funLimitLength () {
|
|
|
const { phone, code } = this.postData
|
|
|
- this.postData.phone = phone.length > 11 ? phone.slice(0, 11) : phone
|
|
|
- this.postData.code = code.length > 6 ? code.slice(0, 6) : code
|
|
|
+ this.postData.phone = phone.replace(/[^\d]/g, '').slice(0, 11)
|
|
|
+ this.postData.code = code.replace(/[^\d]/g, '').slice(0, 6)
|
|
|
},
|
|
|
funCutDown () {
|
|
|
clearInterval(this.timer)
|
|
@@ -221,7 +221,7 @@ export default {
|
|
|
left: 0;
|
|
|
top: 0;
|
|
|
display: flex;
|
|
|
- align-items: flex-start;
|
|
|
+ align-items: center;
|
|
|
width: 327px;
|
|
|
padding: 13px 0;
|
|
|
margin-top: 12px;
|
|
@@ -235,6 +235,7 @@ export default {
|
|
|
|
|
|
label {
|
|
|
display: flex;
|
|
|
+ align-items: center;
|
|
|
margin-right: 9px;
|
|
|
|
|
|
span {
|
|
@@ -252,14 +253,13 @@ export default {
|
|
|
.value-wrap {
|
|
|
flex: 1;
|
|
|
display: flex;
|
|
|
+ align-items: center;
|
|
|
}
|
|
|
|
|
|
input,
|
|
|
textarea {
|
|
|
width: 100%;
|
|
|
- min-height: 20px;
|
|
|
- padding-top: 2px;
|
|
|
- line-height: 20px;
|
|
|
+ height: 22px;
|
|
|
font-size: 15px;
|
|
|
color: #fff;
|
|
|
word-break: break-all;
|