rankOverview.vue 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763
  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. var date = new Date(timestamp * 1000); //时间戳为10位需*1000,时间戳为13位的话不需乘1000
  302. // var Y = date.getFullYear() + '-';
  303. var M = (date.getMonth() + 1 < 10 ? '0' + (date.getMonth() + 1) : date.getMonth() + 1) + '-';
  304. var D = (date.getDate() < 10 ? '0' + date.getDate() : date.getDate()) + ' ';
  305. var h = (date.getHours() < 10 ? '0' + date.getHours() : date.getHours()) + ':';
  306. var m = (date.getMinutes() < 10 ? '0' + date.getMinutes() : date.getMinutes());
  307. // var s = (date.getSeconds() < 10 ? '0' + date.getSeconds() : date.getSeconds());
  308. const timeStr = M + D + h + m;
  309. // console.log("timeStr", timeStr);
  310. return timeStr;
  311. },
  312. // 获取活动时间
  313. getActtime() {
  314. this.acttime = this.fmtMcTime(this.beginSecond) + " 至 " + this.fmtMcTime(this.endSecond);
  315. },
  316. getCardConfigQuery() {
  317. uni.request({
  318. url: apiCardConfigQuery,
  319. header: {
  320. "Content-Type": "application/x-www-form-urlencoded",
  321. "token": this.token,
  322. },
  323. method: "POST",
  324. data: {
  325. ecId: this.ecId,
  326. pageName: this.pageName
  327. },
  328. success: (res) => {
  329. // console.log("getCardConfigQuery", res)
  330. const data = res.data.data;
  331. // console.log("configJson", data.configJson);
  332. const config = data.configJson != "" ? JSON.parse(data.configJson) : "";
  333. // console.log("configJson", data.configJson);
  334. /* const config = {
  335. "css": `
  336. .top{
  337. position: relative;
  338. z-index: 10;
  339. width: 100%;
  340. height: 270px;
  341. padding-top: 36px;
  342. justify-content: space-between;
  343. background-image: url('static/backgroud/top_bg_egg2.png');
  344. background-repeat: no-repeat;
  345. background-position-x: center;
  346. background-position-y: -8px;
  347. background-size: 100% 100%;
  348. }
  349. `,
  350. "pathList": {
  351. "row1": [{
  352. "type": 3, // 1: 比赛路线 2: 导航到指定地点 3: 比赛路线 + 导航
  353. "pathImg": "/static/common/lingxiucheng.png",
  354. "path": {
  355. "ocaId": 1,
  356. "mcType": 3 // 赛事类型 1 普通活动 2 线下赛 3 线上赛
  357. },
  358. "navImg": "/static/common/nav.png",
  359. "point": {
  360. "longitude": 117.022194,
  361. "latitude": 36.661612,
  362. "name": "领秀城起始点"
  363. }
  364. },
  365. {
  366. "type": 3, // 1: 比赛路线 2: 导航到指定地点 3: 比赛路线 + 导航
  367. "pathImg": "/static/common/quanchenggongyuan.png",
  368. "path": {
  369. "ocaId": 1,
  370. "mcType": 3 // 赛事类型 1 普通活动 2 线下赛 3 线上赛
  371. },
  372. "navImg": "/static/common/nav.png",
  373. "point": {
  374. "longitude": 117.022194,
  375. "latitude": 36.661612,
  376. "name": "泉城公园起始点"
  377. }
  378. }
  379. ],
  380. "row2": [{
  381. "type": 3, // 1: 比赛路线 2: 导航到指定地点 3: 比赛路线 + 导航
  382. "pathImg": "/static/common/baihuagongyuan.png",
  383. "path": {
  384. "ocaId": 1,
  385. "mcType": 3 // 赛事类型 1 普通活动 2 线下赛 3 线上赛
  386. },
  387. "navImg": "/static/common/nav.png",
  388. "point": {
  389. "longitude": 117.022194,
  390. "latitude": 36.661612,
  391. "name": "百花公园起始点"
  392. }
  393. },
  394. {
  395. "type": 3, // 1: 比赛路线 2: 导航到指定地点 3: 比赛路线 + 导航
  396. "pathImg": "/static/common/aotizhongxin.png",
  397. "path": {
  398. "ocaId": 1,
  399. "mcType": 3 // 赛事类型 1 普通活动 2 线下赛 3 线上赛
  400. },
  401. "navImg": "/static/common/nav.png",
  402. "point": {
  403. "longitude": 117.022194,
  404. "latitude": 36.661612,
  405. "name": "奥体中心起始点"
  406. }
  407. }
  408. ],
  409. "row3": [{
  410. "type": 3, // 1: 比赛路线 2: 导航到指定地点 3: 比赛路线 + 导航
  411. "pathImg": "/static/common/muniushan.png",
  412. "path": {
  413. "ocaId": 1,
  414. "mcType": 3 // 赛事类型 1 普通活动 2 线下赛 3 线上赛
  415. },
  416. "navImg": "/static/common/nav.png",
  417. "point": {
  418. "longitude": 117.022194,
  419. "latitude": 36.661612,
  420. "name": "牧牛山起始点"
  421. }
  422. }]
  423. },
  424. "pathListStyle" : {
  425. "showLine" : true,
  426. "style": "justify-content: flex-start;"
  427. },
  428. "popupDataList": [{
  429. "type": 1,
  430. "data": {
  431. "title": "小飞龙定向赛",
  432. "img": "/static/logo/xfl.png",
  433. "content": "济南奥体中心“一场三馆”包括体育场、体育馆、网球馆和游泳馆,呈现出“东荷西柳”的总体布局。 体育场以济南的“市树”柳树为母题,将垂柳柔美飘逸的形态固化为建筑语言。"
  434. }
  435. },
  436. {
  437. type: 2,
  438. data: {
  439. title: "规则",
  440. img: "/static/common/guize.png",
  441. }
  442. }, {
  443. type: 2,
  444. data: {
  445. title: "奖励",
  446. img: "/static/common/jiangli.png",
  447. }
  448. },
  449. "default"
  450. ]
  451. }; */
  452. this.loadConfig(config);
  453. this.matchRsDetailQuery();
  454. setTimeout(this.dealFirstEnter, 500);
  455. },
  456. fail: (err) => {
  457. console.log("getCardConfigQuery err", err)
  458. },
  459. });
  460. },
  461. // 卡片对应线上赛多个活动查询
  462. matchRsDetailQuery() {
  463. uni.request({
  464. url: apiMatchRsDetailQuery,
  465. header: {
  466. "Content-Type": "application/x-www-form-urlencoded",
  467. "token": this.token,
  468. },
  469. method: "POST",
  470. data: {
  471. ecId: this.ecId
  472. },
  473. success: (res) => {
  474. console.log("matchRsDetailQuery", res);
  475. if (checkResCode(res)) {
  476. const data = res.data.data;
  477. this.mcType = data.mcType;
  478. this.mcId = data.mcId;
  479. this.mcName = data.mcName;
  480. this.beginSecond = data.beginSecond;
  481. this.endSecond = data.endSecond;
  482. this.nickName = data.nickName;
  483. this.totalNum = data.totalNum;
  484. this.totalDistanct = data.totalDistanct;
  485. this.totalDistanctRankNum = data.totalDistanctRankNum;
  486. this.totalCp = data.totalCp;
  487. this.totalCpRankNum = data.totalCpRankNum;
  488. this.totalSysPoint = data.totalSysPoint;
  489. this.totalSysPointRankNum = data.totalSysPointRankNum;
  490. this.fastPace = data.fastPace;
  491. this.fastPaceRankNum = data.fastPaceRankNum;
  492. this.ocaRs = data.ocaRs;
  493. this.mcState = tools.checkMcState(this.beginSecond, this.endSecond);
  494. const rank = JSON.stringify(data);
  495. this.dealNotice(rank);
  496. this.getCountdown();
  497. this.getActtime();
  498. this.clear();
  499. this.interval = setInterval(this.getCountdown, 60000);
  500. }
  501. },
  502. fail: (err) => {
  503. console.log("matchRsDetailQuery err", err)
  504. },
  505. });
  506. },
  507. btnBack() {
  508. // const url = `action://to_home/`;
  509. // window.location.href = url;
  510. // tools.appAction(url);
  511. uni.navigateTo({
  512. url: "/pages/bm/style3/rankList?" + this.queryString
  513. });
  514. },
  515. btnInfo() {
  516. // console.log(this.$refs.mypopup);
  517. this.$refs.mypopup.popupOpen();
  518. },
  519. onOverviewClick(ovtype) {
  520. this.queryObj.ovtype = ovtype;
  521. this.queryString = tools.objectToQueryString(this.queryObj);
  522. uni.navigateTo({
  523. url: "/pages/bm/style3/rankList?" + this.queryString
  524. });
  525. },
  526. }
  527. }
  528. </script>
  529. <style scoped>
  530. .content {
  531. width: 100vw;
  532. /* height: 100vh; */
  533. overflow-x: scroll;
  534. }
  535. .top-default {
  536. position: relative;
  537. z-index: 10;
  538. width: 100%;
  539. height: 270px;
  540. padding-top: 36px;
  541. justify-content: space-between;
  542. background-image: url("/static/backgroud/top_bg_egg2.png");
  543. background-repeat: no-repeat;
  544. background-position-x: center;
  545. background-position-y: -8px;
  546. background-size: 100% 100%;
  547. /* background-size: cover; */
  548. }
  549. /* .top-oval {
  550. position: relative;
  551. z-index: 0;
  552. margin-top: -180px;
  553. margin-left: -10%;
  554. width: 120%;
  555. height: 280px;
  556. background: linear-gradient(180deg, #ffffff 12.18%, #eeeeee 100%);
  557. border-radius: 50%;
  558. text-align: center;
  559. }
  560. .top-oval-text {
  561. color: #333333;
  562. font-size: 13px;
  563. line-height: 386px;
  564. pointer-events: auto;
  565. }
  566. */
  567. .topbar {
  568. width: 90%;
  569. justify-content: space-between;
  570. }
  571. .topbar-color-default {
  572. color: #333333;
  573. }
  574. .topbar-back {
  575. width: 43rpx;
  576. height: 43rpx;
  577. color: inherit !important;
  578. font-size: 48rpx !important;
  579. /* opacity: 0; */
  580. }
  581. .topbar-info {
  582. width: 46rpx;
  583. height: 46rpx;
  584. }
  585. .topbar-rule {
  586. font-size: 32rpx;
  587. }
  588. .mcName {
  589. font-size: 40rpx;
  590. font-weight: 550;
  591. }
  592. .topbtm {
  593. width: 100%;
  594. /* height: 60rpx; */
  595. margin-bottom: 40px;
  596. justify-content: space-evenly;
  597. }
  598. .topbtm-name {
  599. /* width: 320rpx; */
  600. /* height: 28px; */
  601. padding: 5px 12px;
  602. background-color: #9fda39;
  603. border-radius: 5px;
  604. /* backdrop-filter: blur(30px); */
  605. text-align: center;
  606. font-weight: 500;
  607. color: #497400;
  608. font-size: 14px;
  609. }
  610. .mid {
  611. width: 90%;
  612. height: 120px;
  613. position: relative;
  614. z-index: 20;
  615. margin-top: -100px;
  616. background: #ffffff;
  617. border-radius: 9px;
  618. box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.13);
  619. font-family: Source Han Sans CN;
  620. }
  621. .mid-1 {
  622. width: 90%;
  623. margin: 12px;
  624. font-weight: 500;
  625. color: #8e8e8e;
  626. font-size: 14px;
  627. }
  628. .mid-2 {
  629. width: 92%;
  630. /* margin: 0 10px; */
  631. }
  632. .mid-2-value {
  633. font-weight: 900;
  634. font-size: 22px;
  635. }
  636. .mid-2-text {
  637. color: #989898;
  638. font-size: 12px;
  639. }
  640. .mid-line {
  641. width: 0px;
  642. height: 45.04px;
  643. border: 1px solid;
  644. border-color: #e6e6e6;
  645. }
  646. .overview-1 {
  647. width: 111px;
  648. height: 54px;
  649. background: #ffb40b;
  650. border-radius: 50%;
  651. box-shadow: 3px 3px 0px rgba(140, 140, 140, 1);
  652. pointer-events: auto;
  653. }
  654. .overview-2 {
  655. margin-top: -43px;
  656. color: #ffffff;
  657. font-size: 18px;
  658. pointer-events: auto;
  659. }
  660. .overview-3 {
  661. width: 111px;
  662. height: 54px;
  663. background: #f39509;
  664. border-radius: 50%;
  665. box-shadow: 3px 3px 0px rgba(140, 140, 140, 1);
  666. pointer-events: auto;
  667. }
  668. .overview-4 {
  669. width: 111px;
  670. height: 54px;
  671. background: #81cd00;
  672. border-radius: 50%;
  673. box-shadow: 3px 3px 0px rgba(140, 140, 140, 1);
  674. pointer-events: auto;
  675. }
  676. .overview-5 {
  677. width: 111px;
  678. height: 54px;
  679. background: #64cbb0;
  680. border-radius: 50%;
  681. box-shadow: 3px 3px 0px rgba(140, 140, 140, 1);
  682. pointer-events: auto;
  683. }
  684. .ovline1 {
  685. margin-top: 9px;
  686. color: #ffffff;
  687. font-size: 12px;
  688. }
  689. .ovline2 {
  690. color: #ffffff;
  691. font-size: 16px;
  692. }
  693. .main {
  694. width: 100%;
  695. margin-top: 20px;
  696. margin-bottom: 10px;
  697. /* height: 70vh; */
  698. justify-content: space-around;
  699. /* justify-content: space-between; */
  700. }
  701. .main-title {
  702. margin-bottom: 10px;
  703. font-weight: 550;
  704. color: #333333;
  705. font-size: 16px;
  706. }
  707. </style>