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
a374ef88
Commit
a374ef88
authored
Jul 06, 2020
by
刘海龙
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
6831cb46
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
3 deletions
+17
-3
apps/home/Tpl/default/Home/exams_w3g.html
+17
-3
No files found.
apps/home/Tpl/default/Home/exams_w3g.html
View file @
a374ef88
...
...
@@ -112,7 +112,7 @@
<div
v-show=
"yulan==index"
>
<div
class=
"yulanBox"
>
<div
class=
"tips_box"
>
<img
class=
"close_yulan"
src=
"/addons/theme/stv1/_static/img/guanbi@2x.png"
>
<img
class=
"close_yulan"
@
click=
"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"
>
...
...
@@ -254,7 +254,11 @@
}
else
if
(
that
.
tab
==
1
)
{
that
.
loadDownload
()
}
else
{
that
.
onMyTab
(
that
.
myTab
)
if
(
that
.
myTab
==
0
){
this
.
loadMy
()
}
else
{
this
.
loadMyTi
()
}
}
}
else
if
(
scrollTop
<=
0
){
//滚动条到达顶部
...
...
@@ -353,6 +357,8 @@
document
.
body
.
removeChild
(
link
);
this
.
yulan
=
0
;
},
// 下载预览
showYulan
:
function
(
index
)
{
if
(
!
this
.
download
[
index
].
attach
){
alert
(
'当前课程无文件下载'
);
...
...
@@ -360,7 +366,12 @@
this
.
yulan
=
index
;
}
},
// 关闭预览
close_yulan
:
function
(){
this
.
yulan
=
0
;
},
// 顶部导航栏切换
onTopTab
:
function
(
tab
)
{
if
(
this
.
tab
==
0
)
{
this
.
page
=
1
...
...
@@ -370,15 +381,17 @@
this
.
page
=
1
this
.
loadDownload
()
}
else
{
this
.
page
=
1
this
.
onMyTab
(
this
.
myTab
)
}
},
// 已做和收藏切换
onMyTab
:
function
(
tab
)
{
this
.
myTab
=
tab
console
.
log
(
this
.
myTab
)
if
(
tab
==
0
)
{
this
.
page
=
1
this
.
myYiZuo
=
[]
this
.
loadMy
()
}
else
{
this
.
page
=
1
...
...
@@ -387,6 +400,7 @@
this
.
loadMyTi
()
}
},
// 筛选条件
onCondition
:
function
(
condition
)
{
this
.
condition
.
forEach
(
r
=>
{
r
.
select
=
false
})
condition
.
select
=
true
...
...
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