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
f96b2873
Commit
f96b2873
authored
May 13, 2020
by
陈超
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
T
parent
d773dd05
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
3 deletions
+12
-3
apps/classroom/Tpl/default/Index/search_w3g.html
+12
-3
No files found.
apps/classroom/Tpl/default/Index/search_w3g.html
View file @
f96b2873
...
...
@@ -121,7 +121,7 @@
</van-sticky>
<template
v-if=
"
tab == 0
"
>
<template
v-if=
"
showList(0)
"
>
<div
v-for=
"(item, idx) in options[0].items"
:key=
"idx"
class=
"home_class_item layout_v"
>
<div
class=
"layout_h"
>
<van-image
...
...
@@ -140,7 +140,7 @@
</div>
</template>
<template
v-if=
"
tab == 1
"
>
<template
v-if=
"
showList(1)
"
>
<div
v-for=
"(item, idx) in options[1].items"
:key=
"idx"
class=
"layout_v home_question_item"
>
<div
class=
"layout_h"
>
<div
class=
"home_item_mark_green layout_center"
>
免费
</div>
...
...
@@ -155,7 +155,7 @@
</div>
</template>
<template
v-if=
"
tab == 2
"
>
<template
v-if=
"
showList(2)
"
>
<div
v-for=
"(item, idx) in options[2].items"
:key=
"idx"
class=
"home_item_goods layout_h"
>
<van-image
style=
"margin-right: 0.75rem;"
...
...
@@ -285,6 +285,15 @@
}]
}
},
computed
:
{
showList
:
function
()
{
let
tab
=
this
.
tab
let
showHot
=
this
.
showHistory
return
function
(
idx
)
{
return
(
idx
==
tab
)
&&
!
showHot
}
}
},
methods
:
{
onFocus
:
function
()
{
this
.
showHistory
=
true
...
...
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