Commit 00487b7d authored by 邓超's avatar 邓超

fix: 修改web配置procard对全局样式的影响

parent aab13fe7
Pipeline #65715 passed with stages
......@@ -164,7 +164,7 @@ const MobileConfigPage = props => {
};
const ContentTab = () => (
<ProCard>
<Card style={{ height: '100%' }}>
{/* <Spin tip="loading..." spinning={loading}> */}
<Tabs activeKey={activeKey} type="card" onChange={handleChange}>
{showConfig && (
......@@ -189,7 +189,7 @@ const MobileConfigPage = props => {
)} */}
</Tabs>
{/* </Spin> */}
</ProCard>
</Card>
);
const cts = (tabPaneItem, id) => (
<TabPane key={tabPaneItem.id} tab={tabPaneItem.text}>
......
.mobileContainer {
height: 100%;
.ant-card-body {
height: 100%;
}
.ant-tabs {
height: 100%;
.ant-tabs-content {
......
import React, { useEffect, useState } from 'react';
import PageContainer from '@/components/BasePageContainer';
import { notification, Spin, Tabs, Button, Tooltip } from 'antd';
import { notification, Spin, Tabs, Button, Tooltip, Card } from 'antd';
import {
getWebModuleTree,
getWebconfig,
......@@ -327,7 +327,7 @@ const WebConfigPage = props => {
const renderTabPane = tabPaneItem => (
<TabPane key={tabPaneItem.id} tab={tabPaneItem.text}>
<>
<ProCard className={styles.webConfigTabcontent}>
<Card className={styles.webConfigTabcontent}>
<span
className={styles.link}
onClick={() => {
......@@ -392,7 +392,7 @@ const WebConfigPage = props => {
subSystemValue={tabPaneItem?.subSystemValue}
productList={productList}
/>
</ProCard>
</Card>
</>
</TabPane>
);
......
......@@ -2,6 +2,7 @@
position: absolute;
width: 100%;
height: 100%;
overflow: hidden;
.link {
color: #000;
......@@ -32,6 +33,9 @@
.webConfigTabcontent {
background: #fff;
height: 100%;
.ant-card-body {
height: 100%;
}
}
}
......
......@@ -13,7 +13,7 @@
border: 1px solid #eee;
padding: 10px;
// height: calc( 100vh - 198px);
overflow-y: auto;
// overflow-y: auto;
.ant-tree-node-content-wrapper {
display: flex;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment