...
|
...
|
@@ -9,19 +9,23 @@ |
|
|
<link rel="stylesheet" href="__TMPL__/public/assets/css/index.css">
|
|
|
<link rel="stylesheet" href="__TMPL__/public/assets/js/swiper4/swiper.min.css">
|
|
|
<style>
|
|
|
.slide-image{
|
|
|
width:260px;
|
|
|
height:375px;
|
|
|
.slide-image {
|
|
|
width: 260px;
|
|
|
height: 375px;
|
|
|
}
|
|
|
.star_ming{
|
|
|
cursor:pointer;
|
|
|
|
|
|
.star_ming {
|
|
|
cursor: pointer;
|
|
|
}
|
|
|
.swiper-container6{
|
|
|
|
|
|
.swiper-container6 {
|
|
|
overflow: hidden;
|
|
|
}
|
|
|
.swiper-container6 .swiper-wrapper{
|
|
|
transition-duration:1.5s !important;
|
|
|
|
|
|
.swiper-container6 .swiper-wrapper {
|
|
|
transition-duration: 1.5s !important;
|
|
|
}
|
|
|
|
|
|
.mask {
|
|
|
width: 100%;
|
|
|
height: 100%;
|
...
|
...
|
@@ -31,6 +35,7 @@ |
|
|
background-color: rgba(0, 0, 0, 0.5);
|
|
|
display: none;
|
|
|
}
|
|
|
|
|
|
.mask_video {
|
|
|
position: relative;
|
|
|
top: 50%;
|
...
|
...
|
@@ -40,13 +45,15 @@ |
|
|
background-color: black;
|
|
|
transform: translate(-50%, -50%);
|
|
|
}
|
|
|
|
|
|
.mask_video video {
|
|
|
margin: auto;
|
|
|
display: block;
|
|
|
height: 100%;
|
|
|
width: 100%;
|
|
|
}
|
|
|
.mask_video img {
|
|
|
|
|
|
.mask_video .mak_videoCha {
|
|
|
width: 30px;
|
|
|
height: 30px;
|
|
|
cursor: pointer;
|
...
|
...
|
@@ -54,6 +61,28 @@ |
|
|
right: -25px;
|
|
|
top: -27px;
|
|
|
}
|
|
|
|
|
|
.mask_videoFeng {
|
|
|
position: absolute;
|
|
|
top: 0;
|
|
|
left: 0;
|
|
|
width: 100%;
|
|
|
height: 100%;
|
|
|
z-index: 10;
|
|
|
}
|
|
|
|
|
|
.mask_videoFeng img {
|
|
|
width: 100%;
|
|
|
height: 100%;
|
|
|
}
|
|
|
|
|
|
.show_in_banner3 {
|
|
|
position: absolute;
|
|
|
top: 35%;
|
|
|
left: 42%;
|
|
|
width: 120px;
|
|
|
z-index: 20;
|
|
|
}
|
|
|
</style>
|
|
|
</head>
|
|
|
|
...
|
...
|
@@ -61,9 +90,13 @@ |
|
|
<!-- 弹框视频 -->
|
|
|
<notempty name="res_djxq.video">
|
|
|
<div class="mask" id="mask">
|
|
|
<div class="mask_video" >
|
|
|
<img onclick="nos()" src="__TMPL__/public/assets/starImg/nos.png" alt="">
|
|
|
<video autoplay="autoplay" controls loop="loop" id="video2" src="{:cmf_get_file_download_url($res_djxq.video)}" controlslist="nodownload"></video>
|
|
|
<div class="mask_video">
|
|
|
<img class="mak_videoCha" onclick="nos()" src="__TMPL__/public/assets/starImg/nos.png" alt="">
|
|
|
<div class="mask_videoFeng">
|
|
|
<img src="__TMPL__/public/assets/starImg/bicon_34.png" alt="">
|
|
|
</div>
|
|
|
<img onclick="bofang2()" class="show_in_banner3" src="__TMPL__/public/assets/starImg/aicon_30.png" alt="">
|
|
|
<video autoplay="autoplay" controls loop="loop" id="video2" src="{:cmf_get_file_download_url($res_djxq.video)}" controlslist="nodownload"></video>
|
|
|
</div>
|
|
|
</div>
|
|
|
</notempty>
|
...
|
...
|
@@ -75,7 +108,7 @@ |
|
|
<img class="index_scrollTop" src="__TMPL__/public/assets/starImg/aicon_25.png" alt="">
|
|
|
</div>
|
|
|
<!-- 头部 -->
|
|
|
<include file="public@header"/>
|
|
|
<include file="public@header" />
|
|
|
<!-- banner -->
|
|
|
<div id="banner" class="swiper-container6">
|
|
|
<div class="swiper-wrapper">
|
...
|
...
|
@@ -227,7 +260,7 @@ |
|
|
<!-- 图片 -->
|
|
|
<notempty name="res_month.1">
|
|
|
<div class="reverse_Imgs">
|
|
|
<img src="{:cmf_get_image_url($res_month.1.index_thumbnail)}"/>
|
|
|
<img src="{:cmf_get_image_url($res_month.1.index_thumbnail)}" />
|
|
|
</div>
|
|
|
<!-- 图片下方文字 -->
|
|
|
<a href="/portal/enjoy/getEnjoyDetail?id={$res_month.1.id}">
|
...
|
...
|
@@ -238,7 +271,7 @@ |
|
|
</a>
|
|
|
<else/>
|
|
|
<div class="reverse_Imgs">
|
|
|
<img src="__TMPL__/public/assets/starImg/aicon_28.png"/>
|
|
|
<img src="__TMPL__/public/assets/starImg/aicon_28.png" />
|
|
|
</div>
|
|
|
<!-- 图片下方文字 -->
|
|
|
<div class="img_bottom">
|
...
|
...
|
@@ -264,7 +297,7 @@ |
|
|
<!-- 图片 -->
|
|
|
<notempty name="res_month.2">
|
|
|
<div class="reverse_Imgs">
|
|
|
<img src="{:cmf_get_image_url($res_month.2.index_thumbnail)}"/>
|
|
|
<img src="{:cmf_get_image_url($res_month.2.index_thumbnail)}" />
|
|
|
</div>
|
|
|
<!-- 图片下方文字 -->
|
|
|
<a href="/portal/enjoy/getEnjoyDetail?id={$res_month.2.id}">
|
...
|
...
|
@@ -275,7 +308,7 @@ |
|
|
</a>
|
|
|
<else/>
|
|
|
<div class="reverse_Imgs">
|
|
|
<img src="__TMPL__/public/assets/starImg/aicon_28.png"/>
|
|
|
<img src="__TMPL__/public/assets/starImg/aicon_28.png" />
|
|
|
</div>
|
|
|
<!-- 图片下方文字 -->
|
|
|
<div class="img_bottom">
|
...
|
...
|
@@ -302,7 +335,7 @@ |
|
|
<!-- 图片 -->
|
|
|
<notempty name="res_month.3">
|
|
|
<div class="reverse_Imgs">
|
|
|
<img src="{:cmf_get_image_url($res_month.3.index_thumbnail)}"/>
|
|
|
<img src="{:cmf_get_image_url($res_month.3.index_thumbnail)}" />
|
|
|
</div>
|
|
|
<!-- 图片下方文字 -->
|
|
|
<a href="/portal/enjoy/getEnjoyDetail?id={$res_month.3.id}">
|
...
|
...
|
@@ -313,7 +346,7 @@ |
|
|
</a>
|
|
|
<else/>
|
|
|
<div class="reverse_Imgs">
|
|
|
<img src="__TMPL__/public/assets/starImg/aicon_28.png"/>
|
|
|
<img src="__TMPL__/public/assets/starImg/aicon_28.png" />
|
|
|
</div>
|
|
|
<!-- 图片下方文字 -->
|
|
|
<div class="img_bottom">
|
...
|
...
|
@@ -341,7 +374,7 @@ |
|
|
<!-- 图片 -->
|
|
|
<notempty name="res_month.4">
|
|
|
<div class="reverse_Imgs">
|
|
|
<img src="{:cmf_get_image_url($res_month.4.index_thumbnail)}"/>
|
|
|
<img src="{:cmf_get_image_url($res_month.4.index_thumbnail)}" />
|
|
|
</div>
|
|
|
<!-- 图片下方文字 -->
|
|
|
<a href="/portal/enjoy/getEnjoyDetail?id={$res_month.4.id}">
|
...
|
...
|
@@ -352,7 +385,7 @@ |
|
|
</a>
|
|
|
<else/>
|
|
|
<div class="reverse_Imgs">
|
|
|
<img src="__TMPL__/public/assets/starImg/aicon_28.png"/>
|
|
|
<img src="__TMPL__/public/assets/starImg/aicon_28.png" />
|
|
|
</div>
|
|
|
<!-- 图片下方文字 -->
|
|
|
<div class="img_bottom">
|
...
|
...
|
@@ -379,7 +412,7 @@ |
|
|
<!-- 图片 -->
|
|
|
<notempty name="res_month.5">
|
|
|
<div class="reverse_Imgs">
|
|
|
<img src="{:cmf_get_image_url($res_month.5.index_thumbnail)}"/>
|
|
|
<img src="{:cmf_get_image_url($res_month.5.index_thumbnail)}" />
|
|
|
</div>
|
|
|
<!-- 图片下方文字 -->
|
|
|
<a href="/portal/enjoy/getEnjoyDetail?id={$res_month.5.id}">
|
...
|
...
|
@@ -390,7 +423,7 @@ |
|
|
</a>
|
|
|
<else/>
|
|
|
<div class="reverse_Imgs">
|
|
|
<img src="__TMPL__/public/assets/starImg/aicon_28.png"/>
|
|
|
<img src="__TMPL__/public/assets/starImg/aicon_28.png" />
|
|
|
</div>
|
|
|
<!-- 图片下方文字 -->
|
|
|
<div class="img_bottom">
|
...
|
...
|
@@ -416,7 +449,7 @@ |
|
|
<!-- 图片 -->
|
|
|
<notempty name="res_month.6">
|
|
|
<div class="reverse_Imgs">
|
|
|
<img src="{:cmf_get_image_url($res_month.6.index_thumbnail)}"/>
|
|
|
<img src="{:cmf_get_image_url($res_month.6.index_thumbnail)}" />
|
|
|
</div>
|
|
|
<!-- 图片下方文字 -->
|
|
|
<a href="/portal/enjoy/getEnjoyDetail?id={$res_month.6.id}">
|
...
|
...
|
@@ -427,7 +460,7 @@ |
|
|
</a>
|
|
|
<else/>
|
|
|
<div class="reverse_Imgs">
|
|
|
<img src="__TMPL__/public/assets/starImg/aicon_28.png"/>
|
|
|
<img src="__TMPL__/public/assets/starImg/aicon_28.png" />
|
|
|
</div>
|
|
|
<!-- 图片下方文字 -->
|
|
|
<div class="img_bottom">
|
...
|
...
|
@@ -455,7 +488,7 @@ |
|
|
<!-- 图片 -->
|
|
|
<notempty name="res_month.7">
|
|
|
<div class="reverse_Imgs">
|
|
|
<img src="{:cmf_get_image_url($res_month.7.index_thumbnail)}"/>
|
|
|
<img src="{:cmf_get_image_url($res_month.7.index_thumbnail)}" />
|
|
|
</div>
|
|
|
<!-- 图片下方文字 -->
|
|
|
<a href="/portal/enjoy/getEnjoyDetail?id={$res_month.7.id}">
|
...
|
...
|
@@ -466,7 +499,7 @@ |
|
|
</a>
|
|
|
<else/>
|
|
|
<div class="reverse_Imgs">
|
|
|
<img src="__TMPL__/public/assets/starImg/aicon_28.png"/>
|
|
|
<img src="__TMPL__/public/assets/starImg/aicon_28.png" />
|
|
|
</div>
|
|
|
<!-- 图片下方文字 -->
|
|
|
<div class="img_bottom">
|
...
|
...
|
@@ -494,7 +527,7 @@ |
|
|
<!-- 图片 -->
|
|
|
<notempty name="res_month.8">
|
|
|
<div class="reverse_Imgs">
|
|
|
<img src="{:cmf_get_image_url($res_month.8.index_thumbnail)}"/>
|
|
|
<img src="{:cmf_get_image_url($res_month.8.index_thumbnail)}" />
|
|
|
</div>
|
|
|
<!-- 图片下方文字 -->
|
|
|
<a href="/portal/enjoy/getEnjoyDetail?id={$res_month.8.id}">
|
...
|
...
|
@@ -505,7 +538,7 @@ |
|
|
</a>
|
|
|
<else/>
|
|
|
<div class="reverse_Imgs">
|
|
|
<img src="__TMPL__/public/assets/starImg/aicon_28.png"/>
|
|
|
<img src="__TMPL__/public/assets/starImg/aicon_28.png" />
|
|
|
</div>
|
|
|
<!-- 图片下方文字 -->
|
|
|
<div class="img_bottom">
|
...
|
...
|
@@ -533,7 +566,7 @@ |
|
|
<!-- 图片 -->
|
|
|
<notempty name="res_month.9">
|
|
|
<div class="reverse_Imgs">
|
|
|
<img src="{:cmf_get_image_url($res_month.9.index_thumbnail)}"/>
|
|
|
<img src="{:cmf_get_image_url($res_month.9.index_thumbnail)}" />
|
|
|
</div>
|
|
|
<!-- 图片下方文字 -->
|
|
|
<a href="/portal/enjoy/getEnjoyDetail?id={$res_month.9.id}">
|
...
|
...
|
@@ -544,7 +577,7 @@ |
|
|
</a>
|
|
|
<else/>
|
|
|
<div class="reverse_Imgs">
|
|
|
<img src="__TMPL__/public/assets/starImg/aicon_28.png"/>
|
|
|
<img src="__TMPL__/public/assets/starImg/aicon_28.png" />
|
|
|
</div>
|
|
|
<!-- 图片下方文字 -->
|
|
|
<div class="img_bottom">
|
...
|
...
|
@@ -570,7 +603,7 @@ |
|
|
<!-- 图片 -->
|
|
|
<notempty name="res_month.10">
|
|
|
<div class="reverse_Imgs">
|
|
|
<img src="{:cmf_get_image_url($res_month.10.index_thumbnail)}"/>
|
|
|
<img src="{:cmf_get_image_url($res_month.10.index_thumbnail)}" />
|
|
|
</div>
|
|
|
<!-- 图片下方文字 -->
|
|
|
<a href="/portal/enjoy/getEnjoyDetail?id={$res_month.10.id}">
|
...
|
...
|
@@ -581,7 +614,7 @@ |
|
|
</a>
|
|
|
<else/>
|
|
|
<div class="reverse_Imgs">
|
|
|
<img src="__TMPL__/public/assets/starImg/aicon_28.png"/>
|
|
|
<img src="__TMPL__/public/assets/starImg/aicon_28.png" />
|
|
|
</div>
|
|
|
<!-- 图片下方文字 -->
|
|
|
<div class="img_bottom">
|
...
|
...
|
@@ -609,7 +642,7 @@ |
|
|
<!-- 图片 -->
|
|
|
<notempty name="res_month.11">
|
|
|
<div class="reverse_Imgs">
|
|
|
<img src="{:cmf_get_image_url($res_month.11.index_thumbnail)}"/>
|
|
|
<img src="{:cmf_get_image_url($res_month.11.index_thumbnail)}" />
|
|
|
</div>
|
|
|
<!-- 图片下方文字 -->
|
|
|
<a href="/portal/enjoy/getEnjoyDetail?id={$res_month.11.id}">
|
...
|
...
|
@@ -620,7 +653,7 @@ |
|
|
</a>
|
|
|
<else/>
|
|
|
<div class="reverse_Imgs">
|
|
|
<img src="__TMPL__/public/assets/starImg/aicon_28.png"/>
|
|
|
<img src="__TMPL__/public/assets/starImg/aicon_28.png" />
|
|
|
</div>
|
|
|
<!-- 图片下方文字 -->
|
|
|
<div class="img_bottom">
|
...
|
...
|
@@ -648,7 +681,7 @@ |
|
|
<!-- 图片 -->
|
|
|
<notempty name="res_month.12">
|
|
|
<div class="reverse_Imgs">
|
|
|
<img src="{:cmf_get_image_url($res_month.12.index_thumbnail)}"/>
|
|
|
<img src="{:cmf_get_image_url($res_month.12.index_thumbnail)}" />
|
|
|
</div>
|
|
|
<!-- 图片下方文字 -->
|
|
|
<a href="/portal/enjoy/getEnjoyDetail?id={$res_month.12.id}">
|
...
|
...
|
@@ -659,7 +692,7 @@ |
|
|
</a>
|
|
|
<else/>
|
|
|
<div class="reverse_Imgs">
|
|
|
<img src="__TMPL__/public/assets/starImg/aicon_28.png"/>
|
|
|
<img src="__TMPL__/public/assets/starImg/aicon_28.png" />
|
|
|
</div>
|
|
|
<!-- 图片下方文字 -->
|
|
|
<div class="img_bottom">
|
...
|
...
|
@@ -687,10 +720,10 @@ |
|
|
<!-- 视频 -->
|
|
|
<div class="star_video">
|
|
|
<notempty name="res_xqyy">
|
|
|
<video id="video" width="100%" height="675" src="{:cmf_get_file_download_url($res_xqyy.video)}" controlsList="nodownload"></video>
|
|
|
<video id="video" width="100%" height="675" src="{:cmf_get_file_download_url($res_xqyy.video)}" controlsList="nodownload"></video>
|
|
|
<img class="show_in_poster" src="{:cmf_get_image_url($res_xqyy.index_thumbnail)}" alt="">
|
|
|
<else/>
|
|
|
<video id="video" width="100%" height="675" src="__TMPL__//public/assets/starImg/video.mp4" controlsList="nodownload"></video>
|
|
|
<video id="video" width="100%" height="675" src="__TMPL__//public/assets/starImg/video.mp4" controlsList="nodownload"></video>
|
|
|
<img class="show_in_poster" src="__TMPL__/public/assets/starImg/bicon_34.png" alt="">
|
|
|
</notempty>
|
|
|
<img onclick="bofang()" class="show_in_banner2" src="__TMPL__/public/assets/starImg/aicon_30.png" alt="">
|
...
|
...
|
@@ -835,7 +868,7 @@ |
|
|
<div class="star_activity">
|
|
|
<!-- 标题 -->
|
|
|
<div class="star_title clearfix">
|
|
|
<span>
|
|
|
<span>
|
|
|
<p>星际<i>活动</i></p>
|
|
|
<p>PLANET ACTIVITY</p>
|
|
|
</span>
|
...
|
...
|
@@ -855,16 +888,17 @@ |
|
|
</notempty>
|
|
|
</div>
|
|
|
|
|
|
<include file="public@footer"/>
|
|
|
<include file="public@footer" />
|
|
|
<script src="__TMPL__/public/assets/js/jquery-3.2.1.min.js"></script>
|
|
|
<script src="__TMPL__/public/assets/js/swiper4/swiper.min.js"></script>
|
|
|
<script src="__TMPL__/public/assets/js/public.js"></script>
|
|
|
<script>
|
|
|
// 弹框视频
|
|
|
$('.mask').css('display','block');
|
|
|
$('.mask').css('display', 'block');
|
|
|
|
|
|
var video2 = document.getElementById("video2"); //获取ID
|
|
|
var mask = document.getElementById("mask");
|
|
|
|
|
|
function nos() {
|
|
|
mask.style.display = "none";
|
|
|
video2.pause();
|
...
|
...
|
@@ -897,16 +931,16 @@ |
|
|
$(this).children('.star_happy_box').hide();
|
|
|
}
|
|
|
});
|
|
|
// tab切换
|
|
|
// tab切换
|
|
|
$('.star_happy_box li').click(function() {
|
|
|
$(this).addClass('active').siblings().removeClass('active');
|
|
|
});
|
|
|
$('.star_ming').click(function() {
|
|
|
var id = $('#star_id').val();
|
|
|
window.location.href = '/portal/region/getStarDetail?id='+id;
|
|
|
window.location.href = '/portal/region/getStarDetail?id=' + id;
|
|
|
});
|
|
|
// swiper
|
|
|
// banner
|
|
|
// banner
|
|
|
|
|
|
|
|
|
var swiper = new Swiper('.swiper-container6', {
|
...
|
...
|
@@ -951,6 +985,7 @@ |
|
|
});
|
|
|
// 星域秀场视频
|
|
|
var video = document.getElementById("video");
|
|
|
var video2 = document.getElementById("video2");
|
|
|
|
|
|
function bofang() {
|
|
|
video.play();
|
...
|
...
|
@@ -959,6 +994,12 @@ |
|
|
$('.show_in_poster').hide();
|
|
|
}
|
|
|
|
|
|
function bofang2() {
|
|
|
video2.play();
|
|
|
$('#video2').attr('controls', 'controls');
|
|
|
$('.show_in_banner3').hide();
|
|
|
$('.mask_videoFeng').hide();
|
|
|
}
|
|
|
</script>
|
|
|
</body>
|
|
|
|
...
|
...
|
|