Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
W
wecom-sidebar
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
wanghuihui
wecom-sidebar
Commits
91210868
Commit
91210868
authored
Feb 22, 2022
by
Aivs
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix:样式修改
parent
b5a33747
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
8 deletions
+9
-8
home.css
src/css/home.css
+5
-2
Home.tsx
src/pages/Home.tsx
+2
-2
person.tsx
src/pages/person.tsx
+2
-4
No files found.
src/css/home.css
View file @
91210868
...
@@ -171,15 +171,18 @@
...
@@ -171,15 +171,18 @@
padding
:
28px
20px
;
padding
:
28px
20px
;
}
}
.line
{
.line
{
width
:
31
px
;
width
:
29
px
;
height
:
25px
;
height
:
25px
;
display
:
flex
;
display
:
flex
;
justify-content
:
center
;
justify-content
:
center
;
align-items
:
center
;
align-items
:
center
;
margin-right
:
10
px
;
margin-right
:
4
px
;
border-radius
:
4px
;
border-radius
:
4px
;
border
:
0
!important
;
border
:
0
!important
;
}
}
.colr
.line
:nth-last-child
(
1
)
{
margin-right
:
0px
;
}
.innerline
{
.innerline
{
width
:
16px
;
width
:
16px
;
height
:
5px
;
height
:
5px
;
...
...
src/pages/Home.tsx
View file @
91210868
...
@@ -231,7 +231,7 @@ const layout = {
...
@@ -231,7 +231,7 @@ const layout = {
return
(
return
(
<
Spin
spinning=
{
loading
}
>
<
Spin
spinning=
{
loading
}
>
<
div
className=
"content"
>
<
div
className=
"
home
content"
>
<
div
className=
"flex spaceBetween mg20"
>
<
div
className=
"flex spaceBetween mg20"
>
{
{
...
@@ -279,7 +279,7 @@ const layout = {
...
@@ -279,7 +279,7 @@ const layout = {
<Option value="tom">Tom</Option>
<Option value="tom">Tom</Option>
</Select> */
}
</Select> */
}
</
div
>
</
div
>
<
div
className=
"flex flex-warp mgt20"
>
<
div
className=
"flex flex-warp mgt20
clor
"
>
<
span
>
添加颜色:
</
span
>
<
span
>
添加颜色:
</
span
>
<
div
className=
{
cindex
===
0
?
"border0 line blue"
:
"line blue"
}
onClick=
{
addColor
.
bind
(
this
,
'blue'
,
0
)
}
>
<
div
className=
{
cindex
===
0
?
"border0 line blue"
:
"line blue"
}
onClick=
{
addColor
.
bind
(
this
,
'blue'
,
0
)
}
>
<
div
className=
"innerline"
></
div
>
<
div
className=
"innerline"
></
div
>
...
...
src/pages/person.tsx
View file @
91210868
...
@@ -9,9 +9,7 @@ import { useHistory} from 'react-router-dom'
...
@@ -9,9 +9,7 @@ import { useHistory} from 'react-router-dom'
const
Person
:
React
.
FC
=
()
=>
{
const
Person
:
React
.
FC
=
()
=>
{
const
location
:
any
=
useHistory
()
const
location
:
any
=
useHistory
()
const
[
customData
,
setCustomData
]
=
useState
<
any
>
({
const
[
customData
,
setCustomData
]
=
useState
<
any
>
({})
id
:
33599
})
const
[
userId
,
setUserId
]
=
useState
<
any
>
([])
const
[
userId
,
setUserId
]
=
useState
<
any
>
([])
const
back
=
async
()
=>
{
const
back
=
async
()
=>
{
// location.back()
// location.back()
...
@@ -135,7 +133,7 @@ const Person: React.FC = () => {
...
@@ -135,7 +133,7 @@ const Person: React.FC = () => {
<
p
className=
'rightword'
>
{
customData
.
dutyTypesName
}
</
p
>
<
p
className=
'rightword'
>
{
customData
.
dutyTypesName
}
</
p
>
</
div
>
</
div
>
<
div
className=
"flex spaceBetween"
>
<
div
className=
"flex spaceBetween"
>
<
p
className=
'leftword'
>
身高
</
p
>
<
p
className=
'leftword'
>
身高
:
</
p
>
<
p
className=
'rightword'
>
{
customData
.
height
}
</
p
>
<
p
className=
'rightword'
>
{
customData
.
height
}
</
p
>
</
div
>
</
div
>
...
...
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