index.vue 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711
  1. <template>
  2. <div style="background: #f0f0f0;padding-bottom:50px">
  3. <div class="banner">
  4. <img src="~@/assets/images/zyfb.png" alt="">
  5. </div>
  6. <div class="bread">
  7. <div>
  8. <span>当前位置:首页-<span style="color: rgba(75, 175, 227, 1)">资源发布</span></span>
  9. <div>
  10. <ul class="area-nav">
  11. <li class="tabs"><router-link :to="{path: '/service/characteristic'}">资源发布</router-link></li>
  12. <!-- <li><router-link :to="{path: '/zhaoshang/list'}">政策服务</router-link></li>-->
  13. <li><router-link :to="{path: '/service/activities'}">园区活动</router-link></li>
  14. <li><router-link :to="{path: '/service/educate'}">园区培训</router-link></li>
  15. </ul>
  16. </div>
  17. </div>
  18. </div>
  19. <div class="smart-device">
  20. <div class="smart-title">
  21. <span><span>资源发布</span>PARK Training</span>
  22. </div>
  23. <div class="smart-title" style="display: flex;flex-direction: column;">
  24. <span>请扫描二维码登录小程序后发布资源</span>
  25. <img src="~@/assets/images/xiaochengxzheshi.png" alt="" style="width: 150px;height: 150px;margin: 20px 50px 0 50px">
  26. </div>
  27. <div class="smart-device-content">
  28. <ul>
  29. <!-- <li>-->
  30. <!-- <div class="wrap-device-detail">-->
  31. <!-- <div class="zs-titles">-->
  32. <!-- <span><i>01</i>物业服务</span>-->
  33. <!-- </div>-->
  34. <!-- <div class="zs-wrap">-->
  35. <!-- <ul>-->
  36. <!-- <li>-->
  37. <!-- <div>-->
  38. <!-- <img src="~@/assets/images/ts1.png" alt="">-->
  39. <!-- <p>公共服务</p>-->
  40. <!-- </div>-->
  41. <!-- </li>-->
  42. <!-- <li>-->
  43. <!-- <div>-->
  44. <!-- <img src="~@/assets/images/ts2.png" alt="">-->
  45. <!-- <p>设备维护</p>-->
  46. <!-- </div>-->
  47. <!-- </li>-->
  48. <!-- <li>-->
  49. <!-- <div>-->
  50. <!-- <img src="~@/assets/images/ts3.png" alt="">-->
  51. <!-- <p>清洁管理</p>-->
  52. <!-- </div>-->
  53. <!-- </li>-->
  54. <!-- <li>-->
  55. <!-- <div>-->
  56. <!-- <img src="~@/assets/images/ts4.png" alt="">-->
  57. <!-- <p>安全管理</p>-->
  58. <!-- </div>-->
  59. <!-- </li>-->
  60. <!-- <li>-->
  61. <!-- <div>-->
  62. <!-- <img src="~@/assets/images/ts5.png" alt="">-->
  63. <!-- <p>停车服务</p>-->
  64. <!-- </div>-->
  65. <!-- </li>-->
  66. <!-- </ul>-->
  67. <!-- <div class="wyfw">-->
  68. <!-- <p>{{ detail.briefIntroduction }}</p>-->
  69. <!-- <div class="wy-addr">-->
  70. <!-- <div>-->
  71. <!-- <div>-->
  72. <!-- <span>办公地址</span>-->
  73. <!-- <span>{{ detail.officeAddress }}</span>-->
  74. <!-- </div>-->
  75. <!-- </div>-->
  76. <!-- <div>-->
  77. <!-- <div>-->
  78. <!-- <span>办公时间</span>-->
  79. <!-- <span>{{ detail.officeTime }}</span>-->
  80. <!-- </div>-->
  81. <!-- </div>-->
  82. <!-- <div>-->
  83. <!-- <div>-->
  84. <!-- <span>联系方式</span>-->
  85. <!-- <span>{{ detail.contactNumber }}</span>-->
  86. <!-- </div>-->
  87. <!-- </div>-->
  88. <!-- </div>-->
  89. <!-- </div>-->
  90. <!-- </div>-->
  91. <!-- </div>-->
  92. <!-- </li>-->
  93. <!-- <li>-->
  94. <!-- <div class="wrap-device-detail">-->
  95. <!-- <div class="zs-titles">-->
  96. <!-- <span><i>02</i>增值服务</span>-->
  97. <!-- </div>-->
  98. <!-- <div class="zs-wrap">-->
  99. <!-- <div class="zzfw" style="margin-bottom: 1rem;">-->
  100. <!-- <p>{{ detail.incrementService }}</p>-->
  101. <!-- <p>园区提供一下服务</p>-->
  102. <!-- </div>-->
  103. <!-- <ul>-->
  104. <!-- <li>-->
  105. <!-- <div>-->
  106. <!-- <img src="~@/assets/images/ts6.png" alt="">-->
  107. <!-- <p>餐饮服务</p>-->
  108. <!-- </div>-->
  109. <!-- </li>-->
  110. <!-- <li>-->
  111. <!-- <div>-->
  112. <!-- <img src="~@/assets/images/ts7.png" alt="">-->
  113. <!-- <p>配送服务</p>-->
  114. <!-- </div>-->
  115. <!-- </li>-->
  116. <!-- <li>-->
  117. <!-- <div>-->
  118. <!-- <img src="~@/assets/images/ts8.png" alt="">-->
  119. <!-- <p>资源共享</p>-->
  120. <!-- </div>-->
  121. <!-- </li>-->
  122. <!-- <li>-->
  123. <!-- <div>-->
  124. <!-- <img src="~@/assets/images/ts9.png" alt="">-->
  125. <!-- <p>便民服务</p>-->
  126. <!-- </div>-->
  127. <!-- </li>-->
  128. <!-- <li>-->
  129. <!-- <div>-->
  130. <!-- <img src="~@/assets/images/ts10.png" alt="">-->
  131. <!-- <p>路演中心</p>-->
  132. <!-- </div>-->
  133. <!-- </li>-->
  134. <!-- </ul>-->
  135. <!-- </div>-->
  136. <!-- </div>-->
  137. <!-- </li>-->
  138. <!-- <li>-->
  139. <!-- <div class="wrap-device-detail">-->
  140. <!-- <div class="zz-titles">-->
  141. <!-- <span>专业服务</span>-->
  142. <!-- </div>-->
  143. <!-- <div class="zs-wrap">-->
  144. <!-- <ul class="zz-wrap">-->
  145. <!-- <li v-for="item in seList" key="Math.random()" class="zyfw-img">-->
  146. <!-- <div>-->
  147. <!-- <img :src="item.img" alt="">-->
  148. <!-- <p>{{ item.name }}</p>-->
  149. <!-- </div>-->
  150. <!-- </li>-->
  151. <!-- &lt;!&ndash; <li>&ndash;&gt;-->
  152. <!-- &lt;!&ndash; <div>&ndash;&gt;-->
  153. <!-- &lt;!&ndash; <img src="~@/assets/images/zy2.png" alt="">&ndash;&gt;-->
  154. <!-- &lt;!&ndash; <p>配送服务</p>&ndash;&gt;-->
  155. <!-- &lt;!&ndash; </div>&ndash;&gt;-->
  156. <!-- &lt;!&ndash; </li>&ndash;&gt;-->
  157. <!-- &lt;!&ndash; <li>&ndash;&gt;-->
  158. <!-- &lt;!&ndash; <div>&ndash;&gt;-->
  159. <!-- &lt;!&ndash; <img src="~@/assets/images/zy3.png" alt="">&ndash;&gt;-->
  160. <!-- &lt;!&ndash; <p>资源共享</p>&ndash;&gt;-->
  161. <!-- &lt;!&ndash; </div>&ndash;&gt;-->
  162. <!-- &lt;!&ndash; </li>&ndash;&gt;-->
  163. <!-- &lt;!&ndash; <li>&ndash;&gt;-->
  164. <!-- &lt;!&ndash; <div>&ndash;&gt;-->
  165. <!-- &lt;!&ndash; <img src="~@/assets/images/zy4.png" alt="">&ndash;&gt;-->
  166. <!-- &lt;!&ndash; <p>便民服务</p>&ndash;&gt;-->
  167. <!-- &lt;!&ndash; </div>&ndash;&gt;-->
  168. <!-- &lt;!&ndash; </li>&ndash;&gt;-->
  169. <!-- <li @click="detail2()">-->
  170. <!-- <div>-->
  171. <!-- <img src="~@/assets/images/more.jpg" alt="">-->
  172. <!-- </div>-->
  173. <!-- </li>-->
  174. <!-- </ul>-->
  175. <!-- </div>-->
  176. <!-- </div>-->
  177. <!-- </li>-->
  178. <li>
  179. <div class="wrap-device-detail">
  180. <!-- <div class="zz-titles">-->
  181. <!-- <span>运营服务</span>-->
  182. <!-- </div>-->
  183. <div class="zs-wrap">
  184. <div class="zzfw" v-html="detail.content" />
  185. <!-- <ul class="qrcode">-->
  186. <!-- <li>-->
  187. <!-- <div>-->
  188. <!-- <img src="~@/assets/images/qrcode.png" alt="">-->
  189. <!-- <p>园区公众号</p>-->
  190. <!-- </div>-->
  191. <!-- </li>-->
  192. <!-- <li>-->
  193. <!-- <div>-->
  194. <!-- <img src="~@/assets/images/qrcode.png" alt="">-->
  195. <!-- <p>园区小程序</p>-->
  196. <!-- </div>-->
  197. <!-- </li>-->
  198. <!-- </ul>-->
  199. </div>
  200. </div>
  201. </li>
  202. </ul>
  203. </div>
  204. </div>
  205. <Message :show-dialog="showInfo" @closePop="closeMessage" />
  206. </div>
  207. </template>
  208. <script>
  209. import { findFeaturesService, professionalList } from '@/service/api_service'
  210. import Base from '@/views/base/base'
  211. import BaseData from '@/views/base/baseData'
  212. import Message from '@/views/message/index'
  213. export default {
  214. components: {
  215. Message
  216. },
  217. mixins: [Base, BaseData],
  218. data() {
  219. return {
  220. dc_key: ['serviceType'],
  221. seList: [
  222. {
  223. img: 'zs1.png',
  224. name: '专项扶持政策'
  225. },
  226. {
  227. img: 'zs1.png',
  228. name: '专项扶持政策'
  229. },
  230. {
  231. img: 'zs1.png',
  232. name: '专项扶持政策'
  233. }
  234. ],
  235. detail: {},
  236. showInfo: false
  237. }
  238. },
  239. mounted() {
  240. document.documentElement.scrollTop = document.body.scrollTop = 0 // 回到顶部
  241. this.initDict(this.dc_key).then((res) => {
  242. this.findFeatures()
  243. this.professionalList()
  244. })
  245. },
  246. methods: {
  247. closeMessage() {
  248. this.showInfo = false
  249. },
  250. findFeatures() {
  251. const _this = this
  252. findFeaturesService().then((res) => {
  253. if (res) {
  254. _this.detail = res
  255. if (_this.detail.content.indexOf('width') !== -1 && _this.detail.content.indexOf('height') !== -1) {
  256. _this.detail.content = _this.detail.content.replace(/width="(\S*)"/, 'width="100%"').replace(/height="(\S*)"/, 'height="100%"')
  257. }
  258. }
  259. })
  260. },
  261. getItemJson: function(item) {
  262. item.img = eval(item.annex)
  263. item.serviceType = this.dc_map.serviceType[item.serviceType]
  264. return item
  265. },
  266. professionalList() {
  267. const _this = this
  268. professionalList().then((res) => {
  269. if (res && res.length > 0) {
  270. _this.seList = []
  271. res.forEach(pg => {
  272. const json = _this.getItemJson(pg)
  273. const i = {
  274. img: json.img[0].url,
  275. name: json.serviceType
  276. }
  277. _this.seList.push(i)
  278. })
  279. }
  280. })
  281. },
  282. detail(index) {
  283. switch (index) {
  284. case 1:
  285. this.$router.push({ path: '/service/periphery-detail1' })
  286. break
  287. }
  288. },
  289. detail2() {
  290. this.showInfo = true
  291. }
  292. }
  293. }
  294. </script>
  295. <style scoped>
  296. .banner img{
  297. width: 100% !important;
  298. }
  299. @media screen and (min-width: 1000px){
  300. .bread{
  301. background: #fff;
  302. }
  303. .bread > div{
  304. width: 1200px;
  305. margin: 0 auto;
  306. text-align: left;
  307. padding: 0.8rem 0;
  308. font-size: 1rem;
  309. position: relative;
  310. }
  311. .area-nav{
  312. position:absolute;
  313. right: 0;
  314. top: 0.8rem;
  315. width: 40%;
  316. text-align: right;
  317. }
  318. .area-nav{
  319. display: flex;
  320. justify-content: center;
  321. flex-wrap: nowrap;
  322. }
  323. .area-nav li{
  324. flex: 1;
  325. text-align: center;
  326. border-bottom: 2px solid #f0f0f0;
  327. padding-bottom:0.7rem;
  328. }
  329. .area-nav a{
  330. color: #333;
  331. }
  332. .smart-title{
  333. margin-top:3rem;
  334. }
  335. .smart-device{
  336. width: 1200px;
  337. margin: 0 auto;
  338. text-align: left;
  339. font-size: 1rem;
  340. }
  341. .smart-device span span{
  342. font-size: 2rem;
  343. display: inline-block;
  344. position: relative;
  345. padding-right: 1rem;
  346. margin-right: 1rem;
  347. font-weight: 900;
  348. }
  349. .smart-device span span:after{
  350. content: '';
  351. width: 1px;
  352. height: 15px;
  353. background: #666;
  354. position: absolute;
  355. right: 0;
  356. bottom: 7px;
  357. }
  358. .wrap-device-detail{
  359. overflow: hidden;
  360. }
  361. .zs-wrap{
  362. overflow: hidden;
  363. }
  364. .device-title,.zc-content{
  365. float: left;
  366. }
  367. .device-title{
  368. width: 50%;
  369. }
  370. .zc-content{
  371. width: 50%;
  372. }
  373. .device-title img{
  374. width: 80%;
  375. }
  376. .zs-titles{
  377. margin: 2rem 0;
  378. }
  379. .zs-titles span{
  380. font-weight: 700;
  381. font-size: 1.5rem;
  382. color: #333;
  383. }
  384. .zs-titles span i{
  385. font-size: 2rem;
  386. color: #9472e4;
  387. font-weight: 900;
  388. font-style: normal;
  389. font-family: 'SimHei Microsoft yahei';
  390. margin-right: 1rem;
  391. position: relative;
  392. top: 2px;
  393. }
  394. .detail-btn{
  395. margin-top: 1rem;
  396. background:#9472e4 ;
  397. display: inline-block;
  398. padding: 2px 8px;
  399. font-size: 1rem;
  400. color: #fff;
  401. }
  402. .zc-content p{
  403. font-size: 0.8rem;
  404. color: #333;
  405. margin-top: 0.8rem;
  406. }
  407. .zc-content h3{
  408. font-size: 0.8rem;
  409. color: #333;
  410. margin-top: 0.8rem;
  411. font-weight: 400;
  412. }
  413. .tabs{
  414. border-bottom:2px solid rgba(75, 175, 227, 1)!important;
  415. }
  416. .zs-wrap ul{
  417. display: flex;
  418. justify-content: center;
  419. flex-wrap: wrap;
  420. }
  421. .zs-wrap ul li{
  422. width: 20%;
  423. text-align: center;
  424. margin-bottom: 2rem;
  425. }
  426. .zx-wrap li{
  427. width:25%!important;
  428. }
  429. .zs-wrap ul li div{
  430. background: #fff;
  431. height: 10rem;
  432. width: 98%;
  433. margin: 0 auto;
  434. padding-top: 3rem;
  435. font-size: 1rem;
  436. }
  437. .zs-wrap ul li div p{
  438. margin-top: 1rem;
  439. }
  440. .zs-wrap ul li div img{
  441. width: 20%;
  442. }
  443. .zs-tabs div{
  444. background: rgba(75, 175, 227, 1)!important;
  445. color: #fff;
  446. }
  447. .wyfw{
  448. margin: 2rem 0;
  449. }
  450. .wyfw>div{
  451. display: flex;
  452. justify-content: center;
  453. flex-wrap: wrap;
  454. margin: 3rem 0;
  455. }
  456. .wyfw p{
  457. line-height: 2rem;
  458. margin: 1rem 0;
  459. }
  460. .wyfw>div>div{
  461. width: 33.33%;
  462. }
  463. .wyfw>div>div span:nth-child(1){
  464. display: inline-block;
  465. background: rgba(75, 175, 227, 1);
  466. padding: 0.1rem 1rem;
  467. color: #fff;
  468. margin-right: 3rem;
  469. }
  470. .zzfw{
  471. margin: 2rem 0;
  472. line-height: 2rem;
  473. }
  474. .zz-titles{
  475. text-align: center;
  476. font-size: 1.5rem;
  477. margin-bottom: 2rem;
  478. }
  479. .zz-wrap li div img{
  480. width: 100%!important;
  481. }
  482. .zz-wrap li div{
  483. padding: 0!important;
  484. height: auto!important;
  485. position: relative;
  486. }
  487. .zz-wrap li div p{
  488. margin: 0!important;
  489. position: absolute;
  490. bottom: 0px;
  491. background: rgba(75, 175, 227, 1);
  492. width: 100%;
  493. color: #fff;
  494. padding: 1.5rem 0;
  495. font-size:1.3rem;
  496. }
  497. .zz-wrap li div img{
  498. height: 400px;
  499. }
  500. .zz-wrap li:last-child div{
  501. background: rgba(75, 175, 227, 1);
  502. height: 100%;
  503. }
  504. .zz-wrap li:last-child p{
  505. transform: translateY(50%);
  506. height: 100%;
  507. }
  508. .qrcode li div{
  509. background: none!important;
  510. height: auto!important;
  511. }
  512. .qrcode li div img{
  513. width: 80%!important;
  514. }
  515. .qrcode li div span{
  516. color: #333!important;
  517. }
  518. }
  519. @media screen and (max-width: 1000px){
  520. .banner{
  521. display: none;
  522. }
  523. .zc-content{
  524. display: none;
  525. }
  526. .bread{
  527. display: none;
  528. }
  529. .smart-title{
  530. margin-top:2rem;
  531. }
  532. .smart-device{
  533. width: 90%;
  534. margin: 0 auto;
  535. text-align: left;
  536. font-size: 1rem;
  537. overflow: hidden;
  538. }
  539. .smart-device span span{
  540. font-size: 1.5rem;
  541. display: inline-block;
  542. position: relative;
  543. padding-right: 1rem;
  544. margin-right: 1rem;
  545. font-weight: 900;
  546. }
  547. .smart-device span span:after{
  548. content: '';
  549. width: 1px;
  550. height: 15px;
  551. background: #666;
  552. position: absolute;
  553. right: 0;
  554. bottom: 7px;
  555. }
  556. .device-title img{
  557. width: 100%;
  558. }
  559. .zs-titles{
  560. margin: 1rem auto;
  561. text-align: center;
  562. width: 100%;
  563. }
  564. .zz-titles{
  565. margin-bottom: 1rem;
  566. }
  567. .zs-titles i{
  568. display: none;
  569. }
  570. .zs-titles span,.zz-titles span{
  571. font-weight: 700;
  572. font-size: 0.8rem;
  573. color: #333;
  574. display: inline-block;
  575. border-bottom: 2px solid rgba(75, 175, 227, 1);
  576. padding-bottom: 0.5rem;
  577. }
  578. .zs-titles span i{
  579. font-size: 1.5rem;
  580. color: #9472e4;
  581. font-weight: 900;
  582. font-style: normal;
  583. font-family: 'SimHei Microsoft yahei';
  584. margin-right: 1rem;
  585. position: relative;
  586. top: 2px;
  587. }
  588. .zs-wrap ul{
  589. display: flex;
  590. justify-content: center;
  591. flex-wrap: wrap;
  592. }
  593. .zs-wrap ul li{
  594. width: 50%;
  595. text-align: center;
  596. margin-bottom: 1rem;
  597. }
  598. .zs-wrap ul li:last-child{
  599. width: 100%;
  600. }
  601. .zx-wrap li{
  602. width:25%!important;
  603. }
  604. .zs-wrap ul li div{
  605. background: #fff;
  606. height: 5rem;
  607. width: 95%;
  608. margin: 0 auto;
  609. padding-top: 2rem;
  610. font-size: 1rem;
  611. }
  612. .zs-wrap ul li:last-child div{
  613. width: 97%;
  614. }
  615. .zs-wrap ul li div p{
  616. margin-top: 0.5rem;
  617. }
  618. .zs-wrap ul li div img{
  619. width: 20%;
  620. }
  621. .zyfw-img div img{
  622. height: 10rem!important;
  623. }
  624. .zs-wrap ul li:last-child div img{
  625. width: 10%;
  626. }
  627. .zs-tabs div{
  628. background: rgba(75, 175, 227, 1)!important;
  629. color: #fff;
  630. }
  631. .wyfw{
  632. background: #fff;
  633. border-radius: 2px;
  634. padding: 1rem 0;
  635. width: 97%;
  636. margin: 0 auto;
  637. line-height: 1.5rem
  638. }
  639. .wyfw>p{
  640. width: 90%;
  641. margin: 0 auto;
  642. }
  643. .wy-addr{
  644. width: 80%;
  645. margin: 0 auto;
  646. }
  647. .wy-addr>div{
  648. margin-top: 1rem;
  649. }
  650. .zzfw{
  651. background: #fff;
  652. border-radius: 2px;
  653. padding: 1rem 0;
  654. width: 97%;
  655. margin: 0 auto;
  656. line-height: 1.5rem;
  657. text-indent: 1rem;
  658. /*margin-bottom: 1rem;*/
  659. }
  660. .zzfw /deep/ p{
  661. width: 90%!important;
  662. margin: 0 auto;
  663. }
  664. .zz-wrap li{
  665. width: 25% !important;
  666. }
  667. .zz-wrap li div img{
  668. width: 100%!important;
  669. }
  670. .zz-wrap li:last-child{
  671. display: none;
  672. }
  673. .zz-wrap li div{
  674. padding: 0!important;
  675. height: auto!important;
  676. position: relative;
  677. }
  678. .zz-wrap li div p{
  679. margin: 0!important;
  680. position: absolute;
  681. bottom: 0px;
  682. background: rgba(75, 175, 227, 1);
  683. width: 100%;
  684. color: #fff;
  685. padding: 0.6rem 0;
  686. font-size:0.8rem;
  687. }
  688. .zz-wrap li:last-child div{
  689. background: rgba(75, 175, 227, 1);
  690. height: 100%;
  691. }
  692. .zz-wrap li:last-child p{
  693. transform: translateY(50%);
  694. height: 100%;
  695. }
  696. .qrcode{
  697. background: #fff;
  698. display: flex;
  699. justify-content: center;
  700. flex-wrap: nowrap;
  701. padding-bottom: 1rem;
  702. }
  703. .qrcode li,.qrcode li img{
  704. width: 50%!important;
  705. }
  706. }
  707. </style>