作者 郭鑫

样式修改

... ... @@ -48,14 +48,14 @@
<tr>
<th>出游天数</th>
<td>
<input class="form-control" type="text" name="day" disabled
<input class="form-control" type="text" name="day"
id="day" value="{$list.day}" placeholder="请输入出游天数"/>
</td>
</tr>
<tr>
<th>出游人数</th>
<td>
<input class="form-control" type="text" name="people" disabled
<input class="form-control" type="text" name="people"
id="people" value="{$list.people}" placeholder="请输入出游人数" />
</td>
</tr>
... ...
... ... @@ -60,7 +60,7 @@
<!--<text class="asterisk">*</text>-->
</div>
<div class="list_input number">
<input type="text" placeholder="请选择天数" id="showDatePicker">
<input type="text" placeholder="请选择天数" id="showDatePicker" disabled>
<text class="iconfont icon-zelvxuanzefeiyongdaosanjiaoxingfandui"></text>
</div>
</div>
... ... @@ -71,7 +71,7 @@
</div>
<div class="list_input number">
<!--<input type="text" placeholder="请选择人数" id="showNumPicker1">-->
<input type="text" placeholder="请输入人数" >
<input type="text" placeholder="请输入人数" disabled>
<!--<text class="iconfont icon-zelvxuanzefeiyongdaosanjiaoxingfandui"></text>-->
</div>
</div>
... ... @@ -156,9 +156,7 @@
$('.mask_box').show()
$('.mask_box').text('手机号不能为空')
$('.mask_box').delay(1000).hide(0);
} else if(departure==''){
}
}else{
$.ajax({
type: 'POST',
url: "{:url('Index/insert')}",
... ... @@ -186,6 +184,8 @@
console.log(res);
}
});
}
// else if(departure==''){
// $('.mask_box').show()
// $('.mask_box').text('出发地不能为空')
... ...