master
ELF 5 years ago
parent 2a0ceb4f11
commit 07d1a23e0c

@ -63,7 +63,7 @@
<td class="l">汇入银行:</td>
<td class="r">
<select class="reselect select_gallery" name="collection_account">
<option value="" title="请选择线下支付的银行" acountesc="">请选择线下支付的银行</option>
<option value="" title="暂未开放 暂未开放" acountesc="">暂未开放 暂未开放</option>
<volist name="bank_list" id="bank">
<option value="{$bank.bank_account}" title="{$bank.bank}" acountesc="账户名称:{$bank.bank_name}<br/>汇入账户:{$bank.bank_account}<br/>开户行:{$bank.bank_name}">{$bank.bank}</option>
</volist>

@ -80,10 +80,16 @@ class SsgController extends BaseController {
//首页
public function index(){
$map['user_id']= 24;
$map['sdk_version'] = 2;
$game_list = M("user_play","tab_")->where($map)->select();
$this->assign("data_list",$game_list);
$this->display();
}
public function order(){
$order_list = M("game_supersign","tab_")->where('user_id=24')->order("id")->select();
$this->assign("data_list",$order_list);
$this->display();
}

@ -39,21 +39,23 @@
<div class="interval"></div>
<div class="select-product">
<div class="title-2"><a href="javascript:;" class="f-fr">
<h2 class="f-fl">选择产品</h2><span class="f-fr" id="txtgamename">落梦星辰-超级签 </span>
<h2 class="f-fl">选择产品</h2><span class="f-fr" id="txtgamename">{$data_list[0]['game_name']}-超级签 </span>
</a></div>
<div class="product-list">
<ul>
<li onclick="handleGameID(593,'落梦星辰')">
<volist name="data_list" id="data">
<li onclick="handleGameID('{$data.game_id}','{$data.game_name}')">
<dl>
<dt><img src="__IMG__/ssg/game/1.png"></dt>
<dd class="product-title">落梦星辰-超级签&nbsp;<i></i></dd>
<dd class="product-title">{$data.game_name}-超级签&nbsp;<i></i></dd>
<dd class="product-word">至尊特权礼包(限量)</dd>
<dd class="select-btn">
<a href="javascript:;" item-val="" class="current"></a>
<a href="javascript:;" item-val="" class="<if condition="$i eq 1">current</if>"> </a>
</dd>
</dl>
</li>
<li onclick="handleGameID(603,'逐鹿大秦')" style="display: list-item;">
</volist>
<!--<li onclick="handleGameID(603,'逐鹿大秦')" style="display: list-item;">
<dl>
<dt><img src="__IMG__/ssg/game/2.png"></dt>
<dd class="product-title">逐鹿大秦-超级签&nbsp;<i></i></dd>
@ -72,7 +74,7 @@
<a href="javascript:;" item-val="" class=""></a>
</dd>
</dl>
</li>
</li>-->
</ul>
<input type="hidden" id="hdGameID" value="593">
</div>
@ -87,20 +89,20 @@
</div>
<div class="interval"></div>
<div class="contact-customer">
<div class="title-2">
<!--<div class="title-2">
<a href="javascript:;" onclick="handleSobot(5062225)" class="f-fr">
<h2 class="f-fl">联系客服</h2><span class="f-fr">&nbsp;</span>
</a>
</div>
</div>-->
</div>
<div class="pay-button">
<a href="javascript:;" onclick="handlePay()">确认支付 ¥10</a>
</div>
<script>
function handleSobot(userID) {
/*function handleSobot(userID) {
//联系客服
window.location.href = decodeURIComponent("https://www.sobot.com/chat/h5/index.html?sysNum=823d139047674564bfc040e60c4a1a18&color=fa8932&customerFields={'customField8':'" + userID + "'}");
}
}*/
function handleGameID(gameID, gameName) {
var hdGameID = $("#hdGameID").val();
$("#hdGameID").val(hdGameID == gameID ? 0 : gameID);

@ -20,86 +20,20 @@
</div>
<div class="order-search">
<ul>
<li onclick="handleOrderDetail('1287423910857420897',1)">
<p>订单编号1287423910857420897</p>
<volist name="data_list" id="data">
<li onclick="handleOrderDetail('{$data[\'trade_id\']}','{$data[\'pay_status\']}')">
<p>订单编号:{$data.trade_id}</p>
<dl>
<dt><img src="__IMG__/ssg/order/190507-128fb062a9694a38a457fff6fe4a4dc3.png"></dt>
<dd class="order-title">天宫计-超级签</dd>
<if condition="$data['pay_status'] eq 1">
<dd class="order-status"></dd>
</dl>
</li>
<li onclick="handleOrderDetail('1286280657739194408',1)">
<p>订单编号1286280657739194408</p>
<dl>
<dt><img src="__IMG__/ssg/order/180810-e197ab0cf18a4cbab1a75359030d4cad.png"></dt>
<dd class="order-title">落梦星辰-超级签</dd>
<dd class="order-status"></dd>
</dl>
</li>
<li onclick="handleOrderDetail('1286274015337390169',0)">
<p>订单编号1286274015337390169</p>
<dl>
<dt><img src="__IMG__/ssg/order/180810-e197ab0cf18a4cbab1a75359030d4cad.png"></dt>
<dd class="order-title">落梦星辰-超级签</dd>
<dd class="order-pay" style="color:gray">已失效</dd>
</dl>
</li>
<li onclick="handleOrderDetail('1286273946320121875',0)">
<p>订单编号1286273946320121875</p>
<dl>
<dt><img src="__IMG__/ssg/order/180810-e197ab0cf18a4cbab1a75359030d4cad.png"></dt>
<dd class="order-title">落梦星辰-超级签</dd>
<dd class="order-pay" style="color:gray">已失效</dd>
</dl>
</li>
<li onclick="handleOrderDetail('1286273763679150126',0)">
<p>订单编号1286273763679150126</p>
<dl>
<dt><img src="__IMG__/ssg/order/180810-e197ab0cf18a4cbab1a75359030d4cad.png"></dt>
<dd class="order-title">落梦星辰-超级签</dd>
<dd class="order-pay" style="color:gray">已失效</dd>
</dl>
</li>
<li onclick="handleOrderDetail('1285923621079883799',0)">
<p>订单编号1285923621079883799</p>
<dl>
<dt><img src="__IMG__/ssg/order/180810-e197ab0cf18a4cbab1a75359030d4cad.png"></dt>
<dd class="order-title">落梦星辰-超级签</dd>
<dd class="order-pay" style="color:gray">已失效</dd>
</dl>
</li>
<li onclick="handleOrderDetail('1285687656444866614',1)">
<p>订单编号1285687656444866614</p>
<dl>
<dt><img src="__IMG__/ssg/order/180810-6ba8b34999f34bf3b4f585f1874f550b.png"></dt>
<dd class="order-title">逐鹿大秦-超级签</dd>
<dd class="order-status"></dd>
</dl>
</li>
<li onclick="handleOrderDetail('1285687178310987857',0)">
<p>订单编号1285687178310987857</p>
<dl>
<dt><img src="__IMG__/ssg/order/180810-6ba8b34999f34bf3b4f585f1874f550b.png"></dt>
<dd class="order-title">逐鹿大秦-超级签</dd>
<dd class="order-pay" style="color:gray">已失效</dd>
</dl>
</li>
<li onclick="handleOrderDetail('1285686987793113128',0)">
<p>订单编号1285686987793113128</p>
<dl>
<dt><img src="__IMG__/ssg/order/180810-e197ab0cf18a4cbab1a75359030d4cad.png"></dt>
<dd class="order-title">落梦星辰-超级签</dd>
<dd class="order-pay" style="color:gray">已失效</dd>
</dl>
</li>
<li onclick="handleOrderDetail('1285685245676367902',0)">
<p>订单编号1285685245676367902</p>
<dl>
<dt><img src="__IMG__/ssg/order/180810-e197ab0cf18a4cbab1a75359030d4cad.png"></dt>
<dd class="order-title">落梦星辰-超级签</dd>
<else />
<dd class="order-pay" style="color:gray">已失效</dd>
</if>
</dl>
</li>
</volist>
</ul>
</div>
<script>
@ -112,8 +46,8 @@
</script>
</div>
<script src="__JS_/jquery-1.11.1.min.js" type="text/javascript"></script>
<script src="__JS_/ssg/common.js" type="text/javascript"></script>
<script src="__JS__/jquery-1.11.1.min.js" type="text/javascript"></script>
<script src="__JS__/ssg/common.js" type="text/javascript"></script>
</body>
</html>

@ -83,8 +83,8 @@ class Verify {
* @return bool 用户验证码是否正确
*/
public function check($code, $id = '') {
$key = $this->authcode($this->seKey).$id;
var_dump($_SESSION);
$key = $this->authcode($this->seKey).$id;
var_dump($key);
// 验证码不能为空
$secode = session($key);

Loading…
Cancel
Save