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
6c82c8bd
Commit
6c82c8bd
authored
May 14, 2020
by
陈超
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
T
parent
17568461
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
49 additions
and
7 deletions
+49
-7
apps/course/Tpl/default/Video/index_w3g.html
+49
-7
No files found.
apps/course/Tpl/default/Video/index_w3g.html
View file @
6c82c8bd
...
@@ -74,7 +74,31 @@
...
@@ -74,7 +74,31 @@
</div>
</div>
</div>
</div>
</van-sticky>
</van-sticky>
<van-list
v-model=
"loading"
:finished=
"finished"
finished-text=
"没有更多了"
@
load=
"onLoad"
>
<div
v-for=
"(item, index) in items"
:key=
"index"
class=
"home_class_item layout_v"
>
<div
class=
"layout_h"
>
<van-image
style=
"margin-right: 0.75rem;"
height=
"72"
width=
"128"
fit=
"cover"
src=
"{:getCover($vo['cover'] ,580 , 320 )}"
>
</van-image>
<div
class=
"weight_full layout_v"
>
<span
class=
"text_14_600 color_333333 van-multi-ellipsis--l2"
>
{$vo.video_title}
</span>
<span
class=
"text_14_600 color_FF3B3B"
style=
"margin-top: 0.5rem;"
>
<if
condition=
"$vo['t_price'] eq 0"
>
免费
<else
/>
¥{$vo['t_price']}
</if>
</span>
<span
class=
"text_12_400 color_999999"
>
<php>
if($marketConf['order_switch'] == 1) {
</php>
{$vo['video_order_count_mark']}
<php>
}else{
</php>
{$vo['video_order_count']}
<php>
}
</php>
人正在学习
</span>
</div>
</div>
<div
class=
"home_divider divider"
></div>
</div>
</van-list>
</div>
</div>
</div>
</div>
<!--选择价格区间弹框-->
<!--选择价格区间弹框-->
...
@@ -272,8 +296,12 @@
...
@@ -272,8 +296,12 @@
buy
:
""
,
buy
:
""
,
minPrice
:
""
,
minPrice
:
""
,
maxPrice
:
""
,
maxPrice
:
""
,
loading
:
false
,
finished
:
false
,
conditions
:
[],
conditions
:
[],
selected
:
[]
selected
:
[],
page
:
0
,
items
:
[]
}
}
},
},
computed
:
{
computed
:
{
...
@@ -294,7 +322,7 @@
...
@@ -294,7 +322,7 @@
},
},
created
:
function
(){
created
:
function
(){
document
.
title
=
"全部
真题
"
document
.
title
=
"全部
课程
"
},
},
methods
:
{
methods
:
{
...
@@ -337,6 +365,22 @@
...
@@ -337,6 +365,22 @@
this
.
$refs
.
filter
.
toggle
();
this
.
$refs
.
filter
.
toggle
();
this
.
onCategory
(
''
,
''
)
this
.
onCategory
(
''
,
''
)
this
.
onBuy
(
''
,
''
)
this
.
onBuy
(
''
,
''
)
},
onLoad
:
function
()
{
let
that
=
this
$
.
ajax
({
type
:
"GET"
,
url
:
"{:U('course/Video/index')}"
,
data
:
"p="
+
(
this
.
page
+
1
)
+
"&orderBy=&cateId="
+
this
.
cate
+
"&vtype=1&charge=&videofile=&eaxm_id=&lower="
+
this
.
minPrice
+
"&mhm_id=&best={$_GET['best']}&vip_id="
,
dataType
:
"json"
,
success
:
function
(
data
)
{
that
.
loading
=
false
that
.
finished
=
true
console
.
log
(
data
)
}
})
}
}
}
}
...
@@ -469,7 +513,7 @@
...
@@ -469,7 +513,7 @@
$
(
".prevValue"
).
css
(
"display"
,
"none"
)
$
(
".prevValue"
).
css
(
"display"
,
"none"
)
}
}
</script>
</script>
<script
type=
"text/javascript"
>
<
!-- <
script type="text/javascript">
$(document).ready(function() {
$(document).ready(function() {
$(".nav_list ul li:eq(1)").addClass("on");
$(".nav_list ul li:eq(1)").addClass("on");
});
});
...
@@ -522,14 +566,12 @@
...
@@ -522,14 +566,12 @@
$(".jiujiunone-class-bg").hide()
$(".jiujiunone-class-bg").hide()
})
})
// $(".jiujiunone-class-base").click(function(){
// });
// 选中
// 选中
$(".jiujiunone-class-id").click(function(e){
$(".jiujiunone-class-id").click(function(e){
e.preventDefault();
e.preventDefault();
$(".jiujiunone-class-id").removeClass("active");
$(".jiujiunone-class-id").removeClass("active");
$(this).addClass("active");
$(this).addClass("active");
})
})
</script>
</script>
-->
<include
file=
"__THEME__/public_footer_w3g"
/>
<include
file=
"__THEME__/public_footer_w3g"
/>
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