Authored by 王洪广

fix order problem

... ... @@ -19,7 +19,7 @@
</li>
<li>
<label><i class="form-required">*</i>详细地址:</label>
<input type="text" class="inp w271" placeholder="街道名称或小区名称" name="address" value="{{editInfo.address}}">
<input type="text" class="inp" placeholder="街道名称或小区名称" name="address" value="{{editInfo.address}}">
<span class="error"><i class="order-icon icon-error"></i><b>请填写详细地址</b></span>
</li>
<li>
... ...
... ... @@ -425,7 +425,7 @@ function validateForm() {
$err_tel = $tel.siblings('.error');
var nameReg = /^[\u4e00-\u9fa5]{2,5}$/;
var addressReg = /^[a-zA-Z0-9-#()\u4e00-\u9fa5]+$/;
var addressReg = /^[a-zA-Z0-9-#()()\u4e00-\u9fa5]+$/;
var phoneReg = /^(13[0-9]|15[012356789]|17[678]|18[0-9]|14[57])[0-9]{8}$/;
var telCodeReg = /^[0-9]{3,5}$/;
var telReg = /^[0-9]{5,10}$/;
... ...
... ... @@ -450,6 +450,7 @@
margin:20px 0;
line-height: 26px;
font-size: 14px;
white-space: nowrap;
}
.form-required{
color: #d70400;
... ... @@ -496,7 +497,7 @@
}
.error{
display: none;
margin-left:20px;
margin-left:10px;
color:#db3d50;
font-size:12px;
.icon-error{
... ...