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
78b61c21
Commit
78b61c21
authored
2 years ago
by
崔佳豪
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
perf: 新产品引导页浏览器标题修改
parent
dc89ef60
Pipeline
#54073
waiting for manual action with stages
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
index.js
src/pages/cloud/introduction/newproducts/index.js
+8
-0
No files found.
src/pages/cloud/introduction/newproducts/index.js
View file @
78b61c21
import
React
,
{
useState
,
useEffect
,
useRef
}
from
'react'
;
import
React
,
{
useState
,
useEffect
,
useRef
}
from
'react'
;
import
{
Carousel
,
Spin
,
notification
}
from
'antd'
;
import
{
Carousel
,
Spin
,
notification
}
from
'antd'
;
import
{
useDocumentTitle
}
from
'@ant-design/pro-utils'
;
import
{
connect
}
from
'react-redux'
;
import
{
connect
}
from
'react-redux'
;
import
{
chunk
}
from
'lodash'
;
import
{
chunk
}
from
'lodash'
;
import
classnames
from
'classnames'
;
import
classnames
from
'classnames'
;
import
defaultSetting
from
'@wisdom-utils/components/lib/AppLayout/layouts/defaultSettings'
;
import
SecurityLayout
from
'@/layouts/SecurityLayout'
;
import
SecurityLayout
from
'@/layouts/SecurityLayout'
;
import
styles
from
'./index.less'
;
import
styles
from
'./index.less'
;
import
Panel
from
'./Panel'
;
import
Panel
from
'./Panel'
;
...
@@ -114,6 +116,12 @@ const NewProducts = props => {
...
@@ -114,6 +116,12 @@ const NewProducts = props => {
},
[
window
.
share
.
event
,
props
]);
},
[
window
.
share
.
event
,
props
]);
useDocumentTitle
(
{
title
:
defaultSetting
.
title
,
id
:
''
,
pageName
:
'新产品介绍'
},
props
.
global
.
title
||
defaultSetting
.
title
,
);
// 卡片左右切换
// 卡片左右切换
const
onPrev
=
e
=>
ref
.
current
&&
ref
.
current
.
prev
();
const
onPrev
=
e
=>
ref
.
current
&&
ref
.
current
.
prev
();
const
onNext
=
e
=>
ref
.
current
&&
ref
.
current
.
next
();
const
onNext
=
e
=>
ref
.
current
&&
ref
.
current
.
next
();
...
...
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