12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273 |
- {template 'common/header'}
- <div class="we7-page-title">{php echo ACCOUNT_TYPE_NAME}管理</div>
- <ul class="we7-page-tab">
- <li><a href="{php echo url ('account/manage', array('account_type' => ACCOUNT_TYPE))}">{php echo ACCOUNT_TYPE_NAME}列表</a></li>
- {if $_W['role'] == ACCOUNT_MANAGE_NAME_OWNER || $_W['role'] == ACCOUNT_MANAGE_NAME_FOUNDER || $_W['role'] == ACCOUNT_MANAGE_NAME_VICE_FOUNDER}
- <li class="active"><a href="{php echo url ('account/recycle', array('account_type' => ACCOUNT_TYPE))}">{php echo ACCOUNT_TYPE_NAME}回收站</a></li>
- {/if}
-
- </ul>
- <div class="clearfix we7-margin-bottom">
- <form action="" class="form-inline pull-left" method="get">
- <input type="hidden" name="c" value="account">
- <input type="hidden" name="a" value="recycle">
- <input type="hidden" name="account_type" value="{php echo ACCOUNT_TYPE}">
- <div class="input-group form-group" style="width: 400px;">
- <input type="text" name="keyword" value="{$_GPC['keyword']}" class="form-control" placeholder="搜索关键字"/>
- <span class="input-group-btn"><button class="btn btn-default"><i class="fa fa-search"></i></button></span>
- </div>
- </form>
- </div>
- <table class="table we7-table table-hover vertical-middle table-manage" id="js-system-account-recycle" ng-controller="SystemAccountRecycle" ng-cloak>
- <col width="85px" />
- <col />
- <col width="208px" />
- <col width="150px" />
- <tr>
- <th colspan="2" class="text-left">帐号</th>
- <th>有效期</th>
- <th class="text-right">操作</th>
- </tr>
- <tr class="color-gray" ng-repeat="list in del_accounts">
- <td class="text-left">
- <img ng-src="{{list.thumb}}" class="img-responsive">
- </td>
- <td class="text-left">
- <p class="color-dark" ng-bind="list.name"></p>
- {if TYPE_SIGN == ACCOUNT_TYPE_SIGN}
- <span class="color-gray" ng-if="list.level == 1">类型:普通订阅号</span>
- <span class="color-gray" ng-if="list.level == 2">类型:普通服务号</span>
- <span class="color-gray" ng-if="list.level == 3">类型:认证订阅号</span>
- <span class="color-gray" ng-if="list.level == 4">类型:认证服务号</span>
- <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>
- <span class="color-green" ng-if="list.isconnect == 1"><i class="wi wi-right-sign"></i>已接入</span>
- {/if}
- </td>
- <td>
- <p ng-bind="list.setmeal.timelimit"></p>
- </td>
- <td class="vertical-middle">
- <div class="link-group">
- <a ng-href="{{links.postRecover}}&acid={{list.acid}}&uniacid={{list.uniacid}}">恢复</a>
- <a href="javascript:;" class="del" ng-click="delete(list.acid, list.uniacid)">删除</a>
- </div>
- </td>
- </tr>
- </table>
- <div class="text-right">
- {$pager}
- </div>
- <script>
- $(function(){
- $('[data-toggle="tooltip"]').tooltip();
- });
- angular.module('accountApp').value('config', {
- del_accounts: {php echo !empty($del_accounts) ? json_encode($del_accounts) : 'null'},
- links: {
- postRecover: "{php echo url('account/recycle/recover', array('account_type' => ACCOUNT_TYPE))}",
- postDel: "{php echo url('account/recycle/delete', array('account_type' => ACCOUNT_TYPE))}",
- }
- });
- angular.bootstrap($('#js-system-account-recycle'), ['accountApp']);
- </script>
- {template 'common/footer'}
|