优化推广首页

master
chenzhi 3 years ago
parent b44105bbf7
commit d68ba53f85

@ -158,7 +158,7 @@
</li> </li>
</ul> </ul>
</div> </div>
<div class="page-list promote-index-list promote-index-list-news"> <div class="page-list promote-index-list promote-index-list-news" style="margin-top: 15px;">
<div class="trunk-title-main"><span>开服信息</span></div> <div class="trunk-title-main"><span>开服信息</span></div>
<div class="trunk-content article"> <div class="trunk-content article">
<div class="trunk-search clearfix"> <div class="trunk-search clearfix">
@ -214,6 +214,7 @@
</div> </div>
</div> </div>
</div> </div>
<div style="width: 100%;height: 40px;"></div>
<notempty name="index_tip"> <notempty name="index_tip">
<div id="TestingTipShow" style="display: none;"> <div id="TestingTipShow" style="display: none;">
<div style="width: 100vw;height:100%;padding: 0;position: absolute;top: 0;z-index: 9999;background-color:rgba(0,0,0,.6);margin: -1.9%;"> <div style="width: 100vw;height:100%;padding: 0;position: absolute;top: 0;z-index: 9999;background-color:rgba(0,0,0,.6);margin: -1.9%;">
@ -258,16 +259,21 @@
<script> <script>
var pop_ids = {$match_rules_id}; try {
var match_rules_route ={$match_rules_route}; var pop_ids = {$match_rules_id};
var pop_time = {$pop_time1}; var match_rules_route ={$match_rules_route};
var pop_time1 = pop_time[0] var pop_time = {$pop_time1};
if (pop_time1 < 8 ) { var pop_time1 = pop_time[0]
var pop = false; if (pop_time1 < 8 ) {
}else { var pop = false;
var pop = true; }else {
var pop = true;
}
if (pop_ids) {pop_rulus_content(pop_ids, true);}
} catch (error) {
} }
console.log(pop_time)
function pop_rulus_content(id, force = false) function pop_rulus_content(id, force = false)
{ {
if (id instanceof Array) { if (id instanceof Array) {
@ -333,7 +339,6 @@
}); });
} }
} }
if (pop_ids) {pop_rulus_content(pop_ids, true);}
function getCookie(name) function getCookie(name)
{ {

Loading…
Cancel
Save