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
9736a923
Commit
9736a923
authored
May 19, 2020
by
冷斌
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
`试卷`
parent
66d773e3
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
1 deletions
+7
-1
apps/classroom/Lib/Action/IndexAction.class.php
+6
-0
apps/classroom/Tpl/default/Index/theme_x7_w3g.html
+1
-1
No files found.
apps/classroom/Lib/Action/IndexAction.class.php
View file @
9736a923
...
@@ -49,6 +49,12 @@ class IndexAction extends CommonAction
...
@@ -49,6 +49,12 @@ class IndexAction extends CommonAction
$map
[
'listingtime'
]
=
[
'LT'
,
time
()];
$map
[
'listingtime'
]
=
[
'LT'
,
time
()];
OPEN_SCHOOL
&&
$map
[
'show_place'
]
=
[
'neq'
,
2
];
OPEN_SCHOOL
&&
$map
[
'show_place'
]
=
[
'neq'
,
2
];
$where
=
[
'_string'
=>
'(`start_time` <= '
.
time
()
.
' OR `start_time` = 0) AND (`end_time` >= '
.
time
()
.
' OR `end_time` = 0)'
,
'best'
=>
1
,
];
$list
=
D
(
'ExamsPaper'
,
'exams'
)
->
getPaperPageList
(
$where
,
16
,
'default'
,
true
);
$this
->
assign
(
'exams'
,
$list
);
if
(
$config
[
'tpl'
]
==
'theme_x4'
)
{
if
(
$config
[
'tpl'
]
==
'theme_x4'
)
{
$info_data
=
$this
->
get_index_one_data
(
$config
[
'item'
]);
$info_data
=
$this
->
get_index_one_data
(
$config
[
'item'
]);
$this
->
assign
(
'info_data'
,
$info_data
);
$this
->
assign
(
'info_data'
,
$info_data
);
...
...
apps/classroom/Tpl/default/Index/theme_x7_w3g.html
View file @
9736a923
...
@@ -7,7 +7,7 @@
...
@@ -7,7 +7,7 @@
background=
"#FFFFFF"
placeholder=
"搜索课程..."
>
background=
"#FFFFFF"
placeholder=
"搜索课程..."
>
</van-search>
</van-search>
</a>
</a>
1111111111 {$exams}
<!--banner start-->
<!--banner start-->
<van-swipe
class=
"home_swapper"
indicator-color=
"white"
>
<van-swipe
class=
"home_swapper"
indicator-color=
"white"
>
<volist
name=
"ad_list"
id=
"adlt"
>
<volist
name=
"ad_list"
id=
"adlt"
>
...
...
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