index.vue 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878
  1. <template>
  2. <view class="content">
  3. <top-title :titleValue="title" :pageScroll="scrollVal" 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:"Air企通",
  284. scrollVal:Number,
  285. swiperList: [
  286. {
  287. img: "/static/swiper/swiper1.jpg",
  288. },
  289. {
  290. img: "/static/swiper/swiper2.jpg",
  291. },
  292. ],
  293. swiperCurrent: 0,
  294. navList: [
  295. {
  296. url: "/static/navList/appeal.png",
  297. path: "/pages/appeal/index",
  298. content: "提诉求",
  299. },
  300. {
  301. url: "/static/navList/policy.png",
  302. path: "/pages/policy/index",
  303. content: "搜政策",
  304. },
  305. {
  306. url: "/static/navList/park.png",
  307. path: "/pages/park/index",
  308. content: "找园区",
  309. },
  310. {
  311. url: "/static/navList/activity.png",
  312. path: "/pages/activity/index",
  313. content: "找活动",
  314. },
  315. {
  316. url: "/static/navList/supply.png",
  317. path: "/pages/supply/index",
  318. content: "发供需",
  319. },
  320. {
  321. url: "/static/navList/enterprise.png",
  322. path: "/pages/enterprise/index",
  323. content: "查企业",
  324. },
  325. {
  326. url: "/static/navList/service.png",
  327. path: "/pages/service/index",
  328. content: "找服务",
  329. },
  330. ],
  331. noticeList: [
  332. // {
  333. // url: "/static/navList/policy-icon.png",
  334. // title: "政策速览 | 小微企业、个体工商户税费...",
  335. // time: "2021-08-05",
  336. // },
  337. // {
  338. // url: "/static/navList/activity-icon.png",
  339. // title: "活动预告 | 想了解跨境电商?8月5日带...",
  340. // time: "2021-08-04",
  341. // },
  342. // {
  343. // url: "/static/navList/notice-icon.png",
  344. // title: "通知公告 | 2022年首批次重点新材料扶...",
  345. // time: "2021-08-03",
  346. // },
  347. ],
  348. parkList: [
  349. // {
  350. // url:'/static/park/1.png',
  351. // title:'华潮科技产业园',
  352. // time:'2015-10-25',
  353. // num:484,
  354. // area1:1.72,
  355. // area2:1.01
  356. // },
  357. // {
  358. // url:'/static/park/1.png',
  359. // title:'华潮科技产业园',
  360. // time:'2015-10-25',
  361. // num:484,
  362. // area1:1.72,
  363. // area2:1.01
  364. // },
  365. // {
  366. // url:'/static/park/1.png',
  367. // title:'华潮科技产业园',
  368. // time:'2015-10-25',
  369. // num:484,
  370. // area1:1.72,
  371. // area2:1.01
  372. // },
  373. ],
  374. attractList: [
  375. {
  376. url: "/static/attract/1.png",
  377. title: "工业互联网",
  378. subtitle: "工业互联网是全球工业系统与高级计算、分析、...",
  379. time: "2021-09-05",
  380. },
  381. {
  382. url: "/static/attract/2.png",
  383. title: "生产性服务业",
  384. subtitle: "生产性服务业是指为保持工业生产过程的连续性...",
  385. time: "2021-09-05",
  386. },
  387. ],
  388. activityList: [
  389. {
  390. url: "/static/activity/2.png",
  391. title: "400场讲座,200门课程,免费送上门!就等你申请",
  392. isOnline: 1,
  393. department: "区人力资源局",
  394. time: "2021-09-05",
  395. browe: "322",
  396. share: "2",
  397. },
  398. {
  399. url: "/static/activity/1.png",
  400. title: "智能制造商标品牌培育系列培训活动",
  401. isOnline: 0,
  402. department: "市场监督管理局",
  403. time: "2021-09-05",
  404. browe: "322",
  405. share: "2",
  406. },
  407. ],
  408. };
  409. },
  410. onShow() {
  411. uni.hideTabBar({});
  412. },
  413. onLoad() {
  414. this.getSwiperList();
  415. this.getPark();
  416. this.getNotice();
  417. console.log(getApp().global)
  418. //this.getAttract(); //招商接口
  419. },
  420. onShareAppMessage() {
  421. url: "/pages/index/index";
  422. },
  423. methods: {
  424. swiperChange(e) {
  425. this.swiperCurrent = e.detail.current;
  426. },
  427. getSwiperList() {
  428. let md5Sign = md5(
  429. "method=" +
  430. "common" +
  431. "&timestamp=" +
  432. getApp().globalData.globalTimestamp +
  433. "&secret=" +
  434. getApp().globalData.secret
  435. );
  436. let url =
  437. getApp().globalData.shareUrl +
  438. "api/api.php" +
  439. "?method=common&source=main_pics&action=list&timestamp=" +
  440. getApp().globalData.globalTimestamp +
  441. "&sign=" +
  442. md5Sign;
  443. uni.request({
  444. url: url,
  445. method: "POST",
  446. header: {
  447. "content-type": "application/x-www-form-urlencoded",
  448. },
  449. data: {
  450. order_by: "weight desc",
  451. s_status: 1,
  452. page: 1,
  453. page_size: 7,
  454. },
  455. success: (res) => {
  456. console.log(res);
  457. if (res.data.code === 200) {
  458. res.data.data.list.forEach((item) => {
  459. item.pic_path = getApp().globalData.shareUrl + item.pic_path;
  460. });
  461. this.swiperList = res.data.data.list;
  462. }
  463. },
  464. fail: () => {
  465. console.log("连接失败");
  466. },
  467. });
  468. },
  469. getPark() {
  470. let md5Sign = md5(
  471. "method=" +
  472. "park" +
  473. "&timestamp=" +
  474. getApp().globalData.globalTimestamp +
  475. "&secret=" +
  476. getApp().globalData.secret
  477. );
  478. let url =
  479. getApp().globalData.shareUrl +
  480. "api/api.php" +
  481. "?method=park&source=park&action=list&timestamp=" +
  482. getApp().globalData.globalTimestamp +
  483. "&sign=" +
  484. md5Sign;
  485. uni.request({
  486. url: url,
  487. method: "POST",
  488. header: {
  489. "content-type": "application/x-www-form-urlencoded",
  490. },
  491. data: {
  492. order_by: "weight desc",
  493. s_show: 1,
  494. page: 1,
  495. page_size: 5,
  496. },
  497. success: (res) => {
  498. if (res.data.code === 200) {
  499. res.data.data.list.forEach((item) => {
  500. if (item.park_pics.length) {
  501. item.park_pics[0].pic_path =
  502. getApp().globalData.shareUrl + item.park_pics[0].pic_path;
  503. }
  504. });
  505. this.parkList = res.data.data.list;
  506. }
  507. },
  508. fail: () => {
  509. console.log("连接失败");
  510. },
  511. });
  512. },
  513. getNotice() {
  514. let md5Sign = md5(
  515. "method=" +
  516. "common" +
  517. "&timestamp=" +
  518. getApp().globalData.globalTimestamp +
  519. "&secret=" +
  520. getApp().globalData.secret
  521. );
  522. let url =
  523. getApp().globalData.shareUrl +
  524. "api/api.php" +
  525. "?method=common&source=notice&action=list&timestamp=" +
  526. getApp().globalData.globalTimestamp +
  527. "&sign=" +
  528. md5Sign;
  529. uni.request({
  530. url: url,
  531. method: "POST",
  532. header: {
  533. "content-type": "application/x-www-form-urlencoded",
  534. },
  535. data: {
  536. // order_by: "weight desc",
  537. // s_show: 1,
  538. // page: 1,
  539. // page_size: 5,
  540. },
  541. success: (res) => {
  542. if (res.data.code === 200) {
  543. // console.log(res.data.data.list);
  544. this.noticeList = res.data.data.list.map((item) => {
  545. switch (item.type) {
  546. case "1":
  547. item.icon = "/static/navList/activity-icon.png";
  548. item.title = "活动预告 | " + item.title;
  549. break;
  550. case "2":
  551. item.icon = "/static/navList/policy-icon.png";
  552. item.title = "政策速览 | " + item.title;
  553. break;
  554. case "3":
  555. item.icon = "/static/navList/notice-icon.png";
  556. item.title = "通知公告 | " + item.title;
  557. break;
  558. }
  559. return item;
  560. });
  561. }
  562. },
  563. fail: () => {
  564. console.log("连接失败");
  565. },
  566. });
  567. },
  568. getAttract() {
  569. let md5Sign = md5(
  570. "method=" +
  571. "common" +
  572. "&timestamp=" +
  573. getApp().globalData.globalTimestamp +
  574. "&secret=" +
  575. getApp().globalData.secret
  576. );
  577. let url =
  578. getApp().globalData.shareUrl +
  579. "api/api.php" +
  580. "?method=common&source=business&action=list&timestamp=" +
  581. getApp().globalData.globalTimestamp +
  582. "&sign=" +
  583. md5Sign;
  584. let postData = {
  585. page: 1,
  586. page_size: 5,
  587. };
  588. uni.request({
  589. url: url,
  590. method: "POST",
  591. header: {
  592. "content-type": "application/x-www-form-urlencoded",
  593. },
  594. data: postData,
  595. success: (res) => {
  596. console.log(res);
  597. if (res.data.code === 200) {
  598. let list = res.data.data.list;
  599. this.attractList = list.map((item) => {
  600. /*
  601. title: "生产性服务业",
  602. subtitle: "生产性服务业是指为保持工业生产过程的连续性...",
  603. time: "2021-09-05",
  604. */
  605. let ob = {
  606. url: "",
  607. subtitle: "",
  608. id: "",
  609. title: "",
  610. };
  611. ob.url = item.pic_url;
  612. ob.subtitle = item.desc;
  613. ob.id = item.id;
  614. ob.title = item.title;
  615. return ob;
  616. });
  617. }
  618. },
  619. fail: () => {
  620. console.log("连接失败");
  621. },
  622. });
  623. },
  624. goParkDetailFn(id) {
  625. uni.navigateTo({
  626. url: "/pages/park/park_deatil?id=" + id,
  627. });
  628. },
  629. goNoticeDeatil(id) {
  630. uni.navigateTo({
  631. url: "/pages/notice/notice_deatil?id=" + id,
  632. });
  633. },
  634. goAttractDeatil(id) {
  635. uni.navigateTo({
  636. url: "/pages/attract/attract_deatil?id=" + id,
  637. });
  638. },
  639. goAttract() {
  640. uni.navigateTo({
  641. url: "/pages/attract/index",
  642. });
  643. },
  644. goNotice() {
  645. uni.navigateTo({
  646. url: "/pages/notice/index",
  647. });
  648. },
  649. },
  650. onPageScroll(e) {
  651. this.scrollVal = e.scrollTop;
  652. },
  653. };
  654. </script>
  655. <style>
  656. .content {
  657. display: flex;
  658. flex-direction: column;
  659. align-items: center;
  660. justify-content: center;
  661. position: relative;
  662. }
  663. .logo {
  664. height: 200rpx;
  665. width: 200rpx;
  666. margin-top: 200rpx;
  667. margin-left: auto;
  668. margin-right: auto;
  669. margin-bottom: 50rpx;
  670. }
  671. .text-area {
  672. display: flex;
  673. justify-content: center;
  674. }
  675. .title {
  676. font-size: 36rpx;
  677. color: #8f8f94;
  678. }
  679. .groove-img {
  680. width: 100%;
  681. height: 100rpx;
  682. bottom: -22rpx;
  683. position: absolute;
  684. }
  685. .rowDot {
  686. display: flex;
  687. position: absolute;
  688. top: 310rpx;
  689. left: 80rpx;
  690. }
  691. .dots {
  692. flex-direction: row;
  693. justify-content: center;
  694. align-items: center;
  695. align-content: center;
  696. }
  697. .dot {
  698. margin-right: 8rpx;
  699. width: 40rpx;
  700. height: 8rpx;
  701. opacity: 1;
  702. border-radius: 6rpx;
  703. background: #fff5f9;
  704. }
  705. .dot.active {
  706. background: #ff4e54;
  707. }
  708. .swiper-content {
  709. /* border-radius: 0 0 10% 10%; */
  710. }
  711. .page-nav-box {
  712. width: 80%;
  713. /* height: 320rpx; */
  714. display: flex;
  715. flex-wrap: wrap;
  716. padding: 20rpx 10rpx 30rpx 10rpx;
  717. box-shadow: 0px 2px 16px rgba(0, 0, 0, 0.1);
  718. border-radius: 32rpx;
  719. position: absolute;
  720. top: 360rpx;
  721. background-color: #fff;
  722. }
  723. .nav-content {
  724. width: 25%;
  725. height: 130rpx;
  726. display: flex;
  727. flex-direction: column;
  728. align-items: center;
  729. margin-top: 20rpx;
  730. font-size: 22rpx;
  731. justify-content: space-around;
  732. letter-spacing: 0.02em;
  733. color: #0d1937;
  734. font-family: PingFang SC;
  735. font-style: normal;
  736. font-weight: 600;
  737. }
  738. .notice-box {
  739. width: 83%;
  740. margin-top: 320rpx;
  741. margin-bottom: 20rpx;
  742. }
  743. .notice-title-box {
  744. width: 100%;
  745. display: flex;
  746. justify-content: space-between;
  747. align-items: center;
  748. margin-bottom: 40rpx;
  749. }
  750. .notice-font {
  751. font-family: PingFang SC;
  752. font-style: normal;
  753. font-weight: 600;
  754. font-size: 32rpx;
  755. letter-spacing: 0.02em;
  756. color: #0d1937;
  757. }
  758. .notice-more-font {
  759. font-size: 24rpx;
  760. color: #146afb;
  761. display: flex;
  762. align-items: center;
  763. }
  764. .notice-content-box {
  765. display: flex;
  766. padding: 30rpx;
  767. background-color: #ffffff;
  768. box-shadow: 0px 4rpx 32rpx rgba(0, 0, 0, 0.1);
  769. border-radius: 32rpx;
  770. margin-top: 20rpx;
  771. justify-content: space-between;
  772. }
  773. .notice-content-font {
  774. font-size: 26rpx;
  775. color: #0d1937;
  776. font-weight: 600;
  777. overflow: hidden;
  778. text-overflow: ellipsis;
  779. white-space: nowrap;
  780. }
  781. .notice-content-time {
  782. font-size: 18rpx;
  783. letter-spacing: 0.02em;
  784. color: #cfcfcf;
  785. margin-right: 14rpx;
  786. }
  787. .park-box {
  788. border-radius: 32rpx;
  789. margin-right: 20rpx;
  790. position: relative;
  791. height: 450rpx;
  792. }
  793. .park-content-box {
  794. width: 394rpx;
  795. background-color: #ffffff;
  796. border-radius: 56rpx 0px 32rpx 32rpx;
  797. position: absolute;
  798. top: 210rpx;
  799. font-size: 24rpx;
  800. padding: 30rpx;
  801. box-shadow: 0px 2px 16px rgba(0, 0, 0, 0.1);
  802. }
  803. .park-title {
  804. font-weight: 600;
  805. line-height: 36rpx;
  806. letter-spacing: 0.02em;
  807. color: #0d1937;
  808. }
  809. .park-address {
  810. font-weight: 600;
  811. font-size: 19rpx;
  812. letter-spacing: 0.02em;
  813. color: #cfcfcf;
  814. margin-top: 10rpx;
  815. }
  816. .park-title-img {
  817. width: 16rpx;
  818. height: 16rpx;
  819. margin-right: 4rpx;
  820. }
  821. .park-footer-box {
  822. margin-top: 30rpx;
  823. }
  824. .park-footer-img {
  825. width: 24rpx;
  826. height: 24rpx;
  827. margin-right: 6rpx;
  828. }
  829. .park-footer-font {
  830. color: #cfcfcf;
  831. font-size: 19rpx;
  832. margin-top: 10rpx;
  833. }
  834. .width-30 {
  835. width: 30%;
  836. }
  837. .attract-content {
  838. color: #697594;
  839. font-weight: 600;
  840. font-size: 20rpx;
  841. margin-top: 8rpx;
  842. overflow: hidden;
  843. text-overflow: ellipsis;
  844. white-space: nowrap;
  845. }
  846. .online-box {
  847. width: 12rpx;
  848. height: 12rpx;
  849. border-radius: 50%;
  850. background-color: #589cff;
  851. margin-right: 5rpx;
  852. }
  853. .offline-box {
  854. width: 12rpx;
  855. height: 12rpx;
  856. border-radius: 50%;
  857. background-color: #ffcf86;
  858. margin-right: 5rpx;
  859. }
  860. .color-a7adba {
  861. color: #a7adba;
  862. }
  863. </style>