direct.vue 47 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486
  1. <template>
  2. <div id="hall" style="background-color: #fff">
  3. <el-row>
  4. <el-col :span="24">
  5. <div class="livetop">
  6. <div class="w_1200">
  7. <el-col :span="24" class="title">
  8. {{ dockInfo.title }}
  9. </el-col>
  10. <el-col :span="24" class="zhuban">
  11. <span>主办方:</span>
  12. <span>{{ dockInfo.sponsor }}</span>
  13. </el-col>
  14. <el-col :span="24" class="num">
  15. <p>
  16. <span>同时在线</span>
  17. <span>{{ statNum.tszx }}人</span>
  18. </p>
  19. <p>
  20. <span>特邀嘉宾</span>
  21. <span>{{ statNum.tyjb }}人</span>
  22. </p>
  23. <p>
  24. <span>洽谈合作</span>
  25. <span>{{ statNum.qthz }}项</span>
  26. </p>
  27. <p>
  28. <span>达成意愿</span>
  29. <span>{{ statNum.dcyx }}项</span>
  30. </p>
  31. <p>
  32. <span>交易完成</span>
  33. <span>{{ statNum.jywc }}项</span>
  34. </p>
  35. <p>
  36. <span>参展项目</span>
  37. <span>{{ statNum.czxm }}项</span>
  38. </p>
  39. </el-col>
  40. </div>
  41. </div>
  42. <div class="w_1200">
  43. <el-col :span="24" class="livemain">
  44. <el-col :span="24" class="livevideo">
  45. <el-col :span="12" class="left">
  46. <el-col :span="24" class="lefttop">
  47. <el-col :span="4" class="lefttopleft">
  48. <span style="color: rgb(255, 132, 0);">视频</span>
  49. <span>直播</span>
  50. </el-col>
  51. <el-col :span="20" class="lefttopright">
  52. <p class="textOver">{{ dockInfo.videointro }}</p>
  53. </el-col>
  54. </el-col>
  55. <el-col :span="24" class="leftvideo">
  56. <el-col :span="24" class="video">
  57. <video :src="dockInfo.file_path" autoplay="" controls="controls" v-if="dockInfo.file_path != null || ''">
  58. 您的浏览器不支持 video 标签。
  59. </video>
  60. <div class="videointro" v-else>
  61. <p>{{ dockInfo.videointro }}</p>
  62. <!-- <p>{{ dockInfo.videointroinfo }}</p> -->
  63. </div>
  64. </el-col>
  65. </el-col>
  66. </el-col>
  67. <el-col :span="12" class="right">
  68. <el-tabs v-model="videoList" type="card">
  69. <el-tab-pane label="图文直播" name="first">
  70. <el-col :span="24" class="rightFirst">
  71. <el-col :span="24" class="list" :style="{ height: `${this.user.role == 3 ? '390px' : '415px'}` }" id="chat">
  72. <el-col :span="24" class="lunboList" v-for="(item, index) in lunboList" :key="index">
  73. <el-col :span="2" class="image">
  74. <el-image :src="touxiang" style="width:30px;height:30px"></el-image>
  75. </el-col>
  76. <el-col :span="21" class="other">
  77. <el-col :span="24" class="one">
  78. <span>{{ item.type == '0' || item.type == '2' ? item.login_name : item.type == '1' ? item.market_username : '暂无' }}</span>
  79. <span>[{{ getlundate(item.date) }}]</span>
  80. </el-col>
  81. <el-col :span="24" class="two">
  82. <span v-if="item.type == '0'">
  83. <p class="hywl">
  84. <span>欢迎</span>
  85. <span>{{ item.login_name }}</span>
  86. <span>位临现场</span>
  87. <el-image :src="hand" class="hand"></el-image>
  88. <el-image :src="hand" class="hand"></el-image>
  89. <el-image :src="hand" class="hand"></el-image>
  90. <el-image :src="hand" class="hand"></el-image>
  91. <el-image :src="hand" class="hand"></el-image>
  92. <el-image :src="hand" class="hand"></el-image>
  93. </p>
  94. </span>
  95. <span v-else-if="item.type == '1'">
  96. <p class="zh">
  97. <span>祝贺</span>
  98. <span>{{ item.market_username }}</span>
  99. <span>和</span>
  100. <span>{{ item.username }}</span>
  101. <span>{{ getstatus(item.status) }}</span>
  102. <el-image :src="hand" class="hand"></el-image>
  103. <el-image :src="hand" class="hand"></el-image>
  104. <el-image :src="hand" class="hand"></el-image>
  105. <el-image :src="hand" class="hand"></el-image>
  106. <el-image :src="hand" class="hand"></el-image>
  107. <el-image :src="hand" class="hand"></el-image>
  108. </p>
  109. </span>
  110. <span v-else-if="item.type == '2'">
  111. <p class="remark">{{ item.remark }}</p>
  112. </span>
  113. </el-col>
  114. </el-col>
  115. </el-col>
  116. </el-col>
  117. <el-col :span="24" class="send" v-if="user.role == '3'">
  118. <el-col :span="21">
  119. <el-input v-model="text" size="mini" placeholder="请输入内容"></el-input>
  120. </el-col>
  121. <el-col :span="3" style="text-align:center;">
  122. <el-button @click="send" size="mini" style="background: #ff8500;color: #fff;width: 100%;padding: 8px 0;">发送</el-button>
  123. </el-col>
  124. </el-col>
  125. </el-col>
  126. </el-tab-pane>
  127. </el-tabs>
  128. </el-col>
  129. </el-col>
  130. <el-col :span="24" class="newimage">
  131. <el-image :src="superOne" style="width:100%;height:100px;position:relative;"> </el-image>
  132. <el-link :underline="false" href="user.docx">
  133. 使用手册
  134. </el-link>
  135. </el-col>
  136. <el-col :span="24" class="tabsData">
  137. <el-tabs type="border-card" @tab-click="handleClick">
  138. <el-tab-pane label="技术成果">
  139. <el-col :span="24" class="one">
  140. <el-row>
  141. <el-col :span="24" class="demandList">
  142. <el-col :span="24" class="topList">
  143. <el-col :span="4" class="list" v-for="(item, index) in demandList" :key="index" @click.native="oneBtnDetail(item)">
  144. <el-image :src="achievezb"></el-image>
  145. <el-col :span="24" class="company textOver">
  146. {{ item.company }}
  147. </el-col>
  148. <el-col :span="24" class="aName textOver">
  149. {{ item.name }}
  150. </el-col>
  151. <el-col :span="24" class="a-brief">{{ item.achievebrief }}</el-col>
  152. <el-col :span="24" class="cont">
  153. <el-col :span="24" class="a-field">领域:{{ item.field }}</el-col>
  154. <el-col :span="24" class="a-contacts">联系人:{{ item.contacts }}</el-col>
  155. </el-col>
  156. <el-col :span="24" class="clickBtn">
  157. <el-button size="mini" type="primary" @click="oneBtnDetail(item)">详情</el-button>
  158. <el-button
  159. size="mini"
  160. type="success"
  161. @click="
  162. $router.push({
  163. path: '/live/hall/dock/dockDetail',
  164. query: { id: item._id, dockid: dock_id, user_id: user_id, type: item.type },
  165. })
  166. "
  167. >对接</el-button
  168. >
  169. </el-col>
  170. </el-col>
  171. </el-col>
  172. <el-col :span="24" class="btn">
  173. <el-button
  174. type="primary"
  175. size="mini"
  176. @click="$router.push({ path: '/hall/productList/technologyList', query: { column_name: '技术成果', dockid: dock_id } })"
  177. v-if="demandList.length > 6"
  178. >查看所有项目</el-button
  179. >
  180. </el-col>
  181. </el-col>
  182. </el-row>
  183. </el-col>
  184. </el-tab-pane>
  185. <el-tab-pane label="科技需求">
  186. <el-col :span="24" class="one">
  187. <el-row class="jishulist">
  188. <el-col :span="24" class="topList">
  189. <el-col :span="24" class="list" v-for="(item, index) in jishulist" :key="index">
  190. <el-col :span="16" class="name">
  191. <p>
  192. <span class="inname"> {{ item.name }}</span>
  193. </p>
  194. </el-col>
  195. <el-col :span="4" class="names">
  196. <p>
  197. <span>
  198. 所属领域:
  199. {{ item.field }}</span
  200. >
  201. </p>
  202. </el-col>
  203. <el-col :span="4" class="click">
  204. <el-button size="mini" type="primary" @click="oneBtnDetail(item)">详情</el-button>
  205. <el-button
  206. size="mini"
  207. type="success"
  208. @click="
  209. $router.push({
  210. path: '/live/hall/dock/dockDetail',
  211. query: { id: item._id, dockid: dock_id, user_id: user_id, type: item.type },
  212. })
  213. "
  214. >对接</el-button
  215. >
  216. </el-col>
  217. </el-col>
  218. </el-col>
  219. <el-col :span="24" class="btn">
  220. <el-button
  221. type="primary"
  222. size="mini"
  223. @click="$router.push({ path: '/hall/productList/technologyList', query: { column_name: '科技需求', dockid: dock_id } })"
  224. v-if="jishulist.length > 10"
  225. >查看所有项目</el-button
  226. >
  227. </el-col>
  228. </el-row>
  229. </el-col>
  230. </el-tab-pane>
  231. <!-- <el-tab-pane label="商务服务">
  232. <el-col :span="24" class="one">
  233. <el-row>
  234. <el-col :span="24" class="serviceList">
  235. <el-col :span="24" class="topList">
  236. <el-col :span="24" class="list" v-for="(item, index) in serviceList" :key="index">
  237. <el-col :span="20" class="name">
  238. {{ item.name }}
  239. </el-col>
  240. <el-col :span="4" class="click">
  241. <el-button size="mini" type="primary" @click="oneBtnDetail(item)">详情</el-button>
  242. <el-button
  243. size="mini"
  244. type="success"
  245. @click="
  246. $router.push({
  247. path: '/live/hall/dock/dockDetail',
  248. query: { id: item._id, dockid: dock_id, user_id: user_id, type: item.type },
  249. })
  250. "
  251. >对接</el-button
  252. >
  253. </el-col>
  254. <el-col :span="12" class="otherInfo"> 信息属性:{{ item.messattribute }} </el-col>
  255. <el-col :span="12" class="otherInfo"> 需求程度:{{ item.demand }} </el-col>
  256. </el-col>
  257. </el-col>
  258. <el-col :span="24" class="btn">
  259. <el-button
  260. type="primary"
  261. size="mini"
  262. @click="$router.push({ path: '/hall/productList/technologyList', query: { column_name: '服务', dockid: dock_id } })"
  263. v-if="serviceList.length > 6"
  264. >查看所有项目</el-button
  265. >
  266. </el-col>
  267. </el-col>
  268. </el-row>
  269. </el-col>
  270. </el-tab-pane> -->
  271. <el-tab-pane label="专家智库">
  272. <el-col :span="24" class="two">
  273. <el-col :span="12" class="twoList" v-for="(item, index) in expertList" :key="index">
  274. <el-col :span="4" class="image">
  275. <el-image :src="item.expertimage" style="width:70px;height: 70px;border: 1px solid #f1f1f1;" v-if="item.expertimage != ''"></el-image>
  276. <el-image :src="expertimage" style="width:70px;height: 70px;border: 1px solid #f1f1f1;" v-else></el-image>
  277. </el-col>
  278. <el-col :span="20" class="info">
  279. <el-col :span="16" class="name textOver">
  280. {{ item.name }}
  281. </el-col>
  282. <el-col :span="8">
  283. <el-button size="mini" type="primary" @click="twoBtnDetail(item)" style="margin:0 5px 0 5px">详情</el-button>
  284. <el-button
  285. size="mini"
  286. type="success"
  287. @click="$router.push({ path: '/live/hall/dock/zhanjiaduijie', query: { id: item._id, dockid: dock_id, user_id: user_id } })"
  288. >对接</el-button
  289. >
  290. </el-col>
  291. <el-col :span="24" class="txt textOver"> {{ item.zwzc || '暂无' }} </el-col>
  292. <el-col :span="24" class="txt textOver"> {{ item.company || '暂无' }} </el-col>
  293. <!-- <el-col :span="12" class="txt textOver"> QQ/微信:{{ item.qqwx || '暂无' }} </el-col>
  294. <el-col :span="12" class="txt textOver"> 电子邮箱:{{ item.email || '暂无' }} </el-col> -->
  295. </el-col>
  296. </el-col>
  297. <el-col :span="24" class="onmore">
  298. <el-button
  299. v-if="expertList.length >= 8"
  300. type="primary"
  301. size="mini"
  302. @click="$router.push({ path: '/hall/productList/expertList', query: { dockid: dock_id, user_id: user_id } })"
  303. >查看所有项目</el-button
  304. >
  305. </el-col>
  306. </el-col>
  307. </el-tab-pane>
  308. </el-tabs>
  309. <el-col :span="24" class="marketPublish">
  310. <el-col :span="18"> <el-input v-model="name" placeholder="请输入名称" style="height:30px" class="newinput"></el-input></el-col>
  311. <el-col :span="6"><el-button class="btnSearch" size="mini" @click="resetForm(name)">查询</el-button></el-col>
  312. </el-col>
  313. </el-col>
  314. <el-col :span="24">
  315. <el-image :src="two" style="width:100%;height:100px;position:relative;"> </el-image>
  316. </el-col>
  317. <div class="fangtan">
  318. <el-col :span="7" class="jiabin">
  319. <p class="jiabintop">
  320. <span>嘉宾访谈</span>
  321. <!-- <el-link :underline="false">MORE</el-link> -->
  322. </p>
  323. <div class="jiabinlist">
  324. <ul>
  325. <li v-for="(ref, index) in zxzdlist" :key="index">
  326. <img :src="ref.picture" />
  327. <p>
  328. <span class="textOver" @click="$router.push({ path: '/hall/zxzdxmly/zxzdDetail', query: { id: ref.id } })">{{ ref.title }}</span>
  329. <span>{{ ref.publish_time }}</span>
  330. <span class="text">{{ ref.titlejj }} </span>
  331. </p>
  332. </li>
  333. </ul>
  334. </div>
  335. </el-col>
  336. <el-col :span="7" class="jiabin luyan">
  337. <p class="jiabintop luyanTop">
  338. <span>项目路演</span>
  339. <!-- <el-link :underline="false">MORE</el-link> -->
  340. </p>
  341. <div class="luyanList">
  342. <ul>
  343. <li v-for="(item, index) in xmlylist" :key="index">
  344. <p>
  345. <span class="textOver" @click="$router.push({ path: '/hall/zxzdxmly/xmlyDetail', query: { id: item.id } })">{{ item.title }}</span>
  346. <span>时间:{{ item.publish_time }}</span>
  347. </p>
  348. <p>
  349. {{ item.titlejj }}
  350. </p>
  351. </li>
  352. </ul>
  353. </div>
  354. </el-col>
  355. <el-col :span="7" class="chat">
  356. <chat></chat>
  357. </el-col>
  358. </div>
  359. </el-col>
  360. </div>
  361. </el-col>
  362. <div class="pz_down">
  363. <live-foot></live-foot>
  364. </div>
  365. <el-col :span="24" class="nameShow">
  366. <div class="w_1200">
  367. <el-col :span="24" v-if="this.user.uid">
  368. <span>{{ user.name }}</span>
  369. <el-button
  370. type="info"
  371. size="mini"
  372. v-if="this.user.role == '4' || this.user.role == '5' || this.user.role == '6' || this.user.role == '7'"
  373. @click="$router.push({ path: '/userCenter/index', query: { num: 1 } })"
  374. >个人中心</el-button
  375. >
  376. <el-button type="info" size="mini" v-else-if="this.user.role == '3'" @click="$router.push({ path: '/adminCenter/index', query: { num: 1 } })"
  377. >管理中心</el-button
  378. >
  379. <el-button type="info" size="mini" v-else-if="this.user.role == '8'" @click="$router.push({ path: '/vipCenter/index', query: { num: 1 } })"
  380. >管理中心</el-button
  381. >
  382. </el-col>
  383. </div>
  384. </el-col>
  385. </el-row>
  386. <el-dialog title="信息详情" :visible.sync="dialogVisible" width="55%" :before-close="handleClose">
  387. <directDetail :directInfo="directInfo"></directDetail>
  388. </el-dialog>
  389. <el-dialog title="专家信息" :visible.sync="dialogExport" width="60%" :before-close="handleCloseExport">
  390. <expeDetail :detailInfo="exportInfo" :displayBtn="displayBtn"></expeDetail>
  391. </el-dialog>
  392. </div>
  393. </template>
  394. <script>
  395. import liveFoot from '@/layout/live/foot.vue';
  396. import chat from '@/components/parts/chat.vue';
  397. import directDetail from '@/layout/direct/directDetail.vue';
  398. import exportDetail from '@/layout/direct/exportDetail.vue';
  399. // 专家
  400. import expeDetail from '@/views/market/detail/expeDetail.vue';
  401. import { mapState, createNamespacedHelpers } from 'vuex';
  402. const { mapActions: transaction } = createNamespacedHelpers('transaction');
  403. const { mapActions: mapProduct } = createNamespacedHelpers('marketproduct');
  404. const { mapActions: market } = createNamespacedHelpers('market');
  405. const { mapActions: dock } = createNamespacedHelpers('dock');
  406. const { mapActions: expertsuser } = createNamespacedHelpers('expertsuser');
  407. const { mapActions: newsguidance } = createNamespacedHelpers('newsguidance');
  408. const { mapActions: newsroadshow } = createNamespacedHelpers('newsroadshow');
  409. import moment from 'moment';
  410. import _ from 'loadsh';
  411. export default {
  412. name: 'hall',
  413. props: {},
  414. inject: ['reload'],
  415. filters: {
  416. getDate(meta) {
  417. let createdAt = _.get(meta, `createdAt`);
  418. let date = new Date(createdAt)
  419. .toLocaleDateString()
  420. .replace('/', '-')
  421. .replace('/', '-');
  422. return date;
  423. },
  424. },
  425. components: {
  426. chat,
  427. liveFoot,
  428. directDetail, //技术,产品,服务详情
  429. expeDetail,
  430. },
  431. data: () => ({
  432. hand: require('@/assets/emotion/flower2.gif'),
  433. achievezb: require('@/assets/3.png'),
  434. touxiang: require('@/assets/emotion/touxiang.png'),
  435. videodisplay: 'list',
  436. activeName: 'second',
  437. //搜索判断用
  438. panduan: '找技术',
  439. // 找技术
  440. jishulist: [],
  441. // 找产品
  442. demandList: [],
  443. // 找服务
  444. serviceList: [],
  445. // 找专家
  446. expertList: [],
  447. // 详情显示
  448. dialogVisible: false,
  449. displayBtn: false,
  450. // 技术,产品,服务详情
  451. directInfo: {},
  452. // 专家详情
  453. dialogExport: false,
  454. exportInfo: {},
  455. expertimage: require('@/assets/live/222.png'),
  456. // 交易实况
  457. directlist: [],
  458. //达成意向
  459. yixianglist: [],
  460. //合作成功
  461. successlist: [],
  462. // 嘉宾访谈
  463. zxzdlist: [],
  464. // 路演
  465. xmlylist: [],
  466. // 使用手册开始
  467. superOne: require('@/assets/live/main1.png'),
  468. two: require('@/assets/live/top_bg.png'),
  469. superOnes: require('@/assets/live/测试图片.jpg'),
  470. // 使用手册结束
  471. // 统计数字
  472. statNum: {
  473. tszx: 0,
  474. tyjb: 0,
  475. qthz: 0,
  476. dcyx: 0,
  477. jywc: 0,
  478. czxm: 0,
  479. },
  480. // 对接会详情
  481. dockInfo: {},
  482. //对接会创建人id
  483. user_id: '',
  484. name: '',
  485. dock_id: '',
  486. // 测试轮播
  487. lunboList: [],
  488. //现场直播对话框
  489. text: '',
  490. // 视频右侧聊天列表
  491. videoList: 'first',
  492. // // 视频是否显示
  493. // viewvideo: 'text',
  494. times: 5,
  495. }),
  496. async created() {
  497. this.$set(this, `dock_id`, this.$route.query.id);
  498. // 对接会详情
  499. await this.dockdetail();
  500. await this.searchdock();
  501. },
  502. methods: {
  503. ...mapProduct({ mapProductQuery: 'newquery' }),
  504. ...market({ marketFetch: 'fetch', operaFetch: 'operaFetch', sendMsg: 'operationCreate', operaQuery: 'operaQuery' }),
  505. ...dock({ dockQuery: 'query', dockFetch: 'fetch', goodsquery: 'goodsquery' }),
  506. ...expertsuser({ expertQuery: 'query' }),
  507. ...transaction({ tquery: 'query' }),
  508. ...newsguidance({ danceQuery: 'query' }),
  509. ...newsroadshow({ adshowQuery: 'query' }),
  510. // 查询详情
  511. async searchdock() {
  512. // 标题
  513. // 参展项目
  514. let res = await this.dockFetch(this.dock_id);
  515. if (this.$checkRes(res)) {
  516. // 对接会详情
  517. // this.$set(this, `dockInfo`, res.data);
  518. // 对接会创建人id
  519. this.$set(this, `user_id`, res.data.user_id);
  520. }
  521. let czxm = res.data.apply.map(item => item.goodsList);
  522. // let czxm = res.data.map(item => item.apply.map(apply => apply.goodsList));
  523. czxm = _.flattenDeep(czxm);
  524. var czxmNew = czxm.filter(item => item.dockStatus == '1');
  525. this.$set(this.statNum, `czxm`, czxmNew.length);
  526. // 找技术
  527. var jishuData = czxmNew.filter(item => item.type === '0');
  528. this.$set(this, `jishulist`, jishuData);
  529. // 找产品
  530. var chanpinData = czxmNew.filter(item => item.type === '1');
  531. // var ccgydx = chanpinData.filter(item => item.company === '中科院长春分院');
  532. // if (ccgydx) this.$set(this, `demandList`, ccgydx);
  533. // var ccfy = chanpinData.filter(item => item.company === '长春工业大学');
  534. if (chanpinData) this.$set(this, `demandList`, chanpinData);
  535. // 找服务
  536. var fuwuData = czxmNew.filter(item => item.type === '2');
  537. this.$set(this, `serviceList`, fuwuData);
  538. // 找专家
  539. let exportdata = await this.expertQuery({ role: 6, limit: 8 });
  540. if (this.$checkRes(exportdata)) this.$set(this, `expertList`, exportdata.data);
  541. // 查询特邀嘉宾
  542. let arr = await this.expertQuery({ role: 6 });
  543. this.$set(this.statNum, `tyjb`, arr.data.length);
  544. // 洽谈合作
  545. let qthe = await this.tquery({ status: 0, dockid: this.id });
  546. this.$set(this.statNum, `qthz`, qthe.total);
  547. // 达成意向
  548. let dcyx = await this.tquery({ status: 1, dockid: this.id });
  549. for (const val of dcyx.data) {
  550. var time = moment(val.meta.createdAt).format('YYYY-MM-DD hh:mm');
  551. val.time = time;
  552. }
  553. this.$set(this.statNum, `dcyx`, dcyx.total);
  554. this.$set(this, `yixianglist`, dcyx.data);
  555. // 交易完成&合作成功
  556. let jywc = await this.tquery({ status: 2, dockid: this.id });
  557. for (const val of jywc.data) {
  558. var time = moment(val.meta.createdAt).format('YYYY-MM-DD hh:mm');
  559. val.time = time;
  560. }
  561. this.$set(this.statNum, `jywc`, jywc.total);
  562. this.$set(this, `successlist`, jywc.data);
  563. //交易实况
  564. let jysk = await this.tquery({ dockid: this.id });
  565. let newjysk = jysk.data.filter(f => f.status == '1' || f.status == '2');
  566. for (const val of newjysk) {
  567. var time = moment(val.meta.createdAt).format('YYYY-MM-DD hh:mm');
  568. val.time = time;
  569. }
  570. this.$set(this, `directlist`, newjysk);
  571. // 展会动态
  572. // 登录情况+交易情况
  573. let jioayi = await this.operaFetch({ dockid: this.dock_id });
  574. for (const val of jioayi.data) {
  575. var date = moment(val.meta.createdAt).format('YYYY-MM-DD hh:mm');
  576. val.date = date;
  577. }
  578. // 同时在线
  579. let tszx = await this.operaQuery({ type: '0' });
  580. if (tszx) {
  581. this.$set(this.statNum, `tszx`, tszx.total);
  582. }
  583. this.$set(this, `lunboList`, jioayi.data.reverse());
  584. // 展会动态结束
  585. let zxzd = await this.danceQuery({ dock_id: this.dock_id });
  586. this.$set(this, `zxzdlist`, zxzd.data);
  587. let xmly = await this.adshowQuery({ dock_id: this.dock_id });
  588. this.$set(this, `xmlylist`, xmly.data);
  589. },
  590. // 交易实况
  591. handleClicks(tab, event) {
  592. if (tab.name == 'four') {
  593. this.$router.push('/tltest');
  594. } else if (tab.name == 'five') {
  595. this.$router.push('/tllltest');
  596. } else if (tab.name == 'six') {
  597. this.$router.push('/tltest2');
  598. }
  599. },
  600. // 点击查询
  601. async resetForm(name) {
  602. if (this.panduan == '找技术') {
  603. if (name) {
  604. let jishu = await this.goodsquery({ name: name });
  605. this.$set(this, `jishulist`, jishu.data);
  606. } else {
  607. this.searchdock();
  608. }
  609. } else if (this.panduan == '找产品') {
  610. if (name) {
  611. let chanpin = await this.goodsquery({ name: name });
  612. this.$set(this, `demandList`, chanpin.data);
  613. } else {
  614. this.searchdock();
  615. }
  616. } else if (this.panduan == '找服务') {
  617. if (name) {
  618. let service = await this.goodsquery({ name: name });
  619. this.$set(this, `serviceList`, service.data);
  620. } else {
  621. this.searchdock();
  622. }
  623. } else if (this.panduan == '找专家') {
  624. if (name) {
  625. var filterdata = this.expertList.filter(item => item.name === name);
  626. this.$set(this, `expertList`, filterdata);
  627. } else {
  628. this.searchdock();
  629. }
  630. }
  631. },
  632. //找技术,找产品,找服务,找专家
  633. handleClick(tab, event) {
  634. if (event.target.getAttribute('id') == 'tab-0') {
  635. this.panduan = '找技术';
  636. if (this.name) {
  637. console.log('找技术');
  638. }
  639. } else if (event.target.getAttribute('id') == 'tab-1') {
  640. this.panduan = '找产品';
  641. if (this.name) {
  642. console.log('找产品');
  643. }
  644. } else if (event.target.getAttribute('id') == 'tab-2') {
  645. this.panduan = '找服务';
  646. if (this.name) {
  647. console.log('找服务');
  648. }
  649. } else if (event.target.getAttribute('id') == 'tab-3') {
  650. this.panduan = '找专家';
  651. if (this.name) {
  652. console.log('找专家');
  653. }
  654. }
  655. },
  656. // 技术,产品,服务详情
  657. oneBtnDetail(data) {
  658. this.dialogVisible = true;
  659. this.$set(this, `directInfo`, data);
  660. },
  661. // 关闭技术,产品,服务详情
  662. handleClose(done) {
  663. done();
  664. },
  665. // 专家详情
  666. twoBtnDetail(data) {
  667. this.dialogExport = true;
  668. // data.phone = this.phoneNumFilter(data.phone);
  669. // data.cardnumber = this.cardnumberNumFilter(data.cardnumber);
  670. this.$set(this, `exportInfo`, data);
  671. },
  672. // 过滤隐藏手机号
  673. phoneNumFilter(phone) {
  674. let start = phone.slice(0, 3);
  675. let end = phone.slice(-4);
  676. return `${start}****${end}`;
  677. },
  678. // 过滤隐藏身份证号
  679. cardnumberNumFilter(cardnumber) {
  680. let start = cardnumber.slice(0, 4);
  681. let end = cardnumber.slice(-3);
  682. return `${start}****${end}`;
  683. },
  684. // 关闭专家详情
  685. handleCloseExport(done) {
  686. done();
  687. },
  688. async send() {
  689. if (this.text != '') {
  690. let object = { login_role: 3, type: 2, login_name: this.user.adminuser, remark: this.text, dockid: this.dock_id };
  691. let res = await this.sendMsg(object);
  692. this.$checkRes(res, null, res.errmsg || '发言失败');
  693. } else this.$message.error('请输入信息后发送');
  694. },
  695. channel() {
  696. this.$stomp({
  697. [`/exchange/bullet_chat/${this.dock_id}`]: this.onMessage,
  698. });
  699. },
  700. onMessage(message) {
  701. let body = _.get(message, 'body');
  702. if (body) {
  703. body = JSON.parse(body);
  704. body.date = moment(body.meta.createdAt).format('YYYY-MM-DD hh:mm');
  705. this.lunboList.push(body);
  706. this.text = '';
  707. this.turnBottom();
  708. }
  709. },
  710. turnBottom() {
  711. this.$nextTick(() => {
  712. document.getElementById('chat').scrollTop = document.getElementById('chat').scrollHeight;
  713. });
  714. },
  715. // 过滤轮播时间
  716. getlundate(data) {
  717. let newdata = moment(data).format('hh:mm');
  718. if (newdata) return newdata;
  719. },
  720. // 过滤轮播交易状态
  721. getstatus(status) {
  722. if (status == '0') return '正在洽谈';
  723. else if (status == '1') return '达成意向';
  724. else if (status == '2') return '交易完成';
  725. else if (status == '3') return '取消交易';
  726. else if (status == '4') return '交易待确定';
  727. else return '暂无';
  728. },
  729. async dockdetail() {
  730. let res = await this.dockFetch(this.dock_id);
  731. if (this.$checkRes(res)) {
  732. // 对接会详情
  733. this.$set(this, `dockInfo`, res.data);
  734. }
  735. },
  736. // 文字/视频倒计时
  737. daojishi() {
  738. this.timer = setInterval(() => {
  739. this.times--;
  740. if (this.times === 0) {
  741. this.dockdetail();
  742. // this.reload();
  743. this.times = 5;
  744. clearInterval(this.timer);
  745. }
  746. }, 1000);
  747. },
  748. },
  749. mounted() {
  750. this.channel();
  751. },
  752. computed: {
  753. ...mapState(['user']),
  754. pageTitle() {
  755. return `${this.$route.meta.title}`;
  756. },
  757. },
  758. metaInfo() {
  759. return { title: this.$route.meta.title };
  760. },
  761. watch: {
  762. times: {
  763. handler(val) {
  764. if (val == 5) {
  765. this.daojishi();
  766. }
  767. },
  768. immediate: true,
  769. },
  770. },
  771. };
  772. </script>
  773. <style lang="less" scoped>
  774. .w_1200 {
  775. margin: 0 auto;
  776. width: 1200px;
  777. }
  778. // 头部
  779. .livetop {
  780. width: 100%;
  781. height: 487px;
  782. overflow: hidden;
  783. background-image: url('~@/assets/live/top_3.png');
  784. .title {
  785. text-align: center;
  786. color: #fff;
  787. position: relative;
  788. width: 100%;
  789. font-size: 45px;
  790. top: 65px;
  791. }
  792. .zhuban {
  793. text-align: center;
  794. color: #fff;
  795. position: relative;
  796. width: 100%;
  797. font-size: 25px;
  798. top: 140px;
  799. span:first-child {
  800. font-weight: 700;
  801. }
  802. }
  803. .num {
  804. position: relative;
  805. top: 190px;
  806. color: #fff;
  807. p {
  808. float: left;
  809. width: 15%;
  810. background: #fff;
  811. margin: 0 14px 0 0 !important;
  812. color: #000;
  813. height: 50px;
  814. line-height: 50px;
  815. border-radius: 30px;
  816. span:first-child {
  817. display: inline-block;
  818. width: 56%;
  819. text-align: center;
  820. height: 50px;
  821. line-height: 50px;
  822. font-size: 16px;
  823. background: red;
  824. border-radius: 30px;
  825. color: #fff;
  826. font-weight: 700;
  827. }
  828. span:last-child {
  829. display: inline-block;
  830. width: 42%;
  831. text-align: center;
  832. font-size: 15px;
  833. font-weight: 700;
  834. }
  835. }
  836. }
  837. }
  838. // 直播
  839. .livemain {
  840. position: relative;
  841. top: -55px;
  842. z-index: 999;
  843. .livevideo {
  844. height: 470px;
  845. overflow: hidden;
  846. .left {
  847. height: 470px;
  848. overflow: hidden;
  849. border: 5px solid #000;
  850. background: #fff;
  851. border-radius: 5px;
  852. margin: 0 15px 0 0;
  853. .lefttop {
  854. padding: 0 10px;
  855. height: 60px;
  856. .lefttopleft {
  857. height: 60px;
  858. line-height: 40px;
  859. font-size: 20px;
  860. font-weight: 700;
  861. }
  862. .lefttopright {
  863. height: 60px;
  864. line-height: 65px;
  865. font-weight: bolder;
  866. -webkit-text-stroke: 1px #6e042c;
  867. -webkit-text-fill-color: #fff;
  868. letter-spacing: 3px;
  869. font-size: 20px;
  870. }
  871. }
  872. .leftvideo {
  873. .video {
  874. padding: 5px 10px 10px 10px;
  875. height: 390px;
  876. overflow: hidden;
  877. video {
  878. width: 100%;
  879. height: 360px;
  880. background: #000;
  881. padding: 0px 0 15px 0px;
  882. }
  883. .videointro {
  884. background: url('~@/assets/directBack.png');
  885. background-size: 100% 100%;
  886. color: #fff;
  887. padding: 0 15px;
  888. height: 370px;
  889. p:first-child {
  890. text-align: center;
  891. font-size: 30px;
  892. padding: 25% 0;
  893. }
  894. p:last-child {
  895. text-align: center;
  896. font-size: 30px;
  897. line-height: 35px;
  898. overflow: hidden;
  899. text-overflow: ellipsis;
  900. -webkit-line-clamp: 7;
  901. word-break: break-all;
  902. display: -webkit-box;
  903. -webkit-box-orient: vertical;
  904. }
  905. }
  906. }
  907. }
  908. }
  909. .right {
  910. width: 48%;
  911. height: 468px;
  912. overflow: hidden;
  913. background: #f0ffff5f;
  914. box-shadow: 0 0 5px #409eff;
  915. border-radius: 5px;
  916. .rightFirst {
  917. color: #fff;
  918. height: 430px;
  919. padding: 0 0 0 10px;
  920. .list {
  921. overflow: auto;
  922. .lunboList {
  923. padding: 10px 0;
  924. border-bottom: 1px dashed #ff0000;
  925. .image {
  926. text-align: center;
  927. }
  928. .other {
  929. .one {
  930. span:nth-child(1) {
  931. color: #000;
  932. font-size: 16px;
  933. font-weight: bold;
  934. }
  935. span:nth-child(2) {
  936. display: inline-block;
  937. margin: 0 0 0 15px;
  938. color: #ccc;
  939. }
  940. }
  941. .two {
  942. margin: 5px 0 0 0;
  943. color: #000;
  944. .zh {
  945. min-height: 20px;
  946. font-size: 15px;
  947. padding: 5px;
  948. border-radius: 5px;
  949. background: #ea4235;
  950. }
  951. .hywl {
  952. min-height: 20px;
  953. font-size: 15px;
  954. padding: 5px;
  955. border-radius: 5px;
  956. background: #245efe5f;
  957. .hand {
  958. width: 30px;
  959. top: 6px;
  960. left: 5px;
  961. margin: 0px 0 0 10px;
  962. }
  963. }
  964. .remark {
  965. min-height: 20px;
  966. font-size: 15px;
  967. padding: 5px;
  968. border-radius: 5px;
  969. background: #cccccc5f;
  970. }
  971. }
  972. }
  973. }
  974. // padding: 10px 20px;
  975. // font-weight: bold;
  976. // color: #ffffff;
  977. // p:nth-child(1) {
  978. // font-size: 16px;
  979. // }
  980. // p:nth-child(2) {
  981. // font-size: 18px;
  982. // padding: 10px 0;
  983. // }
  984. // }
  985. }
  986. .send {
  987. height: 30px;
  988. }
  989. }
  990. }
  991. /deep/.el-tabs--card > .el-tabs__header {
  992. border-bottom: none;
  993. }
  994. /deep/.el-tabs__header {
  995. margin: 0;
  996. }
  997. /deep/.el-tabs--card > .el-tabs__header .el-tabs__item {
  998. border-bottom: none;
  999. border-left: none;
  1000. }
  1001. /deep/.el-tabs--card > .el-tabs__header .el-tabs__nav {
  1002. border: none;
  1003. }
  1004. /deep/.el-tabs__item {
  1005. font-weight: 700;
  1006. font-size: 16px;
  1007. color: #fff;
  1008. }
  1009. /deep/.el-tabs__item.is-active {
  1010. color: #ff0000;
  1011. }
  1012. /deep/.el-tabs__nav-scroll {
  1013. background-color: #fe950e;
  1014. }
  1015. }
  1016. }
  1017. // 图片
  1018. .newimage {
  1019. margin: 20px 0 0 0;
  1020. background-size: 100% * 80px;
  1021. background-size: cover;
  1022. height: 100px;
  1023. width: 100%;
  1024. margin-bottom: 5px;
  1025. position: relative;
  1026. .el-link {
  1027. position: absolute;
  1028. top: 30px;
  1029. left: 46%;
  1030. color: #ffffff;
  1031. font-size: 36px;
  1032. z-index: 999;
  1033. }
  1034. }
  1035. // 技术需求
  1036. .tabsData {
  1037. position: relative;
  1038. height: 510px;
  1039. margin: 20px 0;
  1040. .one {
  1041. height: 467px;
  1042. padding: 0 15px;
  1043. overflow: hidden;
  1044. .onnList {
  1045. border-bottom: 1px dashed red;
  1046. padding: 10px;
  1047. .oneName {
  1048. height: 30px;
  1049. line-height: 30px;
  1050. margin: 0 0 5px 0;
  1051. font-size: 16px;
  1052. overflow: hidden;
  1053. text-overflow: ellipsis;
  1054. white-space: nowrap;
  1055. }
  1056. .btn {
  1057. height: 30px;
  1058. line-height: 30px;
  1059. margin: 0 0 5px 0;
  1060. text-align: center;
  1061. }
  1062. .oneInfo {
  1063. .oneInfoLeft {
  1064. font-size: 14px;
  1065. p {
  1066. padding: 0 0 10px 0;
  1067. span {
  1068. display: inline-block;
  1069. width: 50%;
  1070. }
  1071. }
  1072. p:first-child span:first-child {
  1073. color: red;
  1074. font-weight: bold;
  1075. }
  1076. p:nth-child(2) span:nth-child(2) {
  1077. color: red;
  1078. font-weight: bold;
  1079. }
  1080. }
  1081. .oneInfoRight {
  1082. overflow: hidden;
  1083. text-overflow: ellipsis;
  1084. -webkit-line-clamp: 4;
  1085. word-break: break-all;
  1086. display: -webkit-box;
  1087. -webkit-box-orient: vertical;
  1088. }
  1089. }
  1090. }
  1091. }
  1092. .two {
  1093. padding: 15px 15px 0 15px;
  1094. height: 466px;
  1095. overflow: hidden;
  1096. .twoList {
  1097. box-shadow: 0 0 3px #cccccc;
  1098. margin-bottom: 10px;
  1099. padding: 10px 5px;
  1100. .image {
  1101. border-radius: 90px;
  1102. .el-image {
  1103. border-radius: 90px;
  1104. }
  1105. }
  1106. .info {
  1107. .name {
  1108. font-size: 18px;
  1109. }
  1110. .txt {
  1111. font-size: 16px;
  1112. // padding: 5px 0;
  1113. }
  1114. }
  1115. }
  1116. }
  1117. /deep/.el-tabs--border-card > .el-tabs__header .el-tabs__item.is-active {
  1118. font-weight: bold;
  1119. font-size: 16px;
  1120. background-color: #6e042c;
  1121. color: #fff;
  1122. }
  1123. /deep/.el-tabs__item {
  1124. font-size: 16px;
  1125. }
  1126. /deep/.el-tabs--border-card > .el-tabs__content {
  1127. padding: 0;
  1128. }
  1129. // 搜索
  1130. .marketPublish {
  1131. position: absolute;
  1132. top: 42.2%;
  1133. width: 286px;
  1134. z-index: 999;
  1135. left: 72%;
  1136. top: 1%;
  1137. text-align: center;
  1138. font-size: 18px;
  1139. color: #fff;
  1140. }
  1141. // 查看更多项目
  1142. .onmore {
  1143. text-align: center;
  1144. }
  1145. }
  1146. .fangtan {
  1147. float: left;
  1148. width: 100%;
  1149. height: 525px;
  1150. overflow: hidden;
  1151. // 嘉宾
  1152. .jiabin {
  1153. width: 31%;
  1154. border-radius: 5px;
  1155. box-shadow: 0 0 5px #c20808;
  1156. padding: 0 10px 0px 10px;
  1157. margin: 4px 15px 0 3px;
  1158. height: 515px;
  1159. .jiabintop {
  1160. height: 30px;
  1161. line-height: 30px;
  1162. span {
  1163. display: inline-block;
  1164. padding: 0 10px;
  1165. height: 30px;
  1166. color: #fff;
  1167. background-color: #ff8500;
  1168. border-bottom-left-radius: 10px;
  1169. border-bottom-right-radius: 10px;
  1170. }
  1171. a {
  1172. float: right;
  1173. }
  1174. }
  1175. .jiabinlist ul {
  1176. float: left;
  1177. width: 100%;
  1178. height: 475px;
  1179. overflow: auto;
  1180. li {
  1181. float: left;
  1182. width: 100%;
  1183. border-bottom: 1px dashed #ff8500;
  1184. padding: 16px 0;
  1185. img {
  1186. float: left;
  1187. width: 20%;
  1188. height: 80px;
  1189. }
  1190. p {
  1191. float: left;
  1192. width: 71%;
  1193. padding: 0 0 0 10px;
  1194. span:first-child {
  1195. float: left;
  1196. width: 70%;
  1197. font-size: 18px;
  1198. }
  1199. span:first-child:hover {
  1200. cursor: pointer;
  1201. }
  1202. span:last-child {
  1203. float: left;
  1204. width: 100%;
  1205. font-size: 14px;
  1206. color: #888;
  1207. overflow: hidden;
  1208. text-overflow: ellipsis;
  1209. -webkit-line-clamp: 3;
  1210. word-break: break-all;
  1211. display: -webkit-box;
  1212. -webkit-box-orient: vertical;
  1213. }
  1214. }
  1215. }
  1216. li:last-child {
  1217. border-bottom: none;
  1218. float: left;
  1219. width: 100%;
  1220. }
  1221. li:hover p span:first-child {
  1222. color: #0e90d2;
  1223. }
  1224. }
  1225. }
  1226. // 路演
  1227. .luyan {
  1228. width: 33%;
  1229. border-radius: 5px;
  1230. box-shadow: 0 0 5px #c20808;
  1231. padding: 0 10px 0px 10px;
  1232. margin: 4px 10px 0 3px;
  1233. height: 515px;
  1234. overflow: hidden;
  1235. .luyanList {
  1236. padding: 10px 0 0 0;
  1237. ul {
  1238. margin: 0;
  1239. padding: 0;
  1240. list-style-type: none;
  1241. float: left;
  1242. width: 100%;
  1243. height: 450px;
  1244. overflow-y: auto;
  1245. overflow-x: hidden;
  1246. li {
  1247. float: left;
  1248. border-radius: 10px;
  1249. padding: 5px;
  1250. margin: 0 0 12px 0;
  1251. height: 95px;
  1252. border: 1px solid #ff8500;
  1253. width: 95%;
  1254. p:first-child span:first-child {
  1255. font-size: 18px;
  1256. float: left;
  1257. width: 70%;
  1258. height: 30px;
  1259. line-height: 30px;
  1260. }
  1261. p:first-child span:first-child:hover {
  1262. cursor: pointer;
  1263. color: #0279d5;
  1264. }
  1265. p:first-child span:last-child {
  1266. float: left;
  1267. width: 30%;
  1268. height: 30px;
  1269. line-height: 30px;
  1270. }
  1271. p:last-child span {
  1272. float: left;
  1273. width: 100%;
  1274. padding: 5px 0;
  1275. font-size: 14px;
  1276. color: #666;
  1277. }
  1278. }
  1279. li:nth-child(5) {
  1280. border: 1px solid #ff8500;
  1281. float: left;
  1282. border-radius: 10px;
  1283. padding: 5px 10px;
  1284. margin: 0 0 22px 0;
  1285. height: 95px;
  1286. }
  1287. li:hover {
  1288. box-shadow: 0 0 5px red;
  1289. }
  1290. }
  1291. }
  1292. }
  1293. // 聊天
  1294. .chat {
  1295. float: left;
  1296. width: 33%;
  1297. }
  1298. }
  1299. // 产品
  1300. .jishulist {
  1301. .topList {
  1302. height: 430px;
  1303. overflow: hidden;
  1304. .list {
  1305. border-bottom: 1px dashed #ccc;
  1306. padding: 6px 0;
  1307. .name {
  1308. height: 30px;
  1309. line-height: 30px;
  1310. p:first-child {
  1311. font-size: 16px;
  1312. // display: inline-block;
  1313. width: 700px;
  1314. display: block;
  1315. overflow: hidden;
  1316. white-space: nowrap;
  1317. text-overflow: ellipsis;
  1318. }
  1319. }
  1320. .names {
  1321. height: 30px;
  1322. line-height: 30px;
  1323. p:first-child {
  1324. font-size: 14px;
  1325. display: inline-block;
  1326. width: 300px;
  1327. overflow: hidden;
  1328. text-overflow: ellipsis;
  1329. -o-text-overflow: ellipsis;
  1330. }
  1331. }
  1332. .click {
  1333. height: 30px;
  1334. line-height: 30px;
  1335. text-align: center;
  1336. }
  1337. }
  1338. }
  1339. .btn {
  1340. margin: 6px 0 0 0;
  1341. text-align: center;
  1342. }
  1343. }
  1344. // 技术
  1345. .demandList {
  1346. .topList {
  1347. height: 430px;
  1348. overflow: hidden;
  1349. .list {
  1350. height: 215px;
  1351. position: relative;
  1352. margin: 5px 10px 0px 9px;
  1353. width: 15%;
  1354. .el-image {
  1355. width: 100%;
  1356. height: 205px;
  1357. overflow: hidden;
  1358. // border-radius: 5px;
  1359. // transition: all 0.4s linear;
  1360. position: relative;
  1361. }
  1362. .company {
  1363. position: absolute;
  1364. top: 3px;
  1365. left: 20px;
  1366. width: 86%;
  1367. color: #ec6c2d;
  1368. -webkit-text-stroke: 1px #f18d2c;
  1369. font-style: oblique;
  1370. -webkit-text-fill-color: #ec6c2d;
  1371. letter-spacing: 3px;
  1372. }
  1373. .aName {
  1374. position: absolute;
  1375. top: 30px;
  1376. left: 0px;
  1377. text-align: center;
  1378. transform: scale(0.8);
  1379. font-weight: bolder;
  1380. -webkit-text-stroke: 1px #f18d2c;
  1381. font-style: oblique;
  1382. -webkit-text-fill-color: transparent;
  1383. letter-spacing: 3px;
  1384. }
  1385. .a-brief {
  1386. margin: 10px 0px;
  1387. position: absolute;
  1388. top: 30px;
  1389. left: 0px;
  1390. overflow: hidden;
  1391. line-height: 20px;
  1392. letter-spacing: 2px;
  1393. text-overflow: ellipsis;
  1394. -webkit-line-clamp: 5;
  1395. word-break: break-all;
  1396. display: -webkit-box;
  1397. -webkit-box-orient: vertical;
  1398. transform: scale(0.8);
  1399. }
  1400. .cont {
  1401. position: absolute;
  1402. left: 0px;
  1403. bottom: 50px;
  1404. transform: scale(0.8);
  1405. .a-field {
  1406. overflow: hidden;
  1407. text-overflow: ellipsis;
  1408. white-space: nowrap;
  1409. }
  1410. }
  1411. .clickBtn {
  1412. position: relative;
  1413. top: -38px;
  1414. text-align: center;
  1415. /deep/.el-button {
  1416. padding: 5px 10px;
  1417. }
  1418. }
  1419. }
  1420. }
  1421. .btn {
  1422. text-align: center;
  1423. margin: 6px 0 0 0;
  1424. }
  1425. }
  1426. // 服务
  1427. // .serviceList {
  1428. // .topList {
  1429. // height: 430px;
  1430. // overflow: hidden;
  1431. // .list {
  1432. // padding: 10px 0;
  1433. // border-bottom: 1px dashed #ccc;
  1434. // .name {
  1435. // font-size: 18px;
  1436. // }
  1437. // .click {
  1438. // text-align: right;
  1439. // }
  1440. // .otherInfo {
  1441. // font-size: 16px;
  1442. // }
  1443. // }
  1444. // }
  1445. // .btn {
  1446. // text-align: center;
  1447. // margin: 6px 0 0 0;
  1448. // }
  1449. // }
  1450. // 头部个人中心
  1451. .nameShow {
  1452. position: fixed;
  1453. top: 15px;
  1454. text-align: right;
  1455. z-index: 999;
  1456. span {
  1457. color: #fff;
  1458. font-weight: bold;
  1459. font-size: 16px;
  1460. padding: 0 10px;
  1461. }
  1462. }
  1463. /deep/.el-dialog__body {
  1464. padding: 20px;
  1465. }
  1466. /deep/.el-input__inner {
  1467. -webkit-appearance: none;
  1468. background-color: #fff;
  1469. background-image: none;
  1470. border-radius: 4px;
  1471. border: 1px solid #dcdfe6;
  1472. box-sizing: border-box;
  1473. color: #606266;
  1474. display: inline-block;
  1475. font-size: inherit;
  1476. height: 30px;
  1477. line-height: 12px;
  1478. outline: 0;
  1479. padding: 0 15px;
  1480. transition: border-color 0.2s cubic-bezier(0.645, 0.045, 0.355, 1);
  1481. width: 100%;
  1482. }
  1483. </style>