This commit is contained in:
parent
204ab8457d
commit
8c12ef7d51
|
@ -211,6 +211,15 @@
|
||||||
|
|
||||||
.newpage{
|
.newpage{
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 20px;
|
top: 25px;
|
||||||
left: 380px;
|
left: 400px;
|
||||||
|
font-size: 14px;
|
||||||
|
color:#155bd4;
|
||||||
|
}
|
||||||
|
.refresh-btn{
|
||||||
|
position: absolute;
|
||||||
|
top: 25px;
|
||||||
|
left: 360px;
|
||||||
|
font-size: 14px;
|
||||||
|
color:#155bd4;
|
||||||
}
|
}
|
|
@ -28,6 +28,12 @@ export default class acclist extends React.Component{
|
||||||
|
|
||||||
componentDidMount(e){
|
componentDidMount(e){
|
||||||
|
|
||||||
|
this.getThemeData();
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
getThemeData(){
|
||||||
|
|
||||||
getTheme().then((res)=>{
|
getTheme().then((res)=>{
|
||||||
handelResponse(res,(req,msg)=>{
|
handelResponse(res,(req,msg)=>{
|
||||||
let arr = _.map(req.data,(o)=>{
|
let arr = _.map(req.data,(o)=>{
|
||||||
|
@ -95,6 +101,8 @@ export default class acclist extends React.Component{
|
||||||
|
|
||||||
refresh(){
|
refresh(){
|
||||||
|
|
||||||
|
|
||||||
|
this.getThemeData();
|
||||||
}
|
}
|
||||||
|
|
||||||
edit(data)
|
edit(data)
|
||||||
|
@ -129,12 +137,14 @@ export default class acclist extends React.Component{
|
||||||
this.onThemeChange(e)
|
this.onThemeChange(e)
|
||||||
Bus.emit('change',"theme_id" ,e);
|
Bus.emit('change',"theme_id" ,e);
|
||||||
}} />
|
}} />
|
||||||
<Icon type="refresh" onClick={()=>{ this.refresh() }} />
|
<span type="refresh" onClick={()=>{ this.refresh() }} className="refresh-btn" >
|
||||||
<Button type="primary" onClick={()=>{this.linkToPage()}} className="newpage">
|
刷新
|
||||||
|
</span>
|
||||||
|
<a type="primary" onClick={()=>{this.linkToPage()}} className="newpage">
|
||||||
|
|
||||||
新建落地页
|
新建落地页
|
||||||
|
|
||||||
</Button>
|
</a>
|
||||||
</FormItem>
|
</FormItem>
|
||||||
<FormItem labelname="兑换入口交互" prop="use">
|
<FormItem labelname="兑换入口交互" prop="use">
|
||||||
<RadioGroup onChange={(e)=>{ this.onLinkChange(e)} } value={this.state.model.use}>
|
<RadioGroup onChange={(e)=>{ this.onLinkChange(e)} } value={this.state.model.use}>
|
||||||
|
|
Loading…
Reference in New Issue