index.html 6.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128
  1. <!DOCTYPE html>
  2. <html xmlns="http://www.w3.org/1999/xhtml" ng-app="app">
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  5. <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
  6. <title>我的收藏</title>
  7. <link href="../../AFrontEnd/css/animate.css" rel="stylesheet" />
  8. <link href="../../AFrontEnd/css/fontawesome/css/font-awesome.css" rel="stylesheet" />
  9. <link href="../../AFrontEnd/css/bootstrap.css" rel="stylesheet" />
  10. <link href="../../AFrontEnd/css/style.css" rel="stylesheet" />
  11. <script>document.write("<link href='../../AFrontEnd/css/special.css?time=" + new Date().getTime() + "' rel='stylesheet'>");</script>
  12. </head>
  13. <body ng-controller="indexCtrl as ctl" ng-cloak>
  14. <div>
  15. <div class="loading" ng-if="ctl.loading">
  16. <div class="loading-msg">
  17. <h3>数据加载中,请等待</h3>
  18. <div class="spinner">
  19. <div class="bounce1"></div>
  20. <div class="bounce2"></div>
  21. <div class="bounce3"></div>
  22. </div>
  23. </div>
  24. </div>
  25. <div class="sp-page-mgn" >
  26. <div class="sp-page-pad">
  27. <div class="sp-page">
  28. <div class="sp-page-col sp-pull-left">
  29. <span class="sp-page-title">我的收藏</span>
  30. </div>
  31. <div class="sp-page-col sp-pull-right">
  32. <span class="sp-btn-gray sp-md sp-btn-radius" ng-click="ctl.openSearchLayer()"><i class="fa fa-search"></i> 查 询</span>
  33. </div>
  34. </div>
  35. <div class="sp-line-gray"></div>
  36. <div class="sp-page">
  37. <div class="sp-page-mgn">
  38. <table class="sp-table">
  39. <thead>
  40. <tr>
  41. <th style="width:60px;">序号</th>
  42. <th>文章模块</th>
  43. <th>文章标题</th>
  44. <th>用户名称</th>
  45. <th>用户单位名称</th>
  46. <th>收藏时间</th>
  47. <th style="width:160px;">操作</th>
  48. </tr>
  49. </thead>
  50. <tbody>
  51. <tr dir-paginate="item in ctl.rows|itemsPerPage:ctl.itemsPerPage"
  52. total-items="ctl.total_count">
  53. <td ng-bind="$index+1"></td>
  54. <td ng-bind="item.WZMK"></td>
  55. <td>
  56. <div class="sp-color-blue" ng-bind="item.WZBT"></div>
  57. </td>
  58. <td ng-bind="item.YHMC"></td>
  59. <td ng-bind="item.YHDWMC"></td>
  60. <td ng-bind="item.YDSJ"></td>
  61. <td>
  62. <button class="sp-btn-blue-outline sp-btn-sm sp-radius" title="查看" ng-click="ctl.itemCheck(item)">查 看</button>
  63. <button class="sp-btn-red-outline sp-btn-sm sp-radius" title="删除" ng-click="ctl.deleteData(item)">删 除</button>
  64. </td>
  65. </tr>
  66. </tbody>
  67. </table>
  68. <div class="sp-table-tip ng-hide" ng-show="ctl.noDataTip == 0">
  69. <i class="fa fa-exclamation-circle"></i> 您好,暂无数据!
  70. </div>
  71. <div class="sp-page" ng-show="ctl.noDataTip != 0">
  72. <div class="sp-page-col sp-pull-right">
  73. <div class="sp-lh-34">
  74. 每页 <select ng-model="ctl.itemsPerPage" ng-options="x for x in ctl.pageOptions"
  75. ng-init="ctl.itemsPerPage=ctl.pageOptions[0]"></select> 条
  76. </div>
  77. </div>
  78. <div class="sp-page-col sp-pull-right">
  79. <dir-pagination-controls max-size="8" direction-links="true" boundary-links="true"
  80. on-page-change="ctl.getData(newPageNumber)">
  81. </dir-pagination-controls>
  82. </div>
  83. </div>
  84. </div>
  85. </div>
  86. </div>
  87. </div>
  88. </div>
  89. <div class="sp-layer" id="layer_search" style="width: 500px;">
  90. <div class="sp-layer-head">
  91. <div class="sp-layer-title">
  92. 收藏查询
  93. </div>
  94. <div class="sp-layer-close" title="关闭" onclick="sp.closeCenter('.sp-layer')">
  95. ×
  96. </div>
  97. </div>
  98. <div class="sp-layer-body">
  99. <table class="sp-grid-job">
  100. <tbody>
  101. <tr>
  102. <td style="width:120px;">文章标题</td>
  103. <td>
  104. <input type="text" class="sp-input" placeholder="文章标题" ng-model="ctl.search.WZBT"/>
  105. </td>
  106. </tr>
  107. </tbody>
  108. </table>
  109. <div class="sp-line-txt sp-text-center sp-pt-10">
  110. <a class="sp-btn-blue sp-sm sp-radius" ng-click="ctl.doSearch()"><i class="fa fa-search"></i>&nbsp;查 询</a>
  111. <a class="sp-btn-blue sp-sm sp-radius" onclick="sp.closeCenter('.sp-layer')"><i class="fa fa-reply-all"></i>&nbsp;取
  112. 消</a>
  113. </div>
  114. </div>
  115. </div>
  116. <script src="../../AFrontEnd/js/jquery/jquery-2.1.4.min.js"></script>
  117. <script src="../../AFrontEnd/js/laydate/laydate.js"></script>
  118. <script src="../../AFrontEnd/js/angularjs/angular.js"></script>
  119. <script src="../../AFrontEnd/js/angularjs/dirPagination.js"></script>
  120. <script src="../../apiurljs.js"></script>
  121. <script src="../../js/sm4.js"></script>
  122. <script>document.write('<scri' + 'pt src="../../AFrontEnd/js/special/special.js?time=' + new Date().getTime() + '" type="text/javascript"></s' + 'cript>')</script>
  123. <script>document.write('<scri' + 'pt src="js/index.js?time=' + new Date().getTime() + '" type="text/javascript"></s' + 'cript>')</script>
  124. <script src="../../AFrontEnd/js/special/spng.js"></script>
  125. <script src="../../AFrontEnd/js/special/spngvld.js"></script>
  126. </body>
  127. </html>