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
159df794
Commit
159df794
authored
May 15, 2020
by
陈超
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
T
parent
3eda290e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
7 deletions
+21
-7
apps/course/Tpl/default/Video/view_w3g.html
+21
-7
No files found.
apps/course/Tpl/default/Video/view_w3g.html
View file @
159df794
...
@@ -24,8 +24,21 @@
...
@@ -24,8 +24,21 @@
</div>
</div>
<div
class=
"fixed_bottom_bar"
>
<div
class=
"fixed_bottom_bar"
>
<div
class=
"layout_v"
>
<div
class=
"layout_v"
>
<span
class=
"text_14_600 color_FF3B3B"
></span>
<template
v-if=
"bought"
>
<span></span>
</template>
<template
v-else
>
<span
class=
"text_14_600 color_FF3B3B"
>
<php>
if($mybuy or $data['is_buy'] or $data['is_charge'] or $data['mz_price']['price'] == 0) {
</php>
免费
<php>
} else {
</php>
<!-- ¥<if condition="$course_event.event_type eq 3">{$course_event['event_price_other']}<else/>{$data['mz_price']['price']}</if> -->
¥{$data['mz_price']['selPrice']}
<php>
}
</php>
</span>
<span></span>
</template>
</div>
</div>
</div>
</div>
</div>
</div>
...
@@ -46,7 +59,6 @@
...
@@ -46,7 +59,6 @@
<p
class=
"newbb-title"
>
{:h($data['video_title'])}
</p>
<p
class=
"newbb-title"
>
{:h($data['video_title'])}
</p>
</div>
</div>
<php>
if(!empty($receiveCoupon)){
</php>
<php>
if(!empty($receiveCoupon)){
</php>
<!-- 优惠券 -->
<div
class=
"coupons"
>
<div
class=
"coupons"
>
<div
class=
"coupons-phase"
>
<div
class=
"coupons-phase"
>
<span
class=
"face"
>
优惠
</span>
<span
class=
"face"
>
优惠
</span>
...
@@ -307,13 +319,15 @@
...
@@ -307,13 +319,15 @@
el
:
"#app"
,
el
:
"#app"
,
data
:
function
()
{
data
:
function
()
{
return
{
return
{
bought
:
false
bought
:
false
,
isCollect
:
false
}
}
},
},
created
:
function
(){
created
:
function
(){
let
p
=
{
$isBuyVideo
}
let
p
=
{:
json_encode
(
$isBuyVideo
)};
console
.
log
(
p
)
let
c
=
{:
json_encode
(
$iscollect
)};
console
.
log
(
"123"
)
console
.
log
(
c
)
this
.
bought
=
p
!=
null
},
},
computed
:
{
computed
:
{
shareIcon
:
function
()
{
shareIcon
:
function
()
{
...
...
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