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
5e4d29e9
Commit
5e4d29e9
authored
1 year ago
by
周宏民
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
style: 演示功能去掉跳转tip提示,项目案例添加悬浮动效
parent
fb0a6cb7
master
devNew
soundai
test
1 merge request
!37
Master
Pipeline
#85392
waiting for manual action with stages
Changes
5
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
7 additions
and
13 deletions
+7
-13
index.js
src/pages/bootpage/demonstration/components/Bottom/index.js
+0
-2
index.less
...pages/bootpage/demonstration/components/Bottom/index.less
+7
-0
index.js
src/pages/bootpage/demonstration/components/Left/index.js
+0
-2
index.js
src/pages/bootpage/demonstration/components/Right/index.js
+0
-7
index.js
src/pages/bootpage/demonstration/index.js
+0
-2
No files found.
src/pages/bootpage/demonstration/components/Bottom/index.js
View file @
5e4d29e9
...
...
@@ -36,7 +36,6 @@ const BottomItem = props => {
return
(
<
div
className
=
{
styles
.
list_item_col
}
>
{
row
.
map
((
col
,
cIndex
)
=>
(
<
Tooltip
title
=
{
col
[
'项目环境'
]
&&
isJump
?
'点击体验'
:
''
}
color
=
"#1685FF"
>
<
div
key
=
{
`
${
rindex
}
-
${
cIndex
}
`
}
type
=
{
col
[
'项目环境'
]
&&
isJump
?
'jump'
:
'none'
}
...
...
@@ -67,7 +66,6 @@ const BottomItem = props => {
<
div
className
=
{
styles
.
list_item_info_address
}
>
{
col
[
'城市'
]}
<
/div
>
<
/div
>
<
/div
>
<
/Tooltip
>
))}
<
/div
>
);
...
...
This diff is collapsed.
Click to expand it.
src/pages/bootpage/demonstration/components/Bottom/index.less
View file @
5e4d29e9
...
...
@@ -134,6 +134,11 @@
cursor: pointer;
}
.list_item[type='jump']:hover {
border: 1px solid #1685FF;
transform: scale(1.05);
}
.list_item[type='jump']:active {
opacity: 0.8;
}
...
...
@@ -146,6 +151,8 @@
overflow: hidden;
margin-right: 8px;
margin-bottom: 8px;
transform-origin: center top;
transition: transform 0.3s;
.list_item_img_wrap {
width: 100%;
...
...
This diff is collapsed.
Click to expand it.
src/pages/bootpage/demonstration/components/Left/index.js
View file @
5e4d29e9
...
...
@@ -33,7 +33,6 @@ const LeftItem = props => {
<
/div
>
<
div
className
=
{
styles
.
l_list
}
>
{
schemeData
.
map
((
item
,
index
)
=>
(
<
Tooltip
title
=
{
industries
.
includes
(
item
.
type
)
?
'点击体验'
:
''
}
color
=
"#1685FF"
>
<
div
className
=
{
styles
.
l_list_item
}
key
=
{
item
.
title
}
...
...
@@ -46,7 +45,6 @@ const LeftItem = props => {
<
div
className
=
{
styles
.
l_list_item_title
}
>-
{
item
.
title
}
-<
/div
>
<
div
className
=
{
styles
.
l_list_item_tip
}
/
>
<
/div
>
<
/Tooltip
>
))}
<
/div
>
<
/div
>
...
...
This diff is collapsed.
Click to expand it.
src/pages/bootpage/demonstration/components/Right/index.js
View file @
5e4d29e9
...
...
@@ -20,12 +20,6 @@ const RightItem = props => {
const
renderRow
=
(
row
,
index
)
=>
{
const
rIndex
=
`r_
${
index
%
7
}
`
;
return
(
<
Tooltip
placement
=
"left"
title
=
{
row
[
'产品地址'
]
||
row
.
site
?
'点击体验'
:
''
}
mouseEnterDelay
=
{
0.5
}
color
=
"#1685FF"
>
<
div
className
=
{
styles
.
r_list_item
}
key
=
{
row
[
'产品名称'
]}
...
...
@@ -36,7 +30,6 @@ const RightItem = props => {
<
div
className
=
{
styles
.
r_list_item_title
}
>
{
row
[
'产品名称'
]}
<
/div
>
<
div
className
=
{
styles
.
r_list_item_tip
}
/
>
<
/div
>
<
/Tooltip
>
);
};
...
...
This diff is collapsed.
Click to expand it.
src/pages/bootpage/demonstration/index.js
View file @
5e4d29e9
...
...
@@ -194,7 +194,6 @@ const Demonstration = props => {
}
const
isJump
=
col
.
site
||
(
col
[
'数值'
]
&&
col
[
'数值'
].
includes
(
'http'
));
return
(
<
Tooltip
title
=
{
isJump
?
'点击体验'
:
''
}
color
=
"#1685FF"
>
<
div
onClick
=
{()
=>
handToPlatform
(
col
)}
className
=
{
styles
.
center_col
}
...
...
@@ -206,7 +205,6 @@ const Demonstration = props => {
{
col
.
title
}
<
RightOutlined
/>
<
/div
>
<
/Tooltip
>
);
});
},
[
configData
]);
...
...
This diff is collapsed.
Click to expand it.
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