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
Show 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 source diff could not be displayed because it is too large. You can
view the blob
instead.
src/docs/totalCom.less
View file @
d697841d
.total-container{
.total-container{
margin: 50px;
margin: 50px;
}
.container-div{
.container-div{
display: flex;
display: flex;
flex-direction: row;
flex-direction: row;
flex-wrap: wrap;
flex-wrap: wrap;
justify-content: flex-start;
justify-content: flex-start;
align-items: flex-start;
align-items: flex-start;
align-content: flex-start;
align-content: flex-start;
}
.itemCom{
.itemCom{
width: 250px;
width: 250px;
height: 200px;
height: 200px;
}
}
span{
.com-link-
span{
display: block;
display: block;
width: 200px;
width: 200px;
text-align: center;
text-align: center;
...
@@ -22,7 +20,10 @@ span{
...
@@ -22,7 +20,10 @@ span{
color: #1E94FC;
color: #1E94FC;
cursor: pointer;
cursor: pointer;
}
}
}
}
h2{
}
h2{
color: #ffffff;
color: #ffffff;
}
}
}
src/docs/totalCom.tsx
View file @
d697841d
...
@@ -24,7 +24,7 @@ export const TotalCom = ()=>{
...
@@ -24,7 +24,7 @@ export const TotalCom = ()=>{
return
(
return
(
<
div
key=
{
index
}
className=
"itemCom"
>
<
div
key=
{
index
}
className=
"itemCom"
>
<
img
src=
{
el
.
imgUrl
}
width
=
"200"
height
=
"150"
/>
<
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
>
</
div
>
)
)
})
})
...
@@ -37,7 +37,7 @@ export const TotalCom = ()=>{
...
@@ -37,7 +37,7 @@ export const TotalCom = ()=>{
return
(
return
(
<
div
key=
{
index
}
className=
"itemCom"
>
<
div
key=
{
index
}
className=
"itemCom"
>
<
img
src=
{
el
.
imgUrl
}
width
=
"200"
height
=
"150"
/>
<
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
>
</
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