落地页更新

master
chenxiaojun 5 years ago
parent 461afa0e9c
commit 10ee809e6e

@ -209,7 +209,7 @@
} }
} else { } else {
if (is_ios()) { if (is_ios()) {
if (!Boolean(navigator.userAgent.match(/OS [1][3]_[1][_\d]* like Mac OS X/i))) { if (Boolean(navigator.userAgent.match(/OS [1][3]_[1][_\d]* like Mac OS X/i))) {
if (parseInt("{:I('get.status')}") > 0) { if (parseInt("{:I('get.status')}") > 0) {
location.href = "{:U('iosDown',array('gid'=>$gameId,'pid'=>I('get.pid'),'status'=>1))}"; location.href = "{:U('iosDown',array('gid'=>$gameId,'pid'=>I('get.pid'),'status'=>1))}";
return false; return false;

@ -307,8 +307,6 @@ class UserController extends BaseController {
} }
$register_way = 4; $register_way = 4;
$register_type = 2; $register_type = 2;
switch ($sex) { switch ($sex) {

@ -28,11 +28,15 @@
<body class="unlr"> <body class="unlr">
<header class="header login-header"> <header class="header login-header">
<div class=""> <div class="">
<if condition="I('get.pid') gt 0">
<a href="javascript:;history.back(-1)" class="hbtn back"><i class="iconfont icon-drop-left"></i></a>
<else/>
<if condition="I('get.back') neq ''"> <if condition="I('get.back') neq ''">
<a href="javascript:;history.go('{:I('get.back')}')" class="hbtn back"><i class="iconfont icon-drop-left"></i></a> <a href="javascript:;history.go('{:I('get.back')}')" class="hbtn back"><i class="iconfont icon-drop-left"></i></a>
<else/> <else/>
<a href="{:U('user')}" class="hbtn back"><i class="iconfont icon-drop-left"></i></a> <a href="{:U('user')}" class="hbtn back"><i class="iconfont icon-drop-left"></i></a>
</if> </if>
</if>
<h1 class="caption">用户登录</h1> <h1 class="caption">用户登录</h1>
</div> </div>
</header> </header>

@ -20,7 +20,11 @@
<body class="unlr"> <body class="unlr">
<header class="header forget-header"> <header class="header forget-header">
<div class=""> <div class="">
<if condition="I('get.pid') gt 0">
<a href="{:U('login',array('pid'=>I('get.pid'),'gid'=>I('get.gid')))}" class="hbtn back"><i class="iconfont icon-drop-left"></i></a>
<else/>
<a href="{:U('login')}" class="hbtn back"><i class="iconfont icon-drop-left"></i></a> <a href="{:U('login')}" class="hbtn back"><i class="iconfont icon-drop-left"></i></a>
</if>
<h1 class="caption">注册</h1> <h1 class="caption">注册</h1>
</div> </div>
</header> </header>

@ -20,7 +20,11 @@
<body class="unlr"> <body class="unlr">
<header class="header forget-header"> <header class="header forget-header">
<div class=""> <div class="">
<if condition="I('get.pid') gt 0">
<a href="{:U('login',array('pid'=>I('get.pid'),'gid'=>I('get.gid')))}" class="hbtn back"><i class="iconfont icon-drop-left"></i></a>
<else/>
<a href="{:U('login')}" class="hbtn back"><i class="iconfont icon-drop-left"></i></a> <a href="{:U('login')}" class="hbtn back"><i class="iconfont icon-drop-left"></i></a>
</if>
<h1 class="caption">注册</h1> <h1 class="caption">注册</h1>
</div> </div>
</header> </header>

@ -20,7 +20,11 @@
<body class="unlr"> <body class="unlr">
<header class="header forget-header"> <header class="header forget-header">
<div class=""> <div class="">
<if condition="I('get.pid') gt 0">
<a href="{:U('login',array('pid'=>I('get.pid'),'gid'=>I('get.gid')))}" class="hbtn back"><i class="iconfont icon-drop-left"></i></a>
<else/>
<a href="{:U('login')}" class="hbtn back"><i class="iconfont icon-drop-left"></i></a> <a href="{:U('login')}" class="hbtn back"><i class="iconfont icon-drop-left"></i></a>
</if>
<h1 class="caption">账号注册</h1> <h1 class="caption">账号注册</h1>
</div> </div>
</header> </header>

Loading…
Cancel
Save