kun 191111 11:05

This commit is contained in:
沈学坤
2019-11-11 11:05:51 +08:00
parent be7ae2e6c8
commit 918a4a95e3

View File

@@ -135,7 +135,7 @@
</aside>
<!-- end -->
<!-- start -->
<aside>
<section>
<div>
<label>负责人姓名:</label>
<input class="i" type="text" name="pname" v-model="pname" value required />
@@ -152,9 +152,9 @@
<label>手机:</label>
<input class="i" type="text" name="aphone" v-model="aphone" value required />
</div>
</aside>
</section>
<!-- end -->
<aside>
<section>
<div>
<label>联系人姓名:</label>
<input class="i" type="text" name="cname" v-model="cname" value required />
@@ -171,7 +171,7 @@
<label>手机:</label>
<input class="i" type="text" name="cphone" v-model="cphone" value required />
</div>
</aside>
</section>
<!-- end -->
<div class="btn" @click="btn(1)">下一页</div>
</div>
@@ -232,7 +232,14 @@
</div>
<div>
<label>手机:</label>
<input class="i" type="text" placeholder="非必填" name="respoptel" v-model="respoptel" value />
<input
class="i"
type="text"
placeholder="非必填"
name="respoptel"
v-model="respoptel"
value
/>
</div>
</aside>
<!-- end -->
@@ -258,7 +265,14 @@
</div>
<div>
<label>手机:</label>
<input class="i" type="text" placeholder="非必填" name="respoctel" v-model="respoctel" value />
<input
class="i"
type="text"
placeholder="非必填"
name="respoctel"
v-model="respoctel"
value
/>
</div>
</aside>
<!-- end -->
@@ -334,7 +348,7 @@
</div>
<div class="xxx">
<h5>申报单位承诺</h5>
<div class="plpl">
<div class="plpl" style="margin-top:32px;">
<span
@click="thf()"
:class="thff ? 'ic' : ''"
@@ -655,9 +669,6 @@ export default {
} else if (!regd.test(this.respoophone) || !regd.test(this.respocophone)) {
alert('请填写正确的电话号码!')
return
} if (!regs.test(this.respoptel) || !regs.test(this.respoctel)) {
alert('请填写正确的手机号码!')
return
} else if (this.thff == false) {
alert('请同意:申报单位承诺')
return
@@ -669,6 +680,21 @@ export default {
alert('数据出错!')
return
}
/**
* if (!regs.test(this.respoptel) || !regs.test(this.respoctel)) {
alert('请填写正确的手机号码!')
return
}
*/
if (this.respoptel != '' && !regs.test(this.respoptel)) {
alert('请填写正确的手机号码!')
return false;
}
if (this.respoctel != '' && !regs.test(this.respoctel)) {
alert('请填写正确的手机号码!')
return false;
}
let s = this.subStatus;
s = index;
@@ -1142,7 +1168,7 @@ export default {
label {
display: inline-block;
width: 101px;
// width: 101px;
height: 43px;
font-family: 'MicrosoftYaHei';
font-size: 16px;
@@ -1199,7 +1225,86 @@ export default {
label {
display: inline-block;
width: 101px;
width: 130px;
height: 43px;
font-family: 'MicrosoftYaHei';
font-size: 16px;
font-weight: normal;
font-stretch: normal;
line-height: 43px;
text-align: right;
letter-spacing: 0px;
color: #323232;
white-space: nowrap;
}
select {
/* 清除默认的箭头样式 */
appearance: none;
-moz-appearance: none;
-webkit-appearance: none;
/* 右侧添加小箭头的背景图 */
background: url('../../../static/img/xa.png') 360px center no-repeat;
background-size: 14px 8px;
width: 386px;
height: 43px;
background-color: #ffffff;
border: solid 1px #c7c7c7;
// padding-left: 83px;
box-sizing: border-box;
outline: none;
margin-left: 20px;
font-family: 'MicrosoftYaHei';
font-size: 18px;
font-weight: normal;
font-stretch: normal;
letter-spacing: 0px;
color: #323232;
}
input {
box-sizing: border-box;
width: 386px;
height: 43px;
background-color: #ffffff;
border: solid 1px #c7c7c7;
outline: none;
margin-left: 20px;
font-family: 'MicrosoftYaHei';
font-size: 18px;
font-weight: normal;
font-stretch: normal;
letter-spacing: 0px;
color: #323232;
}
.i {
width: 151px;
height: 43px;
background-color: #ffffff;
border: solid 1px #c7c7c7;
outline: none;
margin-left: 20px;
font-family: 'MicrosoftYaHei';
font-size: 18px;
font-weight: normal;
font-stretch: normal;
letter-spacing: 0px;
color: #323232;
}
}
section {
width: 1138px;
height: 43px;
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 30px;
label {
display: inline-block;
width: 100px;
height: 43px;
font-family: 'MicrosoftYaHei';
font-size: 16px;