Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
W
WX_h5
Project
Project
Details
Activity
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
godwithdh
WX_h5
Commits
7333ec5a
Commit
7333ec5a
authored
Feb 06, 2020
by
godwithdh
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
health
parent
ffe39c2a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
55 additions
and
3 deletions
+55
-3
index.js
src/router/index.js
+1
-1
punchClock.vue
src/view/healthCard/punchClock.vue
+54
-2
No files found.
src/router/index.js
View file @
7333ec5a
...
...
@@ -354,7 +354,7 @@ let tipRoutes = [
path
:
"/healthCard/punchClock"
,
name
:
"punchClock"
,
component
:()
=>
import
(
"@/view/healthCard/punchClock.vue"
),
met
h
:{
met
a
:{
title
:
"打卡列表"
}
}
...
...
src/view/healthCard/punchClock.vue
View file @
7333ec5a
<
style
lang=
"less"
>
#punchClock{
>.days{
display: flex;
justify-content: space-between;
align-items: center;
padding:0 15px;
>.num{
>span{
font-weight: 500;
font-size: 34px;
color:#000;
}
color:#777;
}
>.card{
border-radius: 50px;
padding: 7px 16px;
color: #fff;
background: linear-gradient(45deg, #0CCF99, #19BAC1);
box-shadow: 2px 2px 3px rgba(23,189,187,0.4);
}
}
>.calendar{
margin: 10px;
background: #fff;
border-radius: 3px;
box-shadow: 0px 1px 3px #bababa;
>.head{
display: flex;
justify-content: space-between;
height: 30px;
>span:nth-child(2){
display: flex;
align-items: center;
color: #555;
font-size: 14px;
}
}
}
}
</
style
>
<
template
>
<div
id=
"punchClock"
>
<div
class=
"days"
>
<div
class=
"num"
>
<span>
0
</span>
天连续打卡
</div>
<div
class=
"card"
>
今日健康打卡
</div>
</div>
<div
class=
"calendar"
>
<div
class=
"head"
>
<span></span>
<span>
2020年2月
</span>
<span></span>
</div>
</div>
</div>
</
template
>
...
...
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