1 Star 0 Fork 110

梦华/易凯商城 - H5端

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
pay.html 8.29 KB
一键复制 编辑 原始数据 按行查看 历史
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" />
<title>话费充值</title>
<meta name="description" content="三九手机网是专业的手机在线销售网站,为您提供正品行货手机、品牌手机的以及笔记本、平板电脑专业销售。依托三九手机网强大的技术支持,为您提供优质的售后服务,包括刷机服务、手机维修服务,正版软件安装等服务,三九资讯畅销榜为您提供技术支持、资源下载、价格咨询、手机咨询、手机评测、热门机型推荐、手机使用经验分享等全方位的服务! " />
<meta name="Keywords" content="三九手机网,39手机网,999手机网,39,999,三九,39网,三九网,品牌手机,正品行货手机,手机维修,手机技术支持,手机评测,手机报价,品牌笔记本,平板电脑" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" />
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="black" />
<meta name="location" content="province=;city=;coord=" />
<meta name="format-detection" content="telephone=no" />
<link rel="apple-touch-icon-precomposed" href="images/screenLogo.png?debug=847" />
<link rel="stylesheet" type="text/css" href="css/m2015.css?debug=847" />
<script src="js/zepto.min.js?debug=847" type="text/javascript"></script>
<script src="js/main.js?debug=847" type="text/javascript"></script>
<style>.wrapper{margin:10px;}.inputbox input{border:solid 1px #ccc;height:30px;width:100%;}.pricebox{margin-top:10px;}.pricebox a{display:inline-block;width:60px;height:30px;background:#fff;border:solid 1px #e3e3e3;text-align:center;line-height:30px;margin:0 5px 10px 0;color:#666;border-radius:2px;}.pricebox a.cur{background:#f44623;border-color:#f44623;color:#fff;}.chongbtn{width:100%;height:40px;border:0;color:#fff;background:#45a1de;border-radius:2px;margin-top:5px;}.step2{line-height:25px;display:none;}.step2 h3{font-size:14px;}.step2 p b{color:#f44623;}</style>
</head>
<body>
<header id="header" style="">
<div class="topbar">
<a href="javascript:history.back();" class="back_btn"><i class="iconfont">ş</i></a>
<a href="javascript:;" class="top_home"><i class="iconfont">ƙ</i></a>
<h1 class="page_title">话费充值</h1>
</div>
<div class="home_menu" id="hMenu">
<a href="http://m.ch999.com/"><i class="iconfont">Ő</i><span>首页</span></a>
<a href="http://m.ch999.com/goods_cat.html"><i class="iconfont">Ɔ</i><span>商品分类</span></a>
<a href="http://m.ch999.comcart.html"><i class="iconfont">ŭ</i><span>购物车</span></a>
<a href="http://m.ch999.commember_index.html"><i class="iconfont">Œ</i><span>会员中心</span></a>
</div>
</header>
<script>SiteName ="三九手机网";var isApp =Cookie.Get("isApp");if (isApp ==null ||isApp =="") {isApp =0;}
if (isApp ==1) {$("#header").hide();}
$(".top_home").click(function () {var target =$(".home_menu");if (target.slideToggle) target.slideToggle();else target.toggle();});</script>
<script type="text/javascript">var _mvq =window._mvq ||[];window._mvq =_mvq;_mvq.push(['$setAccount','m-23995-6']);_mvq.push(['$logConversion']);(function () {var mvl =document.createElement('script');mvl.type ='text/javascript';mvl.async =true;mvl.src =('https:' ==document.location.protocol ?'https://static-ssl.mediav.com/mvl.js' :'http://static.mediav.com/mvl.js');var s =document.getElementsByTagName('script')[0];s.parentNode.insertBefore(mvl,s);})();</script>
<div class="wrapper">
<div class="step1">
<div class="inputbox">
<input type="tel" id="tel" placeholder="输入您的手机号码" value="18005151538" />
</div>
<div class="pricebox">
<a href="javascript:;" onclick="setPrice(50,this)">50元</a>
<a href="javascript:;" onclick="setPrice(100,this)">100元</a>
<a href="javascript:;" onclick="setPrice(150,this)">150元</a>
<a href="javascript:;" onclick="setPrice(200,this)">200元</a>
<a href="javascript:;" onclick="setPrice(250,this)">250元</a>
</div>
<button onclick="goStep2()" class="chongbtn">立即充值</button>
</div>
<div class="step2">
<h3>请核对充值信息</h3>
<p>号码:<b id="phnum"></b></p>
<p>归属:<span id="yys"></span></p>
<p>面额:<span id="miane"></span></p>
<p>应付:<b id="fu"></b></p>
<button id="btnSubmit" onclick="subRechage()" class="chongbtn">提交订单</button>
</div>
</div>
<div class="g4-tip" style="height:30px;line-height:30px;margin-top:10px;padding:0 10px;display:none;">
<a href="about.html" style="color:#f44623;">您当前使用的是2G/3G网络,现在就免费升4G &gt;&gt;</a>
</div>
<script src="js/jweixin-1.0.0.js"></script>
<script>wx.config({debug:false,appId:'wxaaf67ca511a634ab',timestamp:'1432728715',nonceStr:'111',signature:'123',jsApiList:['hideOptionMenu','showOptionMenu','onMenuShareAppMessage','onMenuShareTimeline','onMenuShareQQ','onMenuShareWeibo']
});wx.ready(function () {wx.getNetworkType({success:function (res) {var networkType =res.networkType;if (networkType =="2g" ||networkType =="3g") {$(".g4-tip").show();}
}
});});</script>
<div class="foot-nav border_top hide" style="">
<a href="index.html"><i class="home"></i><span>首页</span></a>
<a href="/goods_cat.html"><i class="cate"></i><span>商品分类</span></a>
<a href="cart.html"><i class="cart"></i><span>购物车</span></a>
<a href="member_index.html"><i class="user"></i><span>我的</span></a>
</div>
<script>var url =window.location.href;if (url =="http://m.ch999.com/") {$(".foot-nav").show();$(".foot-nav a").eq(0).addClass("cur");}
</script>
<footer id="footer" style="">
<div class="footbar" id="noLogin">
<a id="f1_btnLogin" href="javascript:;" class="login_btn">登录</a>
<a href="http://m.ch999.com/register.aspx">注册</a>
<a href="#" class="backtop_btn">↑回顶部</a>
</div>
<div class="footbar" id="yesLogin" style="display: none">
<a class="login_btn" href="http://m.ch999.commember_index.html" id="txtUsername"></a>
<a onclick="LoginOut()">退出</a>
<a href="#" class="backtop_btn">↑回顶部</a>
</div>
<p class="footlink"> <a href="http://m.ch999.com/" style="margin:0 18px;">触屏版</a> <a id="link_pc" style="margin:0 18px;">电脑版</a> <a href="http://m.ch999.com/zt/app/" style="margin:0 18px;">客户端</a> <a href="http://job.ch999.com/m/" style="margin:0 18px;">招聘</a> </p>
<p class="footlink">Copyright&copy;2006-2015&nbsp;&nbsp;三九手机网<a style="margin:0 0 0 10px;" id="_tousu" href="tousu.aspx">投诉及建议</a></p>
</footer>
<script>var url =location.href;var platfomrs =["360ad","goad","juxad","zhtad","ttad","tead","snswxtsad","snswxgnad","snsxlad","snstxad","snsqzad","snstbzad","snstbwad","snsblad","snshzad","snsqtad","mgzhad","mttad"];for (index in platfomrs) {if (url.indexOf(platfomrs[index]) >0) {Cookie.Set("sem","on",60 *60 *3);} }</script>
<script>var amount =0;var tel;alert("由于系统升级,充值系统不稳定,现暂停充值业务,请稍后再试!");function goStep2() {alert("由于系统升级,充值系统不稳定,现暂停充值业务,请稍后再试!");return false;tel =$("#tel").val();var mobileReg =/^1[3|4|5|7|8][0-9]\d{8}$/;if (tel =="") {alert("请输入您的手机号码!");return;}
if (!mobileReg.test(tel)) {layer.open({btn:['好的'],content:"手机号格式不正确,请检查!" });return;}
if (amount ==0) {layer.open({btn:['好的'],content:"请选择要充值的金额!" });return;}
$.get("?",{act:'actPrice',amount:amount,phone:tel },function (rsp) {var yys =rsp.name;var price =rsp.price;$("#phnum").html(tel);$("#yys").html(yys);$("#miane").html(amount + "");$("#fu").html("" + price);$(".step1").hide();$(".step2").show();},"json");}
function setPrice(num,the) {amount =num;$(the).addClass("cur").siblings().removeClass("cur");}
function subRechage() {$("#btnSubmit").attr("disabled","disabled").text("正在提交...");$.post("?",{act:"subRechage",price:amount,phone:$("#phnum").text(),t:+new Date() },function (res) {if (res.status ==1) {window.location ="/cart/cartFinish.aspx?sub_id=" + res.msg + "&payType=1";}
else {alert(res.msg);$("#btnSubmit").removeAttr("disabled").text("提交");}
},"json");}
</script>
</body>
</html>
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
HTML
1
https://gitee.com/lmh2gitee/ykShop.git
git@gitee.com:lmh2gitee/ykShop.git
lmh2gitee
ykShop
易凯商城 - H5端
develop

搜索帮助