index.vue 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181
  1. <template>
  2. <div class="manager">
  3. <div class="us-member w-over-box">
  4. <div class="container">
  5. <div class="table-list">
  6. <div class="table-top">
  7. <h3>成员列表</h3>
  8. <a class="btn-us-apply">申请列表</a>
  9. </div>
  10. <table class="table table-striped">
  11. <thead>
  12. <tr>
  13. <th>角色</th>
  14. <th>用户名称</th>
  15. <th>个人UU</th>
  16. <th>手机号</th>
  17. <th>邮箱</th>
  18. </tr>
  19. </thead>
  20. <tbody>
  21. <tr>
  22. <td>管理员</td>
  23. <td>李事业</td>
  24. <td>U456</td>
  25. <td>123456799+66</td>
  26. <td>112456112@qq.com</td>
  27. </tr>
  28. </tbody>
  29. </table>
  30. <page :total="pageParams.counts" :page-size="pageParams.count"
  31. :current="pageParams.page" @childEvent="handleCurrentChange">
  32. </page>
  33. </div>
  34. </div>
  35. </div>
  36. <!--企业管理申请列表部分-->
  37. <div class="us-apply w-over-box">
  38. <div class="container">
  39. <div class="table-list">
  40. <div class="table-top">
  41. <h3>申请列表</h3>
  42. <a class="btn-us-member">成员列表</a>
  43. </div>
  44. <table class="table table-striped">
  45. <thead>
  46. <tr>
  47. <th>操作</th>
  48. <th>用户名称</th>
  49. <th>个人UU</th>
  50. <th>手机号</th>
  51. <th>邮箱</th>
  52. </tr>
  53. </thead>
  54. <tbody>
  55. <tr>
  56. <td>
  57. <button class="btn btn-apply">同意</button>
  58. <button class="btn btn-apply">拒绝</button>
  59. </td>
  60. <td>李事业</td>
  61. <td>U456</td>
  62. <td>123456799+66</td>
  63. <td>112456112@qq.com</td>
  64. </tr>
  65. <tr>
  66. <td></td>
  67. <td>李事业</td>
  68. <td>U456</td>
  69. <td>123456799+66</td>
  70. <td>112456112@qq.com</td>
  71. </tr>
  72. </tbody>
  73. </table>
  74. <page :total="pageParams.counts" :page-size="pageParams.count"
  75. :current="pageParams.page" @childEvent="handleCurrentChange">
  76. </page>
  77. </div>
  78. </div>
  79. </div>
  80. </div>
  81. </template>
  82. <script>
  83. import Page from '~components/common/page/pageComponent.vue'
  84. export default {
  85. name: 'manager',
  86. layout: 'cloud',
  87. components: {
  88. Page
  89. },
  90. data () {
  91. return {
  92. pageParams: {
  93. page: 1,
  94. count: 10,
  95. counts: 222,
  96. filter: {}
  97. }
  98. }
  99. },
  100. methods: {
  101. handleCurrentChange () {
  102. console.log('11')
  103. }
  104. }
  105. }
  106. </script>
  107. <style scoped type="text/scss" lang="scss">
  108. .manager{
  109. background: #eee;
  110. padding:50px 0 112px 30px;
  111. }
  112. .w-over-box .table-list{
  113. position:relative;
  114. padding:20px 30px;
  115. margin-bottom:10px;
  116. background: #fff;
  117. }
  118. .w-over-box .table-list .table-top{
  119. position:relative;
  120. }
  121. .w-over-box .table-list .table-top h3{
  122. font-size: 18px;
  123. color:#000;
  124. font-weight: bold;
  125. }
  126. .w-over-box .table-list .table-top a{
  127. display:inline-block;
  128. position:absolute;
  129. right:10px;
  130. top:0;
  131. width:88px;
  132. height:28px;
  133. line-height: 26px;
  134. text-align: center;
  135. color:#0076ad;
  136. border:1px solid #bfbfbf;
  137. border-radius:3px;
  138. }
  139. .w-over-box .table-list .table-top a:hover{
  140. cursor:pointer;
  141. }
  142. .w-over-box .table-list table thead tr th{
  143. font-size: 14px;
  144. color:#333;
  145. border-top:2px solid #ddd!important;
  146. line-height: 25px!important;
  147. }
  148. .w-over-box table tbody tr td{
  149. font-size: 14px;
  150. color:#999;
  151. border:none;
  152. line-height: 25px!important;
  153. }
  154. .w-over-box table tbody tr:hover{
  155. background: #d0e5f5;
  156. }
  157. .w-over-box table tbody tr td button.btn-apply{
  158. border:1px solid #0076ad;
  159. width:40px;
  160. height:22px;
  161. line-height: 20px;
  162. font-size: 12px;
  163. border-radius:0;
  164. color:#0076ad;
  165. background: #fff;
  166. padding:0;
  167. margin:0 5px;
  168. }
  169. .w-over-box table tbody tr td button.btn-apply:hover{
  170. background: #0076ad;
  171. color:#fff;
  172. }
  173. .w-over-box table tbody tr td span{
  174. color: #505050;
  175. font-size: 14px;
  176. }
  177. </style>