This commit is contained in:
姜棚 2021-11-27 18:26:22 +08:00
parent 204ab8457d
commit 8c12ef7d51
2 changed files with 37 additions and 18 deletions

View File

@ -211,6 +211,15 @@
.newpage{
position: absolute;
top: 20px;
left: 380px;
top: 25px;
left: 400px;
font-size: 14px;
color:#155bd4;
}
.refresh-btn{
position: absolute;
top: 25px;
left: 360px;
font-size: 14px;
color:#155bd4;
}

View File

@ -28,6 +28,12 @@ export default class acclist extends React.Component{
componentDidMount(e){
this.getThemeData();
}
getThemeData(){
getTheme().then((res)=>{
handelResponse(res,(req,msg)=>{
let arr = _.map(req.data,(o)=>{
@ -95,6 +101,8 @@ export default class acclist extends React.Component{
refresh(){
this.getThemeData();
}
edit(data)
@ -129,12 +137,14 @@ export default class acclist extends React.Component{
this.onThemeChange(e)
Bus.emit('change',"theme_id" ,e);
}} />
<Icon type="refresh" onClick={()=>{ this.refresh() }} />
<Button type="primary" onClick={()=>{this.linkToPage()}} className="newpage">
<span type="refresh" onClick={()=>{ this.refresh() }} className="refresh-btn" >
刷新
</span>
<a type="primary" onClick={()=>{this.linkToPage()}} className="newpage">
新建落地页
</Button>
</a>
</FormItem>
<FormItem labelname="兑换入口交互" prop="use">
<RadioGroup onChange={(e)=>{ this.onLinkChange(e)} } value={this.state.model.use}>