人人商城

recycle.html 3.6KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. {template 'common/header'}
  2. <div class="we7-page-title">{php echo ACCOUNT_TYPE_NAME}管理</div>
  3. <ul class="we7-page-tab">
  4. <li><a href="{php echo url ('account/manage', array('account_type' => ACCOUNT_TYPE))}">{php echo ACCOUNT_TYPE_NAME}列表</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))}">{php echo ACCOUNT_TYPE_NAME}回收站</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="{php echo ACCOUNT_TYPE}">
  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. {if TYPE_SIGN == ACCOUNT_TYPE_SIGN}
  37. <span class="color-gray" ng-if="list.level == 1">类型:普通订阅号</span>
  38. <span class="color-gray" ng-if="list.level == 2">类型:普通服务号</span>
  39. <span class="color-gray" ng-if="list.level == 3">类型:认证订阅号</span>
  40. <span class="color-gray" ng-if="list.level == 4">类型:认证服务号</span>
  41. <span class="color-red" ng-if="list.isconnect == 0" data-toggle="tooltip" data-placement="right" title="公众号接入状态显示“未接入”解决方案:进入微信公众平台,依次选择: 开发者中心 -> 修改配置,然后将对应公众号在平台的url和token复制到微信公众平台对应的选项,公众平台会自动进行检测"><i class="wi wi-error-sign"></i>未接入</span>
  42. <span class="color-green" ng-if="list.isconnect == 1"><i class="wi wi-right-sign"></i>已接入</span>
  43. {/if}
  44. </td>
  45. <td>
  46. <p ng-bind="list.setmeal.timelimit"></p>
  47. </td>
  48. <td class="vertical-middle">
  49. <div class="link-group">
  50. <a ng-href="{{links.postRecover}}&acid={{list.acid}}&uniacid={{list.uniacid}}">恢复</a>
  51. <a href="javascript:;" class="del" ng-click="delete(list.acid, list.uniacid)">删除</a>
  52. </div>
  53. </td>
  54. </tr>
  55. </table>
  56. <div class="text-right">
  57. {$pager}
  58. </div>
  59. <script>
  60. $(function(){
  61. $('[data-toggle="tooltip"]').tooltip();
  62. });
  63. angular.module('accountApp').value('config', {
  64. del_accounts: {php echo !empty($del_accounts) ? json_encode($del_accounts) : 'null'},
  65. links: {
  66. postRecover: "{php echo url('account/recycle/recover', array('account_type' => ACCOUNT_TYPE))}",
  67. postDel: "{php echo url('account/recycle/delete', array('account_type' => ACCOUNT_TYPE))}",
  68. }
  69. });
  70. angular.bootstrap($('#js-system-account-recycle'), ['accountApp']);
  71. </script>
  72. {template 'common/footer'}