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
3b47d88b
Commit
3b47d88b
authored
Jun 05, 2020
by
Administrator
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/master'
parents
07108f44
f5026922
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
9 deletions
+7
-9
apps/home/Lib/Action/HomeAction.class.php
+1
-1
apps/home/Tpl/default/Home/collect_w3g.html
+6
-8
No files found.
apps/home/Lib/Action/HomeAction.class.php
View file @
3b47d88b
...
...
@@ -714,7 +714,7 @@ class HomeAction extends UserAction
public
function
collect
()
{
$limit
=
9
;
$limit
=
1000
;
$map
[
'uid'
]
=
$this
->
mid
;
if
(
!
$_GET
[
'tab'
])
{
...
...
apps/home/Tpl/default/Home/collect_w3g.html
View file @
3b47d88b
...
...
@@ -12,9 +12,7 @@
<van-list
v-model=
"loading"
:finished=
"finished"
finished-text=
"没有更多了"
@
load=
"onLoad"
>
<template
v-if=
"tab == 0"
>
<div
v-for=
"(item, index) in options[0].items"
:key=
"index"
class=
"layout_h collect_video_item"
>
<van-image
height=
"68"
width=
"120"
fit=
"cover"
src=
"https://img.yzcdn.cn/vant/cat.jpeg"
></van-image>
...
...
@@ -27,7 +25,7 @@
</div>
</div>
</template>
<template
v-if=
"tab == 1"
>
<div
v-for=
"(item, index) in options[1].items"
:key=
"index"
class=
"layout_v collect_question_item"
>
<span
class=
"text_14_600 color_333333"
>
[班级课程]透视理论01——认识透视[班级课程]透视理论01——认识透视
</span>
...
...
@@ -37,7 +35,7 @@
</div>
</div>
</template>
</van-list>
</div>
</div>
...
...
@@ -48,18 +46,18 @@
data
:
function
()
{
return
{
tab
:
0
,
loading
:
fals
e
,
finished
:
fals
e
,
loading
:
tru
e
,
finished
:
tru
e
,
options
:
[{
title
:
"我的视频"
,
items
:
[
1
],
page
:
0
,
finished
:
fals
e
finished
:
tru
e
},{
title
:
"我的真题"
,
items
:
[
2
],
page
:
0
,
finished
:
fals
e
finished
:
tru
e
}]
}
},
...
...
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