一般后台界面都用bootstrap框架,这是一个css框架,里面封装了ajax方法,只需要在样式中指定就行,根本自己不用写

<td>
<eq name='item.status' value='1'>
<a class="confirm ajax-get" title="隐藏" href="{{:U('setStatus' , array('edutway' =>1,'id'=>$item['id'],'status'=>2))}}">隐藏</a>
<else/>
<a class="confirm ajax-get" title="显示" href="{{:U('setStatus' , array('edutway' =>1,'id'=>$item['id'],'status'=>1))}}">显示</a>
</eq>
<a title="编辑" href="{{:U('edit' , array('edutway' =>1,'id'=>$item['id']))}}">编辑</a>
<a class="confirm ajax-get" title="删除" href="{{:U('del' , array('edutway' =>1,'id'=>$item['id']))}}">删除</a>
</td>
可以看到只需要自己指定样式就行。

相关文章:

  • 2022-12-23
  • 2022-01-10
  • 2022-12-23
  • 2021-09-21
  • 2021-08-16
  • 2022-02-08
  • 2021-05-20
  • 2022-01-13
猜你喜欢
  • 2021-11-25
  • 2022-02-09
  • 2021-10-09
  • 2021-06-16
  • 2021-12-06
  • 2021-12-17
  • 2021-09-24
相关资源
相似解决方案