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
34b86e87
Commit
34b86e87
authored
Jul 07, 2020
by
冷斌
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix bug
parent
1a47bb12
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
8 deletions
+10
-8
apps/classroom/Tpl/default/Index/theme_x7_w3g.html
+10
-8
No files found.
apps/classroom/Tpl/default/Index/theme_x7_w3g.html
View file @
34b86e87
...
...
@@ -119,9 +119,9 @@
</if>
<else
/>
<if
condition=
"$vo['price'] eq 0 or $vo['is_buy'] eq 1"
>
<div
@
click=
"on
Start
({$vo['exams_paper_id']})"
class=
"home_button_green layout_center"
>
下载试题
</div>
<div
@
click=
"on
Download
({$vo['exams_paper_id']})"
class=
"home_button_green layout_center"
>
下载试题
</div>
<else
/>
<div
@
click=
"on
Start
({$vo['exams_paper_id']})"
class=
"home_button_orange layout_center"
>
下载预览
</div>
<div
@
click=
"on
Download
({$vo['exams_paper_id']})"
class=
"home_button_orange layout_center"
>
下载预览
</div>
</if>
</if>
...
...
@@ -137,14 +137,14 @@
</div>
<!-- 下载预览提示 -->
<!-- <div v-show="yulan==index"> -->
<div
class=
"yulanBox"
v-
if=
"false
"
>
<div
class=
"yulanBox"
v-
show=
"exams_paper_id == {$vo['exams_paper_id']}
"
>
<div
class=
"tips_box"
>
<img
class=
"close_yulan"
src=
"/addons/theme/stv1/_static/img/guanbi@2x.png"
>
<div
class=
"tips_title"
>
提示
</div>
<div
class=
"tips_body"
>
套餐下架后用户便无法找到该商品进行购买,你确定要下架吗?
</div>
<div
class=
"tips_foot"
>
<div
@
click=
"onDownload(index)"
class=
"tips_foot_L"
>
下载预览
</div>
<div
@
click=
"onPay(
item
)"
class=
"tips_foot_R"
>
下载全部
</div>
<div
@
click=
"onPay(
{$vo['exams_paper_id']}
)"
class=
"tips_foot_R"
>
下载全部
</div>
</div>
</div>
</div>
...
...
@@ -205,7 +205,8 @@
el
:
'#app'
,
data
:
function
()
{
return
{
active
:
0
active
:
0
,
exams_paper_id
:
0
}
},
created
:
function
()
{
...
...
@@ -237,9 +238,10 @@
}
},
onDownload
:
function
(
isBuy
,
price
,
path
)
{
if
(
path
)
{
window
.
location
.
href
=
path
;
}
// if ( path ) {
// window.location.href = path;
// }
this
.
exams_paper_id
=
isBuy
;
},
onPay
:
function
(
id
)
{
if
(
MID
<=
0
)
{
...
...
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