rankOverview.vue 20 KB

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