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
2485f37e
Commit
2485f37e
authored
May 18, 2020
by
陈超
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
T
parent
e6c2a3a9
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
6 deletions
+12
-6
apps/classroom/Tpl/default/Index/search_w3g.html
+6
-5
apps/course/Tpl/default/Video/index_w3g.html
+6
-1
No files found.
apps/classroom/Tpl/default/Index/search_w3g.html
View file @
2485f37e
...
...
@@ -142,23 +142,24 @@
</template>
<template
v-if=
"showList(1)"
>
<div
@
click=
"onTapQuestion(item)"
v-for=
"(item, idx) in options[1].items"
:key=
"idx"
class=
"layout_v home_question_item"
>
<div
v-for=
"(item, idx) in options[1].items"
:key=
"idx"
class=
"layout_v home_question_item"
>
<div
v-if=
"item.price == 0"
class=
"layout_h"
>
<div
class=
"home_item_mark_green layout_center"
>
免费
</div>
<span
class=
"text_14_600 color_333333 weight_full van-multi-ellipsis--l2"
style=
"margin-right: 1.5rem;margin-left: 0.625rem;"
>
{{item.title}}
</span>
<div
class=
"home_button_green layout_center"
>
开始做题
</div>
<div
@
click=
"onTapQuestion(item)"
class=
"home_button_green layout_center"
>
开始做题
</div>
</div>
<div
v-else
class=
"layout_h"
>
<div
class=
"home_item_mark_orange layout_center"
>
付费
</div>
<span
class=
"text_14_600 color_333333 weight_full van-multi-ellipsis--l2"
style=
"margin-right: 1.5rem;margin-left: 0.625rem;"
>
{{item.title}}
</span>
<div
class=
"home_button_orange layout_center"
>
¥{{item.price}}
</div>
<div
@
click=
"onTapQuestion(item)"
class=
"home_button_orange layout_center"
>
¥{{item.price}}
</div>
</div>
<div
class=
"layout_h_b"
style=
"margin-top: 0.5rem;"
>
<span
class=
"text_14_600 color_FF3B3B"
>
¥{{item.price}}
</span>
<van-image
src=
"__THEME__/img/down_load_icon.png"
width=
"13"
height=
"16"
></van-image>
</div>
<div
class=
"divider"
></div>
<div
class=
"
home_divider
divider"
></div>
</div>
<span
style=
"margin-top: 35vh;"
v-if=
"options[1].items.length == 0"
class=
"text_14_400 color_999999 self_center"
>
没有找到!
</span>
</template>
<template
v-if=
"showList(2)"
>
...
...
@@ -178,7 +179,7 @@
</div>
</div>
</div>
<span
style=
"margin-top: 35vh;"
v-if=
"options[
1
].items.length == 0"
class=
"text_14_400 color_999999 self_center"
>
没有找到!
</span>
<span
style=
"margin-top: 35vh;"
v-if=
"options[
2
].items.length == 0"
class=
"text_14_400 color_999999 self_center"
>
没有找到!
</span>
</template>
<!-- 热门搜索 -->
...
...
apps/course/Tpl/default/Video/index_w3g.html
View file @
2485f37e
...
...
@@ -69,7 +69,7 @@
finished-text=
"没有更多了"
@
load=
"onLoad"
>
<div
v-for=
"(item, index) in items"
:key=
"index"
class=
"home_class_item layout_v"
>
<div
@
click=
"onTapItem(item)"
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=
"item.cover"
>
</van-image>
...
...
@@ -139,6 +139,10 @@
}
},
onTapItem
:
function
(
item
)
{
window
.
location
.
href
=
"{:U('course/Video/view')}"
+
item
.
id
},
//Helper
onCondition
:
function
(
id
,
title
,
key
)
{
let
idx
=
this
.
conditions
.
hx_indexOf
(
r
=>
{
return
r
.
type
==
key
})
...
...
@@ -184,6 +188,7 @@
this
.
page
=
0
this
.
onLoad
()
},
onLoad
:
function
()
{
let
that
=
this
let
on
=
"{$marketConf['order_switch']}"
==
1
...
...
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