direct.vue 7.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352
  1. <template>
  2. <div id="hall" style="background-color: #fff">
  3. <el-col :span="24">
  4. <div class="livetop">
  5. <div class="w_1200">
  6. <!-- <el-col v-if="">
  7. <el-col v-else-if="">
  8. <el-col else> -->
  9. <el-col :span="24" class="title">
  10. 吉林省计算中心对接直播大厅
  11. </el-col>
  12. <el-col :span="24" class="zhuban">
  13. <span>主办方:</span>
  14. <span>吉林省计算中心直播大厅</span>
  15. </el-col>
  16. <el-col :span="24" class="num">
  17. <p>
  18. <span>同时在线</span>
  19. <span>1人</span>
  20. </p>
  21. <p>
  22. <span>特邀嘉宾</span>
  23. <span>1人</span>
  24. </p>
  25. <p>
  26. <span>洽谈合作</span>
  27. <span>1人</span>
  28. </p>
  29. <p>
  30. <span>达成意愿</span>
  31. <span>1人</span>
  32. </p>
  33. <p>
  34. <span>展示成果</span>
  35. <span>1人</span>
  36. </p>
  37. <p>
  38. <span>发布需求</span>
  39. <span>1人</span>
  40. </p>
  41. </el-col>
  42. </div>
  43. </div>
  44. <div class="w_1200">
  45. <el-col :span="24" class="livemain">
  46. <el-col :span="24" class="livevideo">
  47. <el-col :span="24" class="left">
  48. <el-col :span="24" class="title">
  49. <span style="color: rgb(255, 132, 0);">现场</span>
  50. <span>直播</span>
  51. </el-col>
  52. <el-col :span="24" class="video">
  53. 直播换面
  54. </el-col>
  55. </el-col>
  56. <el-col :span="24" class="right">
  57. <el-col :span="24">
  58. <p>
  59. <span>交易实况</span>
  60. </p>
  61. </el-col>
  62. <el-col :span="24">
  63. <ul>
  64. <li v-for="(item, index) in directlist" :key="index">
  65. <span>[{{ item.time }}]</span> <span>{{ item.name1 }}</span> <span>与</span><span>{{ item.name2 }}</span
  66. ><span>实现对接</span>
  67. </li>
  68. </ul>
  69. </el-col>
  70. </el-col>
  71. </el-col>
  72. <el-col :span="24" class="newimage">
  73. <el-image :src="superOne" style="width:100%;height:100px;position:relative;"> </el-image>
  74. <span>使用手册</span>
  75. </el-col>
  76. <el-col :span="24" class="context">
  77. <el-tabs type="border-card">
  78. <el-tab-pane label="找技术">
  79. <ul>
  80. <li v-for="(item, index) in jishulist" :key="index">
  81. <el-col :span="24" class="lileft">
  82. <p>
  83. <span>{{ item.title }}</span> <span><el-button class="background:bule">123</el-button></span>
  84. </p></el-col
  85. >
  86. <el-col :span="24" class="liright"></el-col>
  87. </li>
  88. </ul>
  89. </el-tab-pane>
  90. <el-tab-pane label="找产品">配置管理</el-tab-pane>
  91. <el-tab-pane label="找服务">角色管理</el-tab-pane>
  92. <el-tab-pane label="找专家">定时任务补偿</el-tab-pane>
  93. </el-tabs>
  94. </el-col>
  95. </el-col>
  96. </div>
  97. </el-col>
  98. </div>
  99. </template>
  100. <script>
  101. import { mapState, createNamespacedHelpers } from 'vuex';
  102. import _ from 'loadsh';
  103. export default {
  104. name: 'hall',
  105. props: {},
  106. components: {},
  107. data: () => ({
  108. directlist: [
  109. {
  110. time: '2019-03-05',
  111. name1: '中科院宁波先进制造所',
  112. name2: '深圳市华尔威体育用品',
  113. },
  114. {
  115. time: '2019-03-05',
  116. name1: '10条数据',
  117. name2: '10条数据',
  118. },
  119. ],
  120. jishulist: [{ title: '测试产品1' }],
  121. superOne: require('@/assets/live/main1.png'),
  122. }),
  123. created() {},
  124. methods: {},
  125. computed: {
  126. pageTitle() {
  127. return `${this.$route.meta.title}`;
  128. },
  129. },
  130. metaInfo() {
  131. return { title: this.$route.meta.title };
  132. },
  133. };
  134. </script>
  135. <style lang="less" scoped>
  136. .w_1200 {
  137. margin: 0 auto;
  138. width: 80%;
  139. }
  140. .livetop {
  141. width: 100%;
  142. height: 487px;
  143. overflow: hidden;
  144. background-image: url(../assets/live/top_3.png);
  145. }
  146. .livetop .title {
  147. text-align: center;
  148. color: #fff;
  149. position: relative;
  150. width: 100%;
  151. font-size: 45px;
  152. top: 65px;
  153. }
  154. .livetop .zhuban {
  155. text-align: center;
  156. color: #fff;
  157. position: relative;
  158. width: 100%;
  159. font-size: 25px;
  160. top: 140px;
  161. }
  162. .livetop .zhuban span:first-child {
  163. font-weight: 700;
  164. }
  165. .livetop .num {
  166. position: relative;
  167. top: 190px;
  168. color: #fff;
  169. }
  170. .livetop .num p {
  171. float: left;
  172. width: 15%;
  173. background: #fff;
  174. margin: 0 14px 0 0 !important;
  175. color: #000;
  176. height: 50px;
  177. line-height: 50px;
  178. border-radius: 30px;
  179. }
  180. .livetop .num p span:first-child {
  181. display: inline-block;
  182. width: 56%;
  183. text-align: center;
  184. height: 50px;
  185. line-height: 50px;
  186. font-size: 16px;
  187. background: red;
  188. border-radius: 30px;
  189. color: #fff;
  190. font-weight: 700;
  191. }
  192. .livetop .num p span:last-child {
  193. display: inline-block;
  194. width: 42%;
  195. text-align: center;
  196. font-size: 15px;
  197. font-weight: 700;
  198. }
  199. .livemain {
  200. position: relative;
  201. top: -55px;
  202. z-index: 999;
  203. }
  204. .livemain .livevideo {
  205. height: 470px;
  206. overflow: hidden;
  207. }
  208. .livemain .livevideo .left {
  209. float: left;
  210. width: 50%;
  211. height: 460px;
  212. overflow: hidden;
  213. border: 5px solid #000;
  214. background: #fff;
  215. border-radius: 5px;
  216. }
  217. .livemain .livevideo .left .title {
  218. padding: 0 10px;
  219. height: 40px;
  220. line-height: 40px;
  221. font-size: 20px;
  222. font-weight: 700;
  223. }
  224. p {
  225. margin: 0 !important;
  226. }
  227. .livemain .livevideo .left .video {
  228. height: 400px;
  229. margin: 0 10px 10px 10px;
  230. border: 2px solid #ccc;
  231. width: 685px;
  232. }
  233. .livemain .livevideo .right {
  234. width: 50%;
  235. height: 460px;
  236. overflow: hidden;
  237. background-color: #6e042c;
  238. border-top-left-radius: 5px;
  239. border-bottom-left-radius: 5px;
  240. overflow: hidden;
  241. }
  242. .livemain .livevideo .right p {
  243. color: #fff;
  244. width: 100%;
  245. float: left;
  246. height: 40px;
  247. line-height: 40px;
  248. padding: 0 10px;
  249. background: #fe950e;
  250. }
  251. .right ul {
  252. padding: 0;
  253. margin: 0;
  254. }
  255. .right ul li {
  256. height: 43px;
  257. line-height: 40px;
  258. font-size: 14px;
  259. color: #fff;
  260. border-bottom: 1px solid #ff8500;
  261. padding: 0 0 0 10px;
  262. margin: 0 20px;
  263. overflow: hidden;
  264. white-space: nowrap;
  265. text-overflow: ellipsis;
  266. }
  267. .right ul li span:first-child {
  268. color: #ff8500;
  269. }
  270. .right ul li span {
  271. margin: 0 20px 0 0;
  272. }
  273. .newimage {
  274. background-size: 100% * 80px;
  275. background-size: cover;
  276. height: 100px;
  277. width: 100%;
  278. margin-bottom: 5px;
  279. position: relative;
  280. }
  281. .newimage span {
  282. position: absolute;
  283. top: 30px;
  284. left: 650px;
  285. color: #ffffff;
  286. font-size: 36px;
  287. // position: relative;
  288. // top: 30px;
  289. z-index: 999;
  290. }
  291. /deep/.el-tabs--border-card {
  292. background: #fff;
  293. border: 1px solid #c20808;
  294. box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.12), 0 0 6px 0 rgba(0, 0, 0, 0.04);
  295. }
  296. /deep/.el-tabs--border-card > .el-tabs__header {
  297. background-color: #f5f7fa;
  298. border-bottom: 1px solid #c20808;
  299. border-right: 1px solid #c20808;
  300. border-left: 1px solid #c20808;
  301. margin: 0;
  302. }
  303. /deep/.el-tabs--border-card > .el-tabs__header .el-tabs__item.is-active {
  304. background-color: #fff;
  305. border-right-color: #c20808;
  306. border-left-color: #c20808;
  307. color: #ff8500;
  308. }
  309. .context ul {
  310. padding: 0;
  311. margin: 0;
  312. margin-block-start: 0;
  313. margin-block-end: 0;
  314. margin-inline-start: 0;
  315. margin-inline-end: 0;
  316. padding-inline-start: 0;
  317. }
  318. .context ul li {
  319. margin: 0 20px;
  320. overflow: hidden;
  321. white-space: nowrap;
  322. text-overflow: ellipsis;
  323. }
  324. /deep/.el-tabs--border-card > .el-tabs__content {
  325. padding: 15px 15px 15px 0;
  326. }
  327. .context ul li p span:first-child {
  328. display: inline-block;
  329. width: 85%;
  330. }
  331. .context ul li p span:first-child:hover {
  332. color: #ff8500;
  333. font-weight: bold;
  334. }
  335. .lileft {
  336. float: left;
  337. width: 50%;
  338. }
  339. .liright {
  340. width: 50%;
  341. }
  342. </style>