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
56518bd1
Commit
56518bd1
authored
May 13, 2020
by
冷斌
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/master'
parents
42419e8a
2573dd78
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
106 additions
and
8 deletions
+106
-8
addons/theme/stv1/_header_w3g.html
+1
-2
addons/theme/stv1/_static_w3g/css/common.css
+59
-0
apps/classroom/Tpl/default/Index/search_w3g.html
+45
-5
apps/classroom/Tpl/default/Index/theme_x7_w3g.html
+1
-1
No files found.
addons/theme/stv1/_header_w3g.html
View file @
56518bd1
...
@@ -13,8 +13,6 @@
...
@@ -13,8 +13,6 @@
<link
href=
"__THEMEW3G__/css/style.css"
rel=
"stylesheet"
>
<link
href=
"__THEMEW3G__/css/style.css"
rel=
"stylesheet"
>
<link
href=
"__THEMEW3G__/icon/iconfont.css"
rel=
"stylesheet"
>
<link
href=
"__THEMEW3G__/icon/iconfont.css"
rel=
"stylesheet"
>
<link
href=
"__THEMEW3G__/css/common.css"
rel=
"stylesheet"
>
<link
rel=
"stylesheet"
href=
"__THEMEW3G__/js/layer/need/layer.css"
>
<link
rel=
"stylesheet"
href=
"__THEMEW3G__/js/layer/need/layer.css"
>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"__THEMEW3G__/icon/iconfont-v4.css"
>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"__THEMEW3G__/icon/iconfont-v4.css"
>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"__THEMEW3G__/icon/eduline-icon.css"
>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"__THEMEW3G__/icon/eduline-icon.css"
>
...
@@ -31,6 +29,7 @@
...
@@ -31,6 +29,7 @@
<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
href=
"__THEMEW3G__/css/common.css"
rel=
"stylesheet"
>
<link
rel=
"stylesheet"
href=
"https://cdn.jsdelivr.net/npm/vant@2.6/lib/index.css"
/>
<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/vue/dist/vue.min.js"
></script>
<script
src=
"https://cdn.jsdelivr.net/npm/vant@2.6/lib/vant.min.js"
></script>
<script
src=
"https://cdn.jsdelivr.net/npm/vant@2.6/lib/vant.min.js"
></script>
...
...
addons/theme/stv1/_static_w3g/css/common.css
View file @
56518bd1
...
@@ -17,6 +17,12 @@ div::-webkit-scrollbar {
...
@@ -17,6 +17,12 @@ div::-webkit-scrollbar {
padding-bottom
:
4.125rem
;
padding-bottom
:
4.125rem
;
}
}
.layout_h_wrap
{
display
:
flex
;
flex-direction
:
row
;
flex-wrap
:
wrap
;
}
.layout_v
{
.layout_v
{
display
:
flex
;
display
:
flex
;
flex-direction
:
column
;
flex-direction
:
column
;
...
@@ -318,6 +324,37 @@ div::-webkit-scrollbar {
...
@@ -318,6 +324,37 @@ div::-webkit-scrollbar {
background
:
rgba
(
163
,
228
,
96
,
0.5
);
background
:
rgba
(
163
,
228
,
96
,
0.5
);
}
}
.tabs_container
{
height
:
2.25rem
;
display
:
flex
;
flex-direction
:
row
;
border-bottom
:
0.0625rem
solid
#ebedf0
;
}
.tab_item_normal
{
display
:
flex
;
flex-direction
:
row
;
flex-grow
:
1
;
width
:
0
;
align-items
:
center
;
justify-content
:
center
;
font-size
:
14px
;
font-weight
:
400
;
color
:
rgba
(
51
,
51
,
51
,
1
);
}
.tab_item_selected
{
display
:
flex
;
flex-direction
:
row
;
flex-grow
:
1
;
width
:
0
;
align-items
:
center
;
justify-content
:
center
;
font-size
:
14px
;
font-weight
:
600
;
color
:
rgba
(
101
,
192
,
0
,
1
);
}
/*
/*
* Home
* Home
*/
*/
...
@@ -500,3 +537,24 @@ div::-webkit-scrollbar {
...
@@ -500,3 +537,24 @@ div::-webkit-scrollbar {
.van-cell
:not
(
:last-child
)
::after
{
.van-cell
:not
(
:last-child
)
::after
{
left
:
0
!important
;
left
:
0
!important
;
}
}
/* Search */
.search_hot_title
{
margin-left
:
0.75rem
;
margin-top
:
0.75rem
;
}
.search_hot_title_flow
{
padding-top
:
0.75rem
;
padding-left
:
0.75rem
;
}
.search_flex_item
{
box-sizing
:
border-box
;
height
:
32px
;
background
:
rgba
(
245
,
245
,
245
,
1
);
border-radius
:
16px
;
margin-right
:
0.75rem
;
margin-bottom
:
0.75rem
;
padding
:
0.4375rem
0.75rem
;
}
\ No newline at end of file
apps/classroom/Tpl/default/Index/search_w3g.html
View file @
56518bd1
...
@@ -29,6 +29,7 @@
...
@@ -29,6 +29,7 @@
<script
src=
"__THEMEW3G__/js/jquery-1.8.3.min.js"
></script>
<script
src=
"__THEMEW3G__/js/jquery-1.8.3.min.js"
></script>
<script
src=
"__THEMEW3G__/js/search_media.js"
></script>
<script
src=
"__THEMEW3G__/js/search_media.js"
></script>
<link
href=
"__THEMEW3G__/css/common.css"
rel=
"stylesheet"
>
<link
rel=
"stylesheet"
href=
"https://cdn.jsdelivr.net/npm/vant@2.6/lib/index.css"
/>
<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/vue/dist/vue.min.js"
></script>
<script
src=
"https://cdn.jsdelivr.net/npm/vant@2.6/lib/vant.min.js"
></script>
<script
src=
"https://cdn.jsdelivr.net/npm/vant@2.6/lib/vant.min.js"
></script>
...
@@ -104,19 +105,39 @@
...
@@ -104,19 +105,39 @@
v-model=
"keyword"
v-model=
"keyword"
style=
"padding-bottom: 0 !important;"
style=
"padding-bottom: 0 !important;"
left-icon=
"__THEME__/img/serch@3x.png"
left-icon=
"__THEME__/img/serch@3x.png"
@
focus=
"onFocus"
@
search=
"onSearch"
shape=
"round"
shape=
"round"
background=
"#ffffff"
background=
"#ffffff"
placeholder=
"请输入关键词..."
>
placeholder=
"请输入关键词..."
>
</van-search>
</van-search>
<div
v-if=
"!showHistory"
class=
"tabs_container"
style=
"margin-top: 0.5rem;"
>
<div
@
click=
"onTab(idx)"
v-for=
"(opt, idx) in options"
:key=
"idx"
:class=
"idx == tab ? 'tab_item_selected' : 'tab_item_normal'"
>
<span>
{{opt.title}}
</span>
</div>
</div>
</van-sticky>
</van-sticky>
<!-- 热门搜索 -->
<div
v-if=
"showHistory"
class=
"layout_v"
>
<span
class=
"search_hot_title text_12_400 color_999999"
>
历史搜索:
</span>
<div
class=
"layout_h_wrap search_hot_title_flow"
>
<volist
name=
"video"
id=
"vo"
>
<div
@
click=
"onHotKeyword({$vo.video_title|mStr=10})"
class=
"search_flex_item layout_center"
>
<span
class=
"text_14_400 color_999999"
>
{$vo.video_title|mStr=10}
</span>
</div>
<!-- <li><a <eq name="vo.type" value="1">href="{:U('course/Video/view',array('id'=>$vo['id']))}"<else/>href="{:U('live/Index/view',array('id'=>$vo['id']))}"</eq>>{$vo.video_title|mStr=10}</a></li> -->
</volist>
</div>
</div>
</div>
</div>
</div>
</div>
<div
class=
"search-bodyer"
>
<!-- <div class="search-bodyer">
<!-- 搜索 -->
<div class="goods-eac-box">
<div class="goods-eac-box">
<div class="eac-per-ens">
<div class="eac-per-ens">
<div class="aingstoit">
<div class="aingstoit">
...
@@ -181,7 +202,6 @@
...
@@ -181,7 +202,6 @@
</div>
</div>
</div>
</div>
<!-- 热门搜索 -->
<div class="headlines">
<div class="headlines">
<h5>大家都在搜</h5>
<h5>大家都在搜</h5>
<ul id="video_list">
<ul id="video_list">
...
@@ -190,18 +210,38 @@
...
@@ -190,18 +210,38 @@
</volist>
</volist>
</ul>
</ul>
</div>
</div>
</div>
</div>
-->
</body>
</body>
<script
type=
"text/javascript"
>
<script
type=
"text/javascript"
>
new
Vue
({
new
Vue
({
el
:
'#app'
,
el
:
'#app'
,
data
:
function
()
{
data
:
function
()
{
return
{
return
{
keyword
:
""
keyword
:
""
,
showHistory
:
true
,
tab
:
0
,
options
:
[{
title
:
'视频'
},{
title
:
'真题'
},{
title
:
'实物'
}]
}
}
},
},
methods
:
{
methods
:
{
onFocus
:
function
()
{
this
.
showHistory
=
true
},
onHotKeyword
:
function
(
keyword
)
{
},
onSearch
:
function
()
{
this
.
showHistory
=
false
},
onTab
:
function
(
idx
)
{
this
.
tab
=
idx
}
}
}
})
})
</script>
</script>
...
...
apps/classroom/Tpl/default/Index/theme_x7_w3g.html
View file @
56518bd1
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
<!--search-->
<!--search-->
<a
href=
"{:U('classroom/Index/search')}"
>
<a
href=
"{:U('classroom/Index/search')}"
>
<van-search
style=
"padding-bottom: 0 !important;"
left-icon=
"__THEME__/img/serch@3x.png"
readonly
shape=
"round"
<van-search
style=
"padding-bottom: 0 !important;"
left-icon=
"__THEME__/img/serch@3x.png"
readonly
shape=
"round"
background=
"#F
BFFF7
"
placeholder=
"搜索课程..."
>
background=
"#F
FFFFF
"
placeholder=
"搜索课程..."
>
</van-search>
</van-search>
</a>
</a>
...
...
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