人人商城

recycle-xzapp.html 2.6KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. {template 'common/header'}
  2. <div class="we7-page-title">熊掌号管理</div>
  3. <ul class="we7-page-tab">
  4. <li><a href="{php echo url ('account/manage', array('account_type' => ACCOUNT_TYPE_XZAPP_NORMAL))}">熊掌号列表</a></li>
  5. {if $_W['role'] == ACCOUNT_MANAGE_NAME_OWNER || $_W['role'] == ACCOUNT_MANAGE_NAME_FOUNDER || $_W['role'] == ACCOUNT_MANAGE_NAME_VICE_FOUNDER}
  6. <li class="active"><a href="{php echo url ('account/recycle', array('account_type' => ACCOUNT_TYPE_XZAPP_NORMAL))}">熊掌号回收站</a></li>
  7. {/if}
  8. </ul>
  9. <div class="clearfix we7-margin-bottom">
  10. <form action="" class="form-inline pull-left" method="get">
  11. <input type="hidden" name="c" value="account">
  12. <input type="hidden" name="a" value="recycle">
  13. <input type="hidden" name="account_type" value="{ACCOUNT_TYPE_XZAPP_NORMAL}">
  14. <div class="input-group form-group" style="width: 400px;">
  15. <input type="text" name="keyword" value="{$_GPC['keyword']}" class="form-control" placeholder="搜索关键字"/>
  16. <span class="input-group-btn"><button class="btn btn-default"><i class="fa fa-search"></i></button></span>
  17. </div>
  18. </form>
  19. </div>
  20. <table class="table we7-table table-hover vertical-middle table-manage" id="js-system-account-recycle" ng-controller="SystemAccountRecycle" ng-cloak>
  21. <col width="85px" />
  22. <col />
  23. <col width="208px" />
  24. <col width="150px" />
  25. <tr>
  26. <th colspan="2" class="text-left">帐号</th>
  27. <th>有效期</th>
  28. <th class="text-right">操作</th>
  29. </tr>
  30. <tr class="color-gray" ng-repeat="list in del_accounts">
  31. <td class="text-left">
  32. <img ng-src="{{list.thumb}}" class="img-responsive">
  33. </td>
  34. <td class="text-left">
  35. <p class="color-dark" ng-bind="list.name"></p>
  36. </td>
  37. <td>
  38. <p ng-bind="list.setmeal.timelimit"></p>
  39. </td>
  40. <td class="vertical-middle">
  41. <div class="link-group">
  42. <a ng-href="{{links.postRecover}}&acid={{list.acid}}&uniacid={{list.uniacid}}">恢复</a>
  43. <a href="javascript:;" class="del" ng-click="delete(list.acid, list.uniacid)">删除</a>
  44. </div>
  45. </td>
  46. </tr>
  47. </table>
  48. <div class="text-right">
  49. {$pager}
  50. </div>
  51. <script>
  52. $(function(){
  53. $('[data-toggle="tooltip"]').tooltip();
  54. });
  55. angular.module('accountApp').value('config', {
  56. del_accounts: {php echo !empty($del_accounts) ? json_encode($del_accounts) : 'null'},
  57. links: {
  58. postRecover: "{php echo url('account/recycle/recover', array('type' => ACCOUNT_TYPE_XZAPP_NORMAL))}",
  59. postDel: "{php echo url('account/recycle/delete', array('type' => ACCOUNT_TYPE_XZAPP_NORMAL))}",
  60. }
  61. });
  62. angular.bootstrap($('#js-system-account-recycle'), ['accountApp']);
  63. </script>
  64. {template 'common/footer'}