选择地址


css

<style>
  .xuanza_shuru{position: relative; background-color: #fff;}
  .xuanza_shuru figure{}
  .xuanza_shuru label{position: absolute;left: 0; width: 8rem;height: 5rem;
  line-height: 4rem;float: left;font-size: 14px;text-align: center; color: #000;}
  .xuanza_shuru .shouji{padding-left: 9rem; }
  .xuanza_shuru .shouji input{height: 5rem; border-bottom: 1px solid #c5ccd8;}
  .xuanza_shuru .shouji select{height: 5rem; border-bottom: 1px solid #c5ccd8;}

  .dibu{position: fixed;bottom: 0; height: 4.8rem; line-height: 4.8rem;
  background-color: #fe7100; width: 100%;}
  .dibu ul{display: -webkit-box;height: 4.8rem; line-height: 4.8rem; }
  .dibu li{height: 4.8rem; line-height: 4.8rem;text-align: center; -webkit-box-flex: 1;
  -webkit-box-pack: center;}
  .dibu li span{padding-top: .7rem; display: block;font-size: 2.5rem; text-align: center;
   color: #fff;}
  .dibu li p{line-height: 1.5rem; text-align: center;font-size: 15px; color: #fff;}
</style>
html

<article class="xuanza_shuru">
  <figure>
    <label>输入邮箱</label>
    <div class="shouji"><input type="text" placeholder="请输入手机号"></div>
  </figure>
  <figure>
    <label>选择省份</label>
    <div class="shouji">
      <select  id="ProvinceID" name="ProvinceID" onblur="checkSubmit();" 
       emp="true" errorid="errorArea">
      </select>
    </div>
  </figure>
  <figure>
    <label>选择城市</label>
    <div class="shouji">
      <select  id="CityID" name="CityID" emp="true" errorid="errorArea">
      </select>
    </div>
  </figure>
  <figure>
    <label>选择地区</label>
    <div class="shouji">
      <select id="AreaID" name="AreaID"  emp="true" errorid="errorArea">
      </select>
    </div>
  </figure>
</article>
<script src="js/jquery-1.7.2.min.js" type="text/javascript"></script>
<script src="js/province.js"></script>
<script src="js/pca.js"></script>

<script type="text/javascript">new InitPCA("ProvinceID", "CityID", "AreaID", "", "", "");</script>



//本文来源于网络,本人总结起来并优化,分享给有需要的前端朋友,如有侵权,请联系删除,也请指正、批评

转载于:https://my.oschina.net/parchments/blog/655843

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值