...
|
...
|
@@ -4,16 +4,15 @@ |
|
|
<head>
|
|
|
<meta charset="UTF-8">
|
|
|
<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
|
|
|
<link rel="stylesheet" type="text/css" href="css/swiper-3.4.2.min.css" />
|
|
|
<link rel="stylesheet" type="text/css" href="css/init.css" />
|
|
|
<link rel="stylesheet" type="text/css" href="http://at.alicdn.com/t/font_647640_to180rktm1butyb9.css" />
|
|
|
<link rel="stylesheet" type="text/css" href="css/hopeaddress.css" />
|
|
|
<link rel="stylesheet" type="text/css" href="/themes/simplebootx/Portal/Template/css/swiper-3.4.2.min.css" />
|
|
|
<link rel="stylesheet" type="text/css" href="/themes/simplebootx/Portal/Template/css/init.css" />
|
|
|
<link rel="stylesheet" type="text/css" href="/themes/simplebootx/Portal/Template/css/hopeaddress.css" />
|
|
|
|
|
|
|
|
|
<link rel="stylesheet" type="text/css" href="css/demo.css" />
|
|
|
<link rel="stylesheet" type="text/css" href="/themes/simplebootx/Portal/Template/css/demo.css" />
|
|
|
|
|
|
|
|
|
<script src="js/base.js" type="text/javascript" charset="utf-8"></script>
|
|
|
<script src="/themes/simplebootx/Portal/Template/js/base.js" type="text/javascript" charset="utf-8"></script>
|
|
|
<title>期望地址</title>
|
|
|
<style>
|
|
|
*{padding:0;margin:0;}
|
...
|
...
|
@@ -52,33 +51,16 @@ |
|
|
<div class="question_item_wrap">
|
|
|
<p class="question_text">请写出您最方便的提货地点,下一个自提点很快就在您的公司楼下,家门口或你上班路过的十字路口。</p>
|
|
|
<div class="question_answer_arr">
|
|
|
<!--<span class="question_answer_item">省 ><span></span></span>
|
|
|
<span class="question_answer_item">市 ><span></span></span>
|
|
|
<span class="question_answer_street"><p>区县</p> ></span>
|
|
|
<span class="question_answer_street"><p>街道</p> ></span>
|
|
|
<input class="question_answer_item_details" placeholder="详细地址"></input>-->
|
|
|
<!--<div class="question_answer_item">
|
|
|
<select name="state" id="state" class="state pickout" placeholder="省">
|
|
|
<option value="pe" :id="item.province_id" v-for="item in province">{{item.province_name}}</option>
|
|
|
|
|
|
</select>
|
|
|
</div>-->
|
|
|
|
|
|
<select class="question_answer_item" :value="'省'" v-on:change="selectcity($event.target)" style="font-size:0.26rem;border:none;outline:none;width:1.6rem;" v-model="proce">
|
|
|
<!--<option value="" style="font-size:0.26rem">省</option>-->
|
|
|
<option value="" style="font-size:0.26rem" v-for="item in province" :value="item">{{item.province_name}}</option>
|
|
|
</select>
|
|
|
|
|
|
<select class="question_answer_item" v-on:change="selectcounty($event.target)" style="font-size:0.26rem;border:none;outline:none;width:1.6rem;" v-model="ci">
|
|
|
<!--<option value="" style="font-size:0.26rem">市</option>-->
|
|
|
<option :value="item" style="font-size:0.26rem" v-for="item in city">{{item.city_name}}</option>
|
|
|
</select>
|
|
|
<select class="question_answer_item" v-on:change="selectstreet($event.target)" style="font-size:0.26rem;border:none;outline:none;width:1.6rem;" v-model="coun">
|
|
|
<!--<option value="" style="font-size:0.26rem">区</option>-->
|
|
|
<option style="font-size:0.26rem" :value="item" v-for="item in county">{{item.county_name}}</option>
|
|
|
</select>
|
|
|
<select class="question_answer_item" style="font-size:0.26rem;border:none;outline:none;width:1.6rem;" v-on:change="select($event.target)" v-model="stre">
|
|
|
<!--<option value="" style="font-size:0.26rem">街道</option>-->
|
|
|
<option :value="item" style="font-size:0.26rem" v-for="item in street">{{item.town_name}}</option>
|
|
|
</select>
|
|
|
<input class="question_answer_item_details" v-model="detailaddress" placeholder="详细地址">
|
...
|
...
|
@@ -90,32 +72,12 @@ |
|
|
</div>
|
|
|
|
|
|
</div>
|
|
|
<script src="js/vue.min.js" type="text/javascript" charset="utf-8"></script>
|
|
|
<script src="js/jquery.min.js" type="text/javascript" charset="utf-8"></script>
|
|
|
<script src="js/swiper-3.4.2.jquery.min.js" type="text/javascript" charset="utf-8"></script>
|
|
|
<script src="js/pickout.js"></script>
|
|
|
<script src="js/hopeaddress.js"></script>
|
|
|
<script src="/themes/simplebootx/Portal/Template/js/vue.min.js" type="text/javascript" charset="utf-8"></script>
|
|
|
<script src="/themes/simplebootx/Portal/Template/js/jquery.min.js" type="text/javascript" charset="utf-8"></script>
|
|
|
<script src="/themes/simplebootx/Portal/Template/js/swiper-3.4.2.jquery.min.js" type="text/javascript" charset="utf-8"></script>
|
|
|
<script src="/themes/simplebootx/Portal/Template/js/pickout.js"></script>
|
|
|
<script src="/themes/simplebootx/Portal/Template/js/hopeaddress.js"></script>
|
|
|
|
|
|
<script>
|
|
|
|
|
|
// Preparar o select
|
|
|
//pickout.to('.pickout');
|
|
|
// pickout.to({
|
|
|
// el:'.city',
|
|
|
// theme: 'dark',
|
|
|
// search: true
|
|
|
// });
|
|
|
|
|
|
pickout.to({
|
|
|
el:'.state',
|
|
|
theme: 'clean',
|
|
|
});
|
|
|
|
|
|
// Caso o valor já venha do servidor, já atribui a seleção automaticamente
|
|
|
// pickout.updated('.city');
|
|
|
|
|
|
</script>
|
|
|
|
|
|
|
|
|
</body>
|
|
|
</html> |
|
|
\ No newline at end of file |
...
|
...
|
|