Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
CivWeb
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
ReactWeb5
CivWeb
Commits
15bf6989
Commit
15bf6989
authored
Sep 08, 2022
by
yzl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- 优化新产品导航图界面
parent
89bfdb79
Pipeline
#59696
passed with stages
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
8 deletions
+7
-8
Card.js
src/pages/cloud/introduction/newproducts/Card.js
+2
-2
index.less
src/pages/cloud/introduction/newproducts/index.less
+5
-6
No files found.
src/pages/cloud/introduction/newproducts/Card.js
View file @
15bf6989
...
...
@@ -55,8 +55,8 @@ const Card = ({onCardClick, ...props}) => {
config
&&
config
[
'系统特点'
]
&&
config
[
'系统特点'
].
split
(
','
).
map
((
item
,
index
)
=>
{
return
<
div
className
=
{
classnames
(
styles
[
'card-tag'
])}
style
=
{{
height
:
config
[
'系统特点'
].
split
(
','
).
length
<=
6
?
44
:
36
,
lineHeight
:
config
[
'系统特点'
].
split
(
','
).
length
<=
6
?
'44px'
:
'
36
px'
,
height
:
config
[
'系统特点'
].
split
(
','
).
length
<=
6
?
44
:
40
,
lineHeight
:
config
[
'系统特点'
].
split
(
','
).
length
<=
6
?
'44px'
:
'
40
px'
,
marginTop
:
config
[
'系统特点'
].
split
(
','
).
length
<=
8
?
10
:
0
}}
key
=
{
index
}
>
<
i
className
=
{
classnames
(
styles
[
'card-tag-icon'
])}
/
>
...
...
src/pages/cloud/introduction/newproducts/index.less
View file @
15bf6989
...
...
@@ -169,13 +169,12 @@
width: 49%;
height: 24rem;
background-image: url('./images/框.png');
background-size: cover;
background-position: center;
.card-title {
position: relative;
margin-top: 0.5rem;
left:
3
%;
left:
4
%;
font-size: 1.5rem;
font-weight: 400;
color: #000000;
...
...
@@ -186,7 +185,7 @@
position: absolute;
left: 0;
bottom: 0;
padding:
0.5
rem;
padding:
1
rem;
background: linear-gradient(#fff, rgb(147,219,246));
width: 100%;
overflow: hidden;
...
...
@@ -233,7 +232,7 @@
}
.card-content{
padding: 1rem 1rem 1rem
1.8
rem;
padding: 1rem 1rem 1rem
2.2
rem;
&::after{
...
...
@@ -247,13 +246,13 @@
float: left;
img{
height: 17.
5
rem;
height: 17.
9
rem;
}
}
.card-info {
float: left;
width: 3
6
%;
width: 3
3
%;
}
.card-tags {
...
...
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