Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
CivManage
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
CivManage
Commits
00487b7d
Commit
00487b7d
authored
Dec 21, 2022
by
邓超
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 修改web配置procard对全局样式的影响
parent
aab13fe7
Pipeline
#65715
passed with stages
Changes
5
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
13 additions
and
6 deletions
+13
-6
index.jsx
src/pages/productCenter/mobileConfig/index.jsx
+2
-2
index.less
src/pages/productCenter/mobileConfig/index.less
+3
-0
index.jsx
src/pages/productCenter/webConfig/index.jsx
+3
-3
index.less
src/pages/productCenter/webConfig/index.less
+4
-0
webMenu.less
src/pages/productCenter/webConfig/menuconfig/webMenu.less
+1
-1
No files found.
src/pages/productCenter/mobileConfig/index.jsx
View file @
00487b7d
...
@@ -164,7 +164,7 @@ const MobileConfigPage = props => {
...
@@ -164,7 +164,7 @@ const MobileConfigPage = props => {
};
};
const
ContentTab
=
()
=>
(
const
ContentTab
=
()
=>
(
<
ProCard
>
<
Card
style=
{
{
height
:
'100%'
}
}
>
{
/* <Spin tip="loading..." spinning={loading}> */
}
{
/* <Spin tip="loading..." spinning={loading}> */
}
<
Tabs
activeKey=
{
activeKey
}
type=
"card"
onChange=
{
handleChange
}
>
<
Tabs
activeKey=
{
activeKey
}
type=
"card"
onChange=
{
handleChange
}
>
{
showConfig
&&
(
{
showConfig
&&
(
...
@@ -189,7 +189,7 @@ const MobileConfigPage = props => {
...
@@ -189,7 +189,7 @@ const MobileConfigPage = props => {
)} */
}
)} */
}
</
Tabs
>
</
Tabs
>
{
/* </Spin> */
}
{
/* </Spin> */
}
</
Pro
Card
>
</
Card
>
);
);
const
cts
=
(
tabPaneItem
,
id
)
=>
(
const
cts
=
(
tabPaneItem
,
id
)
=>
(
<
TabPane
key=
{
tabPaneItem
.
id
}
tab=
{
tabPaneItem
.
text
}
>
<
TabPane
key=
{
tabPaneItem
.
id
}
tab=
{
tabPaneItem
.
text
}
>
...
...
src/pages/productCenter/mobileConfig/index.less
View file @
00487b7d
.mobileContainer {
.mobileContainer {
height: 100%;
height: 100%;
.ant-card-body {
height: 100%;
}
.ant-tabs {
.ant-tabs {
height: 100%;
height: 100%;
.ant-tabs-content {
.ant-tabs-content {
...
...
src/pages/productCenter/webConfig/index.jsx
View file @
00487b7d
import
React
,
{
useEffect
,
useState
}
from
'react'
;
import
React
,
{
useEffect
,
useState
}
from
'react'
;
import
PageContainer
from
'@/components/BasePageContainer'
;
import
PageContainer
from
'@/components/BasePageContainer'
;
import
{
notification
,
Spin
,
Tabs
,
Button
,
Tooltip
}
from
'antd'
;
import
{
notification
,
Spin
,
Tabs
,
Button
,
Tooltip
,
Card
}
from
'antd'
;
import
{
import
{
getWebModuleTree
,
getWebModuleTree
,
getWebconfig
,
getWebconfig
,
...
@@ -327,7 +327,7 @@ const WebConfigPage = props => {
...
@@ -327,7 +327,7 @@ const WebConfigPage = props => {
const
renderTabPane
=
tabPaneItem
=>
(
const
renderTabPane
=
tabPaneItem
=>
(
<
TabPane
key=
{
tabPaneItem
.
id
}
tab=
{
tabPaneItem
.
text
}
>
<
TabPane
key=
{
tabPaneItem
.
id
}
tab=
{
tabPaneItem
.
text
}
>
<>
<>
<
Pro
Card
className=
{
styles
.
webConfigTabcontent
}
>
<
Card
className=
{
styles
.
webConfigTabcontent
}
>
<
span
<
span
className=
{
styles
.
link
}
className=
{
styles
.
link
}
onClick=
{
()
=>
{
onClick=
{
()
=>
{
...
@@ -392,7 +392,7 @@ const WebConfigPage = props => {
...
@@ -392,7 +392,7 @@ const WebConfigPage = props => {
subSystemValue=
{
tabPaneItem
?.
subSystemValue
}
subSystemValue=
{
tabPaneItem
?.
subSystemValue
}
productList=
{
productList
}
productList=
{
productList
}
/>
/>
</
Pro
Card
>
</
Card
>
</>
</>
</
TabPane
>
</
TabPane
>
);
);
...
...
src/pages/productCenter/webConfig/index.less
View file @
00487b7d
...
@@ -2,6 +2,7 @@
...
@@ -2,6 +2,7 @@
position: absolute;
position: absolute;
width: 100%;
width: 100%;
height: 100%;
height: 100%;
overflow: hidden;
.link {
.link {
color: #000;
color: #000;
...
@@ -32,6 +33,9 @@
...
@@ -32,6 +33,9 @@
.webConfigTabcontent {
.webConfigTabcontent {
background: #fff;
background: #fff;
height: 100%;
height: 100%;
.ant-card-body {
height: 100%;
}
}
}
}
}
...
...
src/pages/productCenter/webConfig/menuconfig/webMenu.less
View file @
00487b7d
...
@@ -13,7 +13,7 @@
...
@@ -13,7 +13,7 @@
border: 1px solid #eee;
border: 1px solid #eee;
padding: 10px;
padding: 10px;
// height: calc( 100vh - 198px);
// height: calc( 100vh - 198px);
overflow-y: auto;
//
overflow-y: auto;
.ant-tree-node-content-wrapper {
.ant-tree-node-content-wrapper {
display: flex;
display: flex;
...
...
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