You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
123 lines
5.6 KiB
HTML
123 lines
5.6 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<meta http-equiv="X-UA-Compatible" content="ie=edge">
|
|
<title>万盟天下</title>
|
|
<script src="__JS__/jquery-1.11.3.min.js"></script>
|
|
<script type="text/javascript" src="__JS__/getRem.js"></script>
|
|
<script src="__STATIC__/bg4_4.js"></script>
|
|
<link rel="stylesheet" type="text/css" href="__CSS__/reset.css">
|
|
<link rel="stylesheet" type="text/css" href="__CSS__/foot_tabbar.css">
|
|
<link rel="stylesheet" type="text/css" href="__CSS__/user/myPlay.css">
|
|
<link href="__CSS__/common-cz.css" rel="stylesheet" >
|
|
</head>
|
|
|
|
<div class="myPlay">
|
|
<!-- 子页公共头部 -->
|
|
<div class="subpage-heard">我的游戏
|
|
<a href="{:U('User/index')}" class="arrows"></a>
|
|
</div>
|
|
<!-- 无内容时显示 -->
|
|
<empty name="data">
|
|
<div class="not-play">
|
|
<img src="__IMG__/user/not_play.png" alt="">
|
|
<span>您还没有相关内容哦</span>
|
|
</div>
|
|
</empty>
|
|
<div class="myPlay-box">
|
|
<notempty name="data">
|
|
<volist name='data' id="vo">
|
|
<div class="myPlay-info">
|
|
<div class="info-box">
|
|
<div class="infoLeft">
|
|
<img src="{:get_img_url($vo['icon'])}" onerror="this.src='__IMG__/empty.jpg';this.onerror=null">
|
|
<span>{$vo.game_name}</span>
|
|
</div>
|
|
<!-- <if condition='$vo.and_dow_address eq "" && $vo.add_game_address eq "" && $vo.ios_dow_address eq "" && $vo.ios_game_address eq "" '>-->
|
|
<!-- <a class="btn disabled">立即进入</a>-->
|
|
<!-- <else/>-->
|
|
<!-- <?php $devicetype = get_device_type();?>-->
|
|
<!-- <eq name='devicetype' value='1'>-->
|
|
<!-- <eq name="vo.down_port" value="2">-->
|
|
<!-- <a href="{$vo['add_game_address']}" class="btn">立即进入</a>-->
|
|
<!-- <else />-->
|
|
<!-- <a url="<if condition='$vo.dow_status eq 0'>#<else/>{:U('AjaxDown/down_file?game_id='.$vo['relation_game_id'].'&type=1')}</if>" class="btn down">立即进入</a>-->
|
|
<!-- </eq>-->
|
|
<!-- <else />-->
|
|
<!-- <eq name='devicetype' value='2'>-->
|
|
<!-- <eq name="vo.down_port" value="2">-->
|
|
<!-- <a href="{$vo['add_game_address']}" class="btn">立即进入</a>-->
|
|
<!-- <else />-->
|
|
<!-- <a url="<if condition='$vo.dow_status eq 0'>#<else/>{:U('AjaxDown/down_file?game_id='.$vo['relation_game_id'].'&type=2')}</if>" class="btn down">立即进入</a>-->
|
|
<!-- </eq>-->
|
|
<!-- <else/>-->
|
|
<!-- <!– <a url="#" class="btn disabled">下载</a> –>-->
|
|
<!-- <eq name="vo.sdk_version" value="1">-->
|
|
<!-- <eq name="vo.down_port" value="2">-->
|
|
<!-- <a href="{$vo['add_game_address']}" class="btn">立即进入</a>-->
|
|
<!-- <else />-->
|
|
<!-- <a url="<if condition='$vo.dow_status eq 0'>#<else/>{:U('AjaxDown/down_file?game_id='.$vo['relation_game_id'].'&type=1')}</if>" class="btn down">立即进入</a>-->
|
|
<!-- </eq>-->
|
|
<!-- </eq>-->
|
|
<!-- <eq name="vo.sdk_version" value="2">-->
|
|
<!-- <eq name="vo.down_port" value="2">-->
|
|
<!-- <a href="{$vo['ios_game_address']}" class="btn">立即进入</a>-->
|
|
<!-- <else />-->
|
|
<!-- <a url="<if condition='$vo.dow_status eq 0'>#<else/>{:U('AjaxDown/down_file?game_id='.$vo['relation_game_id'].'&type=2')}</if>" class="btn down">立即进入</a>-->
|
|
<!-- </eq>-->
|
|
<!-- </eq>-->
|
|
<!-- </eq>-->
|
|
<!-- </eq>-->
|
|
<!-- </if>-->
|
|
<!-- <a href="{$vo['add_game_address']}">立即进入</a> -->
|
|
</div>
|
|
</div>
|
|
</volist>
|
|
</notempty>
|
|
</div>
|
|
</div>
|
|
<div class="popmsg pop-dialog" style="font-size: .28rem;"></div>
|
|
<div class="space"></div>
|
|
<div class="loading ms-none hidden" id="moreBtn"><a href="javascript:" class="link"></a></div>
|
|
</body>
|
|
<script src="__JS__/ajaxload.js"></script>
|
|
<script src="__JS__/pop.lwx.min.js"></script>
|
|
<script>
|
|
$(function() {
|
|
var pmsg = $('.popmsg').pop();
|
|
var popmsg = $('.loading').pop();
|
|
var ac = $('#ajaxContainer');
|
|
|
|
$(".btn").click(function(){
|
|
var url = $(this).attr('url');
|
|
if(url == "#"){
|
|
pmsg.msg("此游戏暂不能下载");
|
|
}
|
|
$.ajax({
|
|
url:url,
|
|
type:"get",
|
|
dataType:"json",
|
|
data:{},
|
|
success:function(result){
|
|
if(result.status == 0){
|
|
pmsg.msg(result.info);
|
|
}else{
|
|
location.href=result.url;
|
|
return false;
|
|
// var url = result.url;
|
|
// fromDownFile(url);
|
|
}
|
|
},
|
|
error:function(){
|
|
alert("服务器异常");
|
|
}
|
|
})
|
|
})
|
|
});
|
|
|
|
|
|
</script>
|
|
|
|
<block name="footer"></block> |