提交 43299df8 编写于 作者: G gongfuxiang

登录提示页面优化

上级 98976ed5
......@@ -127,7 +127,7 @@ class Index extends Controller
$this->assign('msg', $ret['msg']);
$this->assign('data', $ret['data']);
$this->assign('is_parent', isset($params['is_parent']) ? $params['is_parent'] : 0);
return $this->fetch('../../../plugins/view/touristbuy/index/index/success');
return $this->fetch('public/login_success');
} else {
$this->assign('msg', $ret['msg']);
return $this->fetch('public/tips_error');
......
{{include file="public/header" /}}
<!-- header nav start -->
{{if isset($is_header) and $is_header eq 1}}
<!-- header top nav -->
{{include file="public/header_top_nav" /}}
<!-- search -->
{{include file="public/nav_search" /}}
<!-- goods category -->
{{include file="public/goods_category" /}}
{{/if}}
<!-- header nav end -->
<!-- conntent start -->
<div class="am-g my-content">
<div class="am-u-md-6 am-u-sm-centered">
<div class="am-panel am-radius tips-success">
<div class="am-panel-bd">
<i class="am-icon-check-circle am-icon-sm"></i>
<span class="msg">{{$msg}}</span>
<div class="tips-nav">
<a href="{{$Think.__MY_URL__}}" class="am-btn am-btn-secondary am-radius">回到首页</a>
</div>
</div>
</div>
</div>
</div>
<!-- conntent end -->
{{include file="public/footer" /}}
{{if !empty($data['body_html'])}}
{{$data.body_html|raw}}
{{/if}}
<script type="text/javascript">
{{if isset($is_parent) and $is_parent eq 1}}
setTimeout(function()
{
if(self.frameElement && self.frameElement.tagName == "IFRAME")
{
parent.location.reload();
}else{
window.location.href='{{$Think.__MY_URL__}}';
}
}, 1500);
{{else /}}
setTimeout(function()
{
window.location.href='{{$Think.__MY_URL__}}';
}, 1500);
{{/if}}
</script>
\ No newline at end of file
......@@ -164,7 +164,7 @@ class Auth extends Controller
// 默认页面提示
$this->assign('msg', $ret['msg']);
$this->assign('data', $ret['data']);
return $this->fetch('../../../plugins/view/weixinwebauthorization/index/public/success');
return $this->fetch('public/login_success');
} else {
$this->assign('msg', $ret['msg']);
return $this->fetch('public/tips_error');
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册