Commit 7acc8078 authored by yanzg's avatar yanzg

错误得js

parent 794f9feb
$(function () {
let $body = $(".getFailure");
let $msg = $body.find(".msg");
let $gfGuojiReturn = $(".gfGuojiReturn");
$gfGuojiReturn.click(function () {
showWelcome();
});
// 返回根据缓存加载数据的方法
setPageLoad(function (cache, $page) {
let res = Base.getRes(cache.data);
if (res.error) {
$msg.text(res.message);
return;
}
});
setPageClose(function () {
});
});
\ No newline at end of file
$(function(){
let $gfGuojiReturn=$(".gfGuojiReturn")
$gfGuojiReturn.click(function(){
showResPage(null,"/page/home/base_welcome.html");
})
});
\ No newline at end of file
......@@ -76,7 +76,7 @@ $(function(){
showWaitWelcome(res,"/page/lhgj/getSuccess.html");
}, {
error: function (res) {
showWaitWelcome(null,"/page/lhgj/getFailure.html");
showWaitWelcome(res,"/page/lhgj/getFailure.html");
// showError(res);
}
});
......
<div class="guojiBigbox">
<div class="guojiBigbox getFailure">
<div class="guojiTop">
<img src="../../img/lhgj/lhgjIcon.png" class="guojiTopImg">
</div>
......@@ -10,10 +10,7 @@
<span>取号失败</span>
</div>
<div style="font-size: 46px;margin-bottom: 115px;color: #FF0000;" class="guojiTitle">
<span>请联系现场工作人员人工取号</span>
</div>
<div style="margin-bottom: 144px;">
<span style="color: #FF0000;font-size: 40px;">60s</span>
<span>请联系现场工作人员人工取号,具体原因:<br /><i class="msg"></i></span>
</div>
<a class="guojiBtn gfGuojiReturn" style="width: 276px;height: 109px;font-size: 46px;">返回首页</a>
<div class="guojiBottom">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment