index.vue 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346
  1. <template>
  2. <div id="technical">
  3. <el-col :span="24" class="main">
  4. <el-col :span="12" class="left">
  5. <el-col :span="1" class="leftTitle">
  6. <p>专<br />题<br />研<br />讨</p>
  7. <p></p>
  8. </el-col>
  9. <el-col :span="23" class="infoLeft">
  10. <el-col class="infoLeftList" :span="24" v-for="(item, index) in zhuantiList" :key="index">
  11. <p>{{ item.publish_time }}</p>
  12. <p>
  13. <span class="textOver">{{ item.title }}</span>
  14. <span>{{ item.content }}</span>
  15. </p>
  16. </el-col>
  17. </el-col>
  18. <el-col :span="24" class="leftListDown"><span></span><span @click="turnToList('专题研讨')">MORE</span></el-col>
  19. </el-col>
  20. <el-col :span="12" class="right">
  21. <el-col :span="24" class="rightListTop"><span @click="turnToList('技术问答')">MORE</span><span></span></el-col>
  22. <el-col :span="23" class="infoRight">
  23. <el-col class="infoRightList" :span="24" v-for="(item, index) in jishuList" :key="index">
  24. <p>
  25. <span class="textOver">{{ item.title }}</span
  26. ><span class="textOver">{{ item.publish_time }}</span>
  27. </p>
  28. </el-col>
  29. </el-col>
  30. <el-col :span="1" class="rightTitle">
  31. <p></p>
  32. <p>技<br />术<br />问<br />答</p>
  33. </el-col>
  34. </el-col>
  35. <el-col :span="24">
  36. <el-image :src="jishuImage" class="jishuImage"></el-image>
  37. </el-col>
  38. <el-col :span="12" class="left">
  39. <el-col :span="1" class="leftTitle">
  40. <p>行<br />业<br />研<br />究</p>
  41. <p></p>
  42. </el-col>
  43. <el-col :span="23" class="infoRight">
  44. <el-col class="infoRightList" :span="24" v-for="(item, index) in hangyeList" :key="index">
  45. <p>
  46. <span class="textOver">{{ item.title }}</span
  47. ><span class="textOver">{{ item.publish_time }}</span>
  48. </p>
  49. </el-col>
  50. </el-col>
  51. <el-col :span="24" class="leftListDown"><span></span><span @click="turnToList('行业研究')">MORE</span></el-col>
  52. </el-col>
  53. <el-col :span="12" class="right">
  54. <el-col :span="24" class="rightListTop"><span @click="turnToList('教育培训')">MORE</span><span></span></el-col>
  55. <el-col :span="23" class="infoLeft">
  56. <el-col class="infoLeftList" :span="24" v-for="(item, index) in jiaoyuList" :key="index">
  57. <p>{{ item.publish_time }}</p>
  58. <p>
  59. <span class="textOver">{{ item.title }}</span>
  60. <span>{{ item.content }}</span>
  61. </p>
  62. </el-col>
  63. </el-col>
  64. <el-col :span="1" class="rightTitle">
  65. <p></p>
  66. <p>教<br />育<br />培<br />训</p>
  67. </el-col>
  68. </el-col>
  69. </el-col>
  70. </div>
  71. </template>
  72. <script>
  73. export default {
  74. name: 'technical',
  75. props: {},
  76. components: {},
  77. data: () => ({
  78. jishuImage: require('@/assets/live/main2.png'),
  79. zhuantiList: [
  80. {
  81. publish_time: '2020-05-01',
  82. title: '第六届创新创业大赛总决赛圆满结束第六届创新创业大赛总决赛圆满结束',
  83. content: '第六届创新创业大赛总决赛圆满结束第六届创新创业大赛总决赛圆满结束第六届创新创业大赛总决赛圆满结束',
  84. },
  85. { publish_time: '2020-05-01', title: '六条数据', content: '六条数据' },
  86. { publish_time: '2020-05-01', title: '第六届创新创业大赛总决赛圆满结束', content: '第六届创新创业大赛总决赛圆满结束' },
  87. { publish_time: '2020-05-01', title: '第六届创新创业大赛总决赛圆满结束', content: '第六届创新创业大赛总决赛圆满结束' },
  88. { publish_time: '2020-05-01', title: '第六届创新创业大赛总决赛圆满结束', content: '第六届创新创业大赛总决赛圆满结束' },
  89. { publish_time: '2020-05-01', title: '第六届创新创业大赛总决赛圆满结束', content: '第六届创新创业大赛总决赛圆满结束' },
  90. ],
  91. jishuList: [
  92. { publish_time: '2020-05-01', title: '第六届创新创业大赛总决赛圆满结束第六届创新创业大赛总决赛圆满结束' },
  93. { publish_time: '2020-05-01', title: '十条数据' },
  94. { publish_time: '2020-05-01', title: '第六届创新创业大赛总决赛圆满结束' },
  95. { publish_time: '2020-05-01', title: '第六届创新创业大赛总决赛圆满结束' },
  96. { publish_time: '2020-05-01', title: '第六届创新创业大赛总决赛圆满结束' },
  97. { publish_time: '2020-05-01', title: '第六届创新创业大赛总决赛圆满结束' },
  98. { publish_time: '2020-05-01', title: '第六届创新创业大赛总决赛圆满结束' },
  99. { publish_time: '2020-05-01', title: '第六届创新创业大赛总决赛圆满结束' },
  100. { publish_time: '2020-05-01', title: '第六届创新创业大赛总决赛圆满结束' },
  101. { publish_time: '2020-05-01', title: '第六届创新创业大赛总决赛圆满结束' },
  102. { publish_time: '2020-05-01', title: '第六届创新创业大赛总决赛圆满结束' },
  103. ],
  104. hangyeList: [
  105. { publish_time: '2020-05-01', title: '第六届创新创业大赛总决赛圆满结束第六届创新创业大赛总决赛圆满结束' },
  106. { publish_time: '2020-05-01', title: '十条数据' },
  107. { publish_time: '2020-05-01', title: '第六届创新创业大赛总决赛圆满结束' },
  108. { publish_time: '2020-05-01', title: '第六届创新创业大赛总决赛圆满结束' },
  109. { publish_time: '2020-05-01', title: '第六届创新创业大赛总决赛圆满结束' },
  110. { publish_time: '2020-05-01', title: '第六届创新创业大赛总决赛圆满结束' },
  111. { publish_time: '2020-05-01', title: '第六届创新创业大赛总决赛圆满结束' },
  112. { publish_time: '2020-05-01', title: '第六届创新创业大赛总决赛圆满结束' },
  113. { publish_time: '2020-05-01', title: '第六届创新创业大赛总决赛圆满结束' },
  114. { publish_time: '2020-05-01', title: '第六届创新创业大赛总决赛圆满结束' },
  115. { publish_time: '2020-05-01', title: '第六届创新创业大赛总决赛圆满结束' },
  116. ],
  117. jiaoyuList: [
  118. {
  119. publish_time: '2020-05-01',
  120. title: '第六届创新创业大赛总决赛圆满结束第六届创新创业大赛总决赛圆满结束',
  121. content: '第六届创新创业大赛总决赛圆满结束第六届创新创业大赛总决赛圆满结束第六届创新创业大赛总决赛圆满结束',
  122. },
  123. { publish_time: '2020-05-01', title: '六条数据', content: '六条数据' },
  124. { publish_time: '2020-05-01', title: '第六届创新创业大赛总决赛圆满结束', content: '第六届创新创业大赛总决赛圆满结束' },
  125. { publish_time: '2020-05-01', title: '第六届创新创业大赛总决赛圆满结束', content: '第六届创新创业大赛总决赛圆满结束' },
  126. { publish_time: '2020-05-01', title: '第六届创新创业大赛总决赛圆满结束', content: '第六届创新创业大赛总决赛圆满结束' },
  127. { publish_time: '2020-05-01', title: '第六届创新创业大赛总决赛圆满结束', content: '第六届创新创业大赛总决赛圆满结束' },
  128. ],
  129. }),
  130. created() {},
  131. computed: {},
  132. methods: {
  133. turnToList(column_name) {
  134. this.$router.push({ path: '/technical/list', query: { column_name: column_name } });
  135. },
  136. },
  137. };
  138. </script>
  139. <style lang="less" scoped>
  140. .jishuImage {
  141. width: 100%;
  142. height: 100%;
  143. }
  144. .main {
  145. width: 80%;
  146. margin: 15px auto;
  147. float: none;
  148. }
  149. .left {
  150. float: left;
  151. height: 500px;
  152. margin: 15px 0 15px 0;
  153. overflow: hidden;
  154. }
  155. .leftTitle {
  156. text-align: center;
  157. position: relative;
  158. }
  159. .leftTitle p:first-child {
  160. font-size: 18px;
  161. color: #044b79;
  162. font-weight: bold;
  163. }
  164. .leftTitle p:last-child {
  165. float: left;
  166. width: 2px;
  167. height: 402px;
  168. background-color: #044b79;
  169. margin: 0 5px;
  170. position: absolute;
  171. left: 9px;
  172. }
  173. .infoLeft {
  174. height: 480px;
  175. padding: 0 10px;
  176. }
  177. .infoLeftList {
  178. float: left;
  179. width: 95%;
  180. border-bottom: 1px dashed #ccc;
  181. padding: 8px 0 8px 0;
  182. height: 82px;
  183. margin: 0 0 0 5px;
  184. }
  185. .infoLeftList:last-child {
  186. float: left;
  187. width: 95%;
  188. border-bottom: none;
  189. padding: 15px 0 15px 0;
  190. height: 80px;
  191. margin: 0 0 0 5px;
  192. }
  193. .infoLeftList:hover p:last-child span:first-child {
  194. -webkit-transform: translateY(-3px);
  195. -ms-transform: translateY(-3px);
  196. transform: translateY(-3px);
  197. -webkit-box-shadow: 0 0 6px #999;
  198. box-shadow: 0 0 6px #999;
  199. -webkit-transition: all 0.5s ease-out;
  200. transition: all 0.5s ease-out;
  201. color: #005293;
  202. cursor: pointer;
  203. }
  204. .infoLeftList p:first-child {
  205. float: left;
  206. width: 20%;
  207. font-size: 15px;
  208. background: #044b79;
  209. text-align: center;
  210. color: #fff;
  211. font-weight: bold;
  212. padding: 4px 0px;
  213. margin: 0 0 0 5px;
  214. }
  215. .infoLeftList p:last-child {
  216. float: right;
  217. width: 70%;
  218. padding: 0 0 0 10px;
  219. }
  220. .infoLeftList p:last-child span:first-child {
  221. float: left;
  222. width: 90%;
  223. font-size: 18px;
  224. }
  225. .infoLeftList p:last-child span:last-child {
  226. float: left;
  227. width: 90%;
  228. font-size: 16px;
  229. overflow: hidden;
  230. text-overflow: ellipsis;
  231. -webkit-line-clamp: 2;
  232. word-break: break-all;
  233. display: -webkit-box;
  234. -webkit-box-orient: vertical;
  235. margin: 5px 0 0 0;
  236. color: #666;
  237. }
  238. .leftListDown {
  239. position: relative;
  240. }
  241. .leftListDown span:first-child {
  242. display: inline-block;
  243. width: 80%;
  244. height: 3px;
  245. background: rgba(4, 75, 121, 0.37);
  246. margin: 0 10px 0 0;
  247. position: absolute;
  248. left: -10px;
  249. top: 10px;
  250. }
  251. .leftListDown span:last-child {
  252. font-size: 16px;
  253. float: right;
  254. padding: 0 15px 0 0;
  255. color: #044b79;
  256. font-weight: 700;
  257. cursor: pointer;
  258. }
  259. .right {
  260. float: right;
  261. height: 500px;
  262. overflow: hidden;
  263. margin: 15px 0 15px 0;
  264. }
  265. .rightListTop {
  266. position: relative;
  267. }
  268. .rightListTop span:first-child {
  269. font-size: 16px;
  270. float: left;
  271. padding: 0 0 0 15px;
  272. color: #044b79;
  273. font-weight: 700;
  274. cursor: pointer;
  275. }
  276. .rightListTop span:last-child {
  277. display: inline-block;
  278. width: 80%;
  279. height: 3px;
  280. background: rgba(4, 75, 121, 0.37);
  281. margin: 0 10px 0 0;
  282. position: absolute;
  283. right: -10px;
  284. top: 10px;
  285. }
  286. .infoRight {
  287. height: 480px;
  288. padding: 0 10px;
  289. }
  290. .infoRightList {
  291. float: left;
  292. width: 95%;
  293. padding: 11px 0;
  294. }
  295. .infoRightList:nth-child(5) {
  296. border-bottom: 1px solid #ccc;
  297. padding: 0 0 17px 0;
  298. }
  299. .infoRightList:nth-child(6) {
  300. padding: 11px 0 0 0;
  301. }
  302. .infoRightList:hover p span:first-child {
  303. -webkit-transform: translateY(-3px);
  304. -ms-transform: translateY(-3px);
  305. transform: translateY(-3px);
  306. -webkit-box-shadow: 0 0 6px #999;
  307. box-shadow: 0 0 6px #999;
  308. -webkit-transition: all 0.5s ease-out;
  309. transition: all 0.5s ease-out;
  310. color: #005293;
  311. cursor: pointer;
  312. }
  313. .infoRightList p {
  314. font-size: 18px;
  315. }
  316. .infoRightList p span:first-child {
  317. display: inline-block;
  318. width: 70%;
  319. margin: 0 20px 0 10px;
  320. }
  321. .infoRightList p span:last-child {
  322. display: inline-block;
  323. width: 21%;
  324. text-align: center;
  325. font-size: 16px;
  326. }
  327. .rightTitle {
  328. text-align: center;
  329. }
  330. .rightTitle p:first-child {
  331. width: 2px;
  332. height: 370px;
  333. background: #044b79;
  334. position: relative;
  335. left: 10px;
  336. top: -20px;
  337. }
  338. .rightTitle p:last-child {
  339. font-size: 18px;
  340. font-weight: bold;
  341. color: #044b79;
  342. }
  343. </style>