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
a8807da3
Commit
a8807da3
authored
May 25, 2020
by
冷斌
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
设置
parent
ca8120af
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
3 deletions
+6
-3
apps/home/Lib/Action/HomeAction.class.php
+3
-0
apps/home/Tpl/default/Home/order_w3g.html
+3
-3
No files found.
apps/home/Lib/Action/HomeAction.class.php
View file @
a8807da3
...
...
@@ -206,9 +206,11 @@ class HomeAction extends UserAction
if
(
$data
[
'data'
])
{
$data
[
'data'
]
=
$this
->
haddleData
(
$data
[
'data'
],
$table
);
foreach
(
$data
[
'data'
]
as
$k
=>
$v
)
{
if
(
!
empty
(
$v
[
'cover'
]))
{
$data
[
'data'
][
$k
][
'cover_image'
]
=
getCover
(
$v
[
'cover'
],
580
,
320
);
}
}
}
$this
->
assign
(
"orderby"
,
$orderby
);
$this
->
assign
(
"check_type"
,
$check_type
);
$this
->
assign
(
"ordertype"
,
$ordertype
);
...
...
@@ -355,6 +357,7 @@ class HomeAction extends UserAction
$val
[
'cover'
]
=
$video
[
'cover'
];
$val
[
'course_id'
]
=
$val
[
'video_id'
];
$val
[
'video_name'
]
=
mStr
(
$video
[
'video_title'
],
20
);
$val
[
'video_title'
]
=
$video
[
'video_title'
];
$val
[
'course_type'
]
=
1
;
if
(
$val
[
'course_hour_id'
])
{
...
...
apps/home/Tpl/default/Home/order_w3g.html
View file @
a8807da3
...
...
@@ -38,7 +38,7 @@
<van-image
height=
"72"
width=
"128"
fit=
"cover"
:src=
"showImage(item)"
></van-image>
<div
class=
"layout_v_b weight_full"
style=
"margin-left: 0.75rem;"
>
<span
class=
"text_14_600 color_333333"
>
{{item['video_name']}}
</span>
<span
class=
"text_14_600 color_FF3B3B"
>
¥
100
</span>
<span
class=
"text_14_600 color_FF3B3B"
>
¥
{{item['price']}}
</span>
</div>
</div>
<div
class=
"divider"
style=
"margin-top: 1rem;"
></div>
...
...
@@ -59,14 +59,14 @@
</div>
<!-- 不带图 -->
<div
v-if=
"!showImage(item)"
class=
"order_image_item layout_v"
>
<span
style=
"margin-left: 0.75rem;margin-right: 0.75rem;"
class=
"text_14_600 color_333333"
>
[班级课程]透视理论01——认识透视
</span>
<span
style=
"margin-left: 0.75rem;margin-right: 0.75rem;"
class=
"text_14_600 color_333333"
>
{{item['video_title']}}
</span>
<span
style=
"margin-left: 0.75rem;"
class=
"text_14_600 color_FF3B3B"
style=
"margin-top: 0.5rem;"
>
¥100
</span>
<div
class=
"divider"
style=
"margin-top: 1rem;"
></div>
<div
class=
"order_action_bar layout_h_b"
>
<div
class=
"weight_full layout_h self_center"
>
<span
class=
"text_12_400 color_333333"
>
应付款:
</span>
<span
class=
"text_14_600 color_FF3B3B"
>
¥
100
</span>
<span
class=
"text_14_600 color_FF3B3B"
>
¥
{{item['pay_price']}}
</span>
</div>
<div
class=
"layout_h_r"
>
<div
v-if=
"showSolid(index)"
class=
"order_action_solid self_center"
...
...
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