| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091 |
- <!DOCTYPE html>
- <html xmlns:th="http://www.thymeleaf.org">
- <div th:replace="~{mobile/header :: header}"></div>
- <body>
- <header>
- <a class="back" href="javascript:history.go(-1);"> <i class="iconfont icon-fanhui"></i></a>
- <span >通知公告</span>
- </header>
- <!-- 内容 -->
- <section class="content has_header">
- <div class="data_list">
- <ul id="notifyContent">
- </ul>
- </div>
- </section>
- <div class="bottom-fxied">
- <footer>
- <span>
- <a th:href="@{/mobile/home}" >
- <i class="iconfont icon-shouye"></i>
- <div>首页</div>
- </a>
- </span>
- <span>
- <a th:href="@{/mobile/company/companyPage}" >
- <i class="iconfont icon-enterprise"></i>
- <div>产品</div>
- </a>
- </span>
- <span>
- <a th:href="@{/mobile/service}" class="active">
- <i class="iconfont icon-msnui-service"></i>
- <div>服务</div>
- </a>
- </span>
- <span>
- <a th:href="@{/mobile/account}">
- <i class="iconfont icon-wo"></i>
- <div>我</div>
- </a>
- </span>
- </footer>
- </div>
-
- </body>
- <script type="text/javascript">
- $(document).ready(function(){
- $.ajax({
- type: "POST",
- dataType: "json",
- url: pagePath+"/mobile/notify/getNotifyInfo",
- data: {
- "timestamp": new Date().getTime()
- },
- success: function (result) {
- if (result.success) {
- for(var i=0;i<result.obj.notifyList.length;i++){
-
- var notify=result.obj.notifyList[i]
-
- var html='<li><span class=""> <a href='+pagePath+'/mobile/notify/noticeDetailPage?notifyId='+notify.id+'¬ifyDetailId='+notify.notify_detail_id+'>';
- html+='【公告】'+notify.title+'</a></span>';
- html+='<span class="">'+notify.create_time+'<div class="is_read">';
- if(notify.is_read){
- html+='已读</div> </span></li> ';
- }else{
- html+='未读</div> </span></li> ';
- }
- var $html=$(html);
- $("#notifyContent").append($html);
- }
- } else {
- sadMessage(result.message);
- }
- },
- error: function () {
-
- }
- });
-
-
- });
- </script>
- </html>
|