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
edc828c9
Commit
edc828c9
authored
May 18, 2020
by
陈超
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
T
parent
5dc84ff6
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
apps/classroom/Tpl/default/Index/search_w3g.html
+1
-1
apps/course/Lib/Action/VideoAction.class.php
+1
-1
apps/course/Tpl/default/Video/index_w3g.html
+1
-1
No files found.
apps/classroom/Tpl/default/Index/search_w3g.html
View file @
edc828c9
...
@@ -324,7 +324,7 @@
...
@@ -324,7 +324,7 @@
return
{
return
{
id
:
r
.
id
,
id
:
r
.
id
,
title
:
r
.
video_title
,
title
:
r
.
video_title
,
cover
:
r
.
cover
,
cover
:
r
.
image_url
,
price
:
pi
.
price
==
0
?
'免费'
:
(
'¥'
+
pi
.
price
),
price
:
pi
.
price
==
0
?
'免费'
:
(
'¥'
+
pi
.
price
),
count
:
on
?
r
.
video_order_count_mark
:
r
.
video_order_count
count
:
on
?
r
.
video_order_count_mark
:
r
.
video_order_count
}
}
...
...
apps/course/Lib/Action/VideoAction.class.php
View file @
edc828c9
...
@@ -245,7 +245,7 @@ class VideoAction extends CommonAction
...
@@ -245,7 +245,7 @@ class VideoAction extends CommonAction
$data
[
'data'
][
$k
][
'view_url'
]
=
U
(
'course/Video/view'
,
array
(
'id'
=>
$v
[
'id'
]));
$data
[
'data'
][
$k
][
'view_url'
]
=
U
(
'course/Video/view'
,
array
(
'id'
=>
$v
[
'id'
]));
}
}
$data
[
'data'
][
$k
][
'mz_price'
]
=
getPrice
(
$v
,
$this
->
mid
,
true
,
true
,
$v
[
'type'
]);
$data
[
'data'
][
$k
][
'mz_price'
]
=
getPrice
(
$v
,
$this
->
mid
,
true
,
true
,
$v
[
'type'
]);
$data
[
'data'
][
$k
][
'
out
'
]
=
getCover
(
$v
[
cover
],
580
,
320
);
$data
[
'data'
][
$k
][
'
image_url
'
]
=
getCover
(
$v
[
cover
],
580
,
320
);
// 查询活动
// 查询活动
$event
=
D
(
'ZyCourseEvents'
,
'classroom'
)
->
getEventInfo
([
'course_type'
=>
$v
[
'type'
],
'course_id'
=>
$v
[
'id'
]]);
$event
=
D
(
'ZyCourseEvents'
,
'classroom'
)
->
getEventInfo
([
'course_type'
=>
$v
[
'type'
],
'course_id'
=>
$v
[
'id'
]]);
if
(
$event
)
{
if
(
$event
)
{
...
...
apps/course/Tpl/default/Video/index_w3g.html
View file @
edc828c9
...
@@ -206,7 +206,7 @@
...
@@ -206,7 +206,7 @@
return
{
return
{
id
:
r
.
id
,
id
:
r
.
id
,
title
:
r
.
video_title
,
title
:
r
.
video_title
,
cover
:
r
.
cover
,
cover
:
r
.
image_url
,
price
:
pi
.
price
==
0
?
'免费'
:
(
'¥'
+
pi
.
price
),
price
:
pi
.
price
==
0
?
'免费'
:
(
'¥'
+
pi
.
price
),
count
:
on
?
r
.
video_order_count_mark
:
r
.
video_order_count
count
:
on
?
r
.
video_order_count_mark
:
r
.
video_order_count
}
}
...
...
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