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
f739834f
Commit
f739834f
authored
Sep 28, 2019
by
IvyXia123
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
20190928
parent
93b33e7d
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
5 additions
and
5 deletions
+5
-5
index.html
dist/index.html
+1
-1
app.4a3011a6eb5cb1fc9324c52df0564f44.css
dist/static/css/app.4a3011a6eb5cb1fc9324c52df0564f44.css
+1
-1
63.5ee77f872bb5377a2eab.js
dist/static/js/63.5ee77f872bb5377a2eab.js
+0
-1
63.cd5655d32a2aec0c8752.js
dist/static/js/63.cd5655d32a2aec0c8752.js
+1
-0
manifest.17c65b9dcf36ebf8d959.js
dist/static/js/manifest.17c65b9dcf36ebf8d959.js
+1
-1
index.vue
src/components/punchTheClock/index.vue
+1
-1
No files found.
dist/index.html
View file @
f739834f
<!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
;
}
</style><link
href=
https://static-cdn.changchangenglish.com/new-sing/static/css/app.386d7139d5da8d619f8a6572eeb641ec.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.ebac9398a1906daf4b69.js
></script><script
type=
text/javascript
src=
https://static-cdn.changchangenglish.com/new-sing/static/js/vendor.e524f5cccf757e45c672.js
></script><script
type=
text/javascript
src=
https://static-cdn.changchangenglish.com/new-sing/static/js/app.c6bbee240815b948cb26.js
></script></body></html>
\ No newline at end of file
}
</style><link
href=
https://static-cdn.changchangenglish.com/new-sing/static/css/app.4a3011a6eb5cb1fc9324c52df0564f44.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.17c65b9dcf36ebf8d959.js
></script><script
type=
text/javascript
src=
https://static-cdn.changchangenglish.com/new-sing/static/js/vendor.e524f5cccf757e45c672.js
></script><script
type=
text/javascript
src=
https://static-cdn.changchangenglish.com/new-sing/static/js/app.c6bbee240815b948cb26.js
></script></body></html>
\ No newline at end of file
dist/static/css/app.
386d7139d5da8d619f8a6572eeb641ec
.css
→
dist/static/css/app.
4a3011a6eb5cb1fc9324c52df0564f44
.css
View file @
f739834f
This source diff could not be displayed because it is too large. You can
view the blob
instead.
dist/static/js/63.5ee77f872bb5377a2eab.js
deleted
100644 → 0
View file @
93b33e7d
webpackJsonp
([
63
],{
L6DW
:
function
(
t
,
s
,
e
){
"use strict"
;
Object
.
defineProperty
(
s
,
"__esModule"
,{
value
:
!
0
});
var
a
=
e
(
"mvHQ"
),
i
=
e
.
n
(
a
),
n
=
e
(
"woOf"
),
c
=
e
.
n
(
n
),
l
=
(
e
(
"eqfM"
),
e
(
"/QYm"
)),
o
=
e
(
"CCn6"
),
r
=
e
(
"Jmy5"
),
d
=
{
name
:
"index"
,
data
:
function
(){
return
{
avatarArr
:[],
countIndex
:
0
,
countDown
:
""
,
countDownDay
:
0
,
countDownhour
:
0
,
countDownminu
:
0
,
countDownsec
:
0
,
goWhere
:
0
,
hasEnded
:
!
0
,
lastValue
:
0
,
modelData
:{},
firstRate
:
0
,
ruleShow
:
0
,
status
:
0
,
secondRate
:
0
,
tishi
:
!
1
,
thirdRate
:
0
,
typeStatus
:
0
,
forthRate
:
0
,
punchTheClock
:
r
.
g
,
punchCardData
:[],
punchClockModel
:
!
1
,
qrErWeiMa
:
""
,
recordListIndex
:
1
,
returnCashData
:{},
todayData
:[],
currentTime
:
""
,
dangqianTimer
:
""
,
recordList
:[{
title
:
"待开课"
},{
title
:
"待完成"
},{
title
:
"待补卡"
},{
title
:
"打卡完成"
}]}},
methods
:{
returnCash
:
function
(
t
){
var
s
=
this
,
e
=
this
.
$route
.
query
.
periods_id
,
a
=
{
start_at
:
this
.
$route
.
query
.
start_at
,
over_at
:
this
.
$route
.
query
.
over_at
};
Object
(
o
.
M
)(
e
,
a
).
then
(
function
(
e
){
s
.
returnCashData
=
e
;
var
a
=
e
.
over_time
.
split
(
" "
)[
0
],
i
=
a
.
split
(
"-"
)[
0
]
+
"/"
+
a
.
split
(
"-"
)[
1
]
+
"/"
+
a
.
split
(
"-"
)[
2
]
+
" "
+
e
.
over_time
.
split
(
" "
)[
1
],
n
=
new
Date
(
i
).
getTime
();
setInterval
(
function
(){
s
.
restTime
(
n
)},
1
e3
),
n
<
(
new
Date
).
getTime
()
&&
(
s
.
hasEnded
=!
1
),
s
.
secondRate
=
parseInt
(
e
.
second_rate
),
s
.
thirdRate
=
100
===
parseInt
(
e
.
third_rate
)?
103
:
parseInt
(
e
.
third_rate
),
s
.
forthRate
=
parseInt
(
e
.
forth_rate
),
s
.
todayData
=
s
.
integrationFn
(
e
.
today
);
var
c
=
0
===
t
?
e
.
first
:
1
===
t
?
e
.
second
:
2
===
t
?
e
.
third
:
e
.
forth
;
s
.
recordListIndex
=
t
,
s
.
punchCardData
=
s
.
integrationFn
(
c
)})},
finishUser
:
function
(){
var
t
=
this
,
s
=
this
.
$route
.
query
.
periods_id
;
Object
(
o
.
r
)(
s
).
then
(
function
(
s
){
t
.
avatarArr
=
s
.
avatar
,
t
.
countIndex
=
s
.
count
})},
restTime
:
function
(
t
){
var
s
=
t
-
(
new
Date
).
getTime
();
this
.
countDownDay
=
this
.
timerAddLing
(
parseInt
(
s
/
864
e5
)),
this
.
countDownhour
=
this
.
timerAddLing
(
parseInt
(
s
/
36
e5
%
24
)),
this
.
countDownminu
=
this
.
timerAddLing
(
parseInt
(
s
/
6
e4
%
60
)),
this
.
countDownsec
=
this
.
timerAddLing
(
parseInt
(
s
/
1
e3
%
60
))},
punchCardClick
:
function
(
t
,
s
,
e
,
a
){
var
i
=
this
;
if
(
this
.
status
=
s
,
this
.
typeStatus
=
e
,
this
.
ruleShow
=
0
,
1
!==
s
)
if
(
this
.
hasEnded
&&
100
!==
this
.
forthRate
){
this
.
modelData
=
9
==
a
?
this
.
todayData
[
t
]:
this
.
punchCardData
[
t
],
this
.
modelData
.
aName
=
this
.
modelData
.
name
.
split
(
" "
)[
0
]
+
" "
+
this
.
modelData
.
name
.
split
(
" "
)[
1
];
var
n
=
{
start_at
:
this
.
$route
.
query
.
start_at
,
over_at
:
this
.
$route
.
query
.
over_at
,
push_time
:
this
.
modelData
.
push_time
,
type
:
e
};
2
===
s
?
Object
(
o
.
m
)(
this
.
modelData
.
ele_id
,
this
.
modelData
.
id
,
this
.
modelData
.
periods_id
,
n
).
then
(
function
(
t
){
i
.
goWhere
=
t
.
go_where
;
var
s
=
i
.
timerAddLing
((
new
Date
).
getFullYear
())
+
"-"
+
i
.
timerAddLing
((
new
Date
).
getMonth
()
+
1
)
+
"-"
+
i
.
timerAddLing
((
new
Date
).
getDate
()),
e
=
new
Date
(
s
).
getTime
(),
a
=
new
Date
(
i
.
modelData
.
push_time
).
getTime
();
i
.
modelData
.
state
=
e
==
a
?
1
===
t
.
go_where
?
"待学习"
:
"未提交"
:
1
===
t
.
go_where
?
"待学习(已延期)"
:
"未提交(已延期)"
,
document
.
querySelectorAll
(
".uiyiyi"
)[
0
].
innerText
=
i
.
modelData
.
state
}):(
this
.
modelData
.
state
=
3
===
s
?
"待补卡"
:
"打卡完成"
,
document
.
querySelectorAll
(
".uiyiyi"
)[
0
].
innerText
=
this
.
modelData
.
state
),
document
.
querySelectorAll
(
".get-stars-btn"
)[
0
]
&&
(
document
.
querySelectorAll
(
".get-stars-btn"
)[
0
].
style
.
display
=
"block"
),
this
.
modelData
.
tishi
=
2
===
s
?
"提示:学习卡与作业卡需在开课日完成哦,如延期完成,需消耗星星补卡"
:
3
===
s
?
"补卡:消耗10星星补卡1次,当前共有"
+
this
.
lastValue
+
"颗星星"
:
""
,
this
.
punchClockModel
=!
0
}
else
Object
(
l
.
a
)(
"活动已结束,谢谢参与~"
);
else
Object
(
l
.
a
)(
"课程还未开始,请耐心等待哦~"
)},
modelDataClick
:
function
(
t
,
s
){
var
e
=
this
,
a
=
{
start_at
:
this
.
$route
.
query
.
start_at
,
over_at
:
this
.
$route
.
query
.
over_at
,
push_time
:
t
.
push_time
,
type
:
s
};
2
===
this
.
status
?
1
===
this
.
goWhere
?
this
.
getLessonDetailFn
(
t
):
Object
(
o
.
_1
)({
category_id
:
t
.
id
}).
then
(
function
(
t
){
var
s
=
c
()({},
t
,{
periods_id
:
e
.
modelData
.
periods_id
,
category_id
:
e
.
modelData
.
id
,
element_id
:
e
.
modelData
.
ele_id
});
e
.
$router
.
push
({
path
:
"/evaluate"
,
query
:
s
})}):
3
===
this
.
status
&&
this
.
lastValue
>=
10
&&
Object
(
o
.
E
)(
this
.
modelData
.
ele_id
,
this
.
modelData
.
id
,
this
.
modelData
.
periods_id
,
a
).
then
(
function
(
t
){
e
.
tishi
=!
0
,
setTimeout
(
function
(){
e
.
tishi
=!
1
},
1500
),
document
.
querySelectorAll
(
".get-stars-btn"
)[
0
].
style
.
display
=
"none"
,
e
.
lastValue
=
e
.
lastValue
-
10
,
e
.
modelData
.
tishi
=
"补卡:消耗10星星补卡1次,当前共有"
+
e
.
lastValue
+
"颗星星"
,
e
.
returnCash
(
2
)})},
getLessonDetailFn
:
function
(
t
){
var
s
=
this
;
Object
(
o
.
y
)(
t
.
periods_id
,
t
.
id
,
t
.
ele_id
).
then
(
function
(
e
){
e
.
content
=
JSON
.
parse
(
e
.
content
),
s
.
thisLesson
=
e
,
s
.
thisLesson
.
id
=
t
.
ele_id
.
toString
(),
s
.
thisLesson
.
categoryId
=
t
.
id
,
s
.
thisLesson
.
domTitle
=
t
.
name
,
s
.
thisLesson
.
star_num
=
0
;
var
a
=
{
periods_id
:
t
.
periods_id
,
category_id
:
t
.
id
,
elementId
:
t
.
ele_id
,
course_type
:
s
.
$route
.
query
.
course_type
,
parent_category_id
:
s
.
$route
.
query
.
parent_category_id
};
s
.
$store
.
dispatch
(
"setClassQuery"
,
a
),
sessionStorage
.
setItem
(
"classQuery"
,
i
()(
a
));
var
n
=
JSON
.
parse
(
i
()(
s
.
thisLesson
));
n
.
push_time
=
t
.
push_time
,
n
.
themeID
=
s
.
$route
.
query
.
parent_category_id
,
n
.
goodsID
=
t
.
goods_id
,
n
.
classID
=
t
.
class_id
,
n
.
nowTime
=
Date
.
parse
(
new
Date
),
n
.
course_title
=
s
.
$route
.
query
.
course_title
,
localStorage
.
setItem
(
"lessonDetail"
,
i
()(
n
)),
s
.
$router
.
push
({
name
:
"newLesson"
,
query
:
a
})})},
timerAddLing
:
function
(
t
){
return
t
<
10
?
"0"
+
t
:
t
},
integrationFn
:
function
(
t
){
var
s
=
[];
for
(
var
e
in
t
)
t
[
e
].
sort
(
function
(
t
,
s
){
return
parseInt
(
t
.
type
)
-
parseInt
(
s
.
type
)}),
2
===
t
[
e
].
length
?(
t
[
e
][
0
].
type1
=
t
[
e
][
1
].
type
,
t
[
e
][
0
].
status1
=
t
[
e
][
1
].
status
,
s
.
push
(
t
[
e
][
0
])):(
2
==
t
[
e
][
0
].
type
&&
(
t
[
e
][
0
].
type1
=
t
[
e
][
0
].
type
,
t
[
e
][
0
].
status1
=
t
[
e
][
0
].
status
,
delete
t
[
e
][
0
].
type
,
delete
t
[
e
][
0
].
status
),
s
.
push
(
t
[
e
][
0
]));
var
a
=
{};
return
s
.
reduce
(
function
(
t
,
s
){
return
!
a
[
s
.
id
]
&&
(
a
[
s
.
id
]
=
t
.
push
(
s
)),
t
},[])},
getTeacher
:
function
(){
var
t
=
this
;
Object
(
o
.
S
)().
then
(
function
(
s
){
t
.
qrErWeiMa
=
s
.
qr
}),
Object
(
o
.
Y
)().
then
(
function
(
s
){
t
.
lastValue
=
s
.
last_value
})},
punchClockClick
:
function
(){
this
.
punchClockModel
=!
0
,
this
.
ruleShow
=
2
}},
mounted
:
function
(){
this
.
returnCash
(
1
),
this
.
finishUser
(),
this
.
getTeacher
()}},
u
=
{
render
:
function
(){
var
t
=
this
,
s
=
t
.
$createElement
,
e
=
t
.
_self
.
_c
||
s
;
return
e
(
"div"
,{
staticClass
:
"punch-the-clock"
},[
e
(
"div"
,{
staticClass
:
"rule"
,
on
:{
click
:
function
(
s
){
t
.
punchClockClick
()}}},[
t
.
_v
(
"
\n
规则
\n
"
)]),
t
.
_v
(
" "
),
e
(
"div"
,{
staticClass
:
"punch-the-clock-name-image"
},[
t
.
_v
(
"
\n
奖励名称
\n
"
),
e
(
"div"
,{
staticClass
:
"yiwancheng"
},[
t
.
_v
(
t
.
_s
(
t
.
hasEnded
?
100
===
t
.
forthRate
?
"已完成"
:
"进行中"
:
100
===
t
.
forthRate
?
"已完成"
:
"已结束"
))])]),
t
.
_v
(
" "
),
e
(
"div"
,{
staticClass
:
"punch-the-clock-name-bg"
},[
e
(
"div"
,{
staticClass
:
"punch-the-clock-name-content"
},[
t
.
hasEnded
?
t
.
_e
():
e
(
"div"
,{
staticClass
:
"punch-the-clock-name-contentText"
},[
t
.
_v
(
"很遗憾,您未在指定时间内完成任务哦"
)]),
t
.
_v
(
" "
),
t
.
hasEnded
?
e
(
"div"
,{
staticClass
:
"punch-the-clock-name-content-timer"
},[
e
(
"span"
,[
t
.
_v
(
"剩余完成时间"
)]),
t
.
_v
(
" "
),
e
(
"span"
,{
staticClass
:
"timer"
},[
t
.
_v
(
t
.
_s
(
t
.
countDownDay
))]),
t
.
_v
(
" "
),
e
(
"span"
,[
t
.
_v
(
"天"
)]),
t
.
_v
(
" "
),
e
(
"span"
,{
staticClass
:
"timer"
},[
t
.
_v
(
t
.
_s
(
t
.
countDownhour
))]),
t
.
_v
(
" "
),
e
(
"span"
,[
t
.
_v
(
"时"
)]),
t
.
_v
(
" "
),
e
(
"span"
,{
staticClass
:
"timer"
},[
t
.
_v
(
t
.
_s
(
t
.
countDownminu
))]),
t
.
_v
(
" "
),
e
(
"span"
,[
t
.
_v
(
"分"
)]),
t
.
_v
(
" "
),
e
(
"span"
,{
staticClass
:
"timer"
},[
t
.
_v
(
t
.
_s
(
t
.
countDownsec
))]),
t
.
_v
(
" "
),
e
(
"span"
,[
t
.
_v
(
"秒"
)])]):
t
.
_e
(),
t
.
_v
(
" "
),
e
(
"div"
,{
staticClass
:
"punch-the-clock-name-content-completion"
},[
e
(
"div"
,{
staticClass
:
"daka-fu"
},[
e
(
"img"
,{
attrs
:{
src
:
t
.
punchTheClock
.
dakaFu
,
alt
:
""
}})]),
t
.
_v
(
" "
),
e
(
"div"
,{
staticClass
:
"speed"
},[
e
(
"span"
,{
directives
:[{
name
:
"show"
,
rawName
:
"v-show"
,
value
:
t
.
forthRate
+
t
.
secondRate
+
t
.
thirdRate
<
80
,
expression
:
"forthRate + secondRate + thirdRate < 80"
}],
staticClass
:
"speed-baifen baifenbi"
},[
t
.
_v
(
"100%"
)]),
t
.
_v
(
" "
),
e
(
"span"
,{
directives
:[{
name
:
"show"
,
rawName
:
"v-show"
,
value
:
0
!==
t
.
forthRate
,
expression
:
"forthRate !== 0"
}],
staticClass
:
"speed-list speed-list-completed speed-baifen"
,
style
:{
width
:
t
.
forthRate
<=
10
?
"10%"
:
t
.
forthRate
+
"%"
}},[
t
.
_v
(
t
.
_s
(
t
.
forthRate
)
+
"%"
)]),
t
.
_v
(
" "
),
e
(
"span"
,{
staticClass
:
"speed-list speed-list-be"
,
style
:{
width
:(
100
!==
t
.
secondRate
&&
(
t
.
secondRate
,
t
.
thirdRate
),
t
.
secondRate
+
3
+
"%"
)}}),
t
.
_v
(
" "
),
e
(
"span"
,{
staticClass
:
"speed-list speed-list-card"
,
style
:{
width
:
100
!==
t
.
thirdRate
&&
t
.
secondRate
+
t
.
thirdRate
>=
90
?
t
.
thirdRate
+
1
+
"%"
:
t
.
thirdRate
+
2
+
"%"
}})]),
t
.
_v
(
" "
),
t
.
_m
(
0
)])])]),
t
.
_v
(
" "
),
100
===
t
.
forthRate
?
e
(
"div"
,{
staticClass
:
"punch-the-clock-reward"
},[
e
(
"div"
,{
staticClass
:
"punch-the-clock-reward-title"
},[
t
.
_v
(
"恭喜您已获得奖励"
)]),
t
.
_v
(
" "
),
e
(
"div"
,{
staticClass
:
"punch-the-clock-reward-title"
},[
t
.
_v
(
"快联系班主任领取吧!"
)]),
t
.
_v
(
" "
),
e
(
"div"
,{
staticClass
:
"punch-the-clock-reward-erweima"
},[
e
(
"div"
,{
staticClass
:
"punch-the-clock-reward-erweima-ma"
},[
e
(
"img"
,{
attrs
:{
src
:
t
.
qrErWeiMa
,
alt
:
""
}})])])]):
t
.
_e
(),
t
.
_v
(
" "
),
0
!==
t
.
todayData
.
length
&&
100
!==
t
.
forthRate
?
e
(
"div"
,{
staticClass
:
"today-list"
},
t
.
_l
(
t
.
todayData
,
function
(
s
,
a
){
return
e
(
"div"
,{
staticClass
:
"punch-list-today"
},[
e
(
"div"
,{
staticClass
:
"punch-card-today"
},[
e
(
"div"
,{
staticClass
:
"day"
},[
t
.
_v
(
"今日"
)]),
t
.
_v
(
" "
),
e
(
"div"
,{
staticClass
:
"small-title"
},[
t
.
_v
(
t
.
_s
(
s
.
sub_title
))]),
t
.
_v
(
" "
),
e
(
"div"
,{
staticClass
:
"title"
},[
t
.
_v
(
t
.
_s
(
s
.
name
.
split
(
" "
)[
0
]
+
" "
+
s
.
name
.
split
(
" "
)[
1
]))])]),
t
.
_v
(
" "
),
e
(
"div"
,{
staticClass
:
"punch-card-today"
,
on
:{
click
:
function
(
e
){
t
.
punchCardClick
(
a
,
s
.
status
,
s
.
type
,
9
)}}},[
e
(
"div"
,{
staticClass
:
"punch-card-today-learning"
},[
e
(
"img"
,{
attrs
:{
src
:
1
===
s
.
status
?
t
.
punchTheClock
.
kaike_xuexi
:
2
===
s
.
status
?
t
.
punchTheClock
.
daiwanc
:
3
===
s
.
status
?
t
.
punchTheClock
.
buka_xuexi
:
t
.
punchTheClock
.
dakawancheng
,
alt
:
""
}})]),
t
.
_v
(
" "
),
e
(
"div"
,{
staticClass
:
"punch-card-today-xuexila"
},[
t
.
_v
(
"学习卡"
)])]),
t
.
_v
(
" "
),
e
(
"div"
,{
staticClass
:
"punch-card-today"
,
on
:{
click
:
function
(
e
){
t
.
punchCardClick
(
a
,
s
.
status1
,
s
.
type1
,
9
)}}},[
e
(
"div"
,{
staticClass
:
"punch-card-today-learning"
},[
e
(
"img"
,{
attrs
:{
src
:
1
===
s
.
status1
?
t
.
punchTheClock
.
kaike_chengz
:
2
===
s
.
status1
?
t
.
punchTheClock
.
daiwanChangz
:
3
===
s
.
status1
?
t
.
punchTheClock
.
buka_changz
:
t
.
punchTheClock
.
wanchengChengz
,
alt
:
""
}})]),
t
.
_v
(
" "
),
e
(
"div"
,{
staticClass
:
"punch-card-today-xuexila"
},[
t
.
_v
(
"成长卡"
)])])])})):
t
.
_e
(),
t
.
_v
(
" "
),
e
(
"div"
,{
staticClass
:
"punch-the-clock-completed-persons"
},[
e
(
"div"
,{
staticClass
:
"punch-the-clock-completed-persons-image"
},[
e
(
"div"
,{
staticClass
:
"yiwancheng"
},[
t
.
_v
(
t
.
_s
(
t
.
countIndex
)
+
"人已完成"
)]),
t
.
_v
(
" "
),
t
.
_l
(
t
.
avatarArr
,
function
(
t
,
s
){
return
e
(
"div"
,{
key
:
s
,
staticClass
:
"portrait"
},[
e
(
"img"
,{
attrs
:{
src
:
t
,
alt
:
""
}})])})],
2
)]),
t
.
_v
(
" "
),
e
(
"div"
,{
staticClass
:
"punch-the-clock-record"
},[
t
.
_m
(
1
),
t
.
_v
(
" "
),
e
(
"ul"
,{
staticClass
:
"punch-the-clock-record-list"
},
t
.
_l
(
t
.
recordList
,
function
(
s
,
a
){
return
e
(
"li"
,{
key
:
a
,
class
:[
a
===
t
.
recordListIndex
?
"active"
:
""
],
on
:{
click
:
function
(
s
){
t
.
returnCash
(
a
)}}},[
t
.
_v
(
"
\n
"
+
t
.
_s
(
s
.
title
)
+
" "
),
e
(
"div"
,{
directives
:[{
name
:
"show"
,
rawName
:
"v-show"
,
value
:
a
===
t
.
recordListIndex
,
expression
:
"index === recordListIndex"
}],
staticClass
:
"xian"
})])})),
t
.
_v
(
" "
),
e
(
"div"
,{
staticClass
:
"today-list"
},[
t
.
_l
(
t
.
punchCardData
,
function
(
s
,
a
){
return
0
!==
t
.
punchCardData
.
length
?
e
(
"div"
,{
key
:
a
,
staticClass
:
"today-list-xian"
},[
e
(
"div"
,{
staticClass
:
"punch-card-today"
},[
0
===
t
.
recordListIndex
?
e
(
"div"
,{
staticClass
:
"sou"
},[
e
(
"img"
,{
attrs
:{
src
:
t
.
punchTheClock
.
sou
,
alt
:
""
}})]):
t
.
_e
(),
t
.
_v
(
" "
),
0
!==
t
.
recordListIndex
?
e
(
"div"
,{
staticClass
:
"day"
},[
t
.
_v
(
t
.
_s
(
s
.
push_time
.
split
(
"-"
)[
1
])
+
"月"
+
t
.
_s
(
s
.
push_time
.
split
(
"-"
)[
2
])
+
"日"
)]):
t
.
_e
(),
t
.
_v
(
" "
),
e
(
"div"
,{
staticClass
:
"small-title"
},[
t
.
_v
(
t
.
_s
(
s
.
sub_title
))]),
t
.
_v
(
" "
),
e
(
"div"
,{
staticClass
:
"title"
},[
t
.
_v
(
t
.
_s
(
s
.
name
.
split
(
" "
)[
0
]
+
" "
+
s
.
name
.
split
(
" "
)[
1
]))])]),
t
.
_v
(
" "
),
1
==
s
.
type
?
e
(
"div"
,{
staticClass
:
"punch-card-today"
,
on
:{
click
:
function
(
e
){
t
.
punchCardClick
(
a
,
s
.
status
,
s
.
type
)}}},[
e
(
"div"
,{
staticClass
:
"punch-card-today-learning"
},[
e
(
"img"
,{
attrs
:{
src
:
1
===
s
.
status
?
t
.
punchTheClock
.
kaike_xuexi
:
2
===
s
.
status
?
t
.
punchTheClock
.
daiwanc
:
3
===
s
.
status
?
t
.
punchTheClock
.
buka_xuexi
:
t
.
punchTheClock
.
dakawancheng
,
alt
:
""
}})]),
t
.
_v
(
" "
),
e
(
"div"
,{
staticClass
:
"punch-card-today-xuexila"
},[
t
.
_v
(
"学习卡"
)])]):
t
.
_e
(),
t
.
_v
(
" "
),
2
==
s
.
type1
?
e
(
"div"
,{
staticClass
:
"punch-card-today"
,
on
:{
click
:
function
(
e
){
t
.
punchCardClick
(
a
,
s
.
status1
,
s
.
type1
)}}},[
e
(
"div"
,{
staticClass
:
"punch-card-today-learning"
},[
e
(
"img"
,{
attrs
:{
src
:
1
===
s
.
status1
?
t
.
punchTheClock
.
kaike_chengz
:
2
===
s
.
status1
?
t
.
punchTheClock
.
daiwanChangz
:
3
===
s
.
status1
?
t
.
punchTheClock
.
buka_changz
:
t
.
punchTheClock
.
wanchengChengz
,
alt
:
""
}})]),
t
.
_v
(
" "
),
e
(
"div"
,{
staticClass
:
"punch-card-today-xuexila"
},[
t
.
_v
(
"成长卡"
)])]):
t
.
_e
()]):
t
.
_e
()}),
t
.
_v
(
" "
),
0
===
t
.
punchCardData
.
length
?
e
(
"div"
,{
staticClass
:
"today-list-null"
},[
e
(
"div"
,{
staticClass
:
"null-tu"
},[
e
(
"img"
,{
attrs
:{
src
:
t
.
punchTheClock
.
nullTu
,
alt
:
""
}})]),
t
.
_v
(
" "
),
e
(
"div"
,{
staticClass
:
"today-list-null-text"
},[
t
.
_v
(
"啊哦,没有数据哦~"
)])]):
t
.
_e
()],
2
)]),
t
.
_v
(
" "
),
e
(
"div"
,{
directives
:[{
name
:
"show"
,
rawName
:
"v-show"
,
value
:
t
.
punchClockModel
,
expression
:
"punchClockModel"
}],
staticClass
:
"punch-the-clock-model"
,
on
:{
click
:
function
(
s
){
t
.
punchClockModel
=!
1
}}},[
2
!=
t
.
ruleShow
?
e
(
"div"
,{
staticClass
:
"punch-the-clock-model-yin"
},[
t
.
tishi
?
e
(
"div"
,{
staticClass
:
"tishi"
},[
e
(
"div"
,{
staticClass
:
"tishi-image"
},[
e
(
"img"
,{
attrs
:{
src
:
t
.
punchTheClock
.
xiaolian
,
alt
:
""
}})]),
t
.
_v
(
" "
),
e
(
"div"
,{
staticClass
:
"text"
},[
t
.
_v
(
"恭喜你补卡成功啦~"
)]),
t
.
_v
(
" "
),
e
(
"div"
,{
staticClass
:
"text"
},[
t
.
_v
(
"-10颗星星"
)])]):
t
.
_e
(),
t
.
_v
(
" "
),
e
(
"div"
,{
staticClass
:
"x-code"
},[
e
(
"img"
,{
attrs
:{
src
:
t
.
punchTheClock
.
x
,
alt
:
""
}})]),
t
.
_v
(
" "
),
e
(
"div"
,{
staticClass
:
"punch-the-clock-model-title"
},[
e
(
"span"
,[
t
.
_v
(
t
.
_s
(
1
==
t
.
typeStatus
?
"学习卡"
:
"成长卡"
))])]),
t
.
_v
(
" "
),
e
(
"div"
,{
staticClass
:
"title-text title-padd"
},[
t
.
_v
(
"课时:"
+
t
.
_s
(
t
.
modelData
.
sub_title
))]),
t
.
_v
(
" "
),
e
(
"div"
,{
staticClass
:
"title-text"
},[
t
.
_v
(
"课节:"
+
t
.
_s
(
t
.
modelData
.
aName
))]),
t
.
_v
(
" "
),
e
(
"div"
,{
staticClass
:
"title-text"
},[
t
.
_v
(
"开课日期:"
+
t
.
_s
(
t
.
modelData
.
push_time
))]),
t
.
_v
(
" "
),
e
(
"div"
,{
staticClass
:
"title-text"
},[
t
.
_v
(
"状态:
\n
"
),
e
(
"span"
,{
class
:[
2
===
t
.
status
||
3
===
t
.
status
?
"small-title"
:
""
,
"uiyiyi"
]})]),
t
.
_v
(
" "
),
e
(
"div"
,{
staticClass
:
"title-text"
},[
t
.
_v
(
t
.
_s
(
t
.
modelData
.
tishi
))]),
t
.
_v
(
" "
),
3
===
t
.
status
&&
t
.
lastValue
<=
10
?
e
(
"div"
,{
staticClass
:
"get-stars"
},[
t
.
_m
(
2
)]):
t
.
_e
(),
t
.
_v
(
" "
),
4
!==
t
.
status
?
e
(
"div"
,{
class
:[
"get-stars-btn"
,{
"get-stars-btn-clo"
:
3
===
t
.
status
&&
t
.
lastValue
<=
10
}],
on
:{
click
:
function
(
s
){
s
.
stopPropagation
(),
t
.
modelDataClick
(
t
.
modelData
,
t
.
typeStatus
)}}},[
t
.
_v
(
"
\n
"
+
t
.
_s
(
2
===
t
.
status
?
1
==
t
.
goWhere
?
"去学习"
:
"去提交"
:
3
===
t
.
status
?
"去补卡"
:
""
)
+
"
\n
"
)]):
t
.
_e
()]):
t
.
_e
(),
t
.
_v
(
" "
),
2
==
t
.
ruleShow
?
e
(
"div"
,{
staticClass
:
"punch-the-clock-model-yin punch-the-clock-rule-pad"
},[
e
(
"div"
,{
staticClass
:
"x-code"
},[
e
(
"img"
,{
attrs
:{
src
:
t
.
punchTheClock
.
x
,
alt
:
""
}})]),
t
.
_v
(
" "
),
e
(
"div"
,{
staticClass
:
"punch-the-clock-rule"
},[
t
.
_v
(
"活动规则"
)]),
t
.
_v
(
" "
),
t
.
_m
(
3
)]):
t
.
_e
()])])},
staticRenderFns
:[
function
(){
var
t
=
this
,
s
=
t
.
$createElement
,
e
=
t
.
_self
.
_c
||
s
;
return
e
(
"div"
,{
staticClass
:
"speed-content"
},[
e
(
"div"
,{
staticClass
:
"speed-content-list"
},[
e
(
"span"
,{
staticClass
:
"speed-content-list-color speed-content-list-completed"
}),
t
.
_v
(
" "
),
e
(
"span"
,{
staticClass
:
"speed-content-list-text"
},[
t
.
_v
(
"已完成"
)])]),
t
.
_v
(
" "
),
e
(
"div"
,{
staticClass
:
"speed-content-list"
},[
e
(
"span"
,{
staticClass
:
"speed-content-list-color speed-content-list-be"
}),
t
.
_v
(
" "
),
e
(
"span"
,{
staticClass
:
"speed-content-list-text"
},[
t
.
_v
(
"待完成"
)])]),
t
.
_v
(
" "
),
e
(
"div"
,{
staticClass
:
"speed-content-list"
},[
e
(
"span"
,{
staticClass
:
"speed-content-list-color speed-content-list-card"
}),
t
.
_v
(
" "
),
e
(
"span"
,{
staticClass
:
"speed-content-list-text"
},[
t
.
_v
(
"待补卡"
)])]),
t
.
_v
(
" "
),
e
(
"div"
,{
staticClass
:
"speed-content-list"
},[
e
(
"span"
,{
staticClass
:
"speed-content-list-color speed-content-list-waiting"
}),
t
.
_v
(
" "
),
e
(
"span"
,{
staticClass
:
"speed-content-list-text"
},[
t
.
_v
(
"待开课"
)])])])},
function
(){
var
t
=
this
.
$createElement
,
s
=
this
.
_self
.
_c
||
t
;
return
s
(
"div"
,{
staticClass
:
"punch-the-clock-record-title"
},[
s
(
"div"
,{
staticClass
:
"punch-the-clock-record-title-image"
}),
this
.
_v
(
" "
),
s
(
"div"
,{
staticClass
:
"punch-the-clock-record-title-text"
},[
this
.
_v
(
"我的打卡记录"
)])])},
function
(){
var
t
=
this
,
s
=
t
.
$createElement
,
e
=
t
.
_self
.
_c
||
s
;
return
e
(
"div"
,{
staticClass
:
"get-stars-content"
},[
e
(
"div"
,{
staticClass
:
"get-stars-text"
},[
t
.
_v
(
"当前星星不足补卡哦,如何获得更多星星?"
)]),
t
.
_v
(
" "
),
e
(
"div"
,{
staticClass
:
"get-stars-text get-stars-text-con"
},[
e
(
"span"
,{
staticClass
:
"get-stars-text-title"
},[
t
.
_v
(
"1、开始课程学习"
)]),
t
.
_v
(
" "
),
e
(
"span"
,{
staticClass
:
"get-stars-text-xingxing"
},[
t
.
_v
(
"+1星星"
)])]),
t
.
_v
(
" "
),
e
(
"div"
,{
staticClass
:
"get-stars-text get-stars-text-con"
},[
e
(
"span"
,{
staticClass
:
"get-stars-text-title"
},[
t
.
_v
(
"2、学完课节"
)]),
t
.
_v
(
" "
),
e
(
"span"
,{
staticClass
:
"get-stars-text-xingxing"
},[
t
.
_v
(
"+1星星"
)])]),
t
.
_v
(
" "
),
e
(
"div"
,{
staticClass
:
"get-stars-text get-stars-text-con"
},[
e
(
"span"
,{
staticClass
:
"get-stars-text-title"
},[
t
.
_v
(
"3、提交作业"
)]),
t
.
_v
(
" "
),
e
(
"span"
,{
staticClass
:
"get-stars-text-xingxing"
},[
t
.
_v
(
"+1星星"
)])])])},
function
(){
var
t
=
this
,
s
=
t
.
$createElement
,
e
=
t
.
_self
.
_c
||
s
;
return
e
(
"div"
,{
staticClass
:
"rule-content"
},[
e
(
"div"
,{
staticClass
:
"rule-content-list"
},[
e
(
"span"
,{
staticClass
:
"title"
},[
t
.
_v
(
"1.活动名称:"
)]),
t
.
_v
(
" "
),
e
(
"span"
,{
staticClass
:
"con"
},[
t
.
_v
(
"全勤打卡赢奖励"
)])]),
t
.
_v
(
" "
),
e
(
"div"
,{
staticClass
:
"rule-content-list"
},[
e
(
"span"
,{
staticClass
:
"title"
},[
t
.
_v
(
"2.活动时间:"
)]),
t
.
_v
(
" "
),
e
(
"span"
,{
staticClass
:
"con"
},[
t
.
_v
(
"课程开课时间-结课时间"
)])]),
t
.
_v
(
" "
),
e
(
"div"
,{
staticClass
:
"rule-content-list"
},[
e
(
"span"
,{
staticClass
:
"title"
},[
t
.
_v
(
"3.活动规则:"
)]),
e
(
"br"
),
t
.
_v
(
" "
),
e
(
"span"
,{
staticClass
:
"con"
},[
t
.
_v
(
"需在课程开课日完成当日课程的学习卡和成长卡。学完当日课程即可完成学习卡。提交学习记录即可完成成长卡。如延期完成,需消耗星星进行补卡。每10颗星星可补一张待补卡卡片。"
)])]),
t
.
_v
(
" "
),
e
(
"div"
,{
staticClass
:
"rule-content-list"
},[
e
(
"span"
,{
staticClass
:
"title"
},[
t
.
_v
(
"4.如何补卡?"
)]),
e
(
"br"
),
t
.
_v
(
" "
),
e
(
"span"
,{
staticClass
:
"con"
},[
t
.
_v
(
"未在当日完成学习卡和成长卡,需先完成。完成后可在补卡列表中,找到对应待补卡卡片。点击后,消耗星星进行补卡"
)])]),
t
.
_v
(
" "
),
e
(
"div"
,{
staticClass
:
"rule-content-list"
},[
e
(
"span"
,{
staticClass
:
"title"
},[
t
.
_v
(
"5.星星不足补卡时,如何获取更多星星?"
)]),
e
(
"br"
),
t
.
_v
(
" "
),
e
(
"span"
,{
staticClass
:
"con"
},[
t
.
_v
(
"
\n
可通过以下3种方式获取星星"
),
e
(
"br"
),
t
.
_v
(
"
\n
a. 打开未学习课程 星星+1"
),
e
(
"br"
),
t
.
_v
(
"
\n
b. 不限时间学习完成一节课程 星星+1"
),
e
(
"br"
),
t
.
_v
(
"
\n
c. 不限时提交成长记录 星星+1
\n
"
)])])])}]};
var
h
=
e
(
"VU/8"
)(
d
,
u
,
!
1
,
function
(
t
){
e
(
"n5g9"
)},
"data-v-17c5e714"
,
null
);
s
.
default
=
h
.
exports
},
n5g9
:
function
(
t
,
s
){}});
\ No newline at end of file
dist/static/js/63.cd5655d32a2aec0c8752.js
0 → 100644
View file @
f739834f
webpackJsonp
([
63
],{
"1V3o"
:
function
(
t
,
s
){},
L6DW
:
function
(
t
,
s
,
e
){
"use strict"
;
Object
.
defineProperty
(
s
,
"__esModule"
,{
value
:
!
0
});
var
a
=
e
(
"mvHQ"
),
i
=
e
.
n
(
a
),
n
=
e
(
"woOf"
),
c
=
e
.
n
(
n
),
l
=
(
e
(
"eqfM"
),
e
(
"/QYm"
)),
o
=
e
(
"CCn6"
),
r
=
e
(
"Jmy5"
),
d
=
{
name
:
"index"
,
data
:
function
(){
return
{
avatarArr
:[],
countIndex
:
0
,
countDown
:
""
,
countDownDay
:
0
,
countDownhour
:
0
,
countDownminu
:
0
,
countDownsec
:
0
,
goWhere
:
0
,
hasEnded
:
!
0
,
lastValue
:
0
,
modelData
:{},
firstRate
:
0
,
ruleShow
:
0
,
status
:
0
,
secondRate
:
0
,
tishi
:
!
1
,
thirdRate
:
0
,
typeStatus
:
0
,
forthRate
:
0
,
punchTheClock
:
r
.
g
,
punchCardData
:[],
punchClockModel
:
!
1
,
qrErWeiMa
:
""
,
recordListIndex
:
1
,
returnCashData
:{},
todayData
:[],
currentTime
:
""
,
dangqianTimer
:
""
,
recordList
:[{
title
:
"待开课"
},{
title
:
"待完成"
},{
title
:
"待补卡"
},{
title
:
"打卡完成"
}]}},
methods
:{
returnCash
:
function
(
t
){
var
s
=
this
,
e
=
this
.
$route
.
query
.
periods_id
,
a
=
{
start_at
:
this
.
$route
.
query
.
start_at
,
over_at
:
this
.
$route
.
query
.
over_at
};
Object
(
o
.
M
)(
e
,
a
).
then
(
function
(
e
){
s
.
returnCashData
=
e
;
var
a
=
e
.
over_time
.
split
(
" "
)[
0
],
i
=
a
.
split
(
"-"
)[
0
]
+
"/"
+
a
.
split
(
"-"
)[
1
]
+
"/"
+
a
.
split
(
"-"
)[
2
]
+
" "
+
e
.
over_time
.
split
(
" "
)[
1
],
n
=
new
Date
(
i
).
getTime
();
setInterval
(
function
(){
s
.
restTime
(
n
)},
1
e3
),
n
<
(
new
Date
).
getTime
()
&&
(
s
.
hasEnded
=!
1
),
s
.
secondRate
=
parseInt
(
e
.
second_rate
),
s
.
thirdRate
=
100
===
parseInt
(
e
.
third_rate
)?
103
:
parseInt
(
e
.
third_rate
),
s
.
forthRate
=
parseInt
(
e
.
forth_rate
),
s
.
todayData
=
s
.
integrationFn
(
e
.
today
);
var
c
=
0
===
t
?
e
.
first
:
1
===
t
?
e
.
second
:
2
===
t
?
e
.
third
:
e
.
forth
;
s
.
recordListIndex
=
t
,
s
.
punchCardData
=
s
.
integrationFn
(
c
)})},
finishUser
:
function
(){
var
t
=
this
,
s
=
this
.
$route
.
query
.
periods_id
;
Object
(
o
.
r
)(
s
).
then
(
function
(
s
){
t
.
avatarArr
=
s
.
avatar
,
t
.
countIndex
=
s
.
count
})},
restTime
:
function
(
t
){
var
s
=
t
-
(
new
Date
).
getTime
();
this
.
countDownDay
=
this
.
timerAddLing
(
parseInt
(
s
/
864
e5
)),
this
.
countDownhour
=
this
.
timerAddLing
(
parseInt
(
s
/
36
e5
%
24
)),
this
.
countDownminu
=
this
.
timerAddLing
(
parseInt
(
s
/
6
e4
%
60
)),
this
.
countDownsec
=
this
.
timerAddLing
(
parseInt
(
s
/
1
e3
%
60
))},
punchCardClick
:
function
(
t
,
s
,
e
,
a
){
var
i
=
this
;
if
(
this
.
status
=
s
,
this
.
typeStatus
=
e
,
this
.
ruleShow
=
0
,
1
!==
s
)
if
(
this
.
hasEnded
&&
100
!==
this
.
forthRate
){
this
.
modelData
=
9
==
a
?
this
.
todayData
[
t
]:
this
.
punchCardData
[
t
],
this
.
modelData
.
aName
=
this
.
modelData
.
name
.
split
(
" "
)[
0
]
+
" "
+
this
.
modelData
.
name
.
split
(
" "
)[
1
];
var
n
=
{
start_at
:
this
.
$route
.
query
.
start_at
,
over_at
:
this
.
$route
.
query
.
over_at
,
push_time
:
this
.
modelData
.
push_time
,
type
:
e
};
2
===
s
?
Object
(
o
.
m
)(
this
.
modelData
.
ele_id
,
this
.
modelData
.
id
,
this
.
modelData
.
periods_id
,
n
).
then
(
function
(
t
){
i
.
goWhere
=
t
.
go_where
;
var
s
=
i
.
timerAddLing
((
new
Date
).
getFullYear
())
+
"-"
+
i
.
timerAddLing
((
new
Date
).
getMonth
()
+
1
)
+
"-"
+
i
.
timerAddLing
((
new
Date
).
getDate
()),
e
=
new
Date
(
s
).
getTime
(),
a
=
new
Date
(
i
.
modelData
.
push_time
).
getTime
();
i
.
modelData
.
state
=
e
==
a
?
1
===
t
.
go_where
?
"待学习"
:
"未提交"
:
1
===
t
.
go_where
?
"待学习(已延期)"
:
"未提交(已延期)"
,
document
.
querySelectorAll
(
".uiyiyi"
)[
0
].
innerText
=
i
.
modelData
.
state
}):(
this
.
modelData
.
state
=
3
===
s
?
"待补卡"
:
"打卡完成"
,
document
.
querySelectorAll
(
".uiyiyi"
)[
0
].
innerText
=
this
.
modelData
.
state
),
document
.
querySelectorAll
(
".get-stars-btn"
)[
0
]
&&
(
document
.
querySelectorAll
(
".get-stars-btn"
)[
0
].
style
.
display
=
"block"
),
this
.
modelData
.
tishi
=
2
===
s
?
"提示:学习卡与作业卡需在开课日完成哦,如延期完成,需消耗星星补卡"
:
3
===
s
?
"补卡:消耗10星星补卡1次,当前共有"
+
this
.
lastValue
+
"颗星星"
:
""
,
this
.
punchClockModel
=!
0
}
else
Object
(
l
.
a
)(
"活动已结束,谢谢参与~"
);
else
Object
(
l
.
a
)(
"课程还未开始,请耐心等待哦~"
)},
modelDataClick
:
function
(
t
,
s
){
var
e
=
this
,
a
=
{
start_at
:
this
.
$route
.
query
.
start_at
,
over_at
:
this
.
$route
.
query
.
over_at
,
push_time
:
t
.
push_time
,
type
:
s
};
2
===
this
.
status
?
1
===
this
.
goWhere
?
this
.
getLessonDetailFn
(
t
):
Object
(
o
.
_1
)({
category_id
:
t
.
id
}).
then
(
function
(
t
){
var
s
=
c
()({},
t
,{
periods_id
:
e
.
modelData
.
periods_id
,
category_id
:
e
.
modelData
.
id
,
element_id
:
e
.
modelData
.
ele_id
});
e
.
$router
.
push
({
path
:
"/evaluate"
,
query
:
s
})}):
3
===
this
.
status
&&
this
.
lastValue
>=
10
&&
Object
(
o
.
E
)(
this
.
modelData
.
ele_id
,
this
.
modelData
.
id
,
this
.
modelData
.
periods_id
,
a
).
then
(
function
(
t
){
e
.
tishi
=!
0
,
setTimeout
(
function
(){
e
.
tishi
=!
1
,
e
.
punchClockModel
=!
1
},
1500
),
document
.
querySelectorAll
(
".get-stars-btn"
)[
0
].
style
.
display
=
"none"
,
e
.
lastValue
=
e
.
lastValue
-
10
,
e
.
modelData
.
tishi
=
"补卡:消耗10星星补卡1次,当前共有"
+
e
.
lastValue
+
"颗星星"
,
e
.
returnCash
(
2
)})},
getLessonDetailFn
:
function
(
t
){
var
s
=
this
;
Object
(
o
.
y
)(
t
.
periods_id
,
t
.
id
,
t
.
ele_id
).
then
(
function
(
e
){
e
.
content
=
JSON
.
parse
(
e
.
content
),
s
.
thisLesson
=
e
,
s
.
thisLesson
.
id
=
t
.
ele_id
.
toString
(),
s
.
thisLesson
.
categoryId
=
t
.
id
,
s
.
thisLesson
.
domTitle
=
t
.
name
,
s
.
thisLesson
.
star_num
=
0
;
var
a
=
{
periods_id
:
t
.
periods_id
,
category_id
:
t
.
id
,
elementId
:
t
.
ele_id
,
course_type
:
s
.
$route
.
query
.
course_type
,
parent_category_id
:
s
.
$route
.
query
.
parent_category_id
};
s
.
$store
.
dispatch
(
"setClassQuery"
,
a
),
sessionStorage
.
setItem
(
"classQuery"
,
i
()(
a
));
var
n
=
JSON
.
parse
(
i
()(
s
.
thisLesson
));
n
.
push_time
=
t
.
push_time
,
n
.
themeID
=
s
.
$route
.
query
.
parent_category_id
,
n
.
goodsID
=
t
.
goods_id
,
n
.
classID
=
t
.
class_id
,
n
.
nowTime
=
Date
.
parse
(
new
Date
),
n
.
course_title
=
s
.
$route
.
query
.
course_title
,
localStorage
.
setItem
(
"lessonDetail"
,
i
()(
n
)),
s
.
$router
.
push
({
name
:
"newLesson"
,
query
:
a
})})},
timerAddLing
:
function
(
t
){
return
t
<
10
?
"0"
+
t
:
t
},
integrationFn
:
function
(
t
){
var
s
=
[];
for
(
var
e
in
t
)
t
[
e
].
sort
(
function
(
t
,
s
){
return
parseInt
(
t
.
type
)
-
parseInt
(
s
.
type
)}),
2
===
t
[
e
].
length
?(
t
[
e
][
0
].
type1
=
t
[
e
][
1
].
type
,
t
[
e
][
0
].
status1
=
t
[
e
][
1
].
status
,
s
.
push
(
t
[
e
][
0
])):(
2
==
t
[
e
][
0
].
type
&&
(
t
[
e
][
0
].
type1
=
t
[
e
][
0
].
type
,
t
[
e
][
0
].
status1
=
t
[
e
][
0
].
status
,
delete
t
[
e
][
0
].
type
,
delete
t
[
e
][
0
].
status
),
s
.
push
(
t
[
e
][
0
]));
var
a
=
{};
return
s
.
reduce
(
function
(
t
,
s
){
return
!
a
[
s
.
id
]
&&
(
a
[
s
.
id
]
=
t
.
push
(
s
)),
t
},[])},
getTeacher
:
function
(){
var
t
=
this
;
Object
(
o
.
S
)().
then
(
function
(
s
){
t
.
qrErWeiMa
=
s
.
qr
}),
Object
(
o
.
Y
)().
then
(
function
(
s
){
t
.
lastValue
=
s
.
last_value
})},
punchClockClick
:
function
(){
this
.
punchClockModel
=!
0
,
this
.
ruleShow
=
2
}},
mounted
:
function
(){
this
.
returnCash
(
1
),
this
.
finishUser
(),
this
.
getTeacher
()}},
u
=
{
render
:
function
(){
var
t
=
this
,
s
=
t
.
$createElement
,
e
=
t
.
_self
.
_c
||
s
;
return
e
(
"div"
,{
staticClass
:
"punch-the-clock"
},[
e
(
"div"
,{
staticClass
:
"rule"
,
on
:{
click
:
function
(
s
){
t
.
punchClockClick
()}}},[
t
.
_v
(
"
\n
规则
\n
"
)]),
t
.
_v
(
" "
),
e
(
"div"
,{
staticClass
:
"punch-the-clock-name-image"
},[
t
.
_v
(
"
\n
奖励名称
\n
"
),
e
(
"div"
,{
staticClass
:
"yiwancheng"
},[
t
.
_v
(
t
.
_s
(
t
.
hasEnded
?
100
===
t
.
forthRate
?
"已完成"
:
"进行中"
:
100
===
t
.
forthRate
?
"已完成"
:
"已结束"
))])]),
t
.
_v
(
" "
),
e
(
"div"
,{
staticClass
:
"punch-the-clock-name-bg"
},[
e
(
"div"
,{
staticClass
:
"punch-the-clock-name-content"
},[
t
.
hasEnded
?
t
.
_e
():
e
(
"div"
,{
staticClass
:
"punch-the-clock-name-contentText"
},[
t
.
_v
(
"很遗憾,您未在指定时间内完成任务哦"
)]),
t
.
_v
(
" "
),
t
.
hasEnded
?
e
(
"div"
,{
staticClass
:
"punch-the-clock-name-content-timer"
},[
e
(
"span"
,[
t
.
_v
(
"剩余完成时间"
)]),
t
.
_v
(
" "
),
e
(
"span"
,{
staticClass
:
"timer"
},[
t
.
_v
(
t
.
_s
(
t
.
countDownDay
))]),
t
.
_v
(
" "
),
e
(
"span"
,[
t
.
_v
(
"天"
)]),
t
.
_v
(
" "
),
e
(
"span"
,{
staticClass
:
"timer"
},[
t
.
_v
(
t
.
_s
(
t
.
countDownhour
))]),
t
.
_v
(
" "
),
e
(
"span"
,[
t
.
_v
(
"时"
)]),
t
.
_v
(
" "
),
e
(
"span"
,{
staticClass
:
"timer"
},[
t
.
_v
(
t
.
_s
(
t
.
countDownminu
))]),
t
.
_v
(
" "
),
e
(
"span"
,[
t
.
_v
(
"分"
)]),
t
.
_v
(
" "
),
e
(
"span"
,{
staticClass
:
"timer"
},[
t
.
_v
(
t
.
_s
(
t
.
countDownsec
))]),
t
.
_v
(
" "
),
e
(
"span"
,[
t
.
_v
(
"秒"
)])]):
t
.
_e
(),
t
.
_v
(
" "
),
e
(
"div"
,{
staticClass
:
"punch-the-clock-name-content-completion"
},[
e
(
"div"
,{
staticClass
:
"daka-fu"
},[
e
(
"img"
,{
attrs
:{
src
:
t
.
punchTheClock
.
dakaFu
,
alt
:
""
}})]),
t
.
_v
(
" "
),
e
(
"div"
,{
staticClass
:
"speed"
},[
e
(
"span"
,{
directives
:[{
name
:
"show"
,
rawName
:
"v-show"
,
value
:
t
.
forthRate
+
t
.
secondRate
+
t
.
thirdRate
<
80
,
expression
:
"forthRate + secondRate + thirdRate < 80"
}],
staticClass
:
"speed-baifen baifenbi"
},[
t
.
_v
(
"100%"
)]),
t
.
_v
(
" "
),
e
(
"span"
,{
directives
:[{
name
:
"show"
,
rawName
:
"v-show"
,
value
:
0
!==
t
.
forthRate
,
expression
:
"forthRate !== 0"
}],
staticClass
:
"speed-list speed-list-completed speed-baifen"
,
style
:{
width
:
t
.
forthRate
<=
10
?
"10%"
:
t
.
forthRate
+
"%"
}},[
t
.
_v
(
t
.
_s
(
t
.
forthRate
)
+
"%"
)]),
t
.
_v
(
" "
),
e
(
"span"
,{
staticClass
:
"speed-list speed-list-be"
,
style
:{
width
:(
100
!==
t
.
secondRate
&&
(
t
.
secondRate
,
t
.
thirdRate
),
t
.
secondRate
+
3
+
"%"
)}}),
t
.
_v
(
" "
),
e
(
"span"
,{
staticClass
:
"speed-list speed-list-card"
,
style
:{
width
:
100
!==
t
.
thirdRate
&&
t
.
secondRate
+
t
.
thirdRate
>=
90
?
t
.
thirdRate
+
1
+
"%"
:
t
.
thirdRate
+
2
+
"%"
}})]),
t
.
_v
(
" "
),
t
.
_m
(
0
)])])]),
t
.
_v
(
" "
),
100
===
t
.
forthRate
?
e
(
"div"
,{
staticClass
:
"punch-the-clock-reward"
},[
e
(
"div"
,{
staticClass
:
"punch-the-clock-reward-title"
},[
t
.
_v
(
"恭喜您已获得奖励"
)]),
t
.
_v
(
" "
),
e
(
"div"
,{
staticClass
:
"punch-the-clock-reward-title"
},[
t
.
_v
(
"快联系班主任领取吧!"
)]),
t
.
_v
(
" "
),
e
(
"div"
,{
staticClass
:
"punch-the-clock-reward-erweima"
},[
e
(
"div"
,{
staticClass
:
"punch-the-clock-reward-erweima-ma"
},[
e
(
"img"
,{
attrs
:{
src
:
t
.
qrErWeiMa
,
alt
:
""
}})])])]):
t
.
_e
(),
t
.
_v
(
" "
),
0
!==
t
.
todayData
.
length
&&
100
!==
t
.
forthRate
?
e
(
"div"
,{
staticClass
:
"today-list"
},
t
.
_l
(
t
.
todayData
,
function
(
s
,
a
){
return
e
(
"div"
,{
staticClass
:
"punch-list-today"
},[
e
(
"div"
,{
staticClass
:
"punch-card-today"
},[
e
(
"div"
,{
staticClass
:
"day"
},[
t
.
_v
(
"今日"
)]),
t
.
_v
(
" "
),
e
(
"div"
,{
staticClass
:
"small-title"
},[
t
.
_v
(
t
.
_s
(
s
.
sub_title
))]),
t
.
_v
(
" "
),
e
(
"div"
,{
staticClass
:
"title"
},[
t
.
_v
(
t
.
_s
(
s
.
name
.
split
(
" "
)[
0
]
+
" "
+
s
.
name
.
split
(
" "
)[
1
]))])]),
t
.
_v
(
" "
),
e
(
"div"
,{
staticClass
:
"punch-card-today"
,
on
:{
click
:
function
(
e
){
t
.
punchCardClick
(
a
,
s
.
status
,
s
.
type
,
9
)}}},[
e
(
"div"
,{
staticClass
:
"punch-card-today-learning"
},[
e
(
"img"
,{
attrs
:{
src
:
1
===
s
.
status
?
t
.
punchTheClock
.
kaike_xuexi
:
2
===
s
.
status
?
t
.
punchTheClock
.
daiwanc
:
3
===
s
.
status
?
t
.
punchTheClock
.
buka_xuexi
:
t
.
punchTheClock
.
dakawancheng
,
alt
:
""
}})]),
t
.
_v
(
" "
),
e
(
"div"
,{
staticClass
:
"punch-card-today-xuexila"
},[
t
.
_v
(
"学习卡"
)])]),
t
.
_v
(
" "
),
e
(
"div"
,{
staticClass
:
"punch-card-today"
,
on
:{
click
:
function
(
e
){
t
.
punchCardClick
(
a
,
s
.
status1
,
s
.
type1
,
9
)}}},[
e
(
"div"
,{
staticClass
:
"punch-card-today-learning"
},[
e
(
"img"
,{
attrs
:{
src
:
1
===
s
.
status1
?
t
.
punchTheClock
.
kaike_chengz
:
2
===
s
.
status1
?
t
.
punchTheClock
.
daiwanChangz
:
3
===
s
.
status1
?
t
.
punchTheClock
.
buka_changz
:
t
.
punchTheClock
.
wanchengChengz
,
alt
:
""
}})]),
t
.
_v
(
" "
),
e
(
"div"
,{
staticClass
:
"punch-card-today-xuexila"
},[
t
.
_v
(
"成长卡"
)])])])})):
t
.
_e
(),
t
.
_v
(
" "
),
e
(
"div"
,{
staticClass
:
"punch-the-clock-completed-persons"
},[
e
(
"div"
,{
staticClass
:
"punch-the-clock-completed-persons-image"
},[
e
(
"div"
,{
staticClass
:
"yiwancheng"
},[
t
.
_v
(
t
.
_s
(
t
.
countIndex
)
+
"人已完成"
)]),
t
.
_v
(
" "
),
t
.
_l
(
t
.
avatarArr
,
function
(
t
,
s
){
return
e
(
"div"
,{
key
:
s
,
staticClass
:
"portrait"
},[
e
(
"img"
,{
attrs
:{
src
:
t
,
alt
:
""
}})])})],
2
)]),
t
.
_v
(
" "
),
e
(
"div"
,{
staticClass
:
"punch-the-clock-record"
},[
t
.
_m
(
1
),
t
.
_v
(
" "
),
e
(
"ul"
,{
staticClass
:
"punch-the-clock-record-list"
},
t
.
_l
(
t
.
recordList
,
function
(
s
,
a
){
return
e
(
"li"
,{
key
:
a
,
class
:[
a
===
t
.
recordListIndex
?
"active"
:
""
],
on
:{
click
:
function
(
s
){
t
.
returnCash
(
a
)}}},[
t
.
_v
(
"
\n
"
+
t
.
_s
(
s
.
title
)
+
" "
),
e
(
"div"
,{
directives
:[{
name
:
"show"
,
rawName
:
"v-show"
,
value
:
a
===
t
.
recordListIndex
,
expression
:
"index === recordListIndex"
}],
staticClass
:
"xian"
})])})),
t
.
_v
(
" "
),
e
(
"div"
,{
staticClass
:
"today-list"
},[
t
.
_l
(
t
.
punchCardData
,
function
(
s
,
a
){
return
0
!==
t
.
punchCardData
.
length
?
e
(
"div"
,{
key
:
a
,
staticClass
:
"today-list-xian"
},[
e
(
"div"
,{
staticClass
:
"punch-card-today"
},[
0
===
t
.
recordListIndex
?
e
(
"div"
,{
staticClass
:
"sou"
},[
e
(
"img"
,{
attrs
:{
src
:
t
.
punchTheClock
.
sou
,
alt
:
""
}})]):
t
.
_e
(),
t
.
_v
(
" "
),
0
!==
t
.
recordListIndex
?
e
(
"div"
,{
staticClass
:
"day"
},[
t
.
_v
(
t
.
_s
(
s
.
push_time
.
split
(
"-"
)[
1
])
+
"月"
+
t
.
_s
(
s
.
push_time
.
split
(
"-"
)[
2
])
+
"日"
)]):
t
.
_e
(),
t
.
_v
(
" "
),
e
(
"div"
,{
staticClass
:
"small-title"
},[
t
.
_v
(
t
.
_s
(
s
.
sub_title
))]),
t
.
_v
(
" "
),
e
(
"div"
,{
staticClass
:
"title"
},[
t
.
_v
(
t
.
_s
(
s
.
name
.
split
(
" "
)[
0
]
+
" "
+
s
.
name
.
split
(
" "
)[
1
]))])]),
t
.
_v
(
" "
),
1
==
s
.
type
?
e
(
"div"
,{
staticClass
:
"punch-card-today"
,
on
:{
click
:
function
(
e
){
t
.
punchCardClick
(
a
,
s
.
status
,
s
.
type
)}}},[
e
(
"div"
,{
staticClass
:
"punch-card-today-learning"
},[
e
(
"img"
,{
attrs
:{
src
:
1
===
s
.
status
?
t
.
punchTheClock
.
kaike_xuexi
:
2
===
s
.
status
?
t
.
punchTheClock
.
daiwanc
:
3
===
s
.
status
?
t
.
punchTheClock
.
buka_xuexi
:
t
.
punchTheClock
.
dakawancheng
,
alt
:
""
}})]),
t
.
_v
(
" "
),
e
(
"div"
,{
staticClass
:
"punch-card-today-xuexila"
},[
t
.
_v
(
"学习卡"
)])]):
t
.
_e
(),
t
.
_v
(
" "
),
2
==
s
.
type1
?
e
(
"div"
,{
staticClass
:
"punch-card-today"
,
on
:{
click
:
function
(
e
){
t
.
punchCardClick
(
a
,
s
.
status1
,
s
.
type1
)}}},[
e
(
"div"
,{
staticClass
:
"punch-card-today-learning"
},[
e
(
"img"
,{
attrs
:{
src
:
1
===
s
.
status1
?
t
.
punchTheClock
.
kaike_chengz
:
2
===
s
.
status1
?
t
.
punchTheClock
.
daiwanChangz
:
3
===
s
.
status1
?
t
.
punchTheClock
.
buka_changz
:
t
.
punchTheClock
.
wanchengChengz
,
alt
:
""
}})]),
t
.
_v
(
" "
),
e
(
"div"
,{
staticClass
:
"punch-card-today-xuexila"
},[
t
.
_v
(
"成长卡"
)])]):
t
.
_e
()]):
t
.
_e
()}),
t
.
_v
(
" "
),
0
===
t
.
punchCardData
.
length
?
e
(
"div"
,{
staticClass
:
"today-list-null"
},[
e
(
"div"
,{
staticClass
:
"null-tu"
},[
e
(
"img"
,{
attrs
:{
src
:
t
.
punchTheClock
.
nullTu
,
alt
:
""
}})]),
t
.
_v
(
" "
),
e
(
"div"
,{
staticClass
:
"today-list-null-text"
},[
t
.
_v
(
"啊哦,没有数据哦~"
)])]):
t
.
_e
()],
2
)]),
t
.
_v
(
" "
),
e
(
"div"
,{
directives
:[{
name
:
"show"
,
rawName
:
"v-show"
,
value
:
t
.
punchClockModel
,
expression
:
"punchClockModel"
}],
staticClass
:
"punch-the-clock-model"
,
on
:{
click
:
function
(
s
){
t
.
punchClockModel
=!
1
}}},[
2
!=
t
.
ruleShow
?
e
(
"div"
,{
staticClass
:
"punch-the-clock-model-yin"
},[
t
.
tishi
?
e
(
"div"
,{
staticClass
:
"tishi"
},[
e
(
"div"
,{
staticClass
:
"tishi-image"
},[
e
(
"img"
,{
attrs
:{
src
:
t
.
punchTheClock
.
xiaolian
,
alt
:
""
}})]),
t
.
_v
(
" "
),
e
(
"div"
,{
staticClass
:
"text"
},[
t
.
_v
(
"恭喜你补卡成功啦~"
)]),
t
.
_v
(
" "
),
e
(
"div"
,{
staticClass
:
"text"
},[
t
.
_v
(
"-10颗星星"
)])]):
t
.
_e
(),
t
.
_v
(
" "
),
e
(
"div"
,{
staticClass
:
"x-code"
},[
e
(
"img"
,{
attrs
:{
src
:
t
.
punchTheClock
.
x
,
alt
:
""
}})]),
t
.
_v
(
" "
),
e
(
"div"
,{
staticClass
:
"punch-the-clock-model-title"
},[
e
(
"span"
,[
t
.
_v
(
t
.
_s
(
1
==
t
.
typeStatus
?
"学习卡"
:
"成长卡"
))])]),
t
.
_v
(
" "
),
e
(
"div"
,{
staticClass
:
"title-text title-padd"
},[
t
.
_v
(
"课时:"
+
t
.
_s
(
t
.
modelData
.
sub_title
))]),
t
.
_v
(
" "
),
e
(
"div"
,{
staticClass
:
"title-text"
},[
t
.
_v
(
"课节:"
+
t
.
_s
(
t
.
modelData
.
aName
))]),
t
.
_v
(
" "
),
e
(
"div"
,{
staticClass
:
"title-text"
},[
t
.
_v
(
"开课日期:"
+
t
.
_s
(
t
.
modelData
.
push_time
))]),
t
.
_v
(
" "
),
e
(
"div"
,{
staticClass
:
"title-text"
},[
t
.
_v
(
"状态:
\n
"
),
e
(
"span"
,{
class
:[
2
===
t
.
status
||
3
===
t
.
status
?
"small-title"
:
""
,
"uiyiyi"
]})]),
t
.
_v
(
" "
),
e
(
"div"
,{
staticClass
:
"title-text"
},[
t
.
_v
(
t
.
_s
(
t
.
modelData
.
tishi
))]),
t
.
_v
(
" "
),
3
===
t
.
status
&&
t
.
lastValue
<=
10
?
e
(
"div"
,{
staticClass
:
"get-stars"
},[
t
.
_m
(
2
)]):
t
.
_e
(),
t
.
_v
(
" "
),
4
!==
t
.
status
?
e
(
"div"
,{
class
:[
"get-stars-btn"
,{
"get-stars-btn-clo"
:
3
===
t
.
status
&&
t
.
lastValue
<=
10
}],
on
:{
click
:
function
(
s
){
s
.
stopPropagation
(),
t
.
modelDataClick
(
t
.
modelData
,
t
.
typeStatus
)}}},[
t
.
_v
(
"
\n
"
+
t
.
_s
(
2
===
t
.
status
?
1
==
t
.
goWhere
?
"去学习"
:
"去提交"
:
3
===
t
.
status
?
"去补卡"
:
""
)
+
"
\n
"
)]):
t
.
_e
()]):
t
.
_e
(),
t
.
_v
(
" "
),
2
==
t
.
ruleShow
?
e
(
"div"
,{
staticClass
:
"punch-the-clock-model-yin punch-the-clock-rule-pad"
},[
e
(
"div"
,{
staticClass
:
"x-code"
},[
e
(
"img"
,{
attrs
:{
src
:
t
.
punchTheClock
.
x
,
alt
:
""
}})]),
t
.
_v
(
" "
),
e
(
"div"
,{
staticClass
:
"punch-the-clock-rule"
},[
t
.
_v
(
"活动规则"
)]),
t
.
_v
(
" "
),
t
.
_m
(
3
)]):
t
.
_e
()])])},
staticRenderFns
:[
function
(){
var
t
=
this
,
s
=
t
.
$createElement
,
e
=
t
.
_self
.
_c
||
s
;
return
e
(
"div"
,{
staticClass
:
"speed-content"
},[
e
(
"div"
,{
staticClass
:
"speed-content-list"
},[
e
(
"span"
,{
staticClass
:
"speed-content-list-color speed-content-list-completed"
}),
t
.
_v
(
" "
),
e
(
"span"
,{
staticClass
:
"speed-content-list-text"
},[
t
.
_v
(
"已完成"
)])]),
t
.
_v
(
" "
),
e
(
"div"
,{
staticClass
:
"speed-content-list"
},[
e
(
"span"
,{
staticClass
:
"speed-content-list-color speed-content-list-be"
}),
t
.
_v
(
" "
),
e
(
"span"
,{
staticClass
:
"speed-content-list-text"
},[
t
.
_v
(
"待完成"
)])]),
t
.
_v
(
" "
),
e
(
"div"
,{
staticClass
:
"speed-content-list"
},[
e
(
"span"
,{
staticClass
:
"speed-content-list-color speed-content-list-card"
}),
t
.
_v
(
" "
),
e
(
"span"
,{
staticClass
:
"speed-content-list-text"
},[
t
.
_v
(
"待补卡"
)])]),
t
.
_v
(
" "
),
e
(
"div"
,{
staticClass
:
"speed-content-list"
},[
e
(
"span"
,{
staticClass
:
"speed-content-list-color speed-content-list-waiting"
}),
t
.
_v
(
" "
),
e
(
"span"
,{
staticClass
:
"speed-content-list-text"
},[
t
.
_v
(
"待开课"
)])])])},
function
(){
var
t
=
this
.
$createElement
,
s
=
this
.
_self
.
_c
||
t
;
return
s
(
"div"
,{
staticClass
:
"punch-the-clock-record-title"
},[
s
(
"div"
,{
staticClass
:
"punch-the-clock-record-title-image"
}),
this
.
_v
(
" "
),
s
(
"div"
,{
staticClass
:
"punch-the-clock-record-title-text"
},[
this
.
_v
(
"我的打卡记录"
)])])},
function
(){
var
t
=
this
,
s
=
t
.
$createElement
,
e
=
t
.
_self
.
_c
||
s
;
return
e
(
"div"
,{
staticClass
:
"get-stars-content"
},[
e
(
"div"
,{
staticClass
:
"get-stars-text"
},[
t
.
_v
(
"当前星星不足补卡哦,如何获得更多星星?"
)]),
t
.
_v
(
" "
),
e
(
"div"
,{
staticClass
:
"get-stars-text get-stars-text-con"
},[
e
(
"span"
,{
staticClass
:
"get-stars-text-title"
},[
t
.
_v
(
"1、开始课程学习"
)]),
t
.
_v
(
" "
),
e
(
"span"
,{
staticClass
:
"get-stars-text-xingxing"
},[
t
.
_v
(
"+1星星"
)])]),
t
.
_v
(
" "
),
e
(
"div"
,{
staticClass
:
"get-stars-text get-stars-text-con"
},[
e
(
"span"
,{
staticClass
:
"get-stars-text-title"
},[
t
.
_v
(
"2、学完课节"
)]),
t
.
_v
(
" "
),
e
(
"span"
,{
staticClass
:
"get-stars-text-xingxing"
},[
t
.
_v
(
"+1星星"
)])]),
t
.
_v
(
" "
),
e
(
"div"
,{
staticClass
:
"get-stars-text get-stars-text-con"
},[
e
(
"span"
,{
staticClass
:
"get-stars-text-title"
},[
t
.
_v
(
"3、提交作业"
)]),
t
.
_v
(
" "
),
e
(
"span"
,{
staticClass
:
"get-stars-text-xingxing"
},[
t
.
_v
(
"+1星星"
)])])])},
function
(){
var
t
=
this
,
s
=
t
.
$createElement
,
e
=
t
.
_self
.
_c
||
s
;
return
e
(
"div"
,{
staticClass
:
"rule-content"
},[
e
(
"div"
,{
staticClass
:
"rule-content-list"
},[
e
(
"span"
,{
staticClass
:
"title"
},[
t
.
_v
(
"1.活动名称:"
)]),
t
.
_v
(
" "
),
e
(
"span"
,{
staticClass
:
"con"
},[
t
.
_v
(
"全勤打卡赢奖励"
)])]),
t
.
_v
(
" "
),
e
(
"div"
,{
staticClass
:
"rule-content-list"
},[
e
(
"span"
,{
staticClass
:
"title"
},[
t
.
_v
(
"2.活动时间:"
)]),
t
.
_v
(
" "
),
e
(
"span"
,{
staticClass
:
"con"
},[
t
.
_v
(
"课程开课时间-结课时间"
)])]),
t
.
_v
(
" "
),
e
(
"div"
,{
staticClass
:
"rule-content-list"
},[
e
(
"span"
,{
staticClass
:
"title"
},[
t
.
_v
(
"3.活动规则:"
)]),
e
(
"br"
),
t
.
_v
(
" "
),
e
(
"span"
,{
staticClass
:
"con"
},[
t
.
_v
(
"需在课程开课日完成当日课程的学习卡和成长卡。学完当日课程即可完成学习卡。提交学习记录即可完成成长卡。如延期完成,需消耗星星进行补卡。每10颗星星可补一张待补卡卡片。"
)])]),
t
.
_v
(
" "
),
e
(
"div"
,{
staticClass
:
"rule-content-list"
},[
e
(
"span"
,{
staticClass
:
"title"
},[
t
.
_v
(
"4.如何补卡?"
)]),
e
(
"br"
),
t
.
_v
(
" "
),
e
(
"span"
,{
staticClass
:
"con"
},[
t
.
_v
(
"未在当日完成学习卡和成长卡,需先完成。完成后可在补卡列表中,找到对应待补卡卡片。点击后,消耗星星进行补卡"
)])]),
t
.
_v
(
" "
),
e
(
"div"
,{
staticClass
:
"rule-content-list"
},[
e
(
"span"
,{
staticClass
:
"title"
},[
t
.
_v
(
"5.星星不足补卡时,如何获取更多星星?"
)]),
e
(
"br"
),
t
.
_v
(
" "
),
e
(
"span"
,{
staticClass
:
"con"
},[
t
.
_v
(
"
\n
可通过以下3种方式获取星星"
),
e
(
"br"
),
t
.
_v
(
"
\n
a. 打开未学习课程 星星+1"
),
e
(
"br"
),
t
.
_v
(
"
\n
b. 不限时间学习完成一节课程 星星+1"
),
e
(
"br"
),
t
.
_v
(
"
\n
c. 不限时提交成长记录 星星+1
\n
"
)])])])}]};
var
h
=
e
(
"VU/8"
)(
d
,
u
,
!
1
,
function
(
t
){
e
(
"1V3o"
)},
"data-v-10c0c53e"
,
null
);
s
.
default
=
h
.
exports
}});
\ No newline at end of file
dist/static/js/manifest.
ebac9398a1906daf4b6
9.js
→
dist/static/js/manifest.
17c65b9dcf36ebf8d95
9.js
View file @
f739834f
!
function
(
e
){
var
a
=
window
.
webpackJsonp
;
window
.
webpackJsonp
=
function
(
c
,
d
,
n
){
for
(
var
t
,
r
,
o
,
i
=
0
,
u
=
[];
i
<
c
.
length
;
i
++
)
r
=
c
[
i
],
f
[
r
]
&&
u
.
push
(
f
[
r
][
0
]),
f
[
r
]
=
0
;
for
(
t
in
d
)
Object
.
prototype
.
hasOwnProperty
.
call
(
d
,
t
)
&&
(
e
[
t
]
=
d
[
t
]);
for
(
a
&&
a
(
c
,
d
,
n
);
u
.
length
;)
u
.
shift
()();
if
(
n
)
for
(
i
=
0
;
i
<
n
.
length
;
i
++
)
o
=
b
(
b
.
s
=
n
[
i
]);
return
o
};
var
c
=
{},
f
=
{
68
:
0
};
function
b
(
a
){
if
(
c
[
a
])
return
c
[
a
].
exports
;
var
f
=
c
[
a
]
=
{
i
:
a
,
l
:
!
1
,
exports
:{}};
return
e
[
a
].
call
(
f
.
exports
,
f
,
f
.
exports
,
b
),
f
.
l
=!
0
,
f
.
exports
}
b
.
e
=
function
(
e
){
var
a
=
f
[
e
];
if
(
0
===
a
)
return
new
Promise
(
function
(
e
){
e
()});
if
(
a
)
return
a
[
2
];
var
c
=
new
Promise
(
function
(
c
,
b
){
a
=
f
[
e
]
=
[
c
,
b
]});
a
[
2
]
=
c
;
var
d
=
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"
,
b
.
nc
&&
n
.
setAttribute
(
"nonce"
,
b
.
nc
),
n
.
src
=
b
.
p
+
"static/js/"
+
({
0
:
"vendor-async"
}[
e
]
||
e
)
+
"."
+
{
0
:
"4c32bc423a8cfe2d0ff5"
,
1
:
"e629b0a42ac24031b057"
,
2
:
"4913a3c7cf59644223f4"
,
3
:
"16311961e0c59cc998b3"
,
4
:
"be216735a0b64ab3ce47"
,
5
:
"393578607b3aebf89ef0"
,
6
:
"710dfac41a4f1da60b36"
,
7
:
"80c5e00893b61183ab34"
,
8
:
"f14a4f1010dca6e5193e"
,
9
:
"059c7e45f34d8295df7b"
,
10
:
"829dd34a338a8876260e"
,
11
:
"d54a8e3a568fd71e91e0"
,
12
:
"b359078bc3d4851fb6cf"
,
13
:
"5f261ff92bd308d35b0a"
,
14
:
"9c5198bb984a34250e40"
,
15
:
"680770edee21a6988b29"
,
16
:
"4e2fde87d00b5159c374"
,
17
:
"a0f73eb864a9fa4e118f"
,
18
:
"61a1e5b0497e3ee138e4"
,
19
:
"101925298fb87c158dca"
,
20
:
"273b093d762342dc13e3"
,
21
:
"835b8f0010b7d50fae37"
,
22
:
"de7bba15b55985b31e42"
,
23
:
"b472f163f760b1c77d7a"
,
24
:
"549eeb0a889318a34e89"
,
25
:
"7c99189125c19acc26f4"
,
26
:
"0bcc8b19f145e79a3ed6"
,
27
:
"7b328662e6fd4798982b"
,
28
:
"00652dc08d949721ca64"
,
29
:
"32e4a5b2a25f88c34451"
,
30
:
"258cb6c3dd89fd6f6649"
,
31
:
"77fdc3c527048308b86e"
,
32
:
"2dff8b9a8317b3ee46df"
,
33
:
"bea9c27ee77e0d04f95a"
,
34
:
"30d52b0f77eb30590ac5"
,
35
:
"a516f2b5d645a4908ce9"
,
36
:
"5ab5240df93fe15c447e"
,
37
:
"c801122af386260a690a"
,
38
:
"c3d87252090be84edabd"
,
39
:
"886c3383b261524be947"
,
40
:
"15174c220598ff8dc8d8"
,
41
:
"3b59527515857f0c374e"
,
42
:
"e3a5350ac83edeede646"
,
43
:
"67a88603a7889f50a700"
,
44
:
"e425309e5d811dee70e5"
,
45
:
"cddcf5c6789bdadc900b"
,
46
:
"17ad6a93f9bde83665f9"
,
47
:
"16567b7ee6b462bae443"
,
48
:
"59ace6c90fdc04aadaf0"
,
49
:
"9b89ae75df502b1ea6f0"
,
50
:
"9ba5d108d438a4ec16d6"
,
51
:
"197b68e6bc331faa87ce"
,
52
:
"0656187e0a24fb0d10ce"
,
53
:
"e722b9b1c8823635085c"
,
54
:
"027bcbce5d0ff03697fb"
,
55
:
"eee5e26f247074851331"
,
56
:
"c1875a7d41d621d3035e"
,
57
:
"c9895d4f61a09c5a2000"
,
58
:
"d1e010a5dcc9365a522d"
,
59
:
"33b8a0527b9c7f40085c"
,
60
:
"ef0490fcf51d3911e2eb"
,
61
:
"ed23207466cb4a161618"
,
62
:
"f8ed8742b78575b29897"
,
63
:
"5ee77f872bb5377a2eab"
,
64
:
"17c522e0623f5ccbbcd6"
,
65
:
"4dbf6e5a2b902078ea89"
}[
e
]
+
".js"
;
var
t
=
setTimeout
(
r
,
12
e4
);
function
r
(){
n
.
onerror
=
n
.
onload
=
null
,
clearTimeout
(
t
);
var
a
=
f
[
e
];
0
!==
a
&&
(
a
&&
a
[
1
](
new
Error
(
"Loading chunk "
+
e
+
" failed."
)),
f
[
e
]
=
void
0
)}
return
n
.
onerror
=
n
.
onload
=
r
,
d
.
appendChild
(
n
),
c
},
b
.
m
=
e
,
b
.
c
=
c
,
b
.
d
=
function
(
e
,
a
,
c
){
b
.
o
(
e
,
a
)
||
Object
.
defineProperty
(
e
,
a
,{
configurable
:
!
1
,
enumerable
:
!
0
,
get
:
c
})},
b
.
n
=
function
(
e
){
var
a
=
e
&&
e
.
__esModule
?
function
(){
return
e
.
default
}:
function
(){
return
e
};
return
b
.
d
(
a
,
"a"
,
a
),
a
},
b
.
o
=
function
(
e
,
a
){
return
Object
.
prototype
.
hasOwnProperty
.
call
(
e
,
a
)},
b
.
p
=
"https://static-cdn.changchangenglish.com/new-sing/"
,
b
.
oe
=
function
(
e
){
throw
e
}}([]);
\ No newline at end of file
!
function
(
e
){
var
c
=
window
.
webpackJsonp
;
window
.
webpackJsonp
=
function
(
a
,
b
,
n
){
for
(
var
t
,
r
,
o
,
i
=
0
,
u
=
[];
i
<
a
.
length
;
i
++
)
r
=
a
[
i
],
f
[
r
]
&&
u
.
push
(
f
[
r
][
0
]),
f
[
r
]
=
0
;
for
(
t
in
b
)
Object
.
prototype
.
hasOwnProperty
.
call
(
b
,
t
)
&&
(
e
[
t
]
=
b
[
t
]);
for
(
c
&&
c
(
a
,
b
,
n
);
u
.
length
;)
u
.
shift
()();
if
(
n
)
for
(
i
=
0
;
i
<
n
.
length
;
i
++
)
o
=
d
(
d
.
s
=
n
[
i
]);
return
o
};
var
a
=
{},
f
=
{
68
:
0
};
function
d
(
c
){
if
(
a
[
c
])
return
a
[
c
].
exports
;
var
f
=
a
[
c
]
=
{
i
:
c
,
l
:
!
1
,
exports
:{}};
return
e
[
c
].
call
(
f
.
exports
,
f
,
f
.
exports
,
d
),
f
.
l
=!
0
,
f
.
exports
}
d
.
e
=
function
(
e
){
var
c
=
f
[
e
];
if
(
0
===
c
)
return
new
Promise
(
function
(
e
){
e
()});
if
(
c
)
return
c
[
2
];
var
a
=
new
Promise
(
function
(
a
,
d
){
c
=
f
[
e
]
=
[
a
,
d
]});
c
[
2
]
=
a
;
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
:
"4c32bc423a8cfe2d0ff5"
,
1
:
"e629b0a42ac24031b057"
,
2
:
"4913a3c7cf59644223f4"
,
3
:
"16311961e0c59cc998b3"
,
4
:
"be216735a0b64ab3ce47"
,
5
:
"393578607b3aebf89ef0"
,
6
:
"710dfac41a4f1da60b36"
,
7
:
"80c5e00893b61183ab34"
,
8
:
"f14a4f1010dca6e5193e"
,
9
:
"059c7e45f34d8295df7b"
,
10
:
"829dd34a338a8876260e"
,
11
:
"d54a8e3a568fd71e91e0"
,
12
:
"b359078bc3d4851fb6cf"
,
13
:
"5f261ff92bd308d35b0a"
,
14
:
"9c5198bb984a34250e40"
,
15
:
"680770edee21a6988b29"
,
16
:
"4e2fde87d00b5159c374"
,
17
:
"a0f73eb864a9fa4e118f"
,
18
:
"61a1e5b0497e3ee138e4"
,
19
:
"101925298fb87c158dca"
,
20
:
"273b093d762342dc13e3"
,
21
:
"835b8f0010b7d50fae37"
,
22
:
"de7bba15b55985b31e42"
,
23
:
"b472f163f760b1c77d7a"
,
24
:
"549eeb0a889318a34e89"
,
25
:
"7c99189125c19acc26f4"
,
26
:
"0bcc8b19f145e79a3ed6"
,
27
:
"7b328662e6fd4798982b"
,
28
:
"00652dc08d949721ca64"
,
29
:
"32e4a5b2a25f88c34451"
,
30
:
"258cb6c3dd89fd6f6649"
,
31
:
"77fdc3c527048308b86e"
,
32
:
"2dff8b9a8317b3ee46df"
,
33
:
"bea9c27ee77e0d04f95a"
,
34
:
"30d52b0f77eb30590ac5"
,
35
:
"a516f2b5d645a4908ce9"
,
36
:
"5ab5240df93fe15c447e"
,
37
:
"c801122af386260a690a"
,
38
:
"c3d87252090be84edabd"
,
39
:
"886c3383b261524be947"
,
40
:
"15174c220598ff8dc8d8"
,
41
:
"3b59527515857f0c374e"
,
42
:
"e3a5350ac83edeede646"
,
43
:
"67a88603a7889f50a700"
,
44
:
"e425309e5d811dee70e5"
,
45
:
"cddcf5c6789bdadc900b"
,
46
:
"17ad6a93f9bde83665f9"
,
47
:
"16567b7ee6b462bae443"
,
48
:
"59ace6c90fdc04aadaf0"
,
49
:
"9b89ae75df502b1ea6f0"
,
50
:
"9ba5d108d438a4ec16d6"
,
51
:
"197b68e6bc331faa87ce"
,
52
:
"0656187e0a24fb0d10ce"
,
53
:
"e722b9b1c8823635085c"
,
54
:
"027bcbce5d0ff03697fb"
,
55
:
"eee5e26f247074851331"
,
56
:
"c1875a7d41d621d3035e"
,
57
:
"c9895d4f61a09c5a2000"
,
58
:
"d1e010a5dcc9365a522d"
,
59
:
"33b8a0527b9c7f40085c"
,
60
:
"ef0490fcf51d3911e2eb"
,
61
:
"ed23207466cb4a161618"
,
62
:
"f8ed8742b78575b29897"
,
63
:
"cd5655d32a2aec0c8752"
,
64
:
"17c522e0623f5ccbbcd6"
,
65
:
"4dbf6e5a2b902078ea89"
}[
e
]
+
".js"
;
var
t
=
setTimeout
(
r
,
12
e4
);
function
r
(){
n
.
onerror
=
n
.
onload
=
null
,
clearTimeout
(
t
);
var
c
=
f
[
e
];
0
!==
c
&&
(
c
&&
c
[
1
](
new
Error
(
"Loading chunk "
+
e
+
" failed."
)),
f
[
e
]
=
void
0
)}
return
n
.
onerror
=
n
.
onload
=
r
,
b
.
appendChild
(
n
),
a
},
d
.
m
=
e
,
d
.
c
=
a
,
d
.
d
=
function
(
e
,
c
,
a
){
d
.
o
(
e
,
c
)
||
Object
.
defineProperty
(
e
,
c
,{
configurable
:
!
1
,
enumerable
:
!
0
,
get
:
a
})},
d
.
n
=
function
(
e
){
var
c
=
e
&&
e
.
__esModule
?
function
(){
return
e
.
default
}:
function
(){
return
e
};
return
d
.
d
(
c
,
"a"
,
c
),
c
},
d
.
o
=
function
(
e
,
c
){
return
Object
.
prototype
.
hasOwnProperty
.
call
(
e
,
c
)},
d
.
p
=
"https://static-cdn.changchangenglish.com/new-sing/"
,
d
.
oe
=
function
(
e
){
throw
e
}}([]);
\ No newline at end of file
src/components/punchTheClock/index.vue
View file @
f739834f
...
...
@@ -395,7 +395,7 @@
if
(
this
.
lastValue
>=
10
)
{
getNewCashApi
(
this
.
modelData
.
ele_id
,
this
.
modelData
.
id
,
this
.
modelData
.
periods_id
,
getCardGoData
).
then
(
res
=>
{
this
.
tishi
=
true
setTimeout
(()
=>
{
this
.
tishi
=
false
},
1500
)
setTimeout
(()
=>
{
this
.
tishi
=
false
,
this
.
punchClockModel
=
false
},
1500
)
document
.
querySelectorAll
(
'.get-stars-btn'
)[
0
].
style
.
display
=
'none'
;
this
.
lastValue
=
this
.
lastValue
-
10
this
.
modelData
.
tishi
=
`补卡:消耗10星星补卡1次,当前共有
${
this
.
lastValue
}
颗星星`
...
...
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