This commit is contained in:
parent
4a32e7309e
commit
78d99885e4
|
@ -2,6 +2,7 @@
|
||||||
height: auto;
|
height: auto;
|
||||||
max-height: 400px;
|
max-height: 400px;
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
|
overflow-y: hidden;
|
||||||
overflow-x: auto;
|
overflow-x: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -24,7 +25,7 @@
|
||||||
.th-body {
|
.th-body {
|
||||||
/* width: 100%; */
|
/* width: 100%; */
|
||||||
min-width: 100%;
|
min-width: 100%;
|
||||||
max-height: 400px;
|
|
||||||
overflow-y: auto;
|
overflow-y: auto;
|
||||||
border-bottom: 1px solid #dfe1e6;
|
border-bottom: 1px solid #dfe1e6;
|
||||||
border-top: none;
|
border-top: none;
|
||||||
|
|
|
@ -30,6 +30,7 @@ export default class menu extends React.Component {
|
||||||
headBackgroud: "",
|
headBackgroud: "",
|
||||||
spliteColor: "#f9fafc",
|
spliteColor: "#f9fafc",
|
||||||
countbarVisible:true,
|
countbarVisible:true,
|
||||||
|
maxheight:400,
|
||||||
Column: [{
|
Column: [{
|
||||||
title: "推广计划名称",
|
title: "推广计划名称",
|
||||||
prop: "name",
|
prop: "name",
|
||||||
|
@ -373,7 +374,7 @@ export default class menu extends React.Component {
|
||||||
<div className="loading-bar"></div>
|
<div className="loading-bar"></div>
|
||||||
<div className="loading-txt">数据加载中,请耐心等待</div>
|
<div className="loading-txt">数据加载中,请耐心等待</div>
|
||||||
</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.tableData.length == 0 ? ( < div className = "empty-text" > {
|
||||||
this.state.emptyText
|
this.state.emptyText
|
||||||
} < /div>): (
|
} < /div>): (
|
||||||
|
|
|
@ -8,6 +8,7 @@ export default class add extends React.Component{
|
||||||
constructor(props){
|
constructor(props){
|
||||||
super(props)
|
super(props)
|
||||||
this.state={
|
this.state={
|
||||||
|
step1_pagetitle:"新建计划",
|
||||||
menuList:[
|
menuList:[
|
||||||
{id:1,title:"推广计划",child:[{step:1,title:"新建计划"}]},
|
{id:1,title:"推广计划",child:[{step:1,title:"新建计划"}]},
|
||||||
{id:2,title:"key",child:[{step:1,title:"生产key"},{step:2,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>
|
||||||
<div className="plan-right">
|
<div className="plan-right">
|
||||||
<div className="plan-title">营销计划</div>
|
<div className="action-panel">
|
||||||
|
<div className="plan-title">营销计划</div>
|
||||||
<div id="step1" className="step1">
|
<div id="step1" className="step1">
|
||||||
<Card style={{ width:'100%' }} title={this.state.pagetitle}>
|
<Card style={{ width:'100%' }} title={this.state.step1_pagetitle}>
|
||||||
|
|
||||||
</Card>
|
</Card>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
|
@ -18,10 +18,18 @@
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
}
|
}
|
||||||
.plan-right{
|
.plan-right{
|
||||||
width:1172px;
|
width:1744px;
|
||||||
margin-left: 250px;
|
margin-left: 176px;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
.action-panel{
|
||||||
|
width: 80%;
|
||||||
|
margin: 0 auto;
|
||||||
|
}
|
||||||
|
.step1{
|
||||||
|
margin-top: 20px;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
.plan-title{
|
.plan-title{
|
||||||
font-size: 18px;
|
font-size: 18px;
|
||||||
margin-top: 20px;
|
margin-top: 20px;
|
||||||
|
|
Loading…
Reference in New Issue