index.vue 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873
  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. },
  418. onShareAppMessage() {
  419. url: "/pages/index/index";
  420. },
  421. methods: {
  422. swiperChange(e) {
  423. this.swiperCurrent = e.detail.current;
  424. },
  425. getSwiperList() {
  426. let md5Sign = md5(
  427. "method=" +
  428. "common" +
  429. "&timestamp=" +
  430. getApp().globalData.globalTimestamp +
  431. "&secret=" +
  432. getApp().globalData.secret
  433. );
  434. let url =
  435. getApp().globalData.shareUrl +
  436. "api/api.php" +
  437. "?method=common&source=main_pics&action=list&timestamp=" +
  438. getApp().globalData.globalTimestamp +
  439. "&sign=" +
  440. md5Sign;
  441. uni.request({
  442. url: url,
  443. method: "POST",
  444. header: {
  445. "content-type": "application/x-www-form-urlencoded",
  446. },
  447. data: {
  448. order_by: "weight desc",
  449. s_status: 1,
  450. page: 1,
  451. page_size: 7,
  452. },
  453. success: (res) => {
  454. console.log(res);
  455. if (res.data.code === 200) {
  456. res.data.data.list.forEach((item) => {
  457. item.pic_path = getApp().globalData.shareUrl + item.pic_path;
  458. });
  459. this.swiperList = res.data.data.list;
  460. }
  461. },
  462. fail: () => {
  463. console.log("连接失败");
  464. },
  465. });
  466. },
  467. getPark() {
  468. let md5Sign = md5(
  469. "method=" +
  470. "park" +
  471. "&timestamp=" +
  472. getApp().globalData.globalTimestamp +
  473. "&secret=" +
  474. getApp().globalData.secret
  475. );
  476. let url =
  477. getApp().globalData.shareUrl +
  478. "api/api.php" +
  479. "?method=park&source=park&action=list&timestamp=" +
  480. getApp().globalData.globalTimestamp +
  481. "&sign=" +
  482. md5Sign;
  483. uni.request({
  484. url: url,
  485. method: "POST",
  486. header: {
  487. "content-type": "application/x-www-form-urlencoded",
  488. },
  489. data: {
  490. order_by: "weight desc",
  491. s_show: 1,
  492. page: 1,
  493. page_size: 5,
  494. },
  495. success: (res) => {
  496. if (res.data.code === 200) {
  497. res.data.data.list.forEach((item) => {
  498. if (item.park_pics.length) {
  499. item.park_pics[0].pic_path =
  500. getApp().globalData.shareUrl + item.park_pics[0].pic_path;
  501. }
  502. });
  503. this.parkList = res.data.data.list;
  504. }
  505. },
  506. fail: () => {
  507. console.log("连接失败");
  508. },
  509. });
  510. },
  511. getNotice() {
  512. let md5Sign = md5(
  513. "method=" +
  514. "common" +
  515. "&timestamp=" +
  516. getApp().globalData.globalTimestamp +
  517. "&secret=" +
  518. getApp().globalData.secret
  519. );
  520. let url =
  521. getApp().globalData.shareUrl +
  522. "api/api.php" +
  523. "?method=common&source=notice&action=list&timestamp=" +
  524. getApp().globalData.globalTimestamp +
  525. "&sign=" +
  526. md5Sign;
  527. uni.request({
  528. url: url,
  529. method: "POST",
  530. header: {
  531. "content-type": "application/x-www-form-urlencoded",
  532. },
  533. data: {
  534. // order_by: "weight desc",
  535. // s_show: 1,
  536. // page: 1,
  537. // page_size: 5,
  538. },
  539. success: (res) => {
  540. if (res.data.code === 200) {
  541. // console.log(res.data.data.list);
  542. this.noticeList = res.data.data.list.map((item) => {
  543. switch (item.type) {
  544. case "1":
  545. item.icon = "/static/navList/activity-icon.png";
  546. item.title = "活动预告 | " + item.title;
  547. break;
  548. case "2":
  549. item.icon = "/static/navList/policy-icon.png";
  550. item.title = "政策速览 | " + item.title;
  551. break;
  552. case "3":
  553. item.icon = "/static/navList/notice-icon.png";
  554. item.title = "通知公告 | " + item.title;
  555. break;
  556. }
  557. return item;
  558. });
  559. }
  560. },
  561. fail: () => {
  562. console.log("连接失败");
  563. },
  564. });
  565. },
  566. getAttract() {
  567. let md5Sign = md5(
  568. "method=" +
  569. "common" +
  570. "&timestamp=" +
  571. getApp().globalData.globalTimestamp +
  572. "&secret=" +
  573. getApp().globalData.secret
  574. );
  575. let url =
  576. getApp().globalData.shareUrl +
  577. "api/api.php" +
  578. "?method=common&source=business&action=list&timestamp=" +
  579. getApp().globalData.globalTimestamp +
  580. "&sign=" +
  581. md5Sign;
  582. let postData = {
  583. page: 1,
  584. page_size: 5,
  585. };
  586. uni.request({
  587. url: url,
  588. method: "POST",
  589. header: {
  590. "content-type": "application/x-www-form-urlencoded",
  591. },
  592. data: postData,
  593. success: (res) => {
  594. console.log(res);
  595. if (res.data.code === 200) {
  596. let list = res.data.data.list;
  597. this.attractList = list.map((item) => {
  598. /*
  599. title: "生产性服务业",
  600. subtitle: "生产性服务业是指为保持工业生产过程的连续性...",
  601. time: "2021-09-05",
  602. */
  603. let ob = {
  604. url: "",
  605. subtitle: "",
  606. id: "",
  607. title: "",
  608. };
  609. ob.url = item.pic_url;
  610. ob.subtitle = item.desc;
  611. ob.id = item.id;
  612. ob.title = item.title;
  613. return ob;
  614. });
  615. }
  616. },
  617. fail: () => {
  618. console.log("连接失败");
  619. },
  620. });
  621. },
  622. goParkDetailFn(id) {
  623. uni.navigateTo({
  624. url: "/pages/park/park_deatil?id=" + id,
  625. });
  626. },
  627. goNoticeDeatil(id) {
  628. uni.navigateTo({
  629. url: "/pages/notice/notice_deatil?id=" + id,
  630. });
  631. },
  632. goAttractDeatil(id) {
  633. uni.navigateTo({
  634. url: "/pages/attract/attract_deatil?id=" + id,
  635. });
  636. },
  637. goAttract() {
  638. uni.navigateTo({
  639. url: "/pages/attract/index",
  640. });
  641. },
  642. goNotice() {
  643. uni.navigateTo({
  644. url: "/pages/notice/index",
  645. });
  646. },
  647. },
  648. };
  649. </script>
  650. <style>
  651. .content {
  652. display: flex;
  653. flex-direction: column;
  654. align-items: center;
  655. justify-content: center;
  656. position: relative;
  657. }
  658. .logo {
  659. height: 200rpx;
  660. width: 200rpx;
  661. margin-top: 200rpx;
  662. margin-left: auto;
  663. margin-right: auto;
  664. margin-bottom: 50rpx;
  665. }
  666. .text-area {
  667. display: flex;
  668. justify-content: center;
  669. }
  670. .title {
  671. font-size: 36rpx;
  672. color: #8f8f94;
  673. }
  674. .groove-img {
  675. width: 100%;
  676. height: 100rpx;
  677. bottom: -22rpx;
  678. position: absolute;
  679. }
  680. .rowDot {
  681. display: flex;
  682. position: absolute;
  683. top: 310rpx;
  684. left: 80rpx;
  685. }
  686. .dots {
  687. flex-direction: row;
  688. justify-content: center;
  689. align-items: center;
  690. align-content: center;
  691. }
  692. .dot {
  693. margin-right: 8rpx;
  694. width: 40rpx;
  695. height: 8rpx;
  696. opacity: 1;
  697. border-radius: 6rpx;
  698. background: #fff5f9;
  699. }
  700. .dot.active {
  701. background: #ff4e54;
  702. }
  703. .swiper-content {
  704. /* border-radius: 0 0 10% 10%; */
  705. }
  706. .page-nav-box {
  707. width: 80%;
  708. /* height: 320rpx; */
  709. display: flex;
  710. flex-wrap: wrap;
  711. padding: 20rpx 10rpx 30rpx 10rpx;
  712. box-shadow: 0px 2px 16px rgba(0, 0, 0, 0.1);
  713. border-radius: 32rpx;
  714. position: absolute;
  715. top: 360rpx;
  716. background-color: #fff;
  717. }
  718. .nav-content {
  719. width: 25%;
  720. height: 130rpx;
  721. display: flex;
  722. flex-direction: column;
  723. align-items: center;
  724. margin-top: 20rpx;
  725. font-size: 22rpx;
  726. justify-content: space-around;
  727. letter-spacing: 0.02em;
  728. color: #0d1937;
  729. font-family: PingFang SC;
  730. font-style: normal;
  731. font-weight: 600;
  732. }
  733. .notice-box {
  734. width: 83%;
  735. margin-top: 320rpx;
  736. margin-bottom: 20rpx;
  737. }
  738. .notice-title-box {
  739. width: 100%;
  740. display: flex;
  741. justify-content: space-between;
  742. align-items: center;
  743. margin-bottom: 40rpx;
  744. }
  745. .notice-font {
  746. font-family: PingFang SC;
  747. font-style: normal;
  748. font-weight: 600;
  749. font-size: 32rpx;
  750. letter-spacing: 0.02em;
  751. color: #0d1937;
  752. }
  753. .notice-more-font {
  754. font-size: 24rpx;
  755. color: #146afb;
  756. display: flex;
  757. align-items: center;
  758. }
  759. .notice-content-box {
  760. display: flex;
  761. padding: 30rpx;
  762. background-color: #ffffff;
  763. box-shadow: 0px 4rpx 32rpx rgba(0, 0, 0, 0.1);
  764. border-radius: 32rpx;
  765. margin-top: 20rpx;
  766. justify-content: space-between;
  767. }
  768. .notice-content-font {
  769. font-size: 26rpx;
  770. color: #0d1937;
  771. font-weight: 600;
  772. overflow: hidden;
  773. text-overflow: ellipsis;
  774. white-space: nowrap;
  775. }
  776. .notice-content-time {
  777. font-size: 18rpx;
  778. letter-spacing: 0.02em;
  779. color: #cfcfcf;
  780. margin-right: 14rpx;
  781. }
  782. .park-box {
  783. border-radius: 32rpx;
  784. margin-right: 20rpx;
  785. position: relative;
  786. height: 450rpx;
  787. }
  788. .park-content-box {
  789. width: 394rpx;
  790. background-color: #ffffff;
  791. border-radius: 56rpx 0px 32rpx 32rpx;
  792. position: absolute;
  793. top: 210rpx;
  794. font-size: 24rpx;
  795. padding: 30rpx;
  796. box-shadow: 0px 2px 16px rgba(0, 0, 0, 0.1);
  797. }
  798. .park-title {
  799. font-weight: 600;
  800. line-height: 36rpx;
  801. letter-spacing: 0.02em;
  802. color: #0d1937;
  803. }
  804. .park-address {
  805. font-weight: 600;
  806. font-size: 19rpx;
  807. letter-spacing: 0.02em;
  808. color: #cfcfcf;
  809. margin-top: 10rpx;
  810. }
  811. .park-title-img {
  812. width: 16rpx;
  813. height: 16rpx;
  814. margin-right: 4rpx;
  815. }
  816. .park-footer-box {
  817. margin-top: 30rpx;
  818. }
  819. .park-footer-img {
  820. width: 24rpx;
  821. height: 24rpx;
  822. margin-right: 6rpx;
  823. }
  824. .park-footer-font {
  825. color: #cfcfcf;
  826. font-size: 19rpx;
  827. margin-top: 10rpx;
  828. }
  829. .width-30 {
  830. width: 30%;
  831. }
  832. .attract-content {
  833. color: #697594;
  834. font-weight: 600;
  835. font-size: 20rpx;
  836. margin-top: 8rpx;
  837. overflow: hidden;
  838. text-overflow: ellipsis;
  839. white-space: nowrap;
  840. }
  841. .online-box {
  842. width: 12rpx;
  843. height: 12rpx;
  844. border-radius: 50%;
  845. background-color: #589cff;
  846. margin-right: 5rpx;
  847. }
  848. .offline-box {
  849. width: 12rpx;
  850. height: 12rpx;
  851. border-radius: 50%;
  852. background-color: #ffcf86;
  853. margin-right: 5rpx;
  854. }
  855. .color-a7adba {
  856. color: #a7adba;
  857. }
  858. </style>