rankOverview.vue 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718
  1. <!--
  2. [报名] 样式2 - 排名总览
  3. http://localhost:5173/card/#/pages/bm/style2/rankOverview
  4. https://oss-mbh5.colormaprun.com/card/#/pages/bm/style2/rankOverview
  5. -->
  6. <template>
  7. <view class="body">
  8. <view class="content">
  9. <view class="uni-column" :class="cssTop">
  10. <view class="topbar uni-row" :class="cssTopbarColor">
  11. <!-- <image mode="aspectFit" class="topbar-back" @click="btnBack" src="/static/default/back.png"></image> -->
  12. <text class="topbar-back" @click="btnBack">&lt;</text>
  13. <text class="mcName" @click="playMusic">{{mcName}}</text>
  14. <text class="topbar-rule" @click="btnInfo">规则</text>
  15. <!-- <image mode="aspectFit" class="topbar-info" @click="btnInfo" src="/static/default/info.png"></image> -->
  16. </view>
  17. <view class="topbtm uni-column">
  18. <text class="topbtm-name">姓名:{{nickName}}</text>
  19. </view>
  20. </view>
  21. <view class="top-oval">
  22. <text class="top-oval-text" @click="onOverviewClick('totalNum')">点击查看排行榜</text>
  23. </view>
  24. <view class="mid uni-column">
  25. <view class="mid-1 uni-row uni-jcsb">
  26. <view class="overview-1 uni-column" @click="onOverviewClick('totalDistanct')">
  27. <text class="ovline1">总距离 {{fmtDistanct(totalDistanct)}} km</text>
  28. <text class="ovline2">第 {{totalDistanctRankNum > 0 ? totalDistanctRankNum : '- -'}} 名</text>
  29. </view>
  30. <view class="overview-2 uni-column" @click="onOverviewClick('totalNum')">
  31. <text class="">总场次 {{totalNum}}</text>
  32. </view>
  33. <view class="overview-3 uni-column" @click="onOverviewClick('totalCp')">
  34. <text class="ovline1">总打点数 {{totalCp}} 个</text>
  35. <text class="ovline2">第 {{totalCpRankNum > 0 ? totalCpRankNum : '- -'}} 名</text>
  36. </view>
  37. </view>
  38. <view class="mid-2 uni-row uni-jcse">
  39. <view class="overview-4 uni-column" @click="onOverviewClick('totalSysPoint')">
  40. <text class="ovline1">总百味豆 {{totalSysPoint}} 个</text>
  41. <text class="ovline2">第 {{totalSysPointRankNum > 0 ? totalSysPointRankNum : '- -'}} 名</text>
  42. </view>
  43. <view class="overview-5 uni-column" @click="onOverviewClick('fastPace')">
  44. <text class="ovline1">最快配速 {{fmtPace(fastPace)}}</text>
  45. <text class="ovline2">第 {{fastPaceRankNum > 0 ? fastPaceRankNum : '- -'}} 名</text>
  46. </view>
  47. </view>
  48. </view>
  49. <view class="main uni-column">
  50. <text class="main-title">选择比赛路线</text>
  51. <view class="main-path uni-row">
  52. <view v-for="(item, index) in pathList.row1" :key="'row1-' + index">
  53. <image mode="aspectFit" class="pathimg" :src="item.img" @click="onPathImgClick(item)"></image>
  54. </view>
  55. </view>
  56. <view class="main-path uni-row">
  57. <view v-for="(item, index) in pathList.row2" :key="'row2-' + index">
  58. <image mode="aspectFit" class="pathimg" :src="item.img" @click="onPathImgClick(item)"></image>
  59. </view>
  60. </view>
  61. </view>
  62. <my-popup ref="mypopup" :dataList="popupDataList" :acttime="acttime"></my-popup>
  63. <!-- <my-popup-map ref="mypopupmap" :point="navPoint"></my-popup-map> -->
  64. </view>
  65. </view>
  66. </template>
  67. <script>
  68. import tools from '/common/tools';
  69. import {
  70. defaultPopUpDataList
  71. } from '/common/define';
  72. import {
  73. token,
  74. apiMatchRsDetailQuery,
  75. apiCardConfigQuery,
  76. checkResCode
  77. } from '/common/api';
  78. export default {
  79. data() {
  80. return {
  81. // audioSrc: "/static/audio/2.mp3",
  82. // audioSrc: "https://oss-mbh5.colormaprun.com/card/static/audio/2.mp3",
  83. audioSrc: "http://t-oss-mbh5.colormaprun.com/card/static/audio/2.mp3",
  84. pageName: "rankOverview",
  85. firstEnterKey: 'firstEnter-bm-style2',
  86. rankKey: "rank-bm-style2",
  87. queryObj: {},
  88. queryString: "",
  89. token: "",
  90. ecId: 0, // 卡片id
  91. mcId: 0, // 赛事id
  92. mcType: 0, // 赛事类型 1 普通活动 2 线下赛 3 线上赛
  93. mcName: "", // 赛事名称
  94. acttime: "", // 活动时间
  95. beginSecond: null, // 活动或赛事开始时间戳,单位秒
  96. endSecond: null, // 活动或赛事结束时间戳,单位秒
  97. nickName: "", // 昵称
  98. totalNum: null, // 总场次
  99. totalDistanct: null, // 总距离,单位米
  100. totalDistanctRankNum: null, // 总距离排名
  101. totalCp: null, // 总打点数
  102. totalCpRankNum: null, // 总打点数排名
  103. totalSysPoint: null, // 总百味豆
  104. totalSysPointRankNum: null, // 总百味豆排名
  105. fastPace: null, // 个人最快配速
  106. fastPaceRankNum: null, // 个人最快配速排名
  107. ocaRs: [], // 卡片对应活动集合
  108. interval: null,
  109. mcState: 0, // 赛事/活动状态 0: 未开始 1: 进行中 2: 已结束
  110. cssTop: "",
  111. cssTopbarColor: "",
  112. pathList: {},
  113. popupDataList: [],
  114. navPoint: {},
  115. }
  116. },
  117. computed: {},
  118. onLoad(query) { // 类型非必填,可自动推导
  119. // console.log("query:", query);
  120. this.queryObj = query;
  121. // this.queryString = tools.objectToQueryString(this.queryObj);
  122. // console.log(queryString);
  123. this.token = query["token"] ?? token;
  124. this.ecId = query["id"] ?? 0;
  125. this.firstEnterKey += "-" + this.ecId;
  126. console.log("firstEnterKey:", this.firstEnterKey);
  127. this.rankKey += "-" + this.ecId;
  128. console.log("rankKey:", this.rankKey);
  129. tools.removeCssCode();
  130. this.getCardConfigQuery();
  131. },
  132. // 页面初次渲染完成,此时组件已挂载完成,DOM 树($el)已可用
  133. onReady() {
  134. // this.dealFirstEnter();
  135. // this.playMusic();
  136. },
  137. onShow() {
  138. // uni.showToast({
  139. // icon: "none",
  140. // title: "[rankOverview] onShow"
  141. // })
  142. // if (this.$audio.audioStatus == 2 && this.$audio.audioSrc == this.audioSrc) {
  143. // this.$audio.play();
  144. // }
  145. },
  146. onUnload() {
  147. this.clear();
  148. },
  149. methods: {
  150. playMusic() {
  151. return;
  152. // uni.showToast({
  153. // title: 'playMusic',
  154. // icon: 'none',
  155. // duration: 2000
  156. // });
  157. if (this.$audio.audioStatus == 0 || this.$audio.audioSrc != this.audioSrc) {
  158. this.$audio.playAudio(this.audioSrc);
  159. }
  160. },
  161. dealNotice(rank) {
  162. // console.log('[dealFirstEnter]');
  163. let that = this;
  164. uni.getStorage({
  165. key: that.rankKey,
  166. success: (res) => {
  167. console.log('[getStorage]', that.rankKey, res.data);
  168. const oldRank = res.data;
  169. if (oldRank != rank) {
  170. // that.notice = true;
  171. that.setRankValue(rank);
  172. }
  173. },
  174. fail: (e) => {
  175. console.log('[getStorage] fail', that.rankKey, e);
  176. // that.notice = false;
  177. that.setRankValue(rank);
  178. },
  179. })
  180. },
  181. setRankValue(data) {
  182. let that = this;
  183. uni.setStorage({
  184. key: that.rankKey,
  185. data: data,
  186. success: () => {
  187. console.log('[setStorage] success', that.rankKey, data);
  188. },
  189. fail: (e) => {
  190. console.log('[setStorage] fail', that.rankKey, e);
  191. },
  192. })
  193. },
  194. dealFirstEnter() {
  195. // console.log('[dealFirstEnter]');
  196. let that = this;
  197. uni.getStorage({
  198. key: that.firstEnterKey,
  199. success: (res) => {
  200. console.log('[getStorage]', that.firstEnterKey, res.data);
  201. },
  202. fail: (e) => {
  203. console.log('[getStorage] fail', that.firstEnterKey, e);
  204. that.btnInfo();
  205. that.setFirstEnterValue(true);
  206. },
  207. })
  208. },
  209. setFirstEnterValue(data) {
  210. let that = this;
  211. uni.setStorage({
  212. key: that.firstEnterKey,
  213. data: data,
  214. success: () => {
  215. console.log('[setStorage] success', that.firstEnterKey, data);
  216. },
  217. fail: (e) => {
  218. console.log('[setStorage] fail', that.firstEnterKey, e);
  219. },
  220. })
  221. },
  222. clear() {
  223. if (this.interval != null) {
  224. clearInterval(this.interval);
  225. this.interval = null;
  226. }
  227. },
  228. loadConfig(config) {
  229. // console.log("config", config);
  230. // 加载CSS样式
  231. const css = config.css;
  232. if (css != undefined && css.length > 0) {
  233. tools.loadCssCode(css);
  234. if (css.indexOf(".top{") >= 0) {
  235. this.cssTop = "top";
  236. }
  237. if (css.indexOf(".topbar-color{") >= 0) {
  238. this.cssTopbarColor = "topbar-color";
  239. }
  240. }
  241. if (this.cssTop == "") {
  242. this.cssTop = "top-default";
  243. }
  244. if (this.cssTopbarColor == "") {
  245. this.cssTopbarColor = "topbar-color-default";
  246. }
  247. console.log("[loadConfig] cssTop:", this.cssTop);
  248. console.log("[loadConfig] cssTopbarColor:", this.cssTopbarColor);
  249. // 加载比赛路线数据
  250. const pathList = config.pathList;
  251. // console.log("[loadConfig] pathList:", pathList);
  252. if (pathList != undefined) {
  253. this.pathList = pathList;
  254. }
  255. // 加载弹窗数据
  256. const popupDataList = config.popupDataList;
  257. // console.log("[loadConfig] popupDataList:", popupDataList);
  258. if (popupDataList != undefined && popupDataList.length > 0) {
  259. for (var i = 0; i < popupDataList.length; i++) {
  260. // console.log("[loadConfig] popupDataList", i, popupDataList[i]);
  261. if (popupDataList[i] == 'default') {
  262. for (var j = 0; j < defaultPopUpDataList.length; j++) {
  263. this.popupDataList.push(defaultPopUpDataList[j]);
  264. }
  265. } else {
  266. this.popupDataList.push(popupDataList[i]);
  267. }
  268. }
  269. } else {
  270. this.popupDataList = defaultPopUpDataList;
  271. console.log("[loadConfig] popupDataList 加载默认列表");
  272. }
  273. // console.log("[loadConfig] popupDataList:", this.popupDataList);
  274. },
  275. // 获取倒计时
  276. getCountdown() {
  277. // console.log(this.endSecond)
  278. if (this.endSecond > 0) {
  279. const now = Date.now() / 1000;
  280. const dif = this.endSecond - now;
  281. // const dif = 3600*24 - 60;
  282. if (dif > 0) {
  283. this.countdown = '距结束 ' + tools.convertSecondsToDHM(dif);
  284. } else {
  285. this.countdown = "活动已结束";
  286. }
  287. // this.countdown = tools.convertSecondsToHMS(dif);
  288. } else {
  289. this.countdown = "距结束 --天--小时";
  290. }
  291. },
  292. // 格式化 距离
  293. fmtDistanct(val) {
  294. if (val < 1000)
  295. return Math.round(val * 10 / 1000) / 10;
  296. else
  297. return Math.round(val / 1000);
  298. },
  299. // 格式化 配速
  300. fmtPace(val) {
  301. return tools.convertSecondsToHMS(val, 2);
  302. },
  303. fmtMcTime(timestamp) {
  304. var date = new Date(timestamp * 1000); //时间戳为10位需*1000,时间戳为13位的话不需乘1000
  305. // var Y = date.getFullYear() + '-';
  306. var M = (date.getMonth() + 1 < 10 ? '0' + (date.getMonth() + 1) : date.getMonth() + 1) + '-';
  307. var D = (date.getDate() < 10 ? '0' + date.getDate() : date.getDate()) + ' ';
  308. var h = (date.getHours() < 10 ? '0' + date.getHours() : date.getHours()) + ':';
  309. var m = (date.getMinutes() < 10 ? '0' + date.getMinutes() : date.getMinutes());
  310. // var s = (date.getSeconds() < 10 ? '0' + date.getSeconds() : date.getSeconds());
  311. const timeStr = M + D + h + m;
  312. // console.log("timeStr", timeStr);
  313. return timeStr;
  314. },
  315. // 获取活动时间
  316. getActtime() {
  317. this.acttime = this.fmtMcTime(this.beginSecond) + " 至 " + this.fmtMcTime(this.endSecond);
  318. },
  319. getCardConfigQuery() {
  320. uni.request({
  321. url: apiCardConfigQuery,
  322. header: {
  323. "Content-Type": "application/x-www-form-urlencoded",
  324. "token": this.token,
  325. },
  326. method: "POST",
  327. data: {
  328. ecId: this.ecId,
  329. pageName: this.pageName
  330. },
  331. success: (res) => {
  332. // console.log("getCardConfigQuery", res)
  333. const data = res.data.data;
  334. // console.log("configJson", data.configJson);
  335. const config = data.configJson != "" ? JSON.parse(data.configJson) : "";
  336. // console.log("configJson", data.configJson);
  337. /* const config = {
  338. "css": `
  339. `,
  340. "pathList": {
  341. "row1": [{
  342. "type": 2, // 1: 比赛路线 2: 导航到指定地点
  343. "img": "/static/common/dhdqdwz.png",
  344. "point": {
  345. "longitude": 117.022194,
  346. "latitude": 36.661612,
  347. "name": "小飞龙定向赛起始点"
  348. }
  349. },
  350. {
  351. "type": 1, // 1: 比赛路线 2: 导航到指定地点
  352. "img": "/static/common/cjlx12dw.png",
  353. "path": {
  354. "ocaId": 1,
  355. "mcType": 3 // 赛事类型 1 普通活动 2 线下赛 3 线上赛
  356. }
  357. }
  358. ],
  359. "row2": [{
  360. "type": 1, // 1: 比赛路线 2: 导航到指定地点
  361. "img": "/static/common/zjlx16dw.png",
  362. "path": {
  363. "ocaId": 2,
  364. "mcType": 3 // 赛事类型 1 普通活动 2 线下赛 3 线上赛
  365. }
  366. },
  367. {
  368. "type": 1, // 1: 比赛路线 2: 导航到指定地点
  369. "img": "/static/common/gjlx20dw.png",
  370. "path": {
  371. "ocaId": 3,
  372. "mcType": 3 // 赛事类型 1 普通活动 2 线下赛 3 线上赛
  373. }
  374. }
  375. ]
  376. },
  377. "popupDataList": [{
  378. "type": 1,
  379. "data": {
  380. "title": "小飞龙定向赛",
  381. "img": "/static/logo/xfl.png",
  382. "content": "济南奥体中心“一场三馆”包括体育场、体育馆、网球馆和游泳馆,呈现出“东荷西柳”的总体布局。 体育场以济南的“市树”柳树为母题,将垂柳柔美飘逸的形态固化为建筑语言。"
  383. }
  384. },
  385. {
  386. type: 2,
  387. data: {
  388. title: "规则",
  389. img: "/static/common/guize.png",
  390. }
  391. }, {
  392. type: 2,
  393. data: {
  394. title: "奖励",
  395. img: "/static/common/jiangli.png",
  396. }
  397. },
  398. "default"
  399. ]
  400. }; */
  401. this.loadConfig(config);
  402. this.matchRsDetailQuery();
  403. setTimeout(this.dealFirstEnter, 500);
  404. },
  405. fail: (err) => {
  406. console.log("getCardConfigQuery err", err)
  407. },
  408. });
  409. },
  410. // 卡片对应线上赛多个活动查询
  411. matchRsDetailQuery() {
  412. uni.request({
  413. url: apiMatchRsDetailQuery,
  414. header: {
  415. "Content-Type": "application/x-www-form-urlencoded",
  416. "token": this.token,
  417. },
  418. method: "POST",
  419. data: {
  420. ecId: this.ecId
  421. },
  422. success: (res) => {
  423. console.log("matchRsDetailQuery", res);
  424. if (checkResCode(res)) {
  425. const data = res.data.data;
  426. this.mcType = data.mcType;
  427. this.mcId = data.mcId;
  428. this.mcName = data.mcName;
  429. this.beginSecond = data.beginSecond;
  430. this.endSecond = data.endSecond;
  431. this.nickName = data.nickName;
  432. this.totalNum = data.totalNum;
  433. this.totalDistanct = data.totalDistanct;
  434. this.totalDistanctRankNum = data.totalDistanctRankNum;
  435. this.totalCp = data.totalCp;
  436. this.totalCpRankNum = data.totalCpRankNum;
  437. this.totalSysPoint = data.totalSysPoint;
  438. this.totalSysPointRankNum = data.totalSysPointRankNum;
  439. this.fastPace = data.fastPace;
  440. this.fastPaceRankNum = data.fastPaceRankNum;
  441. this.ocaRs = data.ocaRs;
  442. this.mcState = tools.checkMcState(this.beginSecond, this.endSecond);
  443. const rank = JSON.stringify(data);
  444. this.dealNotice(rank);
  445. this.getCountdown();
  446. this.getActtime();
  447. this.clear();
  448. this.interval = setInterval(this.getCountdown, 60000);
  449. }
  450. },
  451. fail: (err) => {
  452. console.log("matchRsDetailQuery err", err)
  453. },
  454. });
  455. },
  456. btnBack() {
  457. // window.history.back();
  458. const url = `action://to_home/`;
  459. // window.location.href = url;
  460. tools.appAction(url);
  461. },
  462. btnInfo() {
  463. // console.log(this.$refs.mypopup);
  464. this.$refs.mypopup.popupOpen();
  465. },
  466. onOverviewClick(ovtype) {
  467. this.queryObj.ovtype = ovtype;
  468. this.queryString = tools.objectToQueryString(this.queryObj);
  469. uni.navigateTo({
  470. url: "/pages/bm/style2/rankList?" + this.queryString
  471. });
  472. },
  473. onPathImgClick(item) {
  474. //item.type 1: 比赛路线 2: 导航到指定地点
  475. if (item.type == 1) {
  476. // 赛事/活动状态 0: 未开始 1: 进行中 2: 已结束
  477. if (this.mcState == 1) {
  478. const url = `action://to_detail/?id=${item.path.ocaId}&matchType=${item.path.mcType}`;
  479. // window.location.href = url;
  480. tools.appAction(url);
  481. } else if (this.mcState == 0) {
  482. uni.showToast({
  483. title: '比赛尚未开始',
  484. icon: 'none',
  485. duration: 3000
  486. });
  487. } else if (this.mcState == 2) {
  488. uni.showToast({
  489. title: '比赛已结束',
  490. icon: 'none',
  491. duration: 3000
  492. });
  493. }
  494. } else if (item.type == 2) {
  495. this.navPoint = item.point;
  496. // this.$refs.mypopupmap.popupOpen();
  497. const url = `action://to_map_app?title=${this.navPoint.name}&latitude=${this.navPoint.latitude}&longitude=${this.navPoint.longitude}`;
  498. // window.location.href = url;
  499. tools.appAction(url);
  500. }
  501. },
  502. }
  503. }
  504. </script>
  505. <style scoped>
  506. .content {
  507. width: 100vw;
  508. height: 100vh;
  509. overflow-x: hidden;
  510. }
  511. .top-default {
  512. position: relative;
  513. z-index: 10;
  514. width: 100%;
  515. height: 300px;
  516. padding-top: 36px;
  517. justify-content: space-between;
  518. background-image: url("/static/backgroud/top_bg_aoti2.png");
  519. background-repeat: no-repeat;
  520. background-position-x: center;
  521. background-position-y: bottom;
  522. /* background-size: 100% 100%; */
  523. background-size: cover;
  524. }
  525. .top-oval {
  526. position: relative;
  527. z-index: 0;
  528. margin-top: -180px;
  529. margin-left: -10%;
  530. width: 120%;
  531. height: 280px;
  532. background: linear-gradient(180deg, #ffffff 12.18%, #eeeeee 100%);
  533. border-radius: 50%;
  534. text-align: center;
  535. }
  536. .top-oval-text {
  537. color: #333333;
  538. font-size: 13px;
  539. line-height: 386px;
  540. pointer-events: auto;
  541. }
  542. .topbar {
  543. width: 90%;
  544. justify-content: space-between;
  545. }
  546. .topbar-color-default {
  547. color: #5b9100;
  548. }
  549. .topbar-back {
  550. /* width: 43rpx; */
  551. /* height: 43rpx; */
  552. /* opacity: 0; */
  553. font-size: 50rpx;
  554. }
  555. .topbar-info {
  556. width: 46rpx;
  557. height: 46rpx;
  558. }
  559. .topbar-rule {
  560. font-size: 32rpx;
  561. }
  562. .mcName {
  563. font-size: 40rpx;
  564. font-weight: 550;
  565. }
  566. .topbtm {
  567. width: 100%;
  568. /* height: 60rpx; */
  569. margin-bottom: 40px;
  570. justify-content: space-evenly;
  571. }
  572. .topbtm-name {
  573. /* width: 320rpx; */
  574. /* height: 28px; */
  575. padding: 5px 12px;
  576. background-color: #9fda39;
  577. border-radius: 5px;
  578. /* backdrop-filter: blur(30px); */
  579. text-align: center;
  580. font-weight: 500;
  581. color: #497400;
  582. font-size: 14px;
  583. }
  584. .mid {
  585. position: relative;
  586. z-index: 20;
  587. margin-top: -130px;
  588. pointer-events: none;
  589. }
  590. .mid-1 {
  591. width: 92%;
  592. }
  593. .mid-2 {
  594. width: 66%;
  595. }
  596. .overview-1 {
  597. width: 111px;
  598. height: 54px;
  599. background: #ffb40b;
  600. border-radius: 50%;
  601. box-shadow: 3px 3px 0px rgba(140, 140, 140, 1);
  602. pointer-events: auto;
  603. }
  604. .overview-2 {
  605. margin-top: -43px;
  606. color: #ffffff;
  607. font-size: 18px;
  608. pointer-events: auto;
  609. }
  610. .overview-3 {
  611. width: 111px;
  612. height: 54px;
  613. background: #f39509;
  614. border-radius: 50%;
  615. box-shadow: 3px 3px 0px rgba(140, 140, 140, 1);
  616. pointer-events: auto;
  617. }
  618. .overview-4 {
  619. width: 111px;
  620. height: 54px;
  621. background: #81cd00;
  622. border-radius: 50%;
  623. box-shadow: 3px 3px 0px rgba(140, 140, 140, 1);
  624. pointer-events: auto;
  625. }
  626. .overview-5 {
  627. width: 111px;
  628. height: 54px;
  629. background: #64cbb0;
  630. border-radius: 50%;
  631. box-shadow: 3px 3px 0px rgba(140, 140, 140, 1);
  632. pointer-events: auto;
  633. }
  634. .ovline1 {
  635. margin-top: 9px;
  636. color: #ffffff;
  637. font-size: 12px;
  638. }
  639. .ovline2 {
  640. color: #ffffff;
  641. font-size: 16px;
  642. }
  643. .main {
  644. width: 100%;
  645. margin-top: 36px;
  646. margin-bottom: 10px;
  647. /* height: 70vh; */
  648. justify-content: space-around;
  649. /* justify-content: space-between; */
  650. }
  651. .main-title {
  652. margin-bottom: 10px;
  653. font-weight: 550;
  654. color: #333333;
  655. font-size: 16px;
  656. }
  657. .pathimg {
  658. width: 127px;
  659. height: 115px;
  660. }
  661. .main-path {
  662. width: 90%;
  663. margin-top: 10px;
  664. margin-bottom: 10px;
  665. justify-content: space-evenly;
  666. }
  667. </style>