index.vue 24 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949
  1. <template>
  2. <view class="content">
  3. <view class="page-section-spacing" style="width: 100%; position: relative">
  4. <swiper
  5. class="swiper"
  6. indicator-dots="false"
  7. autoplay="true"
  8. duration="500"
  9. style="height: 400rpx"
  10. @change="swiperChange"
  11. >
  12. <swiper-item
  13. v-for="(item, index) in swiperList"
  14. :key="index"
  15. class="swiper-content"
  16. >
  17. <image
  18. :src="item.pic_path"
  19. mode="aspectFill"
  20. style="width: 100%; height: 100%"
  21. ></image>
  22. </swiper-item>
  23. </swiper>
  24. <image src="../../static/Intersect.svg" class="groove-img"></image>
  25. <view class="rowDot">
  26. <view v-for="(item, index) in swiperList" :key="index" class="dots">
  27. <view
  28. :class="['dot', index === swiperCurrent ? 'active' : '']"
  29. ></view>
  30. </view>
  31. </view>
  32. </view>
  33. <view class="page-nav-box">
  34. <navigator
  35. v-for="(item, index) in navList"
  36. :key="index"
  37. :url="item.path"
  38. open-type="navigate"
  39. class="nav-content"
  40. >
  41. <image
  42. :src="item.url"
  43. mode="aspectFit"
  44. style="width: 38px; height: 38px"
  45. ></image>
  46. <view>{{ item.content }}</view>
  47. </navigator>
  48. </view>
  49. <view class="notice-box">
  50. <view class="notice-title-box">
  51. <view class="notice-font">通知公告</view>
  52. <view class="notice-more-font">
  53. <view style="margin-right: 8rpx; font-size: 22rpx" @click="goNotice"
  54. >更多</view
  55. >
  56. <image
  57. src="../../static/right-arrow-blue.png"
  58. mode="aspectFill"
  59. style="width: 12rpx; height: 16rpx"
  60. ></image>
  61. </view>
  62. </view>
  63. <view
  64. class="notice-content-box"
  65. v-for="(item, index) in noticeList"
  66. :key="index"
  67. @click="goNoticeDeatil(item.id)"
  68. >
  69. <image
  70. :src="item.url"
  71. mode="aspectFit"
  72. style="width: 34px; height: 34px"
  73. ></image>
  74. <view class="notice-content display-around-column">
  75. <view class="notice-content-font">{{ item.title }}</view>
  76. <view class="notice-content-time">{{ item.time }}</view>
  77. </view>
  78. </view>
  79. </view>
  80. <view class="notice-box" style="margin-top: 40rpx">
  81. <view class="notice-title-box">
  82. <view class="notice-font">推荐园区</view>
  83. <navigator
  84. class="notice-more-font"
  85. url="../park/index"
  86. open-type="navigate"
  87. >
  88. <view style="margin-right: 8rpx; font-size: 22rpx">更多</view>
  89. <image
  90. src="/static/right-arrow-blue.png"
  91. mode="aspectFill"
  92. style="width: 12rpx; height: 16rpx"
  93. ></image>
  94. </navigator>
  95. </view>
  96. <view
  97. class="display-flex-start"
  98. style="overflow: scroll; position: relative"
  99. >
  100. <view
  101. class="park-box"
  102. v-for="(item, index) in parkList"
  103. :key="item.id"
  104. @click="goParkDetailFn(item.id)"
  105. >
  106. <image
  107. :src="item.park_pics[0].pic_path"
  108. mode="aspectFill"
  109. style="
  110. width: 452rpx;
  111. height: 250rpx;
  112. border-radius: 32rpx 32rpx 0 0;
  113. "
  114. ></image>
  115. <view class="park-content-box">
  116. <view class="park-title">{{ item.name }}</view>
  117. <view class="park-address display-flex-start">
  118. <view class="display-flex-start" style="margin-right: 10rpx"
  119. ><image
  120. src="/static/park/park-time.png"
  121. mode="aspectFill"
  122. class="park-title-img"
  123. ></image
  124. >{{ item.addtime | globalTime }}建成</view
  125. >
  126. <view class="display-flex-start"
  127. ><image
  128. src="/static/park/park-name.png"
  129. mode="aspectFill"
  130. class="park-title-img"
  131. ></image
  132. >{{ item.manager }}</view
  133. >
  134. </view>
  135. <view class="park-footer-box display-between">
  136. <view class="display-between-column width-30">
  137. <view class="display-flex-start"
  138. ><image
  139. src="/static/park/park-num.png"
  140. mode="aspectFill"
  141. class="park-footer-img"
  142. ></image
  143. >{{ item.company_count }}</view
  144. >
  145. <view class="park-footer-font">企业数量</view>
  146. </view>
  147. <view class="display-between-column width-30">
  148. <view class="display-flex-start">
  149. <image
  150. src="/static/park/park-area.png"
  151. mode="aspectFill"
  152. class="park-footer-img"
  153. ></image>
  154. {{ item.cover_area
  155. }}<text style="font-size: 12rpx">万㎡</text></view
  156. >
  157. <view class="park-footer-font">占地面积</view>
  158. </view>
  159. <view class="display-between-column width-30">
  160. <view class="display-flex-start">
  161. <image
  162. src="/static/park/park-area2.png"
  163. mode="aspectFill"
  164. class="park-footer-img"
  165. ></image>
  166. {{ item.building_area
  167. }}<text style="font-size: 12rpx">万㎡</text></view
  168. >
  169. <view class="park-footer-font">建设面积</view>
  170. </view>
  171. </view>
  172. </view>
  173. </view>
  174. </view>
  175. </view>
  176. <view class="notice-box" style="margin-top: 20rpx">
  177. <view class="notice-title-box">
  178. <view class="notice-font">招商专区</view>
  179. <view class="notice-more-font">
  180. <view style="margin-right: 8rpx; font-size: 22rpx" @click="goAttract"
  181. >更多</view
  182. >
  183. <image
  184. src="/static/right-arrow-blue.png"
  185. mode="aspectFill"
  186. style="width: 12rpx; height: 16rpx"
  187. ></image>
  188. </view>
  189. </view>
  190. <view
  191. class="notice-content-box"
  192. v-for="(item, index) in attractList"
  193. :key="index"
  194. style="justify-content: start"
  195. @click="goAttractDeatil(item.id)"
  196. >
  197. <image
  198. :src="item.url"
  199. mode="aspectFit"
  200. style="width: 112rpx; height: 112rpx; margin-right: 20rpx"
  201. ></image>
  202. <view class="notice-content">
  203. <view class="notice-content-font">{{ item.title }}</view>
  204. <view class="attract-content">{{ item.subtitle }}</view>
  205. <view class="notice-content-time" style="margin-top: 20rpx">{{
  206. item.time
  207. }}</view>
  208. </view>
  209. </view>
  210. </view>
  211. <view class="notice-box" style="margin-top: 20rpx">
  212. <view class="notice-title-box">
  213. <view class="notice-font">区内活动</view>
  214. <view class="notice-more-font">
  215. <view style="margin-right: 8rpx; font-size: 22rpx">更多</view>
  216. <image
  217. src="/static/right-arrow-blue.png"
  218. mode="aspectFill"
  219. style="width: 12rpx; height: 16rpx"
  220. ></image>
  221. </view>
  222. </view>
  223. <view
  224. class="notice-content-box"
  225. v-for="(item, index) in activityList"
  226. :key="index"
  227. style="justify-content: start; padding: 30rpx 0 30rpx 30rpx"
  228. >
  229. <image
  230. :src="item.url"
  231. mode="aspectFit"
  232. style="width: 128rpx; height: 128rpx; margin-right: 20rpx"
  233. ></image>
  234. <view class="notice-content" style="width: 70%">
  235. <view class="notice-content-font" style="white-space: break-spaces">{{
  236. item.title
  237. }}</view>
  238. <view class="display-flex-start" style="margin-top: 20rpx">
  239. <view
  240. class="notice-content-time display-flex-start color-a7adba"
  241. v-show="item.isOnline"
  242. ><view class="online-box"></view>线上</view
  243. >
  244. <view
  245. class="notice-content-time display-flex-start color-a7adba"
  246. v-show="!item.isOnline"
  247. ><view class="offline-box"></view>线下</view
  248. >
  249. <view class="notice-content-time color-a7adba">{{
  250. item.department
  251. }}</view>
  252. <view class="notice-content-time color-a7adba">{{
  253. item.time
  254. }}</view>
  255. </view>
  256. <view class="display-flex-end" style="margin-top: 20rpx">
  257. <view class="notice-content-time">浏览 {{ item.browe }}</view>
  258. <view class="notice-content-time">分享 {{ item.share }}</view>
  259. </view>
  260. </view>
  261. </view>
  262. </view>
  263. <foot-tabs></foot-tabs>
  264. </view>
  265. </template>
  266. <script>
  267. <<<<<<< HEAD
  268. import md5 from "@/common/md5.js";
  269. export default {
  270. data() {
  271. return {
  272. swiperList: [
  273. {
  274. img: "/static/swiper/swiper1.jpg",
  275. },
  276. {
  277. img: "/static/swiper/swiper2.jpg",
  278. },
  279. ],
  280. swiperCurrent: 0,
  281. navList: [
  282. {
  283. url: "/static/navList/appeal.png",
  284. path: "/pages/appeal/index",
  285. content: "提诉求",
  286. },
  287. {
  288. url: "/static/navList/policy.png",
  289. path: "/pages/policy/index",
  290. content: "搜政策",
  291. },
  292. {
  293. url: "/static/navList/park.png",
  294. path: "/pages/park/index",
  295. content: "找园区",
  296. },
  297. {
  298. url: "/static/navList/activity.png",
  299. path: "/pages/activity/index",
  300. content: "找活动",
  301. },
  302. {
  303. url: "/static/navList/supply.png",
  304. path: "/pages/supply/index",
  305. content: "发供需",
  306. },
  307. {
  308. url: "/static/navList/enterprise.png",
  309. path: "/pages/enterprise/index",
  310. content: "查企业",
  311. },
  312. {
  313. url: "/static/navList/service.png",
  314. path: "/pages/service/index",
  315. content: "找服务",
  316. },
  317. ],
  318. noticeList: [
  319. {
  320. url: "/static/navList/policy-icon.png",
  321. title: "政策速览 | 小微企业、个体工商户税费...",
  322. time: "2021-08-05",
  323. },
  324. {
  325. url: "/static/navList/activity-icon.png",
  326. title: "活动预告 | 想了解跨境电商?8月5日带...",
  327. time: "2021-08-04",
  328. },
  329. {
  330. url: "/static/navList/notice-icon.png",
  331. title: "通知公告 | 2022年首批次重点新材料扶...",
  332. time: "2021-08-03",
  333. },
  334. ],
  335. parkList: [
  336. // {
  337. // url:'/static/park/1.png',
  338. // title:'华潮科技产业园',
  339. // time:'2015-10-25',
  340. // num:484,
  341. // area1:1.72,
  342. // area2:1.01
  343. // },
  344. // {
  345. // url:'/static/park/1.png',
  346. // title:'华潮科技产业园',
  347. // time:'2015-10-25',
  348. // num:484,
  349. // area1:1.72,
  350. // area2:1.01
  351. // },
  352. // {
  353. // url:'/static/park/1.png',
  354. // title:'华潮科技产业园',
  355. // time:'2015-10-25',
  356. // num:484,
  357. // area1:1.72,
  358. // area2:1.01
  359. // },
  360. ],
  361. attractList: [
  362. {
  363. url: "/static/attract/1.png",
  364. title: "工业互联网",
  365. subtitle: "工业互联网是全球工业系统与高级计算、分析、...",
  366. time: "2021-09-05",
  367. },
  368. {
  369. url: "/static/attract/2.png",
  370. title: "生产性服务业",
  371. subtitle: "生产性服务业是指为保持工业生产过程的连续性...",
  372. time: "2021-09-05",
  373. },
  374. ],
  375. activityList: [
  376. {
  377. url: "/static/activity/2.png",
  378. title: "400场讲座,200门课程,免费送上门!就等你申请",
  379. isOnline: 1,
  380. department: "区人力资源局",
  381. time: "2021-09-05",
  382. browe: "322",
  383. share: "2",
  384. },
  385. {
  386. url: "/static/activity/1.png",
  387. title: "智能制造商标品牌培育系列培训活动",
  388. isOnline: 0,
  389. department: "市场监督管理局",
  390. time: "2021-09-05",
  391. browe: "322",
  392. share: "2",
  393. },
  394. ],
  395. };
  396. },
  397. onLoad() {
  398. this.getSwiperList();
  399. this.getPark();
  400. // this.loginLoad();
  401. },
  402. methods: {
  403. swiperChange(e) {
  404. this.swiperCurrent = e.detail.current;
  405. },
  406. getSwiperList() {
  407. let md5Sign = md5(
  408. "method=" +
  409. "common" +
  410. "&timestamp=" +
  411. getApp().globalData.globalTimestamp +
  412. "&secret=" +
  413. getApp().globalData.secret
  414. );
  415. let url =
  416. getApp().globalData.shareUrl +
  417. "api/api.php" +
  418. "?method=common&source=main_pics&action=list&timestamp=" +
  419. getApp().globalData.globalTimestamp +
  420. "&sign=" +
  421. md5Sign;
  422. uni.request({
  423. url: url,
  424. method: "POST",
  425. header: {
  426. "content-type": "application/x-www-form-urlencoded",
  427. },
  428. data: {
  429. order_by: "weight desc",
  430. s_status: 1,
  431. page: 1,
  432. page_size: 7,
  433. },
  434. success: (res) => {
  435. console.log(res);
  436. if (res.data.code === 200) {
  437. res.data.data.list.forEach((item) => {
  438. item.pic_path = getApp().globalData.shareUrl + item.pic_path;
  439. });
  440. this.swiperList = res.data.data.list;
  441. }
  442. },
  443. fail: () => {
  444. console.log("连接失败");
  445. },
  446. });
  447. },
  448. getPark() {
  449. let md5Sign = md5(
  450. "method=" +
  451. "park" +
  452. "&timestamp=" +
  453. getApp().globalData.globalTimestamp +
  454. "&secret=" +
  455. getApp().globalData.secret
  456. );
  457. let url =
  458. getApp().globalData.shareUrl +
  459. "api/api.php" +
  460. "?method=park&source=park&action=list&timestamp=" +
  461. getApp().globalData.globalTimestamp +
  462. "&sign=" +
  463. md5Sign;
  464. uni.request({
  465. url: url,
  466. method: "POST",
  467. header: {
  468. "content-type": "application/x-www-form-urlencoded",
  469. },
  470. data: {
  471. order_by: "weight desc",
  472. s_show: 1,
  473. // page:1,
  474. // page_size:7
  475. },
  476. success: (res) => {
  477. console.log(res);
  478. if (res.data.code === 200) {
  479. res.data.data.list.forEach((item) => {
  480. item.park_pics[0].pic_path =
  481. getApp().globalData.shareUrl + item.park_pics[0].pic_path;
  482. });
  483. this.parkList = res.data.data.list;
  484. }
  485. },
  486. fail: () => {
  487. console.log("连接失败");
  488. },
  489. });
  490. },
  491. goParkDetailFn(id) {
  492. uni.navigateTo({
  493. url: "/pages/park/park_deatil?id=" + id,
  494. });
  495. },
  496. goNoticeDeatil(id) {
  497. uni.navigateTo({
  498. url: "/pages/notice/notice_deatil?id=" + id,
  499. });
  500. },
  501. goAttractDeatil(id) {
  502. uni.navigateTo({
  503. url: "/pages/attract/attract_deatil?id=" + id,
  504. });
  505. },
  506. goAttract() {
  507. uni.navigateTo({
  508. url: "/pages/attract/index",
  509. });
  510. },
  511. goNotice() {
  512. uni.navigateTo({
  513. url: "/pages/notice/index",
  514. });
  515. },
  516. },
  517. };
  518. =======
  519. import md5 from '@/common/md5.js';
  520. export default {
  521. data() {
  522. return {
  523. swiperList:[
  524. {
  525. img:'/static/swiper/swiper1.jpg'
  526. },
  527. {
  528. img:'/static/swiper/swiper2.jpg'
  529. },
  530. ],
  531. swiperCurrent:0,
  532. navList:[
  533. {
  534. url:'/static/navList/appeal.png',
  535. path:'/pages/appeal/index',
  536. content:'提诉求'
  537. },
  538. {
  539. url:'/static/navList/policy.png',
  540. path:'/pages/policy/index',
  541. content:'搜政策'
  542. },
  543. {
  544. url:'/static/navList/park.png',
  545. path:'/pages/park/index',
  546. content:'找园区'
  547. },
  548. {
  549. url:'/static/navList/activity.png',
  550. path:'/pages/activity/index',
  551. content:'找活动'
  552. },
  553. {
  554. url:'/static/navList/supply.png',
  555. path:'/pages/supply/index',
  556. content:'发供需'
  557. },
  558. {
  559. url:'/static/navList/enterprise.png',
  560. path:'/pages/enterprise/index',
  561. content:'查企业'
  562. },
  563. {
  564. url:'/static/navList/service.png',
  565. path:'/pages/service/index',
  566. content:'找服务'
  567. },
  568. ],
  569. noticeList:[
  570. {
  571. url:'/static/navList/policy-icon.png',
  572. title:'政策速览 | 小微企业、个体工商户税费...',
  573. time:'2021-08-05'
  574. },
  575. {
  576. url:'/static/navList/activity-icon.png',
  577. title:'活动预告 | 想了解跨境电商?8月5日带...',
  578. time:'2021-08-04'
  579. },
  580. {
  581. url:'/static/navList/notice-icon.png',
  582. title:'通知公告 | 2022年首批次重点新材料扶...',
  583. time:'2021-08-03'
  584. },
  585. ],
  586. parkList:[
  587. // {
  588. // url:'/static/park/1.png',
  589. // title:'华潮科技产业园',
  590. // time:'2015-10-25',
  591. // num:484,
  592. // area1:1.72,
  593. // area2:1.01
  594. // },
  595. // {
  596. // url:'/static/park/1.png',
  597. // title:'华潮科技产业园',
  598. // time:'2015-10-25',
  599. // num:484,
  600. // area1:1.72,
  601. // area2:1.01
  602. // },
  603. // {
  604. // url:'/static/park/1.png',
  605. // title:'华潮科技产业园',
  606. // time:'2015-10-25',
  607. // num:484,
  608. // area1:1.72,
  609. // area2:1.01
  610. // },
  611. ],
  612. attractList:[
  613. {
  614. url:'/static/attract/1.png',
  615. title:'工业互联网',
  616. subtitle:'工业互联网是全球工业系统与高级计算、分析、...',
  617. time:'2021-09-05'
  618. },
  619. {
  620. url:'/static/attract/2.png',
  621. title:'生产性服务业',
  622. subtitle:'生产性服务业是指为保持工业生产过程的连续性...',
  623. time:'2021-09-05'
  624. },
  625. ],
  626. activityList:[
  627. {
  628. url:'/static/activity/2.png',
  629. title:'400场讲座,200门课程,免费送上门!就等你申请',
  630. isOnline:1,
  631. department:'区人力资源局',
  632. time:'2021-09-05',
  633. browe:'322',
  634. share:'2'
  635. },
  636. {
  637. url:'/static/activity/1.png',
  638. title:'智能制造商标品牌培育系列培训活动',
  639. isOnline:0,
  640. department:'市场监督管理局',
  641. time:'2021-09-05',
  642. browe:'322',
  643. share:'2'
  644. },
  645. ],
  646. }
  647. },
  648. onLoad() {
  649. this.getSwiperList();
  650. this.getPark();
  651. // this.loginLoad();
  652. },
  653. methods: {
  654. swiperChange(e){
  655. this.swiperCurrent = e.detail.current
  656. },
  657. getSwiperList(){
  658. let md5Sign = md5("method="+'common'+"&timestamp="+getApp().globalData.globalTimestamp+"&secret="+getApp().globalData.secret)
  659. let url = getApp().globalData.shareUrl+'api/api.php'+'?method=common&source=main_pics&action=list&timestamp='+getApp().globalData.globalTimestamp +'&sign='+md5Sign
  660. uni.request({
  661. url:url,
  662. method: 'POST',
  663. header: {
  664. 'content-type': 'application/x-www-form-urlencoded'
  665. },
  666. data: {
  667. order_by:"weight desc",
  668. s_status:1,
  669. page:1,
  670. page_size:7
  671. },
  672. success: (res) => {
  673. console.log(res)
  674. if(res.data.code === 200){
  675. res.data.data.list.forEach((item)=>{item.pic_path = getApp().globalData.shareUrl + item.pic_path})
  676. this.swiperList = res.data.data.list;
  677. }
  678. },
  679. fail: () => {
  680. console.log("连接失败");
  681. }
  682. });
  683. },
  684. getPark(){
  685. let md5Sign = md5("method="+'park'+"&timestamp="+getApp().globalData.globalTimestamp+"&secret="+getApp().globalData.secret)
  686. let url = getApp().globalData.shareUrl+'api/api.php'+'?method=park&source=park&action=list&timestamp='+getApp().globalData.globalTimestamp +'&sign='+md5Sign
  687. uni.request({
  688. url:url,
  689. method: 'POST',
  690. header: {
  691. 'content-type': 'application/x-www-form-urlencoded'
  692. },
  693. data: {
  694. order_by:"weight desc",
  695. s_show:1,
  696. // page:1,
  697. // page_size:7
  698. },
  699. success: (res) => {
  700. console.log(res)
  701. if(res.data.code === 200){
  702. res.data.data.list.forEach((item)=>{
  703. if(item.park_pics.length){
  704. item.park_pics[0].pic_path = getApp().globalData.shareUrl + item.park_pics[0].pic_path
  705. }else {
  706. item.park_pics = [{pic_path:'/static/park/1.png'}]
  707. }
  708. });
  709. this.parkList = res.data.data.list;
  710. }
  711. },
  712. fail: () => {
  713. console.log("连接失败");
  714. }
  715. });
  716. },
  717. goParkDetailFn(id){
  718. uni.navigateTo({
  719. url:'/pages/park/park_deatil?id='+id
  720. })
  721. },
  722. }
  723. }
  724. >>>>>>> 14903aa639e80b06049d11354c85f1a3a170c287
  725. </script>
  726. <style>
  727. .content {
  728. display: flex;
  729. flex-direction: column;
  730. align-items: center;
  731. justify-content: center;
  732. }
  733. .logo {
  734. height: 200rpx;
  735. width: 200rpx;
  736. margin-top: 200rpx;
  737. margin-left: auto;
  738. margin-right: auto;
  739. margin-bottom: 50rpx;
  740. }
  741. .text-area {
  742. display: flex;
  743. justify-content: center;
  744. }
  745. .title {
  746. font-size: 36rpx;
  747. color: #8f8f94;
  748. }
  749. .groove-img {
  750. width: 100%;
  751. height: 100rpx;
  752. bottom: -22rpx;
  753. position: absolute;
  754. }
  755. .rowDot {
  756. display: flex;
  757. position: absolute;
  758. top: 270rpx;
  759. left: 80rpx;
  760. }
  761. .dots {
  762. flex-direction: row;
  763. justify-content: center;
  764. align-items: center;
  765. align-content: center;
  766. }
  767. .dot {
  768. margin-right: 8rpx;
  769. width: 40rpx;
  770. height: 8rpx;
  771. opacity: 1;
  772. border-radius: 6rpx;
  773. background: #fff5f9;
  774. }
  775. .dot.active {
  776. background: #ff4e54;
  777. }
  778. .swiper-content {
  779. /* border-radius: 0 0 10% 10%; */
  780. }
  781. .page-nav-box {
  782. width: 80%;
  783. /* height: 320rpx; */
  784. display: flex;
  785. flex-wrap: wrap;
  786. padding: 20rpx 10rpx 30rpx 10rpx;
  787. box-shadow: 0px 2px 16px rgba(0, 0, 0, 0.1);
  788. border-radius: 32rpx;
  789. position: absolute;
  790. top: 300rpx;
  791. background-color: #fff;
  792. }
  793. .nav-content {
  794. width: 25%;
  795. height: 130rpx;
  796. display: flex;
  797. flex-direction: column;
  798. align-items: center;
  799. margin-top: 20rpx;
  800. font-size: 22rpx;
  801. justify-content: space-around;
  802. letter-spacing: 0.02em;
  803. color: #0d1937;
  804. font-family: PingFang SC;
  805. font-style: normal;
  806. font-weight: 600;
  807. }
  808. .notice-box {
  809. width: 83%;
  810. margin-top: 300rpx;
  811. margin-bottom: 20rpx;
  812. }
  813. .notice-title-box {
  814. width: 100%;
  815. display: flex;
  816. justify-content: space-between;
  817. align-items: center;
  818. margin-bottom: 40rpx;
  819. }
  820. .notice-font {
  821. font-family: PingFang SC;
  822. font-style: normal;
  823. font-weight: 600;
  824. font-size: 32rpx;
  825. letter-spacing: 0.02em;
  826. color: #0d1937;
  827. }
  828. .notice-more-font {
  829. font-size: 24rpx;
  830. color: #146afb;
  831. display: flex;
  832. align-items: center;
  833. }
  834. .notice-content-box {
  835. display: flex;
  836. padding: 30rpx;
  837. background-color: #ffffff;
  838. box-shadow: 0px 4rpx 32rpx rgba(0, 0, 0, 0.1);
  839. border-radius: 32rpx;
  840. margin-top: 20rpx;
  841. justify-content: space-between;
  842. }
  843. .notice-content-font {
  844. font-size: 26rpx;
  845. color: #0d1937;
  846. font-weight: 600;
  847. overflow: hidden;
  848. text-overflow: ellipsis;
  849. white-space: nowrap;
  850. }
  851. .notice-content-time {
  852. font-size: 18rpx;
  853. letter-spacing: 0.02em;
  854. color: #cfcfcf;
  855. margin-right: 14rpx;
  856. }
  857. .park-box {
  858. border-radius: 32rpx;
  859. margin-right: 20rpx;
  860. position: relative;
  861. height: 450rpx;
  862. }
  863. .park-content-box {
  864. width: 394rpx;
  865. background-color: #ffffff;
  866. border-radius: 56rpx 0px 32rpx 32rpx;
  867. position: absolute;
  868. top: 210rpx;
  869. font-size: 24rpx;
  870. padding: 30rpx;
  871. box-shadow: 0px 2px 16px rgba(0, 0, 0, 0.1);
  872. }
  873. .park-title {
  874. font-weight: 600;
  875. line-height: 36rpx;
  876. letter-spacing: 0.02em;
  877. color: #0d1937;
  878. }
  879. .park-address {
  880. font-weight: 600;
  881. font-size: 19rpx;
  882. letter-spacing: 0.02em;
  883. color: #cfcfcf;
  884. margin-top: 10rpx;
  885. }
  886. .park-title-img {
  887. width: 16rpx;
  888. height: 16rpx;
  889. margin-right: 4rpx;
  890. }
  891. .park-footer-box {
  892. margin-top: 30rpx;
  893. }
  894. .park-footer-img {
  895. width: 24rpx;
  896. height: 24rpx;
  897. margin-right: 6rpx;
  898. }
  899. .park-footer-font {
  900. color: #cfcfcf;
  901. font-size: 19rpx;
  902. margin-top: 10rpx;
  903. }
  904. .width-30 {
  905. width: 30%;
  906. }
  907. .attract-content {
  908. color: #697594;
  909. font-weight: 600;
  910. font-size: 20rpx;
  911. margin-top: 8rpx;
  912. overflow: hidden;
  913. text-overflow: ellipsis;
  914. white-space: nowrap;
  915. }
  916. .online-box {
  917. width: 12rpx;
  918. height: 12rpx;
  919. border-radius: 50%;
  920. background-color: #589cff;
  921. margin-right: 5rpx;
  922. }
  923. .offline-box {
  924. width: 12rpx;
  925. height: 12rpx;
  926. border-radius: 50%;
  927. background-color: #ffcf86;
  928. margin-right: 5rpx;
  929. }
  930. .color-a7adba {
  931. color: #a7adba;
  932. }
  933. </style>