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
22391f78
Commit
22391f78
authored
Sep 27, 2019
by
IvyXia123
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
打卡返现
parent
2c70ff1c
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
11 additions
and
11 deletions
+11
-11
index.html
dist/index.html
+1
-1
28.067add46437a2e2e8971.js
dist/static/js/28.067add46437a2e2e8971.js
+1
-1
manifest.12901add9c478444b0e1.js
dist/static/js/manifest.12901add9c478444b0e1.js
+1
-1
index.vue
src/components/punchTheClock/index.vue
+8
-8
No files found.
dist/index.html
View file @
22391f78
...
...
@@ -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.58302118e641460872dd.js
></script><script
type=
text/javascript
src=
static/js/vendor.0c1d6ebbba685002d59c.js
></script><script
type=
text/javascript
src=
static/js/app.1c673c4c9527b05468f3.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.12901add9c478444b0e1.js
></script><script
type=
text/javascript
src=
static/js/vendor.0c1d6ebbba685002d59c.js
></script><script
type=
text/javascript
src=
static/js/app.1c673c4c9527b05468f3.js
></script></body></html>
\ No newline at end of file
dist/static/js/28.
2226c0e85b8fa2ce548c
.js
→
dist/static/js/28.
067add46437a2e2e8971
.js
View file @
22391f78
This source diff could not be displayed because it is too large. You can
view the blob
instead.
dist/static/js/manifest.
58302118e641460872dd
.js
→
dist/static/js/manifest.
12901add9c478444b0e1
.js
View file @
22391f78
!
function
(
e
){
var
f
=
window
.
webpackJsonp
;
window
.
webpackJsonp
=
function
(
a
,
d
,
n
){
for
(
var
r
,
t
,
o
,
i
=
0
,
u
=
[];
i
<
a
.
length
;
i
++
)
t
=
a
[
i
],
c
[
t
]
&&
u
.
push
(
c
[
t
][
0
]),
c
[
t
]
=
0
;
for
(
r
in
d
)
Object
.
prototype
.
hasOwnProperty
.
call
(
d
,
r
)
&&
(
e
[
r
]
=
d
[
r
]);
for
(
f
&&
f
(
a
,
d
,
n
);
u
.
length
;)
u
.
shift
()();
if
(
n
)
for
(
i
=
0
;
i
<
n
.
length
;
i
++
)
o
=
b
(
b
.
s
=
n
[
i
]);
return
o
};
var
a
=
{},
c
=
{
69
:
0
};
function
b
(
f
){
if
(
a
[
f
])
return
a
[
f
].
exports
;
var
c
=
a
[
f
]
=
{
i
:
f
,
l
:
!
1
,
exports
:{}};
return
e
[
f
].
call
(
c
.
exports
,
c
,
c
.
exports
,
b
),
c
.
l
=!
0
,
c
.
exports
}
b
.
e
=
function
(
e
){
var
f
=
c
[
e
];
if
(
0
===
f
)
return
new
Promise
(
function
(
e
){
e
()});
if
(
f
)
return
f
[
2
];
var
a
=
new
Promise
(
function
(
a
,
b
){
f
=
c
[
e
]
=
[
a
,
b
]});
f
[
2
]
=
a
;
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
:
"ae6d2eb4f06f9106a0ee"
,
1
:
"8d5852f2ec9ad4d5ee85"
,
2
:
"6fc3fd4f87b5f4fd1a3f"
,
3
:
"2b59635fbca51370a3b9"
,
4
:
"aa3f49b3c3e5f1772157"
,
5
:
"def8f4d8646672b08ed7"
,
6
:
"902c1ac874941b0dd409"
,
7
:
"edbd5b600984987cf3ba"
,
8
:
"27ebe98fd09ac8d0b165"
,
9
:
"ee87105b48f64b787127"
,
10
:
"578b6bc67d58dc820b09"
,
11
:
"7fbe7d622dd09d926d62"
,
12
:
"bcd5e8f1318bb3c79e8d"
,
13
:
"b01b98d68e1fa7d2364f"
,
14
:
"d411dd43f6f87ec93d9f"
,
15
:
"b7be808bd16c3c2b27de"
,
16
:
"31a81e9a84fff14ea15a"
,
17
:
"8be5a5f18a06a704996e"
,
18
:
"2af804e8cbf10128cd98"
,
19
:
"3465ee66a06d6a2976a0"
,
20
:
"b9ef4345e91aef98aeab"
,
21
:
"e07095365ce1beacb006"
,
22
:
"b561ae9eecfbbafededb"
,
23
:
"6027e15d466465201cf5"
,
24
:
"66115b335ef36e664560"
,
25
:
"893d97c0c3bfc70d5efe"
,
26
:
"0be4571ab390eb999425"
,
27
:
"8ee0be7fbb0fb087db54"
,
28
:
"2226c0e85b8fa2ce548c"
,
29
:
"4a16aa6c537eeef551a8"
,
30
:
"2272497b4ac6f7f9d683"
,
31
:
"496a4f1feee35020b28e"
,
32
:
"2fe57e5391faf7679e88"
,
33
:
"23d58fac9b8c404b3188"
,
34
:
"4b8b51094caa00ff9b1c"
,
35
:
"f02b529bcd0f44cb0d63"
,
36
:
"06ed863f8aa3d15b0c68"
,
37
:
"813b04277d4a12e809a4"
,
38
:
"3ca2090614a86bd3d8df"
,
39
:
"a4a12d5e85d54caccf7c"
,
40
:
"ff3778361e9c6e46fe3d"
,
41
:
"441276f0ad5e7f00212d"
,
42
:
"71228043e13acf59dc5c"
,
43
:
"258c5a2a0219e06992af"
,
44
:
"bb2ae7a02495e20df4c8"
,
45
:
"d55c8bbbb2bd98e7c07a"
,
46
:
"27ea399e0901f7ab807f"
,
47
:
"f979126ad198aa677456"
,
48
:
"3a715ff2fe5ab9ac84f8"
,
49
:
"5e454442d7bf0135d9ef"
,
50
:
"fb4ef93cfadffac2e7b0"
,
51
:
"005a161e611e7c8a6810"
,
52
:
"76d2f64279f977b68354"
,
53
:
"7c84d0c3360d9f1faf71"
,
54
:
"3e441ce6f21d3020c5ba"
,
55
:
"6c8d1ac585f3c5feaf1d"
,
56
:
"7c31d35771a1304c0694"
,
57
:
"3f35c830362905640c11"
,
58
:
"de878d75a83684169295"
,
59
:
"c5bb7e2ee330bcffa04d"
,
60
:
"e197d19bcfe7fcc6ed05"
,
61
:
"253b4ccb0686ebc6fa49"
,
62
:
"64d908b6b439898533ec"
,
63
:
"f6ff62d24eb5ce25ba96"
,
64
:
"caf94f2c30470c5b5010"
,
65
:
"bdf70254fb0baae6b437"
,
66
:
"d29a08ade6bda9eed6a6"
}[
e
]
+
".js"
;
var
r
=
setTimeout
(
t
,
12
e4
);
function
t
(){
n
.
onerror
=
n
.
onload
=
null
,
clearTimeout
(
r
);
var
f
=
c
[
e
];
0
!==
f
&&
(
f
&&
f
[
1
](
new
Error
(
"Loading chunk "
+
e
+
" failed."
)),
c
[
e
]
=
void
0
)}
return
n
.
onerror
=
n
.
onload
=
t
,
d
.
appendChild
(
n
),
a
},
b
.
m
=
e
,
b
.
c
=
a
,
b
.
d
=
function
(
e
,
f
,
a
){
b
.
o
(
e
,
f
)
||
Object
.
defineProperty
(
e
,
f
,{
configurable
:
!
1
,
enumerable
:
!
0
,
get
:
a
})},
b
.
n
=
function
(
e
){
var
f
=
e
&&
e
.
__esModule
?
function
(){
return
e
.
default
}:
function
(){
return
e
};
return
b
.
d
(
f
,
"a"
,
f
),
f
},
b
.
o
=
function
(
e
,
f
){
return
Object
.
prototype
.
hasOwnProperty
.
call
(
e
,
f
)},
b
.
p
=
""
,
b
.
oe
=
function
(
e
){
throw
console
.
error
(
e
),
e
}}([]);
\ No newline at end of file
!
function
(
e
){
var
f
=
window
.
webpackJsonp
;
window
.
webpackJsonp
=
function
(
a
,
b
,
n
){
for
(
var
r
,
t
,
o
,
i
=
0
,
u
=
[];
i
<
a
.
length
;
i
++
)
t
=
a
[
i
],
c
[
t
]
&&
u
.
push
(
c
[
t
][
0
]),
c
[
t
]
=
0
;
for
(
r
in
b
)
Object
.
prototype
.
hasOwnProperty
.
call
(
b
,
r
)
&&
(
e
[
r
]
=
b
[
r
]);
for
(
f
&&
f
(
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
=
{},
c
=
{
69
:
0
};
function
d
(
f
){
if
(
a
[
f
])
return
a
[
f
].
exports
;
var
c
=
a
[
f
]
=
{
i
:
f
,
l
:
!
1
,
exports
:{}};
return
e
[
f
].
call
(
c
.
exports
,
c
,
c
.
exports
,
d
),
c
.
l
=!
0
,
c
.
exports
}
d
.
e
=
function
(
e
){
var
f
=
c
[
e
];
if
(
0
===
f
)
return
new
Promise
(
function
(
e
){
e
()});
if
(
f
)
return
f
[
2
];
var
a
=
new
Promise
(
function
(
a
,
d
){
f
=
c
[
e
]
=
[
a
,
d
]});
f
[
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
:
"ae6d2eb4f06f9106a0ee"
,
1
:
"8d5852f2ec9ad4d5ee85"
,
2
:
"6fc3fd4f87b5f4fd1a3f"
,
3
:
"2b59635fbca51370a3b9"
,
4
:
"aa3f49b3c3e5f1772157"
,
5
:
"def8f4d8646672b08ed7"
,
6
:
"902c1ac874941b0dd409"
,
7
:
"edbd5b600984987cf3ba"
,
8
:
"27ebe98fd09ac8d0b165"
,
9
:
"ee87105b48f64b787127"
,
10
:
"578b6bc67d58dc820b09"
,
11
:
"7fbe7d622dd09d926d62"
,
12
:
"bcd5e8f1318bb3c79e8d"
,
13
:
"b01b98d68e1fa7d2364f"
,
14
:
"d411dd43f6f87ec93d9f"
,
15
:
"b7be808bd16c3c2b27de"
,
16
:
"31a81e9a84fff14ea15a"
,
17
:
"8be5a5f18a06a704996e"
,
18
:
"2af804e8cbf10128cd98"
,
19
:
"3465ee66a06d6a2976a0"
,
20
:
"b9ef4345e91aef98aeab"
,
21
:
"e07095365ce1beacb006"
,
22
:
"b561ae9eecfbbafededb"
,
23
:
"6027e15d466465201cf5"
,
24
:
"66115b335ef36e664560"
,
25
:
"893d97c0c3bfc70d5efe"
,
26
:
"0be4571ab390eb999425"
,
27
:
"8ee0be7fbb0fb087db54"
,
28
:
"067add46437a2e2e8971"
,
29
:
"4a16aa6c537eeef551a8"
,
30
:
"2272497b4ac6f7f9d683"
,
31
:
"496a4f1feee35020b28e"
,
32
:
"2fe57e5391faf7679e88"
,
33
:
"23d58fac9b8c404b3188"
,
34
:
"4b8b51094caa00ff9b1c"
,
35
:
"f02b529bcd0f44cb0d63"
,
36
:
"06ed863f8aa3d15b0c68"
,
37
:
"813b04277d4a12e809a4"
,
38
:
"3ca2090614a86bd3d8df"
,
39
:
"a4a12d5e85d54caccf7c"
,
40
:
"ff3778361e9c6e46fe3d"
,
41
:
"441276f0ad5e7f00212d"
,
42
:
"71228043e13acf59dc5c"
,
43
:
"258c5a2a0219e06992af"
,
44
:
"bb2ae7a02495e20df4c8"
,
45
:
"d55c8bbbb2bd98e7c07a"
,
46
:
"27ea399e0901f7ab807f"
,
47
:
"f979126ad198aa677456"
,
48
:
"3a715ff2fe5ab9ac84f8"
,
49
:
"5e454442d7bf0135d9ef"
,
50
:
"fb4ef93cfadffac2e7b0"
,
51
:
"005a161e611e7c8a6810"
,
52
:
"76d2f64279f977b68354"
,
53
:
"7c84d0c3360d9f1faf71"
,
54
:
"3e441ce6f21d3020c5ba"
,
55
:
"6c8d1ac585f3c5feaf1d"
,
56
:
"7c31d35771a1304c0694"
,
57
:
"3f35c830362905640c11"
,
58
:
"de878d75a83684169295"
,
59
:
"c5bb7e2ee330bcffa04d"
,
60
:
"e197d19bcfe7fcc6ed05"
,
61
:
"253b4ccb0686ebc6fa49"
,
62
:
"64d908b6b439898533ec"
,
63
:
"f6ff62d24eb5ce25ba96"
,
64
:
"caf94f2c30470c5b5010"
,
65
:
"bdf70254fb0baae6b437"
,
66
:
"d29a08ade6bda9eed6a6"
}[
e
]
+
".js"
;
var
r
=
setTimeout
(
t
,
12
e4
);
function
t
(){
n
.
onerror
=
n
.
onload
=
null
,
clearTimeout
(
r
);
var
f
=
c
[
e
];
0
!==
f
&&
(
f
&&
f
[
1
](
new
Error
(
"Loading chunk "
+
e
+
" failed."
)),
c
[
e
]
=
void
0
)}
return
n
.
onerror
=
n
.
onload
=
t
,
b
.
appendChild
(
n
),
a
},
d
.
m
=
e
,
d
.
c
=
a
,
d
.
d
=
function
(
e
,
f
,
a
){
d
.
o
(
e
,
f
)
||
Object
.
defineProperty
(
e
,
f
,{
configurable
:
!
1
,
enumerable
:
!
0
,
get
:
a
})},
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
=
""
,
d
.
oe
=
function
(
e
){
throw
console
.
error
(
e
),
e
}}([]);
\ No newline at end of file
src/components/punchTheClock/index.vue
View file @
22391f78
...
...
@@ -152,7 +152,7 @@
<img
:src=
"punchTheClock.xiaolian"
alt=
""
>
</div>
<div
class=
"text"
>
恭喜你补卡成功啦~
</div>
<div
class=
"text"
>
-
2
0颗星星
</div>
<div
class=
"text"
>
-
1
0颗星星
</div>
</div>
<div
class=
"x-code"
>
<img
:src=
"punchTheClock.x"
alt=
""
>
...
...
@@ -168,7 +168,7 @@
</div>
<div
class=
"title-text"
>
{{
modelData
.
tishi
}}
</div>
<!-- 积分获取规则 -->
<div
class=
"get-stars"
v-if=
"status === 3 && lastValue
<
=
2
0
"
>
<div
class=
"get-stars"
v-if=
"status === 3 && lastValue
<
=
1
0
"
>
<div
class=
"get-stars-content"
>
<div
class=
"get-stars-text"
>
当前星星不足补卡哦,如何获得更多星星?
</div>
<div
class=
"get-stars-text get-stars-text-con"
>
...
...
@@ -183,7 +183,7 @@
</div>
</div>
<!-- 按钮点击 -->
<div
:class=
"['get-stars-btn',
{'get-stars-btn-clo' : status === 3
&&
lastValue
<
=
2
0
}]"
v-if=
"status !== 4"
@
click
.
stop=
"modelDataClick(modelData, typeStatus)"
>
<div
:class=
"['get-stars-btn',
{'get-stars-btn-clo' : status === 3
&&
lastValue
<
=
1
0
}]"
v-if=
"status !== 4"
@
click
.
stop=
"modelDataClick(modelData, typeStatus)"
>
{{
status
===
2
?
(
goWhere
==
1
?
'去学习'
:
'去提交'
)
:
status
===
3
?
'去补卡'
:
''
}}
</div>
</div>
...
...
@@ -204,7 +204,7 @@
</div>
<div
class=
"rule-content-list"
>
<span
class=
"title"
>
3.活动规则:
</span><br
/>
<span
class=
"con"
>
需在课程开课日完成当日课程的学习卡和成长卡。学完当日课程即可完成学习卡。提交学习记录即可完成成长卡。如延期完成,需消耗星星进行补卡。每
2
0颗星星可补一张待补卡卡片。
</span>
<span
class=
"con"
>
需在课程开课日完成当日课程的学习卡和成长卡。学完当日课程即可完成学习卡。提交学习记录即可完成成长卡。如延期完成,需消耗星星进行补卡。每
1
0颗星星可补一张待补卡卡片。
</span>
</div>
<div
class=
"rule-content-list"
>
<span
class=
"title"
>
4.如何补卡?
</span><br
/>
...
...
@@ -361,7 +361,7 @@
if
(
document
.
querySelectorAll
(
'.get-stars-btn'
)[
0
])
document
.
querySelectorAll
(
'.get-stars-btn'
)[
0
].
style
.
display
=
'block'
;
// 提示信息
this
.
modelData
.
tishi
=
status
===
2
?
'提示:学习卡与作业卡需在开课日完成哦,如延期完成,需消耗星星补卡'
:
status
===
3
?
`补卡:消耗
2
0星星补卡1次,当前共有
${
this
.
lastValue
}
颗星星`
:
''
this
.
modelData
.
tishi
=
status
===
2
?
'提示:学习卡与作业卡需在开课日完成哦,如延期完成,需消耗星星补卡'
:
status
===
3
?
`补卡:消耗
1
0星星补卡1次,当前共有
${
this
.
lastValue
}
颗星星`
:
''
this
.
punchClockModel
=
true
;
}
else
{
Toast
(
"活动已结束,谢谢参与~"
);
...
...
@@ -392,13 +392,13 @@
}
}
else
if
(
this
.
status
===
3
)
{
// 待不卡--补卡
if
(
this
.
lastValue
>=
2
0
)
{
if
(
this
.
lastValue
>=
1
0
)
{
getNewCashApi
(
this
.
modelData
.
ele_id
,
this
.
modelData
.
id
,
this
.
modelData
.
periods_id
,
getCardGoData
).
then
(
res
=>
{
this
.
tishi
=
true
setTimeout
(()
=>
{
this
.
tishi
=
false
},
1500
)
document
.
querySelectorAll
(
'.get-stars-btn'
)[
0
].
style
.
display
=
'none'
;
this
.
lastValue
=
this
.
lastValue
-
2
0
this
.
modelData
.
tishi
=
`补卡:消耗
2
0星星补卡1次,当前共有
${
this
.
lastValue
}
颗星星`
this
.
lastValue
=
this
.
lastValue
-
1
0
this
.
modelData
.
tishi
=
`补卡:消耗
1
0星星补卡1次,当前共有
${
this
.
lastValue
}
颗星星`
this
.
returnCash
(
2
)
})
}
...
...
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