This commit is contained in:
北海一刀 2021-11-08 19:59:39 +08:00
parent 4a32e7309e
commit 78d99885e4
4 changed files with 22 additions and 8 deletions

View File

@ -2,6 +2,7 @@
height: auto;
max-height: 400px;
max-width: 100%;
overflow-y: hidden;
overflow-x: auto;
}
@ -24,7 +25,7 @@
.th-body {
/* width: 100%; */
min-width: 100%;
max-height: 400px;
overflow-y: auto;
border-bottom: 1px solid #dfe1e6;
border-top: none;

View File

@ -30,6 +30,7 @@ export default class menu extends React.Component {
headBackgroud: "",
spliteColor: "#f9fafc",
countbarVisible:true,
maxheight:400,
Column: [{
title: "推广计划名称",
prop: "name",
@ -373,7 +374,7 @@ export default class menu extends React.Component {
<div className="loading-bar"></div>
<div className="loading-txt">数据加载中,请耐心等待</div>
</div>
<div className={this.state.pageLoading ? "th-body hide" : "th-body"} > {
<div className={this.state.pageLoading ? "th-body hide" : "th-body"} style={{"max-height":this.props.maxheight+"px"}} > {
this.state.tableData.length == 0 ? ( < div className = "empty-text" > {
this.state.emptyText
} < /div>): (

View File

@ -8,6 +8,7 @@ export default class add extends React.Component{
constructor(props){
super(props)
this.state={
step1_pagetitle:"新建计划",
menuList:[
{id:1,title:"推广计划",child:[{step:1,title:"新建计划"}]},
{id:2,title:"key",child:[{step:1,title:"生产key"},{step:2,title:"绑定卡券"}]},
@ -43,13 +44,16 @@ export default class add extends React.Component{
</div>
<div className="plan-right">
<div className="action-panel">
<div className="plan-title">营销计划</div>
<div id="step1" className="step1">
<Card style={{ width:'100%' }} title={this.state.pagetitle}>
<Card style={{ width:'100%' }} title={this.state.step1_pagetitle}>
</Card>
</div>
</div>
</div>
</div>
)
}

View File

@ -18,10 +18,18 @@
overflow: auto;
}
.plan-right{
width:1172px;
margin-left: 250px;
width:1744px;
margin-left: 176px;
}
.action-panel{
width: 80%;
margin: 0 auto;
}
.step1{
margin-top: 20px;
}
.plan-title{
font-size: 18px;
margin-top: 20px;