123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172 |
- {template 'common/header'}
- <ul class="we7-page-tab">
- <li {if empty($type)}class="active" {/if} ><a href="{php echo url('message/notice')}">全部</a></li>
-
- {if $_W['isfounder'] && uni_user_see_more_info(ACCOUNT_MANAGE_NAME_VICE_FOUNDER, false)}
- <li {if $type == MESSAGE_ORDER_TYPE}class="active" {/if}><a href="{php echo url('message/notice', array('type' => MESSAGE_ORDER_TYPE))}">订单消息</a></li>
- {/if}
-
- <li {if $type == MESSAGE_ACCOUNT_EXPIRE_TYPE}class="active" {/if}><a href="{php echo url('message/notice', array('type' => MESSAGE_ACCOUNT_EXPIRE_TYPE))}">到期消息</a></li>
-
- {if $_W['isfounder'] && uni_user_see_more_info(ACCOUNT_MANAGE_NAME_VICE_FOUNDER, false)}
- <li {if $type == MESSAGE_REGISTER_TYPE}class="active" {/if}><a href="{php echo url('message/notice', array('type' => MESSAGE_REGISTER_TYPE))}">注册提醒</a></li>
- <li {if $type == MESSAGE_WORKORDER_TYPE}class="active" {/if} ><a href="{php echo url('message/notice', array('type' => MESSAGE_WORKORDER_TYPE))}">工单提醒</a></li>
- {/if}
-
-
- </ul>
- <table class="table we7-table table-hover vertical-middle" id="message-notice" ng-controller="messageNoticeCtrl" ng-cloak>
- <col>
- <col>
- <col>
- <tr>
- <th colspan="3" class="text-left filter">
- <div class="dropdown dropdown-toggle we7-dropdown">
- <a data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
- 全部
- <span class="caret"></span>
- </a>
- <ul class="dropdown-menu" aria-labelledby="dLabel">
- <li><a href="{php echo filter_url('is_read:');}" class="active">全部</a></li>
- <li><a href="{php echo filter_url('is_read:' . MESSAGE_READ);}" class="active">已读</a></li>
- <li><a href="{php echo filter_url('is_read:' . MESSAGE_NOREAD);}" class="active">未读</a></li>
- </ul>
- </div>
- </th>
- </tr>
- <tr>
- <th>标题内容</th>
- <th class="text-center">提交时间</th>
- <th class="text-right">操作</th>
- </tr>
- <tr ng-repeat="list in lists">
- <td class="tip-before unread" ng-if ="list.is_read == 1" ng-bind="list.message"></td>
- <td class="tip-before " ng-if ="list.is_read == 2" ng-bind="list.message"></td>
- <td class="text-muted text-center" ng-bind = "list.create_time"></td>
- <td>
- <div class="link-group">
-
- <a ng-href="{{list.url}}" ng-if="list.type==1">查看我的订单</a>
-
- <a ng-href="{{list.url}}" ng-if="list.type==3">进入工单</a>
- <a ng-href="{{list.url}}" ng-if="list.type==2">查看公众号</a>
- <a ng-href="{{list.url}}" ng-if="list.type==5">查看小程序</a>
- <a ng-href="{{list.url}}" ng-if="list.type==6">查看pc</a>
- <a ng-href="{{list.url}}" ng-if="list.type==4 && list.status==1">查看我的待审核用户</a>
- <a ng-href="{{list.url}}" ng-if="list.type==7">查看我的账号</a>
- </div>
- </td>
- </tr>
- </table>
- <div class="text-right we7-margin-top">
- {$pager}
- </div>
- <script type="text/javascript">
- angular.module('messageApp').value('config', {
- 'type' : '{php echo $type}',
- 'lists': {php echo !empty($lists) ? json_encode($lists) : 'null'},
- });
- angular.bootstrap($('#message-notice'), ['messageApp']);
- </script>
- {template 'common/footer'}
|