| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132 |
- <!DOCTYPE html>
- <html lang="zh">
- <head>
- <meta charset="UTF-8" />
- <meta name="viewport" content="width=device-width, initial-scale=1.0" />
- <meta http-equiv="X-UA-Compatible" content="ie=edge" />
- <title>公告详情</title>
- <script src="./Script/Common/huayi.load.js"></script>
- <script src="./Script/Common/huayi.config.js"></script>
- <link rel="stylesheet" href="css/animate.min.css" />
- <link rel="stylesheet" href="css/bootstrap.min.css" />
- <style>
- .home_page {
- margin-top: 20px;
- position: relative;
- }
- h1{
- text-align: center;
- font-weight: bold;
- margin-bottom: 20px;
- }
- .home_page img {
- width: 298px;
- height: 94px;
- position: absolute;
- z-index: -1;
- opacity: .3;
- left: 40%;
- bottom: 50%;
- }
- .List2{
- margin-top: 20px;
- position: relative;
- z-index: 1;
- }
- .btn_back{
- padding: 10px 20px;
- outline: none;
- border: none;
- color: #fff;
- background-color: rgb(36,159,234);
- position: absolute;
- left: 10px;
- border-radius: 5px;
- }
- .s-date{
- width: 100%;
- margin: 10px 0;
- padding-bottom: 5px;
- text-align: center;
- border-bottom: 1px #D6DFEA dotted;
- }
- A {
- outline-style: none;
- color: #444;
- font-size: 14px;
- text-decoration: none!important;
- line-height: 150%;
- }
- .Content {
- padding: 10px 20px 20px;
- }
- .Content p{
- line-height: 180%;
- font-size: 16px;
- margin-top: 8px!important;
- margin-bottom: 8px!important;
- }
- </style>
- </head>
- <body>
- <div class="container animated fadeInRight">
- <div class="home_page">
- <button type="button" class="btn_back">返回通告页</button>
- <h1>通告详情</h1>
- <div class="List2">
- <div class="s-date">发布时间: <span class="createTime"></span> 访问量: <a href="#" class="visits">222</a> </div>
- </div>
- <div class="Content">
- <p></p>
- </div>
- <!-- <img src="img/hom_page_img.png" alt="图片" /> -->
- </div>
- </div>
- </body>
- <script language="javascript" type="text/javascript" src="./css/layer/layer.js"></script>
- <script>
- var id = helper.request.queryString("id");
- $('.btn_back').click(function(){
- history.back()
- })
- getVisits(id)
- function getDetailInfor(id){
- $.ajax({
- type: "get",
- url: huayi.config.callcenter_url + "testusertypeapi/api/TestUserType/getimportmassagebyid",
- async: true,
- dataType: 'json',
- data:{
- id:id
- },
- success: function(data) {
- if (data.state.toLowerCase() == 'success') {
- $('.Content p').html(data.data[0].conterinfo)
- $('.List2 .createTime').html(data.data[0].createtime)
- $('.List2 .visits').html(data.data[0].readcount)
- }
- }
- });
- }
- function getVisits(id){
- $.ajax({
- type: "get",
- url: huayi.config.callcenter_url + "testusertypeapi/api/TestUserType/upimportmassageread",
- async: true,
- dataType: 'json',
- data:{
- id:id
- },
- success: function(data) {
- if (data.state.toLowerCase() == 'success') {
- getDetailInfor(id)
- }
- }
- });
- }
- </script>
- </html>
|