12345市长热线标准版-前端

weiBoDetail.html 2.7KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="UTF-8">
  5. <script src="../Script/Common/huayi.load.js"></script>
  6. <script src="../Script/Common/huayi.config.js"></script>
  7. <link rel="stylesheet" href="../css/init.css" />
  8. <title>微博详情</title>
  9. <style>
  10. .treeTable {
  11. height: 400px;
  12. /*overflow-y: auto;*/
  13. }
  14. .content {
  15. width: 270px;
  16. height: 100%;
  17. overflow: hidden;
  18. white-space: nowrap;
  19. text-overflow: ellipsis;
  20. text-align: left;
  21. cursor: pointer;
  22. }
  23. #table1 thead tr th{
  24. background: #01a1cb;
  25. color: #fff;
  26. text-align: center;
  27. }
  28. #table1 tbody tr td{
  29. text-align: center;
  30. }
  31. </style>
  32. </head>
  33. <body>
  34. <div class="container-fluid">
  35. <div class="daoHang clearfix">
  36. <div class="dhLeft">
  37. <sapn><i class="syIcon"></i>位置:<a id="ReIndex">首页</a>&gt;<a href="javaScript:;">后台管理</a>&gt;<a href="" class="nowPosition">微博信息详情</a></sapn>
  38. </div>
  39. <div class="dhRight"><a href="" title="刷新"><i class="fa fa-refresh"></i></a></div>
  40. </div>
  41. <div class="treeTable clearfix">
  42. <div class="tableCon">
  43. <table id="table1" class="table table-hover table-striped table-bordered table-condensed">
  44. <thead>
  45. <tr>
  46. <th>微博ID</th>
  47. <th>微博信息</th>
  48. <th>关联</th>
  49. <th>发布人</th>
  50. <th>发布时间</th>
  51. <!--<th>操作</th>-->
  52. </tr>
  53. </thead>
  54. <tbody id="tbody"></tbody>
  55. </table>
  56. </div>
  57. </div>
  58. </div>
  59. <script src="../css/layer/layer.js"></script>
  60. <script>
  61. var id = helper.request.queryString("id");
  62. $('#table1 tbody').html('');
  63. $.ajax({
  64. type:"get",
  65. url:huayi.config.callcenter_url + "WeiBo/WeiBoInfoByIn",
  66. async:true,
  67. dataType:'json',
  68. data:{
  69. token:$.cookie("token"),
  70. id:id
  71. },
  72. success:function(data){
  73. var con=data.data;
  74. if(data.state.toLowerCase()=='success'){
  75. $('<tr>'+
  76. '<td>'+ con.W_Id +'</td>'+
  77. '<td>'+ con.W_Text +'</td>'+
  78. '<td>'+ con.W_Source +'</td>'+
  79. '<td>'+ con.W_Name +'</td>'+
  80. '<td>'+ con.W_Created_at +'</td>'+
  81. // '<td>'+ con.W_Url +'</td>'+
  82. '</tr>').appendTo('#table1 tbody');
  83. }
  84. }
  85. });
  86. </script>
  87. </body>
  88. </html>