Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
H
h5-base
Project
Project
Details
Activity
Releases
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
new-sing
h5-base
Commits
7247dadf
Commit
7247dadf
authored
Jan 04, 2019
by
wangwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
星星系统
parent
94caabfe
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
46 additions
and
7 deletions
+46
-7
noFinishBg.png
src/assets/newLesson/noFinishBg.png
+0
-0
index.vue
src/components/map/index.vue
+6
-5
nofinishdia.vue
src/components/newLesson/nofinishdia.vue
+33
-0
video.vue
src/components/newLesson/video.vue
+7
-2
No files found.
src/assets/newLesson/noFinishBg.png
0 → 100644
View file @
7247dadf
17.3 KB
src/components/map/index.vue
View file @
7247dadf
...
...
@@ -310,7 +310,7 @@
if
(
this
.
thisLesson
.
content
.
tips
){
let
query
=
{
periods_id
:
this
.
periods_id
,
category_id
:
this
.
thisLesson
.
i
d
,
category_id
:
this
.
thisLesson
.
categoryI
d
,
elementId
:
this
.
thisLesson
.
id
,
course_type
:
this
.
$route
.
query
.
course_type
,
parent_category_id
:
this
.
parent_category_id
,
...
...
@@ -320,7 +320,7 @@
}
else
{
let
query
=
{
periods_id
:
this
.
periods_id
,
category_id
:
this
.
thisLesson
.
category
_i
d
,
category_id
:
this
.
thisLesson
.
category
I
d
,
parent_category_id
:
this
.
parent_category_id
,
element_id
:
this
.
thisLesson
.
id
,
course_type
:
this
.
$route
.
query
.
course_type
,
...
...
@@ -343,7 +343,8 @@
getLessonDetailApi
(
this
.
periods_id
,
data
.
id
,
data
.
ele_id
).
then
(
res
=>
{
res
.
content
=
JSON
.
parse
(
res
.
content
);
this
.
thisLesson
=
res
;
this
.
thisLesson
.
id
=
data
.
id
;
this
.
thisLesson
.
id
=
data
.
ele_id
;
this
.
thisLesson
.
categoryId
=
data
.
id
;
this
.
thisLesson
.
domTitle
=
data
.
name
;
this
.
thisLesson
.
day
=
i
;
this
.
popupVisible
=
true
;
...
...
@@ -378,12 +379,12 @@
if
(
x
>=
3
){
index
=
x
-
3
}
else
{
index
=
x
index
=
0
}
if
(
x
>
4
){
index2
=
x
-
4
}
else
{
index2
=
x
index2
=
0
}
}
});
...
...
src/components/newLesson/nofinishdia.vue
0 → 100644
View file @
7247dadf
<
template
>
<div
class=
"nofinish-block"
:style=
"
{backgroundImage:`url('${noFinishBg}')`}">
<div
class=
"go-on"
>
继续学习
</div>
</div>
</
template
>
<
script
>
import
noFinishBg
from
'../../assets/newLesson/noFinishBg.png'
export
default
{
name
:
"nofinishdia"
,
data
(){
return
{
noFinishBg
:
noFinishBg
}
}
}
</
script
>
<
style
scoped
lang=
"less"
>
@import "../../util/public";
.nofinish-block{
width: 235*@toVw;
height: 270*@toVw;
position: relative;
.go-on{
position: absolute;
;
}
}
</
style
>
src/components/newLesson/video.vue
View file @
7247dadf
...
...
@@ -33,10 +33,13 @@
<div
@
click=
"changeAudio()"
>
音频教学
</div>
</div>
</div>
<div
class=
"finish-block"
>
<div
class=
"finish-block"
v-if=
"nowShow === 3"
>
<img
:src=
"finishStuat"
>
</div>
</div>
<mt-popup>
<no-finish-dia/>
</mt-popup>
<guide-block/>
</div>
...
...
@@ -48,10 +51,12 @@
import
guideBlock
from
'../guide/video'
import
tapToAudio
from
'../../assets/tapToAudio.png'
import
finishStuat
from
'../../assets/newLesson/finishStudy.png'
import
noFinishDia
from
'./nofinishdia'
export
default
{
name
:
"play"
,
components
:{
guideBlock
guideBlock
,
noFinishDia
},
data
(){
return
{
...
...
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