store.html 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. <div id="actionbar">
  2. <a href="{:url('manage.unmarket/storeAdd',['union_id' => $union_id])}" class="button button-blue"> <i class="iconfont icon-add_icon"></i>增加联合促销商家</a>
  3. </div>
  4. <table class="table">
  5. <thead>
  6. <tr>
  7. <th class="w100">操作</th>
  8. <th>商家名称</th>
  9. <th>商家地址</th>
  10. <th class="w100">商家电话</th>
  11. <th class="w140">结束时间</th>
  12. <th class="w90 fn-tac">删除</th>
  13. </tr>
  14. </thead>
  15. <tbody>
  16. {foreach $lists as $vo}
  17. <tr>
  18. <td class="button-group">
  19. <a class="button" href="{:url('manage.unmarket/storeEdit',['id'=>$vo.id,'union_id' => $vo.union_id])}" title="修改"><i class="iconfont icon-edit"></i>编辑</a>
  20. </td>
  21. <td>{$vo.name}</td>
  22. <td>{$vo.address}</td>
  23. <td>{$vo.telphone}</td>
  24. <td>{$vo.endtime|date='Y-m-d H:i'}</td>
  25. <td>
  26. <a class="button isDel" url="{:url('manage.unmarket/storeDelete',['id'=>$vo.id,'union_id' => $vo.union_id])}" href="javascript:;" title="删除"><i class="iconfont icon-lajixiang"></i>删除</a>
  27. </td>
  28. </tr>
  29. {/foreach}
  30. </tbody>
  31. </table>
  32. {$lists|raw}
  33. <script type="text/javascript">
  34. Do('base', 'layer','tip',function () {
  35. $('.isDel').isDel();
  36. $(".trigger").powerFloat({targetMode:"ajax"});
  37. })
  38. </script>