Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
eduline
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
冷斌
eduline
Commits
43472ccd
Commit
43472ccd
authored
May 12, 2020
by
陈超
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
T
parent
ae643bdd
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
36 deletions
+9
-36
addons/theme/stv1/_header_w3g.html
+4
-0
addons/theme/stv1/public_header_w3g.html
+5
-36
No files found.
addons/theme/stv1/_header_w3g.html
View file @
43472ccd
...
@@ -28,6 +28,10 @@
...
@@ -28,6 +28,10 @@
<php>
}
</php>
<php>
}
</php>
<link
rel=
"shortcut icon"
href=
"{:getImageUrlByAttachId($site['site_ico'])}"
type=
"image/x-icon"
>
<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>
<script>
//全局变量
//全局变量
var
SITE_URL
=
'<php> echo isset($site["site_url"]) ? $site["site_url"] : SITE_URL;</php>'
;
var
SITE_URL
=
'<php> echo isset($site["site_url"]) ? $site["site_url"] : SITE_URL;</php>'
;
...
...
addons/theme/stv1/public_header_w3g.html
View file @
43472ccd
...
@@ -32,27 +32,23 @@
...
@@ -32,27 +32,23 @@
});
});
}
}
</script>
</script>
<div
class=
"win hide"
></div>
<div
class=
"win hide"
></div>
<header>
<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">
<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>
<else /><img src="{$site.logo_head_w3g|default=$site['logo_head']}" alt="logo"></if>
</a>
</a>
-->
<!-- <i class="icon icon-search"></i> -->
<!-- <i class="icon icon-search"></i> -->
<div
class=
"users"
>
<!--
<div class="users">
<if condition="$_SESSION['mid']">
<if condition="$_SESSION['mid']">
<img src="{:getUserFace($user['uid'],'b')}" width="30" height="30">
<img src="{:getUserFace($user['uid'],'b')}" width="30" height="30">
<!--登录后显示-->
<span>
<span>
<i class="icon icon-shang1"></i>
<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="{:U('home/User/index')}">个人中心</a>
<a href="javascript:;" onclick="logout()">退出</a>
<a href="javascript:;" onclick="logout()">退出</a>
</span>
</span>
<else/>
<else/>
<img src="__THEME__/images/noavatar/big.jpg">
<img src="__THEME__/images/noavatar/big.jpg">
<!--登录后影藏-->
<span>
<span>
<i class="icon icon-shang1"></i>
<i class="icon icon-shang1"></i>
<a href="{:U('basic/Passport/login')}">登录</a>
<a href="{:U('basic/Passport/login')}">登录</a>
...
@@ -63,7 +59,8 @@
...
@@ -63,7 +59,8 @@
</if>
</if>
</span>
</span>
</if>
</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>
<a
href=
"{:U('classroom/Index/search')}"
class=
"fill-in"
><i
class=
"icon icon-search"
></i></a>
</header>
</header>
<div
class=
"clear"
></div>
<div
class=
"clear"
></div>
...
@@ -184,26 +181,6 @@
...
@@ -184,26 +181,6 @@
line-height
:
35px
;
line-height
:
35px
;
}
}
</style>
</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=
"wxnotebox"
style=
"display: none;"
>
<div
class=
"box_content"
>
<div
class=
"box_content"
>
<div
class=
"box_top"
>
<div
class=
"box_top"
>
...
@@ -216,14 +193,6 @@
...
@@ -216,14 +193,6 @@
<script
src=
"//static.runoob.com/assets/qrcode/qrcode.min.js"
></script>
<script
src=
"//static.runoob.com/assets/qrcode/qrcode.min.js"
></script>
<script
type=
"text/javascript"
>
<script
type=
"text/javascript"
>
$
(
function
()
{
$
(
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}'
;
var
wx_note
=
'{$wx_note}'
;
if
(
wx_note
==
1
){
if
(
wx_note
==
1
){
$
(
".wxnotebox"
).
css
(
'display'
,
'block'
);
$
(
".wxnotebox"
).
css
(
'display'
,
'block'
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment