Commit 43472ccd by 陈超

T

parent ae643bdd
......@@ -28,6 +28,10 @@
<php>}</php>
<link rel="shortcut icon" href="{:getImageUrlByAttachId($site['site_ico'])}" type="image/x-icon">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/vant@2.6/lib/index.css" />
<script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/vant@2.6/lib/vant.min.js"></script>
<script>
//全局变量
var SITE_URL = '<php> echo isset($site["site_url"]) ? $site["site_url"] : SITE_URL;</php>';
......
......@@ -32,27 +32,23 @@
});
}
</script>
<div class="win hide"></div>
<header>
<a href="/" class="a_box">
<!-- <a href="/" class="a_box">
<if condition="$site.logo_head_h5 neq ''"><img src="{$site.logo_head_h5}" alt="logo">
<else /><img src="{$site.logo_head_w3g|default=$site['logo_head']}" alt="logo"></if>
</a>
</a> -->
<!-- <i class="icon icon-search"></i> -->
<div class="users">
<!-- <div class="users">
<if condition="$_SESSION['mid']">
<img src="{:getUserFace($user['uid'],'b')}" width="30" height="30">
<!--登录后显示-->
<span>
<i class="icon icon-shang1"></i>
<!-- <a href="{:U('home/UserShow/index',array('uid'=>$_SESSION['mid']))}">我的主页</a> -->
<a href="{:U('home/User/index')}">个人中心</a>
<a href="javascript:;" onclick="logout()">退出</a>
</span>
<else/>
<img src="__THEME__/images/noavatar/big.jpg">
<!--登录后影藏-->
<span>
<i class="icon icon-shang1"></i>
<a href="{:U('basic/Passport/login')}">登录</a>
......@@ -63,7 +59,8 @@
</if>
</span>
</if>
</div>
</div> -->
<van-search shape="round" background="#ffffff" placeholder="搜索课程..."></van-search>
<a href="{:U('classroom/Index/search')}" class="fill-in"><i class="icon icon-search"></i></a>
</header>
<div class="clear"></div>
......@@ -184,26 +181,6 @@
line-height: 35px;
}
</style>
<!-- <div class="maskbox" style="display: none;">
<div class="box_content">
<div class="box_top">
<img src="" width="50" height="50" alt="">
<p>扫描二维码,关注“{$seo['_keywords']}”,即可看到网站所有课程。。。</p>
</div>
<div class="box_bottom">
<div class="twoma">
<div class="horn">
<div class="lt"></div>
<div class="rt"></div>
<div class="rb"></div>
<div class="lb"></div>
</div>
<div id="qrcode"></div>
</div>
<p>长按识别图中二维码</p>
</div>
</div>
</div> -->
<div class="wxnotebox" style="display: none;">
<div class="box_content">
<div class="box_top">
......@@ -216,14 +193,6 @@
<script src="//static.runoob.com/assets/qrcode/qrcode.min.js"></script>
<script type="text/javascript">
$(function () {
//定时显示关注公众号
/*var wx_follow = '{$wx_follow}';
if(wx_follow == 1){
setTimeout(function(){
var qrcode = new QRCode(document.getElementById("qrcode"),"http://weixin.qq.com/r/8jsAGIrEcNcPrc57927g");
$(".maskbox").css('display','block');
},5000);
}*/
var wx_note = '{$wx_note}';
if(wx_note == 1){
$(".wxnotebox").css('display','block');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment