index.vue 21 KB

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