Skip to content

Commit

Permalink
修复傻蛋模板首页不弹窗广告问题
Browse files Browse the repository at this point in the history
  • Loading branch information
yumusb committed Aug 31, 2021
1 parent 6b175f2 commit d8f3e91
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 0 additions & 2 deletions templates/shadan/common/footer.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,5 @@
<?php if(isset($config['tongji']) AND strlen($config['tongji'])>0):?>
<?php echo $config['tongji'];?>
<?php endif;?>
<!-- 多条广告如下脚本只需引入一次 -->
<script type="text/javascript" src="//cpro.baidustatic.com/cpro/ui/c.js" async="async" defer="defer" ></script>
</body>
</html>
6 changes: 5 additions & 1 deletion templates/shadan/index/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -98,4 +98,8 @@
</div>
<div id="layerad" style="display: none;"><?php echo $config['layerad'];?></div>
<!--引入公共底文件-->
<?php include '../templates/shadan/common/footer.html';?>
<?php include '../templates/shadan/common/footer.html';?>
<script>
layui.use('product');
var PIFA = "";
</script>

0 comments on commit d8f3e91

Please sign in to comment.