1 Star 1 Fork 0

empcode / shoes-shoping

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
address-form.html 3.36 KB
一键复制 编辑 原始数据 按行查看 历史
empcode 提交于 2018-11-30 16:25 . init
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="user-scalable=no,width=device-width,initial-scale=1,maximum-scale=1">
<meta content="yes" name="apple-mobile-web-app-capable">
<meta content="black" name="apple-mobile-web-app-status-bar-style">
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<link href="css/sweetalert.css" rel="stylesheet">
<link href="css/application.css" rel="stylesheet">
<title>地址表单</title>
</head>
<body>
<header>
<div class="headerbar">
<h1>新增地址</h1>
<a class="navbar-toggle" onclick="history.go(-1)">
<span class="icon-m_goback"></span>
</a>
</div>
</header>
<form class="form-phone">
<section class="wrapper cart">
<div class="shelves">
<div>
<label>收货人姓名</label>
<input type="text" class="forminput" placeholder="请输入姓名">
<i class="icon-edit"></i>
</div>
<div>
<label>手机号码</label>
<input type="text" class="forminput" placeholder="请输入手机号">
<i class="icon-edit"></i>
</div>
<div>
<label>邮政编码</label>
<input type="text" class="forminput" placeholder="请输入邮政编码">
<i class="icon-edit"></i>
</div>
<div class="clearfix">
<label>省、市、区</label>
<div class="form-a">请选择</div>
<input type="hidden" class="forminput" name="province" >
<input type="hidden" class="forminput" name="city" >
<input type="hidden" class="forminput" name="district" >
<i class="icon-down_arrow selecticon"></i>
</div>
<div>
<textarea rows="4" placeholder="输入详细地址"></textarea>
</div>
</div>
</section>
<footer>
<div class="footheight"></div>
<div class="footbar" style="padding:0;">
<a class="btn btn-block" id="addressadd" >完成</a>
</div>
</footer>
<div class="citylist">
<ul class="prov"></ul>
<ul class="city"></ul>
<ul class="dist"></ul>
</div>
</form>
<script src="js/jquery.js" type="text/javascript"></script>
<script src="js/swipeSlide.min.js" type="text/javascript"></script>
<script src="js/sweetalert.min.js" type="text/javascript"></script>
<script src="js/jquery.mmenu.min.js" type="text/javascript"></script>
<script src="js/icheck.min.js" type="text/javascript"></script>
<script src="js/jquery.touchSwipe.min.js" type="text/javascript" ></script>
<script src="js/cityinit.js" type="text/javascript"></script>
<script src="js/application.js" type="text/javascript"></script>
<script type="text/javascript">
$(function(){
$(".form-a").on('click',function(){
$(".citylist").show();
})
$(".form-a").cityChoose({
prov:"河北",
city:"唐山",
dist:"路南区",
nodata:"none"
});
$("#addressadd").on('click',function(){
window.location.href="order.html"
//提交成功执行
/*$("#result").attr("data-state",true)
$("#result").prepend('<div><ul><li><label>姓名:</label>新加</li><li>'
+'<label>手机:</label>13309877890'
+'<label class="postcode">邮编:</label>098909</li>'
+'<li><label>地址:</label>上海 上海市 浦东新区 成慧路098</li>'
+'</ul>'
+'<div class="hidebtn-group">'
+'<a class="btn-edit" href="address-form.html"><i>编辑</i></a>'
+'<a class="btn-del"><i>删除</i></a>'
+'</div></div>');*/
})
});
</script>
</body>
</html>
1
https://gitee.com/empcode/shoes-shoping.git
git@gitee.com:empcode/shoes-shoping.git
empcode
shoes-shoping
shoes-shoping
master

搜索帮助