登录提示页面优化
parent
98976ed514
commit
43299df803
0
application/plugins/view/touristbuy/index/index/success.html → application/index/view/default/public/login_success.html
Executable file → Normal file
0
application/plugins/view/touristbuy/index/index/success.html → application/index/view/default/public/login_success.html
Executable file → Normal file
|
|
@ -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');
|
||||
|
|
|
|||
|
|
@ -1,55 +0,0 @@
|
|||
{{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>
|
||||
|
|
@ -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');
|
||||
|
|
|
|||
Loading…
Reference in New Issue