index.vue 20 KB

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