添加后台代理代码
This commit is contained in:
116
codes/agent/game/dlweb/api/web2/index.html
Normal file
116
codes/agent/game/dlweb/api/web2/index.html
Normal file
@@ -0,0 +1,116 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="zh-CN">
|
||||
<head>
|
||||
<title>游戏下载</title>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
|
||||
<link rel="stylesheet" href="./libs/bootstrap/bootstrap.min.css?__HTML_VERSION__=3">
|
||||
<link rel="stylesheet" href="./libs/font-awesome.min.css?__HTML_VERSION__=3">
|
||||
<link rel="stylesheet" href="./css/common.css?__HTML_VERSION__=7">
|
||||
<style>
|
||||
html, body, .full {width:100%; min-height:100%;}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<section id="app" class="full" v-show="!isLoading" style="display: none;">
|
||||
|
||||
<div class="container">
|
||||
<beta-header></beta-header>
|
||||
|
||||
<div class="row">
|
||||
<img :src="lang.indexPics[0]" class="img-responsive" alt="">
|
||||
</div>
|
||||
|
||||
<!--banner-->
|
||||
<div class="row" style="margin-top: 10px;">
|
||||
<div id="carousel-example-generic" class="carousel slide" data-ride="carousel">
|
||||
|
||||
<ol class="carousel-indicators">
|
||||
<li data-target="#carousel-example-generic" data-slide-to="0" class="active"></li>
|
||||
<li data-target="#carousel-example-generic" data-slide-to="1"></li>
|
||||
</ol>
|
||||
|
||||
<div class="carousel-inner" role="listbox">
|
||||
<div class="item active">
|
||||
<img :src="lang.indexBanners[1]" alt="" class="center-block">
|
||||
</div>
|
||||
<div class="item">
|
||||
<img :src="lang.indexBanners[2]" alt="" class="center-block">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!--/banner-->
|
||||
|
||||
<download-game></download-game>
|
||||
|
||||
<agent-nav v-if="isShowNav"></agent-nav>
|
||||
|
||||
</div>
|
||||
</section>
|
||||
<script src="./libs/jquery.min.js?__HTML_VERSION__=3"></script>
|
||||
<script src="./libs/bootstrap/bootstrap.min.js?__HTML_VERSION__=3"></script>
|
||||
<script src="./libs/vue.min.js?__HTML_VERSION__=3"></script>
|
||||
<script src="./libs/layer_mobile/layer.js?__HTML_VERSION__=3"></script>
|
||||
<script src="./js/function.js?__HTML_VERSION__=18"></script>
|
||||
<script src="./lang/lang.js?__HTML_VERSION__=14"></script>
|
||||
<script src="./components/agent-nav.js?__HTML_VERSION__=8"></script>
|
||||
<script src="https://res.wx.qq.com/open/js/jweixin-1.3.2.js"></script>
|
||||
<script src="./components/beta-header.js?__HTML_VERSION__=3"></script>
|
||||
<script src="./components/download-game.js?__HTML_VERSION__=4"></script>
|
||||
<script>
|
||||
|
||||
new Vue(
|
||||
{
|
||||
el: "#app",
|
||||
components: {
|
||||
'agent-nav': agentNav,
|
||||
'beta-header': betaHeader,
|
||||
'download-game': downloadGame
|
||||
},
|
||||
data: {
|
||||
lang: {},
|
||||
params: {},
|
||||
pics: [],
|
||||
banners: [],
|
||||
isLoading: true,
|
||||
isIOS: false,
|
||||
isWechat: false,
|
||||
isShow: false,
|
||||
isIOSImgShow: false,
|
||||
info: {},
|
||||
helpPic: [
|
||||
'./images/ios.png',
|
||||
'./images/ios2.png',
|
||||
'./images/and.png'
|
||||
]
|
||||
},
|
||||
computed: {
|
||||
isShowNav:function () {
|
||||
return true;
|
||||
if(this.isWechat || this.params.show)
|
||||
return true;
|
||||
return false;
|
||||
}
|
||||
},
|
||||
created: function () {
|
||||
var that = this;
|
||||
var p = $.getQueryObj();
|
||||
this.params = p;
|
||||
this.isIOS = $.whichSystem();
|
||||
this.isWechat = $.isWeiXin();
|
||||
this.lang = lang[p.agentid] ? lang[p.agentid] : lang.default;
|
||||
|
||||
// if(!this.lang.isShow)
|
||||
// window.location.href="./manage_login.html?agentid="+p.agentid+"&channelid="+p.channelid;
|
||||
// else
|
||||
this.isLoading=false;
|
||||
|
||||
//$.getConfig();
|
||||
|
||||
|
||||
}
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user