index.vue 23 KB

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