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
ac626639
Commit
ac626639
authored
Sep 23, 2019
by
IvyXia123
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
时间提交
parent
d21c840a
Changes
5
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
9 additions
and
8 deletions
+9
-8
index.html
dist/index.html
+1
-1
28.6b8c1eefe6f8a37955ca.js
dist/static/js/28.6b8c1eefe6f8a37955ca.js
+0
-1
28.d51c211bc5ca2ebe7d56.js
dist/static/js/28.d51c211bc5ca2ebe7d56.js
+1
-0
manifest.e2201dc925a7ae40e939.js
dist/static/js/manifest.e2201dc925a7ae40e939.js
+1
-1
index.vue
src/components/punchTheClock/index.vue
+6
-5
No files found.
dist/index.html
View file @
ac626639
...
...
@@ -11,4 +11,4 @@
position
:
fixed
;
background
:
#f4f4f4
;
}
/* html{font-size: 1px;} */
</style><link
href=
static/css/app.f983055a19b69eb54137ee36031e8a72.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=
static/js/manifest.3ffdf988c5e2d39ad54a.js
></script><script
type=
text/javascript
src=
static/js/vendor.5af9774cd57a16d7dc8b.js
></script><script
type=
text/javascript
src=
static/js/app.c8d3f902cae0be2f741c.js
></script></body></html>
\ No newline at end of file
/* html{font-size: 1px;} */
</style><link
href=
static/css/app.f983055a19b69eb54137ee36031e8a72.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=
static/js/manifest.e2201dc925a7ae40e939.js
></script><script
type=
text/javascript
src=
static/js/vendor.5af9774cd57a16d7dc8b.js
></script><script
type=
text/javascript
src=
static/js/app.c8d3f902cae0be2f741c.js
></script></body></html>
\ No newline at end of file
dist/static/js/28.6b8c1eefe6f8a37955ca.js
deleted
100644 → 0
View file @
d21c840a
This diff is collapsed.
Click to expand it.
dist/static/js/28.d51c211bc5ca2ebe7d56.js
0 → 100644
View file @
ac626639
This diff is collapsed.
Click to expand it.
dist/static/js/manifest.
3ffdf988c5e2d39ad54a
.js
→
dist/static/js/manifest.
e2201dc925a7ae40e939
.js
View file @
ac626639
!
function
(
e
){
var
a
=
window
.
webpackJsonp
;
window
.
webpackJsonp
=
function
(
c
,
b
,
n
){
for
(
var
r
,
t
,
o
,
i
=
0
,
u
=
[];
i
<
c
.
length
;
i
++
)
t
=
c
[
i
],
f
[
t
]
&&
u
.
push
(
f
[
t
][
0
]),
f
[
t
]
=
0
;
for
(
r
in
b
)
Object
.
prototype
.
hasOwnProperty
.
call
(
b
,
r
)
&&
(
e
[
r
]
=
b
[
r
]);
for
(
a
&&
a
(
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
=
{},
f
=
{
68
:
0
};
function
d
(
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
,
d
),
f
.
l
=!
0
,
f
.
exports
}
d
.
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
,
d
){
a
=
f
[
e
]
=
[
c
,
d
]});
a
[
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
:
"911a2da21de8df19a623"
,
1
:
"fee736f1a3993274094b"
,
2
:
"9225a7c8d576a55d61ec"
,
3
:
"5594a755053eb165da3c"
,
4
:
"bb98337b5d40e1ae6d54"
,
5
:
"61b4d837ac5b14c75528"
,
6
:
"b683dcb862759aa682f1"
,
7
:
"1e556875e1bf6aa9c6b7"
,
8
:
"a12c0a2b1ddffb9b39d3"
,
9
:
"0e8b0d9c6095ddf14112"
,
10
:
"00d7afa53181bcf56c9a"
,
11
:
"cecf792661a32a1a0339"
,
12
:
"380e4552da4c35a2e935"
,
13
:
"e89ba2e79971dbad8724"
,
14
:
"efa5df34c15627ff9a9f"
,
15
:
"c2d24bfdd6c9e9f10470"
,
16
:
"14995320a1e7474d4093"
,
17
:
"725fde1924e908cb6b30"
,
18
:
"56e0be46e4174e2697e8"
,
19
:
"498058f9c32fcf30551d"
,
20
:
"54a84b54d5944faf9156"
,
21
:
"c73c81cf3f823209d553"
,
22
:
"959e7181712bf43a1ea1"
,
23
:
"6027e15d466465201cf5"
,
24
:
"66115b335ef36e664560"
,
25
:
"909f43c609352a10d705"
,
26
:
"087acaaccc58e8a3a391"
,
27
:
"8ee0be7fbb0fb087db54"
,
28
:
"6b8c1eefe6f8a37955ca"
,
29
:
"297903841c39562793f6"
,
30
:
"9fe2ba4ed3d098c99f64"
,
31
:
"496a4f1feee35020b28e"
,
32
:
"9b60bd12f549b0cf9560"
,
33
:
"cd0550b6a3272be00c97"
,
34
:
"ac3544e265b8bf6336fc"
,
35
:
"0a3efc02a8dac2584121"
,
36
:
"59302d272357b6b9fdab"
,
37
:
"2ea5b995a647a8f202b8"
,
38
:
"f709dbdb0c15d6afca61"
,
39
:
"04b3397e8f6926629967"
,
40
:
"ff3778361e9c6e46fe3d"
,
41
:
"0d143bfe82c865a81421"
,
42
:
"779ead4e4777560ab21f"
,
43
:
"e94c35882e203938cece"
,
44
:
"ea020ac40019f7fc209a"
,
45
:
"8cfbe60b4737e497624f"
,
46
:
"0ce6b506d90e9c69b0d6"
,
47
:
"36ebe1613cb961d3b75a"
,
48
:
"a0f24071ee52a1d66406"
,
49
:
"4c09a9dff13d7bc1c083"
,
50
:
"5c01d810d0f9f67026ca"
,
51
:
"fd9a0b22c96b0e4564fa"
,
52
:
"0ee7ae890e4fcca895e3"
,
53
:
"a6010aeebd5fbde2582c"
,
54
:
"6b792ec4a32901312c88"
,
55
:
"d39ec287d80caba93846"
,
56
:
"8845249be04a11188470"
,
57
:
"d2999bf942fb449f5a2b"
,
58
:
"761e0bd77767b7a2f1a3"
,
59
:
"d4d6559296d85e814076"
,
60
:
"b2347d1f621376484d2a"
,
61
:
"bacd7e95d517cf538590"
,
62
:
"c76ad08ef30a62868ec5"
,
63
:
"557e137c7b8fe2ac6cd8"
,
64
:
"90674e4ddec138e7a53d"
,
65
:
"b743a3660298e39b9df2"
}[
e
]
+
".js"
;
var
r
=
setTimeout
(
t
,
12
e4
);
function
t
(){
n
.
onerror
=
n
.
onload
=
null
,
clearTimeout
(
r
);
var
a
=
f
[
e
];
0
!==
a
&&
(
a
&&
a
[
1
](
new
Error
(
"Loading chunk "
+
e
+
" failed."
)),
f
[
e
]
=
void
0
)}
return
n
.
onerror
=
n
.
onload
=
t
,
b
.
appendChild
(
n
),
c
},
d
.
m
=
e
,
d
.
c
=
c
,
d
.
d
=
function
(
e
,
a
,
c
){
d
.
o
(
e
,
a
)
||
Object
.
defineProperty
(
e
,
a
,{
configurable
:
!
1
,
enumerable
:
!
0
,
get
:
c
})},
d
.
n
=
function
(
e
){
var
a
=
e
&&
e
.
__esModule
?
function
(){
return
e
.
default
}:
function
(){
return
e
};
return
d
.
d
(
a
,
"a"
,
a
),
a
},
d
.
o
=
function
(
e
,
a
){
return
Object
.
prototype
.
hasOwnProperty
.
call
(
e
,
a
)},
d
.
p
=
""
,
d
.
oe
=
function
(
e
){
throw
console
.
error
(
e
),
e
}}([]);
\ No newline at end of file
!
function
(
e
){
var
a
=
window
.
webpackJsonp
;
window
.
webpackJsonp
=
function
(
c
,
b
,
n
){
for
(
var
r
,
t
,
o
,
i
=
0
,
u
=
[];
i
<
c
.
length
;
i
++
)
t
=
c
[
i
],
f
[
t
]
&&
u
.
push
(
f
[
t
][
0
]),
f
[
t
]
=
0
;
for
(
r
in
b
)
Object
.
prototype
.
hasOwnProperty
.
call
(
b
,
r
)
&&
(
e
[
r
]
=
b
[
r
]);
for
(
a
&&
a
(
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
=
{},
f
=
{
68
:
0
};
function
d
(
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
,
d
),
f
.
l
=!
0
,
f
.
exports
}
d
.
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
,
d
){
a
=
f
[
e
]
=
[
c
,
d
]});
a
[
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
:
"911a2da21de8df19a623"
,
1
:
"fee736f1a3993274094b"
,
2
:
"9225a7c8d576a55d61ec"
,
3
:
"5594a755053eb165da3c"
,
4
:
"bb98337b5d40e1ae6d54"
,
5
:
"61b4d837ac5b14c75528"
,
6
:
"b683dcb862759aa682f1"
,
7
:
"1e556875e1bf6aa9c6b7"
,
8
:
"a12c0a2b1ddffb9b39d3"
,
9
:
"0e8b0d9c6095ddf14112"
,
10
:
"00d7afa53181bcf56c9a"
,
11
:
"cecf792661a32a1a0339"
,
12
:
"380e4552da4c35a2e935"
,
13
:
"e89ba2e79971dbad8724"
,
14
:
"efa5df34c15627ff9a9f"
,
15
:
"c2d24bfdd6c9e9f10470"
,
16
:
"14995320a1e7474d4093"
,
17
:
"725fde1924e908cb6b30"
,
18
:
"56e0be46e4174e2697e8"
,
19
:
"498058f9c32fcf30551d"
,
20
:
"54a84b54d5944faf9156"
,
21
:
"c73c81cf3f823209d553"
,
22
:
"959e7181712bf43a1ea1"
,
23
:
"6027e15d466465201cf5"
,
24
:
"66115b335ef36e664560"
,
25
:
"909f43c609352a10d705"
,
26
:
"087acaaccc58e8a3a391"
,
27
:
"8ee0be7fbb0fb087db54"
,
28
:
"d51c211bc5ca2ebe7d56"
,
29
:
"297903841c39562793f6"
,
30
:
"9fe2ba4ed3d098c99f64"
,
31
:
"496a4f1feee35020b28e"
,
32
:
"9b60bd12f549b0cf9560"
,
33
:
"cd0550b6a3272be00c97"
,
34
:
"ac3544e265b8bf6336fc"
,
35
:
"0a3efc02a8dac2584121"
,
36
:
"59302d272357b6b9fdab"
,
37
:
"2ea5b995a647a8f202b8"
,
38
:
"f709dbdb0c15d6afca61"
,
39
:
"04b3397e8f6926629967"
,
40
:
"ff3778361e9c6e46fe3d"
,
41
:
"0d143bfe82c865a81421"
,
42
:
"779ead4e4777560ab21f"
,
43
:
"e94c35882e203938cece"
,
44
:
"ea020ac40019f7fc209a"
,
45
:
"8cfbe60b4737e497624f"
,
46
:
"0ce6b506d90e9c69b0d6"
,
47
:
"36ebe1613cb961d3b75a"
,
48
:
"a0f24071ee52a1d66406"
,
49
:
"4c09a9dff13d7bc1c083"
,
50
:
"5c01d810d0f9f67026ca"
,
51
:
"fd9a0b22c96b0e4564fa"
,
52
:
"0ee7ae890e4fcca895e3"
,
53
:
"a6010aeebd5fbde2582c"
,
54
:
"6b792ec4a32901312c88"
,
55
:
"d39ec287d80caba93846"
,
56
:
"8845249be04a11188470"
,
57
:
"d2999bf942fb449f5a2b"
,
58
:
"761e0bd77767b7a2f1a3"
,
59
:
"d4d6559296d85e814076"
,
60
:
"b2347d1f621376484d2a"
,
61
:
"bacd7e95d517cf538590"
,
62
:
"c76ad08ef30a62868ec5"
,
63
:
"557e137c7b8fe2ac6cd8"
,
64
:
"90674e4ddec138e7a53d"
,
65
:
"b743a3660298e39b9df2"
}[
e
]
+
".js"
;
var
r
=
setTimeout
(
t
,
12
e4
);
function
t
(){
n
.
onerror
=
n
.
onload
=
null
,
clearTimeout
(
r
);
var
a
=
f
[
e
];
0
!==
a
&&
(
a
&&
a
[
1
](
new
Error
(
"Loading chunk "
+
e
+
" failed."
)),
f
[
e
]
=
void
0
)}
return
n
.
onerror
=
n
.
onload
=
t
,
b
.
appendChild
(
n
),
c
},
d
.
m
=
e
,
d
.
c
=
c
,
d
.
d
=
function
(
e
,
a
,
c
){
d
.
o
(
e
,
a
)
||
Object
.
defineProperty
(
e
,
a
,{
configurable
:
!
1
,
enumerable
:
!
0
,
get
:
c
})},
d
.
n
=
function
(
e
){
var
a
=
e
&&
e
.
__esModule
?
function
(){
return
e
.
default
}:
function
(){
return
e
};
return
d
.
d
(
a
,
"a"
,
a
),
a
},
d
.
o
=
function
(
e
,
a
){
return
Object
.
prototype
.
hasOwnProperty
.
call
(
e
,
a
)},
d
.
p
=
""
,
d
.
oe
=
function
(
e
){
throw
console
.
error
(
e
),
e
}}([]);
\ No newline at end of file
src/components/punchTheClock/index.vue
View file @
ac626639
...
...
@@ -72,13 +72,13 @@
<div
class=
"small-title"
>
{{
item
.
sub_title
}}
</div>
<div
class=
"title"
>
{{
item
.
name
.
split
(
' '
)[
0
]
+
' '
+
item
.
name
.
split
(
' '
)[
1
]
}}
</div>
</div>
<div
class=
"punch-card-today"
@
click=
"punchCardClick(index, item.status, item.type)"
>
<div
class=
"punch-card-today"
@
click=
"punchCardClick(index, item.status, item.type
, 9
)"
>
<div
class=
"punch-card-today-learning"
>
<img
:src=
"item.status === 1 ? punchTheClock.kaike_xuexi : item.status === 2 ? punchTheClock.daiwanc : item.status === 3 ? punchTheClock.buka_xuexi : punchTheClock.dakawancheng"
alt=
""
>
</div>
<div
class=
"punch-card-today-xuexila"
>
学习卡
</div>
</div>
<div
class=
"punch-card-today"
@
click=
"punchCardClick(index, item.status, item.type1)"
>
<div
class=
"punch-card-today"
@
click=
"punchCardClick(index, item.status, item.type1
, 9
)"
>
<div
class=
"punch-card-today-learning"
>
<img
:src=
"item.status === 1 ? punchTheClock.kaike_chengz : item.status === 2 ? punchTheClock.daiwanChangz : item.status === 3 ? punchTheClock.buka_changz : punchTheClock.wanchengChengz"
alt=
""
>
</div>
...
...
@@ -325,13 +325,15 @@
* @param index { number }
* @param status { number }
* @param type { number }
* @param state { number }
*/
punchCardClick
(
index
,
status
,
type
)
{
punchCardClick
(
index
,
status
,
type
,
state
)
{
this
.
status
=
status
;
this
.
typeStatus
=
type
;
this
.
ruleShow
=
0
;
if
(
status
!==
1
)
{
this
.
modelData
=
this
.
punchCardData
[
index
];
// 今日和其他课程切换
this
.
modelData
=
state
===
9
?
this
.
todayData
[
index
]
:
this
.
punchCardData
[
index
]
// 课节
this
.
modelData
.
aName
=
this
.
modelData
.
name
.
split
(
' '
)[
0
]
+
' '
+
this
.
modelData
.
name
.
split
(
' '
)[
1
];
// 状态展示
...
...
@@ -358,7 +360,6 @@
// 提示信息
this
.
modelData
.
tishi
=
status
===
2
?
'提示:学习卡与作业卡需在开课日完成哦,如延期完成,需消耗星星补卡'
:
status
===
3
?
`补卡:消耗20星星补卡1次,当前共有
${
this
.
lastValue
}
颗星星`
:
''
this
.
punchClockModel
=
true
;
console
.
log
(
this
.
modelData
)
}
else
{
Toast
(
"您还未开课,请先去开课"
);
}
...
...
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