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
c77a69b9
Commit
c77a69b9
authored
9 months ago
by
周宏民
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
pref: 引导页可修改标题
parent
a78b480b
Pipeline
#91056
waiting for manual action with stages
Changes
3
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
23 additions
and
9 deletions
+23
-9
data.json
src/pages/bootpage/template/integration2/data.json
+3
-1
index.js
src/pages/bootpage/template/integration2/index.js
+5
-5
integration.less
src/pages/bootpage/template/integration2/integration.less
+15
-3
No files found.
src/pages/bootpage/template/integration2/data.json
View file @
c77a69b9
...
...
@@ -105,5 +105,6 @@
"name"
:
"行业大数据平台"
,
"url"
:
""
}
]
],
"标题"
:
"智慧水务综合监控平台"
}
\ No newline at end of file
This diff is collapsed.
Click to expand it.
src/pages/bootpage/template/integration2/index.js
View file @
c77a69b9
...
...
@@ -71,10 +71,8 @@ const Integration = props => {
})
.
then
(
res
=>
{
if
(
res
.
code
===
0
&&
res
.
data
)
{
const
data
=
JSON
.
parse
(
res
.
data
);
console
.
log
(
'🚀 ~ data:'
,
data
);
setConfigData
(
data
||
defaultConfig
);
// setListData(data?.list || []);
const
data
=
JSON
.
parse
(
res
.
data
)
||
defaultConfig
;
setConfigData
(
data
);
}
});
};
...
...
@@ -216,7 +214,9 @@ const Integration = props => {
>
<
div
className
=
{
styles
.
integration_title
}
>
<
div
className
=
{
styles
.
integration_title_left
}
/
>
<
div
className
=
{
styles
.
integration_title_text
}
/
>
<
div
className
=
{
styles
.
integration_title_text
}
>
<
span
>
{
configData
?.[
'标题'
]
||
'智慧水务综合监控平台'
}
<
/span
>
<
/div
>
<
div
className
=
{
styles
.
integration_title_right
}
/
>
<
/div
>
<
div
className
=
{
styles
.
integration_row
}
type
=
"业务中心"
>
...
...
This diff is collapsed.
Click to expand it.
src/pages/bootpage/template/integration2/integration.less
View file @
c77a69b9
@imgSrc: '@/assets/images/integration/';
.integration {
width: 100%;
position: relative;
...
...
@@ -636,10 +638,20 @@
}
&_text {
width: 632px
;
flex: none
;
height: 97px;
background: url('@{imgSrc}/标题.png') center/100% 100% no-repeat;
color: #fff;
span {
line-height: 97px;
color: #fff;
font-size: 60px;
letter-spacing: 4px;
font-family: 'PangMenZhengDaoBiaoTiTi';
background: linear-gradient(0deg, #56A1EF 0%, #FFFFFF 59%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
}
&_right {
...
...
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