master
ELF 5 years ago
parent 2a0ceb4f11
commit 07d1a23e0c

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

@ -80,10 +80,16 @@ class SsgController extends BaseController {
//首页 //首页
public function index(){ 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(); $this->display();
} }
public function order(){ public function order(){
$order_list = M("game_supersign","tab_")->where('user_id=24')->order("id")->select();
$this->assign("data_list",$order_list);
$this->display(); $this->display();
} }

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

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

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

Loading…
Cancel
Save