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
1a103ece
Commit
1a103ece
authored
Sep 18, 2019
by
IvyXia123
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fff
parent
648bc58c
Changes
6
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
73 additions
and
75 deletions
+73
-75
index.html
dist/index.html
+1
-1
app.5c6abf3287666486bab77880d0dca287.css
dist/static/css/app.5c6abf3287666486bab77880d0dca287.css
+1
-1
8.32c2eb77f1f081a38eca.js
dist/static/js/8.32c2eb77f1f081a38eca.js
+0
-1
8.71a94d20e3d16e1d3f44.js
dist/static/js/8.71a94d20e3d16e1d3f44.js
+1
-0
manifest.c2528b044211ad5d5855.js
dist/static/js/manifest.c2528b044211ad5d5855.js
+1
-1
index.vue
src/components/map/index.vue
+69
-71
No files found.
dist/index.html
View file @
1a103ece
<!DOCTYPE html>
<html><head><meta
charset=
utf-8
><meta
name=
viewport
content=
"width=device-width,initial-scale=1,maximum-scale=1,minimum-scale=1,user-scalable=no"
><meta
name=
screen-orientation
content=
portrait
><meta
name=
x5-orientation
content=
portrait
><title>
唱唱启蒙英语
</title><link
rel=
stylesheet
href=
https://at.alicdn.com/t/font_822651_g9r2j7kybxu.css
><style>
*
{
<!DOCTYPE html>
<html><head><meta
charset=
utf-8
><meta
name=
viewport
content=
"width=device-width,initial-scale=1,maximum-scale=1,minimum-scale=1,user-scalable=no"
><meta
name=
screen-orientation
content=
portrait
><meta
name=
x5-orientation
content=
portrait
><title>
唱唱启蒙英语
</title><link
rel=
stylesheet
href=
https://at.alicdn.com/t/font_822651_g9r2j7kybxu.css
><style>
*
{
-webkit-overflow-scrolling
:
touch
;
-webkit-overflow-scrolling
:
touch
;
}
</style><link
href=
https://static-cdn.changchangenglish.com/new-sing/static/css/app.13cb3ef026b5cb8513185fd288a33997.css
rel=
stylesheet
></head><body><div
id=
app
></div><script
src=
https://res.wx.qq.com/open/js/jweixin-1.3.2.js
></script><script></script><script
type=
text/javascript
src=
https://static-cdn.changchangenglish.com/new-sing/static/js/manifest.21a73b0bb799dcf92dec.js
></script><script
type=
text/javascript
src=
https://static-cdn.changchangenglish.com/new-sing/static/js/vendor.2a119e1fa4193f8d323b.js
></script><script
type=
text/javascript
src=
https://static-cdn.changchangenglish.com/new-sing/static/js/app.7cb4e9d9d6a1ddf1e407.js
></script></body></html>
}
</style><link
href=
https://static-cdn.changchangenglish.com/new-sing/static/css/app.5c6abf3287666486bab77880d0dca287.css
rel=
stylesheet
></head><body><div
id=
app
></div><script
src=
https://res.wx.qq.com/open/js/jweixin-1.3.2.js
></script><script></script><script
type=
text/javascript
src=
https://static-cdn.changchangenglish.com/new-sing/static/js/manifest.c2528b044211ad5d5855.js
></script><script
type=
text/javascript
src=
https://static-cdn.changchangenglish.com/new-sing/static/js/vendor.2a119e1fa4193f8d323b.js
></script><script
type=
text/javascript
src=
https://static-cdn.changchangenglish.com/new-sing/static/js/app.7cb4e9d9d6a1ddf1e407.js
></script></body></html>
\ No newline at end of file
\ No newline at end of file
dist/static/css/app.
13cb3ef026b5cb8513185fd288a3399
7.css
→
dist/static/css/app.
5c6abf3287666486bab77880d0dca28
7.css
View file @
1a103ece
This diff is collapsed.
Click to expand it.
dist/static/js/8.32c2eb77f1f081a38eca.js
deleted
100644 → 0
View file @
648bc58c
This diff is collapsed.
Click to expand it.
dist/static/js/8.71a94d20e3d16e1d3f44.js
0 → 100644
View file @
1a103ece
This diff is collapsed.
Click to expand it.
dist/static/js/manifest.
21a73b0bb799dcf92dec
.js
→
dist/static/js/manifest.
c2528b044211ad5d5855
.js
View file @
1a103ece
!
function
(
e
){
var
f
=
window
.
webpackJsonp
;
window
.
webpackJsonp
=
function
(
c
,
b
,
n
){
for
(
var
t
,
r
,
o
,
i
=
0
,
u
=
[];
i
<
c
.
length
;
i
++
)
r
=
c
[
i
],
a
[
r
]
&&
u
.
push
(
a
[
r
][
0
]),
a
[
r
]
=
0
;
for
(
t
in
b
)
Object
.
prototype
.
hasOwnProperty
.
call
(
b
,
t
)
&&
(
e
[
t
]
=
b
[
t
]);
for
(
f
&&
f
(
c
,
b
,
n
);
u
.
length
;)
u
.
shift
()();
if
(
n
)
for
(
i
=
0
;
i
<
n
.
length
;
i
++
)
o
=
d
(
d
.
s
=
n
[
i
]);
return
o
};
var
c
=
{},
a
=
{
67
:
0
};
function
d
(
f
){
if
(
c
[
f
])
return
c
[
f
].
exports
;
var
a
=
c
[
f
]
=
{
i
:
f
,
l
:
!
1
,
exports
:{}};
return
e
[
f
].
call
(
a
.
exports
,
a
,
a
.
exports
,
d
),
a
.
l
=!
0
,
a
.
exports
}
d
.
e
=
function
(
e
){
var
f
=
a
[
e
];
if
(
0
===
f
)
return
new
Promise
(
function
(
e
){
e
()});
if
(
f
)
return
f
[
2
];
var
c
=
new
Promise
(
function
(
c
,
d
){
f
=
a
[
e
]
=
[
c
,
d
]});
f
[
2
]
=
c
;
var
b
=
document
.
getElementsByTagName
(
"head"
)[
0
],
n
=
document
.
createElement
(
"script"
);
n
.
type
=
"text/javascript"
,
n
.
charset
=
"utf-8"
,
n
.
async
=!
0
,
n
.
timeout
=
12
e4
,
n
.
crossOrigin
=
"anonymous"
,
d
.
nc
&&
n
.
setAttribute
(
"nonce"
,
d
.
nc
),
n
.
src
=
d
.
p
+
"static/js/"
+
({
0
:
"vendor-async"
}[
e
]
||
e
)
+
"."
+
{
0
:
"2cf78967c15837d37c06"
,
1
:
"99f792ae95272154cd80"
,
2
:
"f3369ffa57da8d552b67"
,
3
:
"0629794b0172f14f6cfe"
,
4
:
"f03d8fe558c554582ec8"
,
5
:
"e710e8324d5b207be331"
,
6
:
"57410b457fe9f8549be1"
,
7
:
"0530d20d7374ed5ef1ef"
,
8
:
"32c2eb77f1f081a38eca"
,
9
:
"bee96636124c04562c9e"
,
10
:
"1c44a36e05524ee6a852"
,
11
:
"55fd365c64fe555055eb"
,
12
:
"c6e33a5ba0a1520d6758"
,
13
:
"b3b5cef86421cba5b641"
,
14
:
"7e1f6ecd8342458ab429"
,
15
:
"d206c28dee245623f7f7"
,
16
:
"fbaedcbb21fbf724edef"
,
17
:
"862530af8dbcf0a3c3f1"
,
18
:
"68838b129cf486c1e9d9"
,
19
:
"b232125e7a88f8f4f76d"
,
20
:
"bd513aa943ad6f278331"
,
21
:
"1f83df6e085751e08295"
,
22
:
"27d399cfcbd640df9b75"
,
23
:
"3480ef1f360dc2f7941f"
,
24
:
"549eeb0a889318a34e89"
,
25
:
"2bebd0e79e8e66ca2dae"
,
26
:
"1f744303f79d0549c35b"
,
27
:
"a178f9849fed9e7f8e1c"
,
28
:
"48b6bc9dba7bb171010d"
,
29
:
"ccbcaaec2bf7df332b44"
,
30
:
"dba3f74aedda2f6dd28c"
,
31
:
"3b66afcace21f6c968b8"
,
32
:
"16a9567f21831da43115"
,
33
:
"3c091921da3d45c6048b"
,
34
:
"d33f9404dc20881ef3f2"
,
35
:
"f86979710a6f6cb2b435"
,
36
:
"258bf2fe98b788b802b1"
,
37
:
"72e06b2dd8fd2c92330b"
,
38
:
"da4b5c6da73963c92098"
,
39
:
"886c3383b261524be947"
,
40
:
"20de8eeb6f7076866a11"
,
41
:
"3b59527515857f0c374e"
,
42
:
"6dc1ab6343d2777a0ee8"
,
43
:
"ee026bd8a841e657172b"
,
44
:
"49625bd6a6ca8ec6e04c"
,
45
:
"c4965532ac5d1958db1b"
,
46
:
"db67d7da719531b56065"
,
47
:
"b59bdec7b2facf009025"
,
48
:
"9daa2e65ded04e44cf39"
,
49
:
"a35a6c6f03fb3bdcfcca"
,
50
:
"2f86e015554ad09a36f7"
,
51
:
"52ed313a1b5728839249"
,
52
:
"80b344889e2a9af8bb32"
,
53
:
"a16b5479d7d7b90f3ff5"
,
54
:
"73e8e061f944e012131d"
,
55
:
"eee5e26f247074851331"
,
56
:
"6836e2b8d913a5daa32b"
,
57
:
"c9895d4f61a09c5a2000"
,
58
:
"ce918692287232f2e076"
,
59
:
"8495f768dcf2bb0a1607"
,
60
:
"ce09b26619bc60b5a776"
,
61
:
"2095d18dc6c1f518a8c3"
,
62
:
"f8ed8742b78575b29897"
,
63
:
"369d180f6feb74e46ff6"
,
64
:
"642dec71eb8f05963912"
}[
e
]
+
".js"
;
var
t
=
setTimeout
(
r
,
12
e4
);
function
r
(){
n
.
onerror
=
n
.
onload
=
null
,
clearTimeout
(
t
);
var
f
=
a
[
e
];
0
!==
f
&&
(
f
&&
f
[
1
](
new
Error
(
"Loading chunk "
+
e
+
" failed."
)),
a
[
e
]
=
void
0
)}
return
n
.
onerror
=
n
.
onload
=
r
,
b
.
appendChild
(
n
),
c
},
d
.
m
=
e
,
d
.
c
=
c
,
d
.
d
=
function
(
e
,
f
,
c
){
d
.
o
(
e
,
f
)
||
Object
.
defineProperty
(
e
,
f
,{
configurable
:
!
1
,
enumerable
:
!
0
,
get
:
c
})},
d
.
n
=
function
(
e
){
var
f
=
e
&&
e
.
__esModule
?
function
(){
return
e
.
default
}:
function
(){
return
e
};
return
d
.
d
(
f
,
"a"
,
f
),
f
},
d
.
o
=
function
(
e
,
f
){
return
Object
.
prototype
.
hasOwnProperty
.
call
(
e
,
f
)},
d
.
p
=
"https://static-cdn.changchangenglish.com/new-sing/"
,
d
.
oe
=
function
(
e
){
throw
e
}}([]);
!
function
(
e
){
var
f
=
window
.
webpackJsonp
;
window
.
webpackJsonp
=
function
(
c
,
b
,
n
){
for
(
var
t
,
r
,
o
,
i
=
0
,
u
=
[];
i
<
c
.
length
;
i
++
)
r
=
c
[
i
],
a
[
r
]
&&
u
.
push
(
a
[
r
][
0
]),
a
[
r
]
=
0
;
for
(
t
in
b
)
Object
.
prototype
.
hasOwnProperty
.
call
(
b
,
t
)
&&
(
e
[
t
]
=
b
[
t
]);
for
(
f
&&
f
(
c
,
b
,
n
);
u
.
length
;)
u
.
shift
()();
if
(
n
)
for
(
i
=
0
;
i
<
n
.
length
;
i
++
)
o
=
d
(
d
.
s
=
n
[
i
]);
return
o
};
var
c
=
{},
a
=
{
67
:
0
};
function
d
(
f
){
if
(
c
[
f
])
return
c
[
f
].
exports
;
var
a
=
c
[
f
]
=
{
i
:
f
,
l
:
!
1
,
exports
:{}};
return
e
[
f
].
call
(
a
.
exports
,
a
,
a
.
exports
,
d
),
a
.
l
=!
0
,
a
.
exports
}
d
.
e
=
function
(
e
){
var
f
=
a
[
e
];
if
(
0
===
f
)
return
new
Promise
(
function
(
e
){
e
()});
if
(
f
)
return
f
[
2
];
var
c
=
new
Promise
(
function
(
c
,
d
){
f
=
a
[
e
]
=
[
c
,
d
]});
f
[
2
]
=
c
;
var
b
=
document
.
getElementsByTagName
(
"head"
)[
0
],
n
=
document
.
createElement
(
"script"
);
n
.
type
=
"text/javascript"
,
n
.
charset
=
"utf-8"
,
n
.
async
=!
0
,
n
.
timeout
=
12
e4
,
n
.
crossOrigin
=
"anonymous"
,
d
.
nc
&&
n
.
setAttribute
(
"nonce"
,
d
.
nc
),
n
.
src
=
d
.
p
+
"static/js/"
+
({
0
:
"vendor-async"
}[
e
]
||
e
)
+
"."
+
{
0
:
"2cf78967c15837d37c06"
,
1
:
"99f792ae95272154cd80"
,
2
:
"f3369ffa57da8d552b67"
,
3
:
"0629794b0172f14f6cfe"
,
4
:
"f03d8fe558c554582ec8"
,
5
:
"e710e8324d5b207be331"
,
6
:
"57410b457fe9f8549be1"
,
7
:
"0530d20d7374ed5ef1ef"
,
8
:
"71a94d20e3d16e1d3f44"
,
9
:
"bee96636124c04562c9e"
,
10
:
"1c44a36e05524ee6a852"
,
11
:
"55fd365c64fe555055eb"
,
12
:
"c6e33a5ba0a1520d6758"
,
13
:
"b3b5cef86421cba5b641"
,
14
:
"7e1f6ecd8342458ab429"
,
15
:
"d206c28dee245623f7f7"
,
16
:
"fbaedcbb21fbf724edef"
,
17
:
"862530af8dbcf0a3c3f1"
,
18
:
"68838b129cf486c1e9d9"
,
19
:
"b232125e7a88f8f4f76d"
,
20
:
"bd513aa943ad6f278331"
,
21
:
"1f83df6e085751e08295"
,
22
:
"27d399cfcbd640df9b75"
,
23
:
"3480ef1f360dc2f7941f"
,
24
:
"549eeb0a889318a34e89"
,
25
:
"2bebd0e79e8e66ca2dae"
,
26
:
"1f744303f79d0549c35b"
,
27
:
"a178f9849fed9e7f8e1c"
,
28
:
"48b6bc9dba7bb171010d"
,
29
:
"ccbcaaec2bf7df332b44"
,
30
:
"dba3f74aedda2f6dd28c"
,
31
:
"3b66afcace21f6c968b8"
,
32
:
"16a9567f21831da43115"
,
33
:
"3c091921da3d45c6048b"
,
34
:
"d33f9404dc20881ef3f2"
,
35
:
"f86979710a6f6cb2b435"
,
36
:
"258bf2fe98b788b802b1"
,
37
:
"72e06b2dd8fd2c92330b"
,
38
:
"da4b5c6da73963c92098"
,
39
:
"886c3383b261524be947"
,
40
:
"20de8eeb6f7076866a11"
,
41
:
"3b59527515857f0c374e"
,
42
:
"6dc1ab6343d2777a0ee8"
,
43
:
"ee026bd8a841e657172b"
,
44
:
"49625bd6a6ca8ec6e04c"
,
45
:
"c4965532ac5d1958db1b"
,
46
:
"db67d7da719531b56065"
,
47
:
"b59bdec7b2facf009025"
,
48
:
"9daa2e65ded04e44cf39"
,
49
:
"a35a6c6f03fb3bdcfcca"
,
50
:
"2f86e015554ad09a36f7"
,
51
:
"52ed313a1b5728839249"
,
52
:
"80b344889e2a9af8bb32"
,
53
:
"a16b5479d7d7b90f3ff5"
,
54
:
"73e8e061f944e012131d"
,
55
:
"eee5e26f247074851331"
,
56
:
"6836e2b8d913a5daa32b"
,
57
:
"c9895d4f61a09c5a2000"
,
58
:
"ce918692287232f2e076"
,
59
:
"8495f768dcf2bb0a1607"
,
60
:
"ce09b26619bc60b5a776"
,
61
:
"2095d18dc6c1f518a8c3"
,
62
:
"f8ed8742b78575b29897"
,
63
:
"369d180f6feb74e46ff6"
,
64
:
"642dec71eb8f05963912"
}[
e
]
+
".js"
;
var
t
=
setTimeout
(
r
,
12
e4
);
function
r
(){
n
.
onerror
=
n
.
onload
=
null
,
clearTimeout
(
t
);
var
f
=
a
[
e
];
0
!==
f
&&
(
f
&&
f
[
1
](
new
Error
(
"Loading chunk "
+
e
+
" failed."
)),
a
[
e
]
=
void
0
)}
return
n
.
onerror
=
n
.
onload
=
r
,
b
.
appendChild
(
n
),
c
},
d
.
m
=
e
,
d
.
c
=
c
,
d
.
d
=
function
(
e
,
f
,
c
){
d
.
o
(
e
,
f
)
||
Object
.
defineProperty
(
e
,
f
,{
configurable
:
!
1
,
enumerable
:
!
0
,
get
:
c
})},
d
.
n
=
function
(
e
){
var
f
=
e
&&
e
.
__esModule
?
function
(){
return
e
.
default
}:
function
(){
return
e
};
return
d
.
d
(
f
,
"a"
,
f
),
f
},
d
.
o
=
function
(
e
,
f
){
return
Object
.
prototype
.
hasOwnProperty
.
call
(
e
,
f
)},
d
.
p
=
"https://static-cdn.changchangenglish.com/new-sing/"
,
d
.
oe
=
function
(
e
){
throw
e
}}([]);
\ No newline at end of file
\ No newline at end of file
src/components/map/index.vue
View file @
1a103ece
<
template
>
<
template
>
<div>
<div>
<van-actionsheet
<van-actionsheet
v-model=
"actionsheetShow"
v-model=
"actionsheetShow"
:actions=
"actions"
:actions=
"actions"
@
select=
"onSelect"
@
select=
"onSelect"
/>
/>
<div
class=
"unit-block"
>
<div
class=
"unit-block"
>
<div
class=
"course_title"
@
click=
"actionsheetShow=true"
>
{{
secActions
.
name
}}
<i
class=
"iconfont icon-below-s"
></i></div>
<div
class=
"course_title"
@
click=
"actionsheetShow=true"
>
{{
secActions
.
name
}}
<i
class=
"iconfont icon-below-s"
></i></div>
<!--竖屏 主题栏-->
<!--竖屏 主题栏-->
...
@@ -27,12 +27,12 @@
...
@@ -27,12 +27,12 @@
<span
style=
"color: #cccccc"
>
敬请期待
</span>
<span
style=
"color: #cccccc"
>
敬请期待
</span>
</div>
</div>
</swiper-slide>
</swiper-slide>
<swiper-slide
v-for=
"a in 3-unitList.length > 0 ? 3-unitList.length : 0"
:key=
"a*10"
>
<swiper-slide
v-for=
"a in 3-unitList.length > 0 ? 3-unitList.length : 0"
:key=
"a*10"
>
<div
class=
"unit-li"
>
<div
class=
"unit-li"
>
<div>
<div>
</div>
</div>
</div>
</swiper-slide>
</div>
</swiper-slide>
</swiper>
</swiper>
<!--横屏主题栏-->
<!--横屏主题栏-->
<!--
<div
class=
"btn-conntent banner-left"
v-if=
"shopType==0&&unitList.length>0"
>
<!--
<div
class=
"btn-conntent banner-left"
v-if=
"shopType==0&&unitList.length>0"
>
...
@@ -105,23 +105,23 @@
...
@@ -105,23 +105,23 @@
<!--横屏 课程-->
<!--横屏 课程-->
<div
class=
"lesson-block-hp"
v-if=
"lessonList.length>0"
>
<div
class=
"lesson-block-hp"
v-if=
"lessonList.length>0"
>
<swiper
:options=
"swiperOptionLesson"
class=
"lesson-sw"
ref=
"mySwiperLesson"
>
<swiper
:options=
"swiperOptionLesson"
class=
"lesson-sw"
ref=
"mySwiperLesson"
>
<swiper-slide
v-for=
"(item,x) in hpLessonList"
:key=
"x"
style=
"width: 50vh"
>
<swiper-slide
v-for=
"(item,x) in hpLessonList"
:key=
"x"
style=
"width: 50vh"
>
<div
class=
"lesson-content-hp"
@
click=
"showDia(item)"
>
<div
class=
"lesson-content-hp"
@
click=
"showDia(item)"
>
<div
class=
"clock-hp"
v-if=
"item.push_time === '0000-00-00'"
>
<div
class=
"clock-hp"
v-if=
"item.push_time === '0000-00-00'"
>
等待开课
等待开课
</div>
</div>
<div
class=
"lesson-day-hp"
>
{{
item
.
dayText
}}
</div>
<div
class=
"lesson-day-hp"
>
{{
item
.
dayText
}}
</div>
<div
class=
"lesson-img-hp"
><img
:src=
"item.cover"
></div>
<div
class=
"lesson-img-hp"
><img
:src=
"item.cover"
></div>
<div
class=
"lesson-name-hp"
>
<div
class=
"lesson-name-hp"
>
{{
item
.
sub_title
}}
{{
item
.
sub_title
}}
</div>
<div
class=
"star-block"
>
<img
class=
"star-img"
:src=
"star_act"
v-for=
"s in item.star_num"
>
<img
class=
"star-img"
:src=
"star_def"
v-for=
"s in 3-item.star_num"
>
</div>
<i
class=
"map money"
v-if=
"item.push_time !== '0000-00-00' && ((hpLessonList[x+1] && hpLessonList[x+1].push_time === '0000-00-00' || (shopType == 0 && findUnit(parent_category_id) && findUnit(parent_category_id).status === 2 || shopType ==1 ) && x===hpLessonList.length-1 ))"
></i>
</div>
</div>
</swiper-slide>
<div
class=
"star-block"
>
<img
class=
"star-img"
:src=
"star_act"
v-for=
"s in item.star_num"
>
<img
class=
"star-img"
:src=
"star_def"
v-for=
"s in 3-item.star_num"
>
</div>
<i
class=
"map money"
v-if=
"item.push_time !== '0000-00-00' && ((hpLessonList[x+1] && hpLessonList[x+1].push_time === '0000-00-00' || (shopType == 0 && findUnit(parent_category_id) && findUnit(parent_category_id).status === 2 || shopType ==1 ) && x===hpLessonList.length-1 ))"
></i>
</div>
</swiper-slide>
</swiper>
</swiper>
</div>
</div>
<div
class=
"unStart"
v-if=
"!secActions.is_start_course&&!teacher_alias"
>
<div
class=
"unStart"
v-if=
"!secActions.is_start_course&&!teacher_alias"
>
...
@@ -227,7 +227,7 @@
...
@@ -227,7 +227,7 @@
course_name
:
''
,
course_name
:
''
,
nextUnitUrl
:
nextUnitUrl
,
nextUnitUrl
:
nextUnitUrl
,
// periods_id:this.$route.query.periods_id,
// periods_id:this.$route.query.periods_id,
parent_category_id
:
this
.
$route
.
query
.
parent_category_id
,
parent_category_id
:
this
.
$route
.
query
.
parent_category_id
,
unitList
:[],
unitList
:[],
more
:
false
,
more
:
false
,
errorURL
:
errorURL
,
errorURL
:
errorURL
,
...
@@ -306,7 +306,7 @@
...
@@ -306,7 +306,7 @@
}
}
},
},
swiperLesson
()
{
swiperLesson
()
{
return
this
.
$refs
.
mySwiperLesson
.
swiper
return
this
.
$refs
.
mySwiperLesson
.
swiper
},
},
splitContent
(){
splitContent
(){
let
arr
=
[];
let
arr
=
[];
...
@@ -322,10 +322,10 @@
...
@@ -322,10 +322,10 @@
// this.getLessonList();
// this.getLessonList();
// this.adControl()
// this.adControl()
sessionStorage
.
setItem
(
'frist'
,
true
)
sessionStorage
.
setItem
(
'frist'
,
true
)
/*
Toast.loading({
Toast
.
loading
({
mask
:
true
,
mask
:
true
,
message
:
''
message
:
''
});
*/
});
if
(
this
.
$route
.
query
.
periods_id
){
if
(
this
.
$route
.
query
.
periods_id
){
// 从微信推送进入
// 从微信推送进入
getCourseInfoApi
(
this
.
$route
.
query
.
periods_id
).
then
(
res
=>
{
getCourseInfoApi
(
this
.
$route
.
query
.
periods_id
).
then
(
res
=>
{
...
@@ -334,11 +334,11 @@
...
@@ -334,11 +334,11 @@
this
.
userCourse
=
this
.
$common
.
deepCopy
(
res
)
this
.
userCourse
=
this
.
$common
.
deepCopy
(
res
)
localStorage
.
setItem
(
'userCourse'
,
JSON
.
stringify
(
res
));
localStorage
.
setItem
(
'userCourse'
,
JSON
.
stringify
(
res
));
this
.
setCourse
()
this
.
setCourse
()
})
})
}
else
{
}
else
{
if
(
localStorage
.
getItem
(
"userCourse"
)){
if
(
localStorage
.
getItem
(
"userCourse"
)){
this
.
userCourse
=
JSON
.
parse
(
localStorage
.
getItem
(
"userCourse"
));
this
.
userCourse
=
JSON
.
parse
(
localStorage
.
getItem
(
"userCourse"
));
this
.
setCourse
()
this
.
setCourse
()
}
else
{
}
else
{
getCourseInfoApi
().
then
(
res
=>
{
getCourseInfoApi
().
then
(
res
=>
{
localStorage
.
setItem
(
'userCourse'
,
''
);
localStorage
.
setItem
(
'userCourse'
,
''
);
...
@@ -365,7 +365,7 @@
...
@@ -365,7 +365,7 @@
this
.
actionsheetShow
=
false
this
.
actionsheetShow
=
false
this
.
shopType
=
item
.
course_type
this
.
shopType
=
item
.
course_type
if
(
item
.
id
==
'x'
){
if
(
item
.
id
==
'x'
){
this
.
$router
.
replace
({
this
.
$router
.
replace
({
name
:
"secMap"
,
name
:
"secMap"
,
query
:
{
query
:
{
}
}
...
@@ -383,7 +383,7 @@
...
@@ -383,7 +383,7 @@
})
})
if
(
item
.
is_start_course
){
if
(
item
.
is_start_course
){
if
(
this
.
secActions
.
course_type
==
0
){
if
(
this
.
secActions
.
course_type
==
0
){
this
.
getUnitList
()
this
.
getUnitList
()
}
else
{
}
else
{
this
.
getLessonList
();
this
.
getLessonList
();
}
}
...
@@ -495,9 +495,7 @@
...
@@ -495,9 +495,7 @@
},
},
// 显示课程弹窗
// 显示课程弹窗
showDia
(
data
,
i
){
showDia
(
data
,
i
){
alert
(
111
)
if
(
data
.
push_time
!==
'0000-00-00'
){
if
(
data
.
push_time
!==
'0000-00-00'
){
alert
(
222
)
getLessonDetailApi
(
this
.
secActions
.
id
,
data
.
id
,
data
.
ele_id
).
then
(
res
=>
{
getLessonDetailApi
(
this
.
secActions
.
id
,
data
.
id
,
data
.
ele_id
).
then
(
res
=>
{
res
.
content
=
JSON
.
parse
(
res
.
content
);
res
.
content
=
JSON
.
parse
(
res
.
content
);
this
.
thisLesson
=
res
;
this
.
thisLesson
=
res
;
...
@@ -624,17 +622,17 @@
...
@@ -624,17 +622,17 @@
if
(
res
.
list
[
i
].
push_time
!==
'0000-00-00'
){
if
(
res
.
list
[
i
].
push_time
!==
'0000-00-00'
){
x
++
x
++
}
}
if
(
res
.
list
[
i
].
name
.
indexOf
(
'Day1'
)
>-
1
&&
list
.
length
>
0
){
if
(
res
.
list
[
i
].
name
.
indexOf
(
'Day1'
)
>-
1
&&
list
.
length
>
0
){
this
.
lessonList
.
push
(
list
);
this
.
lessonList
.
push
(
list
);
list
=
[];
list
=
[];
list
.
push
(
res
.
list
[
i
]);
list
.
push
(
res
.
list
[
i
]);
}
else
{
}
else
{
list
.
push
(
res
.
list
[
i
]);
list
.
push
(
res
.
list
[
i
]);
if
(
i
==
res
.
list
.
length
-
1
){
if
(
i
==
res
.
list
.
length
-
1
){
this
.
lessonList
.
push
(
list
);
this
.
lessonList
.
push
(
list
);
}
}
}
}
res
.
list
[
i
].
dayText
=
'DAY '
+
list
.
length
;
res
.
list
[
i
].
dayText
=
'DAY '
+
list
.
length
;
this
.
hpLessonList
.
push
(
res
.
list
[
i
])
this
.
hpLessonList
.
push
(
res
.
list
[
i
])
}
}
if
(
!
data
){
if
(
!
data
){
...
@@ -645,21 +643,21 @@
...
@@ -645,21 +643,21 @@
}
else
if
(
this
.
$route
.
query
.
category_id
){
}
else
if
(
this
.
$route
.
query
.
category_id
){
}
}
if
(
this
.
$route
.
query
.
category_id
){
if
(
this
.
$route
.
query
.
category_id
){
let
dom
=
document
.
getElementsByClassName
(
'cid'
+
this
.
$route
.
query
.
category_id
);
let
dom
=
document
.
getElementsByClassName
(
'cid'
+
this
.
$route
.
query
.
category_id
);
if
(
dom
.
length
>
0
&&
dom
[
0
].
style
.
display
!==
'none'
){
if
(
dom
.
length
>
0
&&
dom
[
0
].
style
.
display
!==
'none'
){
this
.
scroll_to
(
dom
[
0
].
offsetTop
);
this
.
scroll_to
(
dom
[
0
].
offsetTop
);
let
data
=
null
;
let
data
=
null
;
let
index
=
0
;
let
index
=
0
;
this
.
lessonList
.
forEach
(
i
=>
{
this
.
lessonList
.
forEach
(
i
=>
{
i
.
forEach
((
x
,
i
)
=>
{
i
.
forEach
((
x
,
i
)
=>
{
if
(
x
.
id
==
this
.
$route
.
query
.
category_id
){
if
(
x
.
id
==
this
.
$route
.
query
.
category_id
){
data
=
x
;
data
=
x
;
index
=
i
+
1
index
=
i
+
1
}
}
})
})
});
});
this
.
showDia
(
data
,
index
)
this
.
showDia
(
data
,
index
)
}
}
}
else
if
(
this
.
$route
.
query
.
back_id
){
}
else
if
(
this
.
$route
.
query
.
back_id
){
setTimeout
(()
=>
{
setTimeout
(()
=>
{
let
dom
=
document
.
getElementsByClassName
(
'cid'
+
this
.
$route
.
query
.
back_id
);
let
dom
=
document
.
getElementsByClassName
(
'cid'
+
this
.
$route
.
query
.
back_id
);
...
@@ -708,16 +706,16 @@
...
@@ -708,16 +706,16 @@
if
(
this
.
userCourse
.
periods_list
){
if
(
this
.
userCourse
.
periods_list
){
// 有其他课
// 有其他课
// debugger
// debugger
this
.
userCourse
.
periods_list
.
forEach
(
el
=>
{
this
.
userCourse
.
periods_list
.
forEach
(
el
=>
{
el
.
name
=
el
.
course_title
el
.
name
=
el
.
course_title
this
.
actions
.
push
(
el
)
this
.
actions
.
push
(
el
)
if
(
this
.
$route
.
query
.
item
){
if
(
this
.
$route
.
query
.
item
){
this
.
secActions
=
this
.
$route
.
query
.
item
this
.
secActions
=
this
.
$route
.
query
.
item
}
else
{
}
else
{
if
(
this
.
userCourse
.
start_periods_id
!=
null
&&
this
.
userCourse
.
start_periods_id
==
0
){
if
(
this
.
userCourse
.
start_periods_id
!=
null
&&
this
.
userCourse
.
start_periods_id
==
0
){
this
.
secActions
=
this
.
userCourse
.
periods_list
[
0
]
this
.
secActions
=
this
.
userCourse
.
periods_list
[
0
]
}
else
if
(
this
.
userCourse
.
start_periods_id
!=
null
&&
el
.
id
==
this
.
userCourse
.
start_periods_id
){
}
else
if
(
this
.
userCourse
.
start_periods_id
!=
null
&&
el
.
id
==
this
.
userCourse
.
start_periods_id
){
this
.
secActions
=
el
this
.
secActions
=
el
}
}
}
}
})
})
...
@@ -823,12 +821,12 @@
...
@@ -823,12 +821,12 @@
}
}
}
}
.shake{
.shake{
-webkit-animation-name: swing;
-webkit-animation-name: swing;
-webkit-animation-duration: 0.8s;
-webkit-animation-duration: 0.8s;
-webkit-transform-origin:50% 50%;
-webkit-transform-origin:50% 50%;
-webkit-animation-iteration-count: infinite;
-webkit-animation-iteration-count: infinite;
-webkit-animation-timing-function: linear;
-webkit-animation-timing-function: linear;
}
}
.adSmall{width: 96*@toVw;height: 115*@toVw;position: fixed;top: 314*@toVw;left: 267*@toVw;background: red;}
.adSmall{width: 96*@toVw;height: 115*@toVw;position: fixed;top: 314*@toVw;left: 267*@toVw;background: red;}
// 主题列表
// 主题列表
.noLesson{
.noLesson{
...
...
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