index.vue 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446
  1. <template>
  2. <div style="background: #f0f0f0;padding-bottom:50px">
  3. <div class="banner">
  4. <img src="~@/assets/images/yxfw.jpg" alt="">
  5. </div>
  6. <div class="bread">
  7. <div>
  8. <span>当前位置:首页-园区周边</span>
  9. <div>
  10. <ul class="area-nav">
  11. <li><router-link :to="{path: '/service/characteristic'}">资源发布</router-link></li>
  12. <li class="tabs"><router-link :to="{path: '/service/periphery'}">政策服务</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 AROUND</span>
  22. </div>
  23. <div class="smart-device-content">
  24. <ul>
  25. <li>
  26. <div class="wrap-device-detail">
  27. <div class="zs-titles">
  28. <span><i>01</i>周边服务</span>
  29. </div>
  30. <div class="zs-wrap">
  31. <ul>
  32. <li class="zs-tabs">
  33. <div @click="detail(1)">
  34. <img src="~@/assets/images/zb1.png" alt="">
  35. <p>干洗</p>
  36. </div>
  37. </li>
  38. <li>
  39. <div @click="detail(1)">
  40. <img src="~@/assets/images/zb2.png" alt="">
  41. <p>修理</p>
  42. </div>
  43. </li>
  44. <li>
  45. <div @click="detail(1)">
  46. <img src="~@/assets/images/zb3.png" alt="">
  47. <p>保洁</p>
  48. </div>
  49. </li>
  50. <li>
  51. <div @click="detail(1)">
  52. <img src="~@/assets/images/zb4.png" alt="">
  53. <p>桶装水</p>
  54. </div>
  55. </li>
  56. <li>
  57. <div @click="detail(1)">
  58. <img src="~@/assets/images/zb5.png" alt="">
  59. <p>绿植</p>
  60. </div>
  61. </li>
  62. <li>
  63. <div @click="detail(1)">
  64. <img src="~@/assets/images/zb6.png" alt="">
  65. <p>打印</p>
  66. </div>
  67. </li>
  68. </ul>
  69. </div>
  70. </div>
  71. </li>
  72. <li>
  73. <div class="wrap-device-detail">
  74. <div class="zs-titles">
  75. <span><i>02</i>周边资讯</span>
  76. </div>
  77. <div class="zs-wrap">
  78. <ul class="zx-wrap">
  79. <li>
  80. <div @click="detail(1)">
  81. <img src="~@/assets/images/zx1.png" alt="">
  82. <p>商业</p>
  83. </div>
  84. </li>
  85. <li>
  86. <div @click="detail(1)">
  87. <img src="~@/assets/images/zx2.png" alt="">
  88. <p>教育</p>
  89. </div>
  90. </li>
  91. <li>
  92. <div @click="detail(1)">
  93. <img src="~@/assets/images/zx3.png" alt="">
  94. <p>医疗</p>
  95. </div>
  96. </li>
  97. <li>
  98. <div @click="detail(1)">
  99. <img src="~@/assets/images/zx4.png" alt="">
  100. <p>酒店</p>
  101. </div>
  102. </li>
  103. </ul>
  104. </div>
  105. </div>
  106. </li>
  107. <li>
  108. <div class="wrap-device-detail">
  109. <div class="zs-titles">
  110. <span><i>03</i>便民服务</span>
  111. </div>
  112. <div class="zs-wrap">
  113. <ul class="fw-wrap">
  114. <li>
  115. <div @click="detail(1)">
  116. <img src="~@/assets/images/fw1.png" alt="">
  117. <p>便民电话</p>
  118. </div>
  119. </li>
  120. <li>
  121. <div @click="detail(1)">
  122. <img src="~@/assets/images/fw2.png" alt="">
  123. <p>社区服务</p>
  124. </div>
  125. </li>
  126. </ul>
  127. </div>
  128. </div>
  129. </li>
  130. </ul>
  131. </div>
  132. </div>
  133. <Message :show-dialog="showInfo" @closePop="closeMessage" />
  134. </div>
  135. </template>
  136. <script>
  137. import Message from '@/views/message/index'
  138. export default {
  139. components: {
  140. Message
  141. },
  142. data() {
  143. return {
  144. showInfo: false,
  145. seList: [
  146. {
  147. img: 'zs1.png',
  148. name: '专项扶持政策'
  149. },
  150. {
  151. img: 'zs1.png',
  152. name: '专项扶持政策'
  153. },
  154. {
  155. img: 'zs1.png',
  156. name: '专项扶持政策'
  157. }
  158. ]
  159. }
  160. },
  161. mounted() {
  162. document.documentElement.scrollTop = document.body.scrollTop = 0 // 回到顶部
  163. },
  164. methods: {
  165. closeMessage() {
  166. this.showInfo = false
  167. },
  168. detail(index) {
  169. // this.$router.push({path:'/zhaoshang/detail1?smallType='+index})
  170. this.showInfo = true
  171. }
  172. }
  173. }
  174. </script>
  175. <style scoped>
  176. .banner img{
  177. width: 100% !important;
  178. }
  179. @media screen and (min-width: 1000px){
  180. .bread{
  181. background: #fff;
  182. }
  183. .bread > div{
  184. width: 1200px;
  185. margin: 0 auto;
  186. text-align: left;
  187. padding: 0.8rem 0;
  188. font-size: 1rem;
  189. position: relative;
  190. }
  191. .area-nav{
  192. position:absolute;
  193. right: 0;
  194. top: 0.8rem;
  195. width: 40%;
  196. text-align: right;
  197. }
  198. .area-nav{
  199. display: flex;
  200. justify-content: center;
  201. flex-wrap: nowrap;
  202. }
  203. .area-nav li{
  204. flex: 1;
  205. text-align: center;
  206. border-bottom: 2px solid #f0f0f0;
  207. padding-bottom:0.7rem;
  208. }
  209. .area-nav a{
  210. color: #333;
  211. }
  212. .smart-title{
  213. margin-top:3rem;
  214. }
  215. .smart-device{
  216. width: 1200px;
  217. margin: 0 auto;
  218. text-align: left;
  219. font-size: 1rem;
  220. }
  221. .smart-device span span{
  222. font-size: 2rem;
  223. display: inline-block;
  224. position: relative;
  225. padding-right: 1rem;
  226. margin-right: 1rem;
  227. font-weight: 900;
  228. }
  229. .smart-device span span:after{
  230. content: '';
  231. width: 1px;
  232. height: 15px;
  233. background: #666;
  234. position: absolute;
  235. right: 0;
  236. bottom: 7px;
  237. }
  238. .wrap-device-detail{
  239. overflow: hidden;
  240. }
  241. .zs-wrap{
  242. overflow: hidden;
  243. }
  244. .device-title,.zc-content{
  245. float: left;
  246. }
  247. .device-title{
  248. width: 50%;
  249. }
  250. .zc-content{
  251. width: 50%;
  252. }
  253. .device-title img{
  254. width: 80%;
  255. }
  256. .zs-titles{
  257. margin: 2rem 0;
  258. }
  259. .zs-titles span{
  260. font-weight: 700;
  261. font-size: 1.5rem;
  262. color: #333;
  263. }
  264. .zs-titles span i{
  265. font-size: 2rem;
  266. color: #9472e4;
  267. font-weight: 900;
  268. font-style: normal;
  269. font-family: 'SimHei Microsoft yahei';
  270. margin-right: 1rem;
  271. position: relative;
  272. top: 2px;
  273. }
  274. .detail-btn{
  275. margin-top: 1rem;
  276. background:#9472e4 ;
  277. display: inline-block;
  278. padding: 2px 8px;
  279. font-size: 1rem;
  280. color: #fff;
  281. }
  282. .zc-content p{
  283. font-size: 0.8rem;
  284. color: #333;
  285. margin-top: 0.8rem;
  286. }
  287. .zc-content h3{
  288. font-size: 0.8rem;
  289. color: #333;
  290. margin-top: 0.8rem;
  291. font-weight: 400;
  292. }
  293. .tabs{
  294. border-bottom:2px solid rgba(75, 175, 227, 1)!important;
  295. }
  296. .zs-wrap ul{
  297. display: flex;
  298. justify-content: center;
  299. flex-wrap: wrap;
  300. }
  301. .zs-wrap ul li{
  302. width: 33.33%;
  303. text-align: center;
  304. margin-bottom: 2rem;
  305. }
  306. .zx-wrap li{
  307. width:25%!important;
  308. }
  309. .fw-wrap{
  310. overflow: hidden;
  311. display: block!important;
  312. }
  313. .fw-wrap li:nth-child(1){
  314. width:33.33%;
  315. float: left;
  316. }
  317. .fw-wrap li:nth-child(2){
  318. width:33.33%;
  319. float: right;
  320. }
  321. .zs-wrap ul li div{
  322. background: #fff;
  323. height: 10rem;
  324. width: 90%;
  325. margin: 0 auto;
  326. padding-top: 3rem;
  327. font-size: 1rem;
  328. }
  329. .zs-wrap ul li div p{
  330. margin-top: 1rem;
  331. }
  332. .zs-wrap ul li div img{
  333. width: 20%;
  334. }
  335. .zs-tabs div{
  336. background: rgba(75, 175, 227, 1)!important;
  337. color: #fff;
  338. }
  339. }
  340. @media screen and (max-width: 1000px){
  341. .banner{
  342. display: none;
  343. }
  344. .zc-content{
  345. display: none;
  346. }
  347. .bread{
  348. display: none;
  349. }
  350. .smart-title{
  351. margin-top:2rem;
  352. }
  353. .smart-device{
  354. width: 90%;
  355. margin: 0 auto;
  356. text-align: left;
  357. font-size: 1rem;
  358. overflow: hidden;
  359. }
  360. .smart-device span span{
  361. font-size: 1.5rem;
  362. display: inline-block;
  363. position: relative;
  364. padding-right: 1rem;
  365. margin-right: 1rem;
  366. font-weight: 900;
  367. }
  368. .smart-device span span:after{
  369. content: '';
  370. width: 1px;
  371. height: 15px;
  372. background: #666;
  373. position: absolute;
  374. right: 0;
  375. bottom: 7px;
  376. }
  377. .device-title img{
  378. width: 100%;
  379. }
  380. .zs-titles{
  381. margin: 1rem 0;
  382. }
  383. .zs-titles span{
  384. font-weight: 700;
  385. font-size: 0.8rem;
  386. color: #333;
  387. }
  388. .zs-titles span i{
  389. font-size: 1.5rem;
  390. color: #9472e4;
  391. font-weight: 900;
  392. font-style: normal;
  393. font-family: 'SimHei Microsoft yahei';
  394. margin-right: 1rem;
  395. position: relative;
  396. top: 2px;
  397. }
  398. .zs-wrap ul{
  399. display: flex;
  400. justify-content: center;
  401. flex-wrap: wrap;
  402. }
  403. .zs-wrap ul li{
  404. width: 33.33%;
  405. text-align: center;
  406. margin-bottom: 2rem;
  407. }
  408. .zx-wrap li{
  409. width:25%!important;
  410. }
  411. .fw-wrap{
  412. overflow: hidden;
  413. display: block!important;
  414. }
  415. .fw-wrap li:nth-child(1){
  416. width:33.33%;
  417. float: left;
  418. }
  419. .fw-wrap li:nth-child(2){
  420. width:33.33%;
  421. float: right;
  422. }
  423. .zs-wrap ul li div{
  424. background: #fff;
  425. height: 4rem;
  426. width: 90%;
  427. margin: 0 auto;
  428. padding: 1rem 0;
  429. font-size: 1rem;
  430. }
  431. .zs-wrap ul li div p{
  432. margin-top: 1rem;
  433. }
  434. .zs-wrap ul li div img{
  435. width: 20%;
  436. }
  437. .zs-tabs div{
  438. background: rgba(75, 175, 227, 1)!important;
  439. color: #fff;
  440. }
  441. }
  442. </style>