Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
W
wangjin-front-end
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
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
张媛
wangjin-front-end
Commits
d697841d
Commit
d697841d
authored
Jul 19, 2021
by
张媛
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复代码格式问题
parent
2be9f418
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15548 additions
and
26 deletions
+15548
-26
package-lock.json
package-lock.json
+15521
-0
totalCom.less
src/docs/totalCom.less
+25
-24
totalCom.tsx
src/docs/totalCom.tsx
+2
-2
No files found.
package-lock.json
0 → 100644
View file @
d697841d
This diff is collapsed.
Click to expand it.
src/docs/totalCom.less
View file @
d697841d
.total-container{
margin: 50px;
}
.container-div{
display: flex;
flex-direction: row;
flex-wrap: wrap;
justify-content: flex-start;
align-items: flex-start;
align-content: flex-start;
}
.itemCom{
width: 250px;
height: 200px;
}
span{
display: block;
width: 200px;
text-align: center;
color: #ffffff;
&:hover{
color: #1E94FC;
cursor: pointer;
.container-div{
display: flex;
flex-direction: row;
flex-wrap: wrap;
justify-content: flex-start;
align-items: flex-start;
align-content: flex-start;
.itemCom{
width: 250px;
height: 200px;
}
.com-link-span{
display: block;
width: 200px;
text-align: center;
color: #ffffff;
&:hover{
color: #1E94FC;
cursor: pointer;
}
}
}
h2{
color: #ffffff;
}
}
h2{
color: #ffffff;
}
\ No newline at end of file
src/docs/totalCom.tsx
View file @
d697841d
...
...
@@ -24,7 +24,7 @@ export const TotalCom = ()=>{
return
(
<
div
key=
{
index
}
className=
"itemCom"
>
<
img
src=
{
el
.
imgUrl
}
width
=
"200"
height
=
"150"
/>
<
span
onClick
=
{
canvasClickFun
.
bind
(
this
,
el
.
name
)}
>
{
el
.
name
}
</
span
>
<
span
className=
"com-link-span"
onClick
=
{
canvasClickFun
.
bind
(
this
,
el
.
name
)}
>
{
el
.
name
}
</
span
>
</
div
>
)
})
...
...
@@ -37,7 +37,7 @@ export const TotalCom = ()=>{
return
(
<
div
key=
{
index
}
className=
"itemCom"
>
<
img
src=
{
el
.
imgUrl
}
width
=
"200"
height
=
"150"
/>
<
span
onClick
=
{
reactClickFun
.
bind
(
this
,
el
.
name
)}
>
{
el
.
name
}
</
span
>
<
span
className=
"com-link-span"
onClick
=
{
reactClickFun
.
bind
(
this
,
el
.
name
)}
>
{
el
.
name
}
</
span
>
</
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