contextfabuxx.vue 6.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255
  1. <template>
  2. <div id="recruitLists">
  3. <el-row>
  4. <el-col :span="24" class="list">
  5. <el-col :span="24" class="topTitle">
  6. <el-col>
  7. <template>
  8. <el-col class="sd">
  9. <el-tabs v-model="activeName" @tab-click="handleClick">
  10. <el-tab-pane label="我的需求" name="first">
  11. <template>
  12. <el-col class="xx">
  13. <el-tabs v-model="activeName1" @tab-click="handleClick">
  14. <el-tab-pane label="我的供给" name="first1">
  15. <el-col :span="24" class="fbList">
  16. <el-col :span="12">
  17. <el-col class="fbListTop">信息号 <span>信息发布</span></el-col></el-col
  18. >
  19. <el-col class="fbListCenter">
  20. <el-col class="fbListCenterL">图片</el-col>
  21. <el-col :span="24" class="fbListCenterC">
  22. <el-col class="listName">名字</el-col>
  23. <el-col class="listName">类别</el-col>
  24. <el-col class="listMoney">名字</el-col>
  25. </el-col>
  26. <el-col :span="24" class="fbListCenterTwo">
  27. <el-col :span="24" class="faTop">交易说明</el-col>
  28. <el-col :span="24" class="faTxt"> 我要买</el-col>
  29. </el-col>
  30. <el-col :span="24" class="fbListCenterR"> </el-col>
  31. </el-col>
  32. <el-col :span="24"> </el-col>
  33. <!-- <el-col v-for="(item, index) in recruitData" :key="index" @click="$emit('fetch', item.id)">
  34. <el-col :span="21" class="title textOver">{{ item.name }}</el-col>
  35. <el-col :span="3" class="date">
  36. {{ item.meta && item.meta.createdAt ? new Date(item.meta.createdAt).toLocaleDateString() : '' || '' }}
  37. </el-col>
  38. </el-col> -->
  39. </el-col></el-tab-pane
  40. >
  41. <el-tab-pane label="已经审核" name="second1">配置管理</el-tab-pane>
  42. <el-tab-pane label="未审核" name="third1">角色管理</el-tab-pane>
  43. </el-tabs>
  44. </el-col>
  45. </template>
  46. </el-tab-pane>
  47. <el-tab-pane label="交易成功" name="second">配置管理</el-tab-pane>
  48. </el-tabs>
  49. </el-col>
  50. </template>
  51. </el-col>
  52. </el-col>
  53. </el-col>
  54. </el-row>
  55. </div>
  56. </template>
  57. <script>
  58. export default {
  59. name: 'recruitLists',
  60. props: {
  61. recruitData: null,
  62. columnName: null,
  63. total: null,
  64. },
  65. components: {},
  66. data: () => ({
  67. currentPage: 1,
  68. activeName: 'second',
  69. activeName1: 'second1',
  70. }),
  71. created() {},
  72. computed: {},
  73. methods: {
  74. handleClick(tab, event) {
  75. console.log(tab, event);
  76. },
  77. handleSizeChange(val) {
  78. console.log(`每页 ${val} 条`);
  79. },
  80. handleCurrentChange(val) {
  81. console.log(`当前页: ${val}`);
  82. },
  83. clickDetailcm(row) {
  84. this.$emit('detailcm', { data: row });
  85. },
  86. },
  87. };
  88. </script>
  89. <style lang="less" scoped>
  90. .list {
  91. height: 740px;
  92. overflow: hidden;
  93. }
  94. .topTitle {
  95. height: 60px;
  96. width: 950px;
  97. line-height: 60px;
  98. border-bottom: 1px solid #215299;
  99. }
  100. .rightTopL {
  101. width: 130px;
  102. height: 60px;
  103. float: left;
  104. color: rgb(255, 255, 255);
  105. font-size: 18px;
  106. text-align: center;
  107. font-family: 微软雅黑, Tahoma, Arial, Helvetica, STHeiti;
  108. background: rgb(33, 82, 153);
  109. }
  110. .tit {
  111. background-color: #ffffff;
  112. padding: 30px 30px 0 30px;
  113. line-height: 50px;
  114. width: 890px;
  115. height: 80px;
  116. border-bottom: 1px solid #ccc;
  117. background-color: #ffffff;
  118. color: #215299;
  119. }
  120. .el-tabs__item.is-active {
  121. color: #ffffff;
  122. }
  123. .fbList {
  124. width: 888px;
  125. height: 227px;
  126. border: 1px solid #ccc;
  127. margin: 20px 0 0 20px;
  128. }
  129. .fbListTop {
  130. height: 43px;
  131. margin-left: 1px;
  132. background: #fafafa;
  133. line-height: 43px;
  134. text-indent: 10px;
  135. font-size: 13px;
  136. color: #888888;
  137. }
  138. .fbListCenter {
  139. width: 870px;
  140. height: 119px;
  141. margin: 20px 0 0 12px;
  142. }
  143. .fbListTopR {
  144. float: right;
  145. }
  146. /deep/.sd.el-tabs__item.is-active {
  147. color: #ffffff;
  148. background-color: #215299;
  149. }
  150. /deep/.xx.el-tabs__item.is-active {
  151. background-color: #ffffff;
  152. }
  153. .fbListCenterL {
  154. width: 100px;
  155. height: 100px;
  156. background-color: #ffffff;
  157. }
  158. .listName {
  159. width: 196px;
  160. text-overflow: ellipsis;
  161. white-space: nowrap;
  162. overflow: hidden;
  163. height: 44px;
  164. font-size: 16px;
  165. color: #555555;
  166. }
  167. .fbListCenterC {
  168. width: 196px;
  169. border-right: 1px solid #ccc;
  170. float: left;
  171. padding-right: 20px;
  172. height: 100px;
  173. text-overflow: ellipsis;
  174. white-space: nowrap;
  175. overflow: hidden;
  176. }
  177. .listMoney {
  178. height: 30px;
  179. font-size: 16px;
  180. color: #fe0000;
  181. width: 196px;
  182. text-overflow: ellipsis;
  183. white-space: nowrap;
  184. overflow: hidden;
  185. }
  186. /deep/.el-tabs__item {
  187. padding: 0 20px;
  188. height: 46px;
  189. -webkit-box-sizing: border-box;
  190. box-sizing: border-box;
  191. line-height: 40px;
  192. display: inline-block;
  193. list-style: none;
  194. font-size: 14px;
  195. font-weight: 500;
  196. color: #303133;
  197. position: relative;
  198. }
  199. .fbListCenterTwo {
  200. width: 385px;
  201. float: left;
  202. margin-left: 10px;
  203. margin-right: 10px;
  204. background: #fafafa;
  205. height: 100px;
  206. }
  207. .faTop {
  208. padding-left: 10px;
  209. width: 374px;
  210. font-size: 14px;
  211. height: 35px;
  212. line-height: 35px;
  213. color: #215299;
  214. }
  215. .faTxt {
  216. padding-left: 10px;
  217. width: 374px;
  218. height: 55px;
  219. font-size: 14px;
  220. word-break: break-all;
  221. text-overflow: ellipsis;
  222. display: -webkit-box;
  223. -webkit-box-orient: vertical;
  224. -webkit-line-clamp: 3;
  225. overflow: hidden;
  226. }
  227. .fbListCenterR {
  228. border-left: 1px solid #ccc;
  229. width: 125px;
  230. height: 100px;
  231. float: left;
  232. }
  233. .fbListCenterR {
  234. margin-left: 20px;
  235. font-size: 14px;
  236. color: #215299;
  237. float: left;
  238. }
  239. .page {
  240. padding: 11px 0 0 0;
  241. text-align: center;
  242. }
  243. </style>