| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586 |
- <!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="text" id="notifyContent">
- <!-- 下面是拷贝的一段富文本内容 -->
- <!-- 结束正文拷贝 -->
- </div>
- </section>
- <script type="text/javascript">
- $(document).ready(function(){
- String.prototype.getParameter = function (key) {
- var re = new RegExp(key + '=([^&]*)(?:&)?');
- return this.match(re) && this.match(re)[1];
- };
-
- var notifyId = location.href.getParameter("notifyId");
- $.ajax({
- type: "POST",
- dataType: "json",
- url: pagePath+"/mobile/notify/getNotifyDetail/"+notifyId,
- data: {
- "timestamp": new Date().getTime()
- },
- success: function (result) {
- if (result.success) {
-
- var notify=result.obj.notify;
-
- var html=notify.content;
- var $html=$(html);
- $("#notifyContent").append($html);
- } else {
- sadMessage(result.message);
- }
- },
- error: function () {
-
- }
- });
-
-
- });
- </script>
- <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>
- </html>
|