rankOverview.vue 39 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378
  1. <!--
  2. [报名] 样式3 - 排名总览
  3. http://localhost:5173/card/#/pages/bm/style4/rankOverview
  4. https://oss-mbh5.colormaprun.com/card/#/pages/bm/style4/rankOverview
  5. -->
  6. <template>
  7. <view class="body">
  8. <view v-if="pageReady" class="content uni-column">
  9. <view class="uni-column" :class="cssTop">
  10. <my-topbar :mcName="mcName" :class="cssTopbarColor"
  11. @btnBackClick="btnBack" @btnInfoClick="btnInfo"></my-topbar>
  12. <view class="topcontent uni-column uni-jcsa">
  13. <view class="logo"></view>
  14. <text v-if="configParam.subTitle.length > 0" class="top-acttime">{{configParam.subTitle}}</text>
  15. <text v-else class="top-acttime">{{fmtMcTime2(beginSecond, endSecond)}}</text>
  16. </view>
  17. </view>
  18. <view v-if="configParam.midType == 0" class="midType0 uni-column">
  19. <view class="mid-0 uni-row uni-jcc">
  20. <view class="mid-0-select">
  21. <e-select v-model="ocaId" :options="mapList" :search="false" :inputClick="true"
  22. maxHeight="300px" :clearable="false" @change="eSelectChange"></e-select>
  23. </view>
  24. <text v-if="popupHelpList.length > 0" class="mid-0-help" @click="btnHelp">帮助</text>
  25. </view>
  26. <view class="midType0-mid-1 uni-row uni-jcsa">
  27. <view class="uni-row">
  28. <image v-if="popupWarnList.length > 0" class="mid-1-yellowCard" mode="aspectFit"
  29. @click="btnWarn" src="/static/common/card_yellow.gif"></image>
  30. <text class="mid-1-text">{{nickName}}</text>
  31. </view>
  32. <text class="mid-1-text">{{coiName}}</text>
  33. <text class="mid-1-text" style="color: #aaaaaa;" v-if="mcState==1 && allowMcSignUp"
  34. @click="btnReGroup">修改</text>
  35. </view>
  36. <view class="mid-2 uni-row uni-jcsa">
  37. <view class="uni-column">
  38. <text class="mid-2-value">{{regionTotalNum}}</text>
  39. <text class="mid-2-text">总场次</text>
  40. </view>
  41. <view class="mid-line"></view>
  42. <view class="uni-column">
  43. <text class="mid-2-value">{{regionTotalCp}}</text>
  44. <text class="mid-2-text">总打点数</text>
  45. </view>
  46. <view class="mid-line"></view>
  47. <view class="uni-column">
  48. <text class="mid-2-value">{{regionTotalCpRankNum}}</text>
  49. <text class="mid-2-text">个人排名</text>
  50. </view>
  51. </view>
  52. </view>
  53. <view v-if="configParam.midType == 1" class="midType1 uni-column">
  54. <view class="mid-0 uni-row uni-jcc">
  55. <view class="mid-0-select">
  56. <e-select v-model="ocaId" :options="mapList" :search="false" :inputClick="true"
  57. maxHeight="300px" :clearable="false" @change="eSelectChange"></e-select>
  58. </view>
  59. <view class="mid-0-right uni-row uni-jcsa">
  60. <text class="" style="" v-if="mcState==1 && allowMcSignUp"
  61. @click="btnReGroup">修改</text>
  62. <text v-if="popupHelpList.length > 0" class="" @click="btnHelp">帮助</text>
  63. </view>
  64. </view>
  65. <view class="midType1-mid-1 uni-row uni-jcsb">
  66. <view class="uni-row">
  67. <image v-if="popupWarnList.length > 0" class="mid-1-yellowCard" mode="aspectFit"
  68. @click="btnWarn" src="/static/common/card_yellow.gif"></image>
  69. <text class="mid-1-name">{{nickName}}</text>
  70. </view>
  71. <text class="mid-1-name">{{coiName}}</text>
  72. <text class="uni-nowrap">总场次:{{regionTotalNum}}</text>
  73. </view>
  74. <view class="mid-2 uni-row uni-jcsa">
  75. <view class="uni-column">
  76. <text class="mid-2-value" style="color: #ff0045;">{{regionTotalSysPoint}}</text>
  77. <text class="mid-2-text">百味豆(个)</text>
  78. </view>
  79. <view class="mid-line"></view>
  80. <view class="uni-column">
  81. <text class="mid-2-value">{{fmtDistanct(regionTotalDictance)}}</text>
  82. <text class="mid-2-text">总里程km</text>
  83. </view>
  84. <view class="mid-line"></view>
  85. <view class="uni-column">
  86. <text class="mid-2-value">{{regionTotalCp}}</text>
  87. <text class="mid-2-text">打点数(个)</text>
  88. </view>
  89. <view class="mid-line"></view>
  90. <view class="uni-column">
  91. <text class="mid-2-value">{{fmtPace(regionFastPace)}}</text>
  92. <text class="mid-2-text">最快配速</text>
  93. </view>
  94. </view>
  95. </view>
  96. <view class="main uni-column">
  97. <text class="main-title">选择比赛路线</text>
  98. <my-pathList :style="pathListStyle.style" :pathList="pathList"
  99. :selectedPath="ocaId" :mcState="mcState" :showLine="pathListStyle.showLine"
  100. @onPathClick="onPathClick"></my-pathList>
  101. </view>
  102. <view class="bottom uni-column">
  103. <button class="btnStartGame" @click="btnStartGame">开始比赛</button>
  104. </view>
  105. <my-popup ref="mypopup" :config="popupRuleConfig" :dataList="popupDataList" :acttime="acttime"></my-popup>
  106. <my-popup ref="mypopupHelp" :config="popupHelpConfig" :dataList="popupHelpList"></my-popup>
  107. <my-popup ref="mypopupWarn" :config="popupWarnConfig" :dataList="popupWarnList"></my-popup>
  108. <!-- <my-popup-map ref="mypopupmap" :point="navPoint"></my-popup-map> -->
  109. </view>
  110. </view>
  111. </template>
  112. <script>
  113. import tools from '/common/tools';
  114. import {
  115. defaultPopUpDataList,
  116. defaultPopUpDataList2
  117. } from '/common/define';
  118. import {
  119. token,
  120. apiMapListQuery,
  121. apiMatchRsDetailQuery,
  122. apiCardConfigQuery,
  123. apiIsAllowMcSignUp,
  124. apiWarnMessageQuery,
  125. checkResCode
  126. } from '/common/api';
  127. export default {
  128. data() {
  129. return {
  130. pageReady: false,
  131. // audioSrc: "/static/audio/2.mp3",
  132. // audioSrc: "https://oss-mbh5.colormaprun.com/card/static/audio/2.mp3",
  133. // audioSrc: "http://t-oss-mbh5.colormaprun.com/card/static/audio/2.mp3",
  134. pageName: "rankOverview",
  135. firstEnterKey: 'firstEnter-bm-style4',
  136. rankKey: "rank-bm-style4",
  137. mapKey: "rank-bm-style4-map",
  138. queryObj: {},
  139. queryString: "",
  140. token: "",
  141. ecId: 0, // 卡片id
  142. mcId: 0, // 赛事id
  143. mcType: 0, // 赛事类型 1 普通活动 2 线下赛 3 线上赛
  144. mcName: "", // 赛事名称
  145. coiName: "", // 已报名单位名称
  146. acttime: "", // 活动时间
  147. beginSecond: null, // 活动或赛事开始时间戳,单位秒
  148. endSecond: null, // 活动或赛事结束时间戳,单位秒
  149. ocaId: 0, // 关联id,带入到App活动详情页面
  150. nickName: "", // 昵称
  151. totalNum: null, // 总场次
  152. totalDistanct: null, // 总距离,单位米
  153. totalDistanctRankNum: null, // 总距离排名
  154. totalCp: null, // 总打点数
  155. totalCpRankNum: null, // 总打点数排名
  156. totalSysPoint: null, // 总百味豆
  157. totalSysPointRankNum: null, // 总百味豆排名
  158. fastPace: null, // 个人最快配速
  159. fastPaceRankNum: null, // 个人最快配速排名
  160. regionTotalNum: null, // 地图内总场次
  161. regionTotalCp: null, // 地图内打点数
  162. regionTotalCpRankNum: null, // 地图内个人打点排名
  163. regionTotalSysPoint: null, // 地图内积分(百味豆)
  164. regionTotalDictance: null, // 地图内里程(单位米)
  165. regionFastPace: null, // 地图内最快配速
  166. ocaRs: [], // 卡片对应活动集合
  167. mapList: [], // 地图列表
  168. interval: null,
  169. mcState: 0, // 赛事/活动状态 0: 未开始 1: 进行中 2: 已结束
  170. allowMcSignUp: false, // 是否允许重新分组
  171. cssTop: "",
  172. cssTopbarColor: "",
  173. pathList: {},
  174. pathListStyle: {},
  175. popupRuleConfig: {}, // 规则弹窗配置
  176. popupHelpConfig: {}, // 帮助弹窗配置
  177. // popupWarnConfig: {}, // 警告弹窗配置
  178. popupWarnConfig: {
  179. "height": "550px"
  180. },
  181. popupDataList: [],
  182. popupHelpList: [],
  183. popupWarnList: [],
  184. navPoint: {},
  185. configParam: {
  186. subTitle: "",
  187. midType: 0
  188. },
  189. }
  190. },
  191. computed: {
  192. pathListLen() {
  193. return Object.keys(this.pathList).length;
  194. }
  195. },
  196. onLoad(query) { // 类型非必填,可自动推导
  197. // uni.showLoading({
  198. // title: '加载中'
  199. // });
  200. // console.log("query:", query);
  201. this.queryObj = query;
  202. this.queryString = tools.objectToQueryString(this.queryObj);
  203. // console.log(queryString);
  204. this.token = query["token"] ?? token;
  205. this.ecId = query["id"] ?? 0;
  206. this.firstEnterKey += "-" + this.ecId;
  207. console.log("firstEnterKey:", this.firstEnterKey);
  208. this.rankKey += "-" + this.ecId;
  209. console.log("rankKey:", this.rankKey);
  210. this.mapKey += "-" + this.ecId;
  211. console.log("mapKey:", this.mapKey);
  212. tools.removeCssCode();
  213. const mapValue = uni.getStorageSync(this.mapKey);
  214. if (mapValue) {
  215. console.log("mapValue:", mapValue);
  216. this.ocaId = mapValue;
  217. }
  218. this.getCardConfigQuery();
  219. },
  220. // 页面初次渲染完成,此时组件已挂载完成,DOM 树($el)已可用
  221. onReady() {
  222. // this.dealFirstEnter();
  223. // this.playMusic();
  224. },
  225. onShow() {
  226. // uni.showToast({
  227. // icon: "none",
  228. // title: "[rankOverview] onShow"
  229. // })
  230. // if (this.$audio.audioStatus == 2 && this.$audio.audioSrc == this.audioSrc) {
  231. // this.$audio.play();
  232. // }
  233. },
  234. onUnload() {
  235. this.clear();
  236. },
  237. methods: {
  238. playMusic() {
  239. return;
  240. // uni.showToast({
  241. // title: 'playMusic',
  242. // icon: 'none',
  243. // duration: 2000
  244. // });
  245. // if (this.$audio.audioStatus == 0 || this.$audio.audioSrc != this.audioSrc) {
  246. // this.$audio.playAudio(this.audioSrc);
  247. // }
  248. },
  249. dealNotice(rank) {
  250. // console.log('[dealFirstEnter]');
  251. let that = this;
  252. uni.getStorage({
  253. key: that.rankKey,
  254. success: (res) => {
  255. console.log('[getStorage]', that.rankKey, res.data);
  256. const oldRank = res.data;
  257. if (oldRank != rank) {
  258. // that.notice = true;
  259. that.setRankValue(rank);
  260. }
  261. },
  262. fail: (e) => {
  263. console.log('[getStorage] fail', that.rankKey, e);
  264. // that.notice = false;
  265. that.setRankValue(rank);
  266. },
  267. })
  268. },
  269. setRankValue(data) {
  270. let that = this;
  271. uni.setStorage({
  272. key: that.rankKey,
  273. data: data,
  274. success: () => {
  275. console.log('[setStorage] success', that.rankKey, data);
  276. },
  277. fail: (e) => {
  278. console.log('[setStorage] fail', that.rankKey, e);
  279. },
  280. })
  281. },
  282. dealFirstEnter() {
  283. // console.log('[dealFirstEnter]');
  284. let that = this;
  285. uni.getStorage({
  286. key: that.firstEnterKey,
  287. success: (res) => {
  288. console.log('[getStorage]', that.firstEnterKey, res.data);
  289. },
  290. fail: (e) => {
  291. console.log('[getStorage] fail', that.firstEnterKey, e);
  292. that.btnInfo();
  293. that.setFirstEnterValue(true);
  294. },
  295. })
  296. },
  297. setFirstEnterValue(data) {
  298. let that = this;
  299. uni.setStorage({
  300. key: that.firstEnterKey,
  301. data: data,
  302. success: () => {
  303. console.log('[setStorage] success', that.firstEnterKey, data);
  304. },
  305. fail: (e) => {
  306. console.log('[setStorage] fail', that.firstEnterKey, e);
  307. },
  308. })
  309. },
  310. clear() {
  311. if (this.interval != null) {
  312. clearInterval(this.interval);
  313. this.interval = null;
  314. }
  315. },
  316. loadConfig(config) {
  317. // console.log("config", config);
  318. // 加载CSS样式
  319. const css = config.css;
  320. if (css != undefined && css.length > 0) {
  321. tools.loadCssCode(css);
  322. if (css.indexOf(".top{") >= 0) {
  323. this.cssTop = "top";
  324. }
  325. if (css.indexOf(".topbar-color{") >= 0) {
  326. this.cssTopbarColor = "topbar-color";
  327. }
  328. }
  329. if (this.cssTop == "") {
  330. this.cssTop = "top-default";
  331. }
  332. if (this.cssTopbarColor == "") {
  333. this.cssTopbarColor = "topbar-color-default";
  334. }
  335. console.log("[loadConfig] cssTop:", this.cssTop);
  336. console.log("[loadConfig] cssTopbarColor:", this.cssTopbarColor);
  337. // 加载比赛路线数据
  338. const pathList = config.pathList;
  339. // console.log("[loadConfig] pathList:", pathList);
  340. if (pathList != undefined) {
  341. this.pathList = pathList;
  342. }
  343. // 加载比赛路线样式
  344. const pathListStyle = config.pathListStyle;
  345. // console.log("[loadConfig] pathList:", pathList);
  346. if (pathListStyle != undefined) {
  347. this.pathListStyle = pathListStyle;
  348. }
  349. // 加载规则弹窗配置
  350. const popupRuleConfig = config.popupRuleConfig;
  351. if (popupRuleConfig != undefined) {
  352. this.popupRuleConfig = popupRuleConfig;
  353. }
  354. // console.log("[loadConfig] popupRuleConfig:", this.popupRuleConfig);
  355. // 加载帮助弹窗配置
  356. const popupHelpConfig = config.popupHelpConfig;
  357. if (popupHelpConfig != undefined) {
  358. this.popupHelpConfig = popupHelpConfig;
  359. }
  360. // console.log("[loadConfig] popupHelpConfig:", this.popupHelpConfig);
  361. // 加载警告弹窗配置
  362. const popupWarnConfig = config.popupWarnConfig;
  363. if (popupWarnConfig != undefined) {
  364. this.popupWarnConfig = popupWarnConfig;
  365. }
  366. // console.log("[loadConfig] popupWarnConfig:", this.popupWarnConfig);
  367. // 加载弹窗数据
  368. const popupDataList = config.popupDataList;
  369. // console.log("[loadConfig] popupDataList:", popupDataList);
  370. if (popupDataList != undefined && popupDataList.length > 0) {
  371. for (var i = 0; i < popupDataList.length; i++) {
  372. // console.log("[loadConfig] popupDataList", i, popupDataList[i]);
  373. if (popupDataList[i] == 'default') {
  374. for (var j = 0; j < defaultPopUpDataList.length; j++) {
  375. this.popupDataList.push(defaultPopUpDataList[j]);
  376. }
  377. } else if (popupDataList[i] == 'default2') {
  378. for (var j = 0; j < defaultPopUpDataList2.length; j++) {
  379. this.popupDataList.push(defaultPopUpDataList2[j]);
  380. }
  381. } else {
  382. this.popupDataList.push(popupDataList[i]);
  383. }
  384. }
  385. } else {
  386. this.popupDataList = defaultPopUpDataList;
  387. console.log("[loadConfig] popupDataList 加载默认列表");
  388. }
  389. // console.log("[loadConfig] popupDataList:", this.popupDataList);
  390. // 加载弹窗(帮助)数据
  391. const popupHelpList = config.popupHelpList;
  392. if (popupHelpList != undefined && popupHelpList.length > 0) {
  393. for (var i = 0; i < popupHelpList.length; i++) {
  394. // console.log("[loadConfig] popupHelpList", i, popupHelpList[i]);
  395. this.popupHelpList.push(popupHelpList[i]);
  396. }
  397. }
  398. // console.log("[loadConfig] popupHelpList:", this.popupHelpList);
  399. // 加载页面参数
  400. const param = config.param;
  401. if (param != undefined) {
  402. if (param.subTitle != undefined && param.subTitle.length > 0) {
  403. this.configParam.subTitle = param.subTitle;
  404. }
  405. if (param.midType != undefined && param.midType >= 0) {
  406. this.configParam.midType = param.midType;
  407. }
  408. }
  409. // console.log("[loadConfig] param:", this.configParam);
  410. this.pageReady = true;
  411. // uni.hideLoading();
  412. },
  413. // 获取倒计时
  414. getCountdown() {
  415. // console.log(this.endSecond)
  416. if (this.endSecond > 0) {
  417. const now = Date.now() / 1000;
  418. const dif = this.endSecond - now;
  419. // const dif = 3600*24 - 60;
  420. if (dif > 0) {
  421. this.countdown = '距结束 ' + tools.convertSecondsToDHM(dif);
  422. } else {
  423. this.countdown = "活动已结束";
  424. }
  425. // this.countdown = tools.convertSecondsToHMS(dif);
  426. } else {
  427. this.countdown = "距结束 --天--小时";
  428. }
  429. },
  430. // 格式化 距离
  431. fmtDistanct(val) {
  432. if (val >= 0) {
  433. return Math.round(val * 100 / 1000) / 100;
  434. } else {
  435. return '--';
  436. }
  437. /* if (val < 1000)
  438. return Math.round(val * 10 / 1000) / 10;
  439. else
  440. return Math.round(val / 1000); */
  441. },
  442. // 格式化 配速
  443. fmtPace(val) {
  444. if (val >= 0) {
  445. return tools.convertSecondsToHMS(val, 2);
  446. } else {
  447. return '--';
  448. }
  449. },
  450. fmtMcTime(timestamp) {
  451. return tools.fmtMcTime(timestamp);
  452. },
  453. // 获取活动时间
  454. getActtime() {
  455. this.acttime = tools.getActtime(this.beginSecond, this.endSecond);
  456. },
  457. fmtMcTime2(timestamp1, timestamp2) {
  458. return tools.fmtMcTime2(timestamp1, timestamp2);
  459. },
  460. getCardConfigQuery() {
  461. uni.request({
  462. url: apiCardConfigQuery,
  463. header: {
  464. "Content-Type": "application/x-www-form-urlencoded",
  465. "token": this.token,
  466. },
  467. method: "POST",
  468. data: {
  469. ecId: this.ecId,
  470. pageName: this.pageName
  471. },
  472. success: (res) => {
  473. // console.log("getCardConfigQuery", res)
  474. const data = res.data.data;
  475. // console.log("configJson", data.configJson);
  476. const config = data.configJson != "" ? JSON.parse(data.configJson) : "";
  477. // console.log("configJson", data.configJson);
  478. /* const config = {
  479. "css": `
  480. .top{
  481. position: relative;
  482. width: 100%;
  483. height: 220px;
  484. padding-top: 36px;
  485. justify-content: space-between;
  486. background-image: url('static/backgroud/top_bg_dengshanjie.png');
  487. background-repeat: no-repeat;
  488. background-position-x: center;
  489. background-position-y: center;
  490. background-size: cover;
  491. }
  492. .topcontent {
  493. display: none !important;
  494. }
  495. .topbar-color{
  496. color: #333333;
  497. }
  498. .mid{
  499. margin-top: -40px !important;
  500. }
  501. .btnStartGame{
  502. background-color: #ff870e !important;
  503. }
  504. .e-select{
  505. background-color: #ff870e !important;
  506. }
  507. .swiper-item-button{
  508. background-color: #ff870e !important;
  509. }
  510. .uni-swiper-dot-active{
  511. background: #ff870e !important;
  512. }
  513. `,
  514. "pathList": {
  515. "row1": [{
  516. "type": 3,
  517. "pathImg": "/static/common/lingxiucheng.png",
  518. "path": {
  519. "ocaId": 1,
  520. "mcType": 3
  521. },
  522. "navImg": "/static/common/nav.png",
  523. "point": {
  524. "longitude": 117.022194,
  525. "latitude": 36.661612,
  526. "name": "领秀城起始点"
  527. }
  528. },
  529. {
  530. "type": 3,
  531. "pathImg": "/static/common/quanchenggongyuan.png",
  532. "path": {
  533. "ocaId": 1,
  534. "mcType": 3
  535. },
  536. "navImg": "/static/common/nav.png",
  537. "point": {
  538. "longitude": 117.022194,
  539. "latitude": 36.661612,
  540. "name": "泉城公园起始点"
  541. }
  542. }
  543. ],
  544. "row2": [{
  545. "type": 3,
  546. "pathImg": "/static/common/baihuagongyuan.png",
  547. "path": {
  548. "ocaId": 1,
  549. "mcType": 3
  550. },
  551. "navImg": "/static/common/nav.png",
  552. "point": {
  553. "longitude": 117.022194,
  554. "latitude": 36.661612,
  555. "name": "百花公园起始点"
  556. }
  557. },
  558. {
  559. "type": 3,
  560. "pathImg": "/static/common/aotizhongxin.png",
  561. "path": {
  562. "ocaId": 1,
  563. "mcType": 3
  564. },
  565. "navImg": "/static/common/nav.png",
  566. "point": {
  567. "longitude": 117.022194,
  568. "latitude": 36.661612,
  569. "name": "奥体中心起始点"
  570. }
  571. }
  572. ],
  573. "row3": [{
  574. "type": 3,
  575. "pathImg": "/static/common/muniushan.png",
  576. "path": {
  577. "ocaId": 1,
  578. "mcType": 3
  579. },
  580. "navImg": "/static/common/nav.png",
  581. "point": {
  582. "longitude": 117.022194,
  583. "latitude": 36.661612,
  584. "name": "牧牛山起始点"
  585. }
  586. }]
  587. },
  588. "pathListStyle" : {
  589. "showLine" : true,
  590. "style": "justify-content: flex-start;"
  591. },
  592. "popupRuleConfig": {
  593. "height": "560px"
  594. },
  595. "popupDataList": [
  596. {
  597. "type": 1,
  598. "data": {
  599. "title": "小飞龙定向登山节",
  600. "logo": {
  601. "src": "/static/logo/xfl2.png",
  602. "width": "100px",
  603. "height": "100px"
  604. },
  605. "content": "小飞龙定向登山节燃情开幕!7大公园/社区等你探索,加入心仪战队,开启寻宝之旅!奖品多到拿不下!",
  606. "imageList": [{
  607. "src": "/static/common/qrcode_xfldsjzxbzq.png",
  608. "width": "150px",
  609. "height": "150px"
  610. }]
  611. }
  612. },
  613. {
  614. "type": 7,
  615. "data": {
  616. "title": "活动流程",
  617. "logo": {
  618. "src": "/static/logo/xfl2.png",
  619. "width": "100px",
  620. "height": "100px"
  621. },
  622. "content": "<br>① 导航至起点打点 → ② 依次打点 → ③ 接受挑战 → ④ 终点打点 → ⑤ 查看成绩 → ⑥ 赢取奖励",
  623. "imageList": [{
  624. "src": "/static/common/qrcode_spjc.png",
  625. "width": "150px",
  626. "height": "150px"
  627. }]
  628. }
  629. },
  630. {
  631. "type": 7,
  632. "data": {
  633. "title": "规则及奖励",
  634. "content": "<br><span style='color:#fe880e;'>规则:</span><br>① 7个场地任选、参赛时间自由、路线随机、不限参赛次数;<br>② 选择心仪战队,共筑个人与战队荣耀;<br>③ 1次成功打点,获取1个百味豆(积分);1次正确答题,获取1个百味豆(积分);<br>④ 正常完赛累计百味豆,未完赛不计入。<br><br> <span style='color:#fe880e;'>奖励:</span><br>① 每20个百味豆(积分)兑换一枚鸡蛋,上不封顶(7日内兑换);<br>② 每20个百味豆(积分)获取各合作机构多种精美礼品(7日内兑换);<br>③ 赛事中不定期推出额外奖励,请随时关注赛事弹出公告。"
  635. }
  636. },
  637. {
  638. "type": 7,
  639. "data": {
  640. "title": "奖励",
  641. "logo": {
  642. "src": "/static/logo/xxhpgy.png",
  643. "width": "120px",
  644. "height": "120px",
  645. "memo": "星星和蒲公英双语阅读馆"
  646. },
  647. "content": "星星和蒲公英双语阅读馆,济南儿童阅读网红圣地!馆藏2W+册正版图书,涵盖中英文大奖绘本、桥梁书、自然科学与文学社科名著,以及艺术画册和摄影图集。开展面向4-12岁孩子的中文阅读读书会&中英双语阅读课。<br><br>每20个百味豆奖励:<br><span style='color:#FF870E;'>礼品一:到店阅读权限一年<br>礼品二:店内饮品五折券一张</span>",
  648. "pointList": [
  649. {
  650. "name": "星星和蒲公英双语阅读馆",
  651. "tel": "电话:<a href='tel:18765812082' style='color: #333333;'>18765812082</a>",
  652. "longitude": 117.075174,
  653. "latitude": 36.654108
  654. }
  655. ]
  656. }
  657. },
  658. {
  659. "type": 7,
  660. "data": {
  661. "title": "奖励",
  662. "logo": {
  663. "src": "/static/logo/wensiyu.png",
  664. "width": "120px",
  665. "height": "120px",
  666. "memo": "文思语少年读书会"
  667. },
  668. "content": "文思语少年读书会,专注于为4-15岁儿童和家庭提供阅读素养发展解决方案和产品。读书会以整本书精读伴读为核心,塑造良好的读书习惯,训练阅读理解能力,培养创意作文能力。<br><br>每20个百味豆奖励:<br><span style='color:#FF870E;'>《山海经》精装套系书。原价:158元/套,活动价19.9元/套,封顶5套,权限可赠送他人</span>",
  669. "pointList": [
  670. {
  671. "name": "文思语少年读书会",
  672. "tel": "电话:<a href='tel:17663733631' style='color: #333333;'>17663733631</a>",
  673. "longitude": 117.075174,
  674. "latitude": 36.654108
  675. }
  676. ]
  677. }
  678. },
  679. {
  680. "type": 7,
  681. "data": {
  682. "title": "奖励",
  683. "logo": {
  684. "src": "/static/logo/lezhigu.png",
  685. "width": "120px",
  686. "height": "120px",
  687. "memo": "乐知谷"
  688. },
  689. "content": "乐知谷是济南科学类口碑最好的机构,主做面向4-12岁儿童,内容涵盖工程科技、自然科学、生命科学、地球太空、PBL综合项目等五大板块,室内&户外相结合,真正将实验、动手、探究融于生活,培养独立思考、永存好奇、敢于创造的未来型孩子。<br><br>每20个百味豆奖励:<br><span style='color:#FF870E;'>乐知谷景点工程体验课《建造一座斜拉桥》一堂,感受力学结构的科技含量。每人限参与1次,多余权限可赠送他人</span>",
  690. "pointList": [
  691. {
  692. "name": "乐知谷",
  693. "tel": "电话:<a href='tel:19100652564' style='color: #333333;'>19100652564</a>",
  694. "longitude": 117.075174,
  695. "latitude": 36.654108
  696. }
  697. ]
  698. }
  699. },
  700. {
  701. "type": 7,
  702. "data": {
  703. "title": "奖励",
  704. "logo": {
  705. "src": "/static/logo/kusentiyu.png",
  706. "width": "120px",
  707. "height": "120px",
  708. "memo": "酷森体育俱乐部"
  709. },
  710. "content": "酷森体育俱乐部包含少儿篮球、体能训练、跳绳,三大课程。拥有二十年以上资深学院派专家教练团队,制定系统的少儿运动训练体系,结合不同年龄及能力的孩子进行定制化教学,使其更符合不同孩子的综合能力提升。<br><br>每20个百味豆奖励:<br><span style='color:#FF870E;'>手机全年影视会员卡,封顶5张</span>",
  711. "pointList": [
  712. {
  713. "name": "酷森体育俱乐部",
  714. "tel": "电话:<a href='tel:15621875115' style='color: #333333;'>15621875115</a>",
  715. "longitude": 117.075174,
  716. "latitude": 36.654108
  717. }
  718. ]
  719. }
  720. },
  721. {
  722. "type": 7,
  723. "data": {
  724. "title": "主办方",
  725. "logo": {
  726. "src": "/static/logo/xfl2.png",
  727. "width": "120px",
  728. "height": "120px",
  729. "memo": "英泓小飞龙体育俱乐部"
  730. },
  731. "content": "专注15年青少年体能训练,俱乐部开馆7年具备完善的针对中国青少年体质的科学训练体系,为12万青少年提供运动方案。俱乐部小学会员,通过俱乐部的系统训练,已达到中考体育满分标准。",
  732. "pointList": [
  733. {
  734. "name": "英泓小飞龙体育俱乐部",
  735. "tel": "电话:<a href='tel:15689409077' style='color: #333333;'>15689409077</a>",
  736. "longitude": 117.075174,
  737. "latitude": 36.654108
  738. }
  739. ]
  740. }
  741. },
  742. "default2"
  743. ],
  744. "popupWarnConfig": {
  745. "height": "550px"
  746. },
  747. "popupHelpConfig": {
  748. "height": "539px"
  749. },
  750. "popupHelpList": [
  751. {
  752. "type": 2,
  753. "data": {
  754. "title": "帮助",
  755. "img": "/static/common/qrcode_help.png",
  756. "imgParam": {
  757. "height": "370px"
  758. }
  759. }
  760. }
  761. ],
  762. "param": {
  763. "subTitle": "",
  764. "midType": 1
  765. }
  766. }; */
  767. this.loadConfig(config);
  768. this.matchRsDetailQuery();
  769. this.warnMessageQuery();
  770. setTimeout(this.dealFirstEnter, 500);
  771. },
  772. fail: (err) => {
  773. console.log("getCardConfigQuery err", err)
  774. },
  775. });
  776. },
  777. // 卡片对应地图列表详情查询
  778. mapListQuery() {
  779. uni.request({
  780. url: apiMapListQuery,
  781. header: {
  782. "Content-Type": "application/x-www-form-urlencoded",
  783. "token": this.token,
  784. },
  785. method: "POST",
  786. data: {
  787. mcId: this.mcId
  788. },
  789. success: (res) => {
  790. // console.log("mapListQuery", res);
  791. if (res.data.code == 0) {
  792. const data = res.data.data;
  793. this.mapList = data;
  794. let mapItems = [];
  795. for (var i = 0; i < data.length; i++) {
  796. let map = {};
  797. map.text = data[i].mapName;
  798. map.value = data[i].ocaId;
  799. mapItems.push(map);
  800. }
  801. this.mapList = mapItems;
  802. // console.log("mapList", this.mapList);
  803. }
  804. },
  805. fail: (err) => {
  806. console.log("mapListQuery err", err);
  807. },
  808. });
  809. },
  810. // 卡片对应线上赛多个活动查询
  811. matchRsDetailQuery() {
  812. uni.request({
  813. url: apiMatchRsDetailQuery,
  814. header: {
  815. "Content-Type": "application/x-www-form-urlencoded",
  816. "token": this.token,
  817. },
  818. method: "POST",
  819. data: {
  820. ecId: this.ecId,
  821. ocaId: this.ocaId
  822. },
  823. success: (res) => {
  824. // console.log("matchRsDetailQuery", res);
  825. if (checkResCode(res)) {
  826. const data = res.data.data;
  827. this.mcType = data.mcType;
  828. this.mcId = data.mcId;
  829. this.mcName = data.mcName;
  830. this.coiName = data.coiName;
  831. this.beginSecond = data.beginSecond;
  832. this.endSecond = data.endSecond;
  833. this.nickName = data.nickName;
  834. this.totalNum = data.totalNum;
  835. this.totalDistanct = data.totalDistanct;
  836. this.totalDistanctRankNum = data.totalDistanctRankNum;
  837. this.totalCp = data.totalCp;
  838. this.totalCpRankNum = data.totalCpRankNum;
  839. this.totalSysPoint = data.totalSysPoint;
  840. this.totalSysPointRankNum = data.totalSysPointRankNum;
  841. this.fastPace = data.fastPace;
  842. this.fastPaceRankNum = data.fastPaceRankNum;
  843. this.regionTotalNum = data.regionTotalNum;
  844. this.regionTotalCp = data.regionTotalCp;
  845. this.regionTotalCpRankNum = data.regionTotalCpRankNum;
  846. this.regionTotalSysPoint = data.regionTotalSysPoint;
  847. this.regionTotalDictance = data.regionTotalDictance;
  848. this.regionFastPace = data.regionFastPace;
  849. this.ocaRs = data.ocaRs;
  850. this.mcState = tools.checkMcState(this.beginSecond, this.endSecond);
  851. const rank = JSON.stringify(data);
  852. this.dealNotice(rank);
  853. this.getCountdown();
  854. this.getActtime();
  855. this.isAllowMcSignUp();
  856. this.mapListQuery();
  857. this.clear();
  858. this.interval = setInterval(this.getCountdown, 60000);
  859. }
  860. },
  861. fail: (err) => {
  862. console.log("matchRsDetailQuery err", err)
  863. },
  864. });
  865. },
  866. // 是否允许重新分组(报名)
  867. isAllowMcSignUp() {
  868. uni.request({
  869. url: apiIsAllowMcSignUp,
  870. header: {
  871. "Content-Type": "application/x-www-form-urlencoded",
  872. "token": this.token,
  873. },
  874. method: "POST",
  875. data: {
  876. ecId: this.ecId
  877. },
  878. success: (res) => {
  879. // console.log("isAllowMcSignUp", res)
  880. if (res.data.code == 0) {
  881. const data = res.data.data;
  882. this.allowMcSignUp = data.allowSignUp;
  883. }
  884. },
  885. fail: (err) => {
  886. console.log("isAllowMcSignUp err", err)
  887. },
  888. });
  889. },
  890. // 警告列表查询
  891. warnMessageQuery() {
  892. uni.request({
  893. url: apiWarnMessageQuery,
  894. header: {
  895. "Content-Type": "application/x-www-form-urlencoded",
  896. "token": this.token,
  897. },
  898. method: "POST",
  899. data: {
  900. ecId: this.ecId
  901. },
  902. success: (res) => {
  903. // console.log("warnMessageQuery", res);
  904. if (checkResCode(res)) {
  905. const warnRs = res.data.data;
  906. this.popupWarnList.length = 0;
  907. for (var i = 0; i < warnRs.length; i++) {
  908. let popupData = {
  909. type: 9, // 9: 警告
  910. data: {}
  911. };
  912. popupData.data.warnType = warnRs[i].warnType;
  913. popupData.data.title = warnRs[i].warnTitle;
  914. popupData.data.iconUrl = warnRs[i].iconUrl;
  915. popupData.data.iconNum = warnRs[i].iconNum;
  916. popupData.data.message = warnRs[i].warnMessage;
  917. popupData.data.qrCodeUrl = warnRs[i].qrCodeUrl;
  918. this.popupWarnList.push(popupData);
  919. }
  920. /* this.popupWarnList.push(
  921. {
  922. type: 9, // 9: 警告
  923. data: {
  924. warnType: 1,
  925. title: "黄牌",
  926. iconUrl: "/static/common/card_yellows.png",
  927. iconNum: 1,
  928. message: `亲爱的参赛者:
  929.   收到此黄牌,说明您的比赛数据被系统判定为存在异常,此次比赛(活动)为徒步定向校园文化主题活动,请自觉遵守规则,如果您收到的黄牌数量过多<span style='color: red'>(超过2张)</span>,您的成绩将影响到您的院系/单位成绩,同时您的个人成绩也有可能根据规则被取消。如果您坚持您的比赛数据没有问题,请联系我们的客服人员,谢谢!
  930.   让我们一起创造文明、和谐的校园生活,感谢您的支持!`,
  931. qrCodeUrl: "https://orienteering.beswell.com/shanda/%E8%AD%A6%E5%91%8A%E4%BA%8C%E7%BB%B4%E7%A0%81%402x.png"
  932. }
  933. }
  934. ); */
  935. // console.log("popupMessageList", this.popupMessageList);
  936. }
  937. },
  938. fail: (err) => {
  939. console.log("warnMessageQuery err", err)
  940. },
  941. });
  942. },
  943. btnBack() {
  944. // const url = `action://to_home/`;
  945. // tools.appAction(url);
  946. // uni.navigateTo({
  947. // url: "/pages/bm/style4/rankList?" + this.queryString
  948. // });
  949. const url = "/pages/bm/style4/rankList?" + this.queryString;
  950. tools.appAction(url, "uni.navigateTo");
  951. },
  952. btnInfo() {
  953. // console.log(this.$refs.mypopup);
  954. this.$refs.mypopup.popupOpen();
  955. },
  956. btnHelp() {
  957. this.$refs.mypopupHelp.popupOpen();
  958. },
  959. btnWarn() {
  960. this.$refs.mypopupWarn.popupOpen();
  961. },
  962. btnReGroup() {
  963. this.queryObj.from = "rankOverview";
  964. this.queryString = tools.objectToQueryString(this.queryObj);
  965. // uni.navigateTo({
  966. // url: '/pages/bm/style4/signup?' + this.queryString
  967. // });
  968. const url = '/pages/bm/style4/signup?' + this.queryString;
  969. tools.appAction(url, "uni.navigateTo");
  970. },
  971. onOverviewClick(ovtype) {
  972. this.queryObj.ovtype = ovtype;
  973. this.queryString = tools.objectToQueryString(this.queryObj);
  974. // uni.navigateTo({
  975. // url: "/pages/bm/style4/rankList?" + this.queryString
  976. // });
  977. const url = "/pages/bm/style4/rankList?" + this.queryString;
  978. tools.appAction(url, "uni.navigateTo");
  979. },
  980. eSelectChange(data) {
  981. // console.log("eSelectChange:", data);
  982. this.ocaId = data.value;
  983. this.matchRsDetailQuery();
  984. uni.setStorageSync(this.mapKey, this.ocaId);
  985. },
  986. onPathClick(data) {
  987. console.log("onPathClick:", data);
  988. if (this.ocaId != data.path.ocaId) {
  989. this.ocaId = data.path.ocaId;
  990. this.matchRsDetailQuery();
  991. uni.setStorageSync(this.mapKey, data.path.ocaId);
  992. }
  993. },
  994. btnStartGame() {
  995. // 赛事/活动状态 0: 未开始 1: 进行中 2: 已结束
  996. if (this.mcState == 1) {
  997. const url = `action://to_detail/?id=${this.ocaId}&matchType=${this.mcType}`;
  998. tools.appAction(url);
  999. } else if (this.mcState == 0) {
  1000. uni.showToast({
  1001. title: '比赛尚未开始',
  1002. icon: 'none',
  1003. duration: 3000
  1004. });
  1005. } else if (this.mcState == 2) {
  1006. uni.showToast({
  1007. title: '比赛已结束',
  1008. icon: 'none',
  1009. duration: 3000
  1010. });
  1011. }
  1012. }
  1013. }
  1014. }
  1015. </script>
  1016. <style scoped>
  1017. .content {
  1018. width: 100vw;
  1019. min-height: 100vh;
  1020. overflow-x: scroll;
  1021. }
  1022. .top-default {
  1023. position: relative;
  1024. z-index: 10;
  1025. width: 100%;
  1026. height: 270px;
  1027. padding-top: 36px;
  1028. justify-content: space-between;
  1029. background-image: url("/static/backgroud/top_bg_egg2.png");
  1030. background-repeat: no-repeat;
  1031. background-position-x: center;
  1032. background-position-y: -8px;
  1033. background-size: 100% 100%;
  1034. /* background-size: cover; */
  1035. }
  1036. .topbar-color-default {
  1037. color: #333333;
  1038. }
  1039. .topcontent {
  1040. height: 90%;
  1041. margin-bottom: 50px;
  1042. }
  1043. .logo {
  1044. width: 80px;
  1045. height: 80px;
  1046. margin-top: 10px;
  1047. /* background-image: url('/static/logo/sddx.png'); */
  1048. background-repeat: no-repeat;
  1049. background-position-x: center;
  1050. background-position-y: center;
  1051. background-size: contain;
  1052. }
  1053. .top-acttime {
  1054. display: none;
  1055. text-shadow: 3px 3px 0px #640008;
  1056. font-family: YouSheBiaoTiHei;
  1057. /* font-family: Arial, Helvetica, sans-serif; */
  1058. font-weight: bold;
  1059. color: #ffee0b;
  1060. font-size: 26px;
  1061. }
  1062. .topbtm {
  1063. width: 100%;
  1064. /* height: 60rpx; */
  1065. margin-bottom: 40px;
  1066. justify-content: space-evenly;
  1067. }
  1068. .topbtm-name {
  1069. /* width: 320rpx; */
  1070. /* height: 28px; */
  1071. padding: 5px 12px;
  1072. background-color: #9fda39;
  1073. border-radius: 5px;
  1074. /* backdrop-filter: blur(30px); */
  1075. text-align: center;
  1076. font-weight: 500;
  1077. color: #497400;
  1078. font-size: 14px;
  1079. }
  1080. .midType0 {
  1081. width: 90%;
  1082. height: 150px;
  1083. position: relative;
  1084. z-index: 20;
  1085. margin-top: -40px;
  1086. background: #ffffff;
  1087. border-radius: 9px;
  1088. box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.13);
  1089. font-family: Source Han Sans CN;
  1090. }
  1091. .midType1 {
  1092. width: 90%;
  1093. /* height: 112px; */
  1094. height: 150px;
  1095. position: relative;
  1096. z-index: 20;
  1097. margin-top: -70px;
  1098. background: #ffffff;
  1099. border-radius: 9px;
  1100. box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.13);
  1101. font-family: Source Han Sans CN;
  1102. }
  1103. .mid-0 {
  1104. width: 90%;
  1105. margin: 12px;
  1106. }
  1107. .mid-0-select {
  1108. width: 60%;
  1109. font-weight: 500;
  1110. color: #8e8e8e;
  1111. font-size: 14px;
  1112. }
  1113. .mid-0-help {
  1114. position: absolute;
  1115. right: 30px;
  1116. font-size: 12px;
  1117. font-weight: 500;
  1118. color: #992900;
  1119. }
  1120. .mid-0-right {
  1121. position: absolute;
  1122. width: 60px;
  1123. /* background-color: #81cd00; */
  1124. right: 10px;
  1125. font-size: 12px;
  1126. font-weight: 500;
  1127. color: #992900;
  1128. }
  1129. .midType0-mid-1 {
  1130. width: 90%;
  1131. margin-bottom: 12px;
  1132. }
  1133. .midType1-select {
  1134. /* width: 46%; */
  1135. min-width: 46%;
  1136. max-width: 50%;
  1137. margin: 0 5px;
  1138. font-weight: 500;
  1139. color: #8e8e8e;
  1140. font-size: 14px;
  1141. }
  1142. .midType1-mid-1 {
  1143. width: 90%;
  1144. margin-bottom: 12px;
  1145. font-weight: 500;
  1146. color: #8e8e8e;
  1147. font-size: 14px;
  1148. }
  1149. .mid-1-yellowCard {
  1150. width: 15px;
  1151. height: 20px;
  1152. margin-right: 10px;
  1153. }
  1154. .mid-1-name {
  1155. max-width: 360rpx;
  1156. white-space: nowrap;
  1157. overflow: hidden;
  1158. text-overflow: ellipsis;
  1159. }
  1160. .mid-1-text {
  1161. /* min-width: 60px; */
  1162. font-weight: 500;
  1163. color: #9a300e;
  1164. font-size: 12px;
  1165. }
  1166. .mid-2 {
  1167. width: 92%;
  1168. /* margin: 0 10px; */
  1169. }
  1170. .mid-2-value {
  1171. font-weight: 900;
  1172. font-size: 22px;
  1173. line-height: 25px;
  1174. }
  1175. .mid-2-text {
  1176. color: #989898;
  1177. font-size: 12px;
  1178. }
  1179. .mid-line {
  1180. width: 0px;
  1181. height: 40px;
  1182. border: 1px solid;
  1183. border-color: #e6e6e6;
  1184. }
  1185. .overview-1 {
  1186. width: 111px;
  1187. height: 54px;
  1188. background: #ffb40b;
  1189. border-radius: 50%;
  1190. box-shadow: 3px 3px 0px rgba(140, 140, 140, 1);
  1191. pointer-events: auto;
  1192. }
  1193. .overview-2 {
  1194. margin-top: -43px;
  1195. color: #ffffff;
  1196. font-size: 18px;
  1197. pointer-events: auto;
  1198. }
  1199. .overview-3 {
  1200. width: 111px;
  1201. height: 54px;
  1202. background: #f39509;
  1203. border-radius: 50%;
  1204. box-shadow: 3px 3px 0px rgba(140, 140, 140, 1);
  1205. pointer-events: auto;
  1206. }
  1207. .overview-4 {
  1208. width: 111px;
  1209. height: 54px;
  1210. background: #81cd00;
  1211. border-radius: 50%;
  1212. box-shadow: 3px 3px 0px rgba(140, 140, 140, 1);
  1213. pointer-events: auto;
  1214. }
  1215. .overview-5 {
  1216. width: 111px;
  1217. height: 54px;
  1218. background: #64cbb0;
  1219. border-radius: 50%;
  1220. box-shadow: 3px 3px 0px rgba(140, 140, 140, 1);
  1221. pointer-events: auto;
  1222. }
  1223. .ovline1 {
  1224. margin-top: 9px;
  1225. color: #ffffff;
  1226. font-size: 12px;
  1227. }
  1228. .ovline2 {
  1229. color: #ffffff;
  1230. font-size: 16px;
  1231. }
  1232. .main {
  1233. width: 100%;
  1234. margin-top: 20px;
  1235. margin-bottom: 20px;
  1236. /* height: 70vh; */
  1237. justify-content: space-around;
  1238. /* justify-content: space-between; */
  1239. }
  1240. .main-title {
  1241. margin-bottom: 10px;
  1242. font-weight: 550;
  1243. color: #333333;
  1244. font-size: 16px;
  1245. }
  1246. .bottom {
  1247. width: 100%;
  1248. flex-grow: 1;
  1249. justify-content: flex-end;
  1250. }
  1251. .btnStartGame {
  1252. width: 70%;
  1253. height: 80rpx;
  1254. /* margin-top: 50rpx; */
  1255. margin-bottom: 20rpx;
  1256. /* font-weight: bold; */
  1257. color: white;
  1258. font-size: 32rpx;
  1259. line-height: 80rpx;
  1260. border-radius: 27px;
  1261. background-color: #2e85ec;
  1262. }
  1263. /deep/ .e-select {
  1264. /* width: 60%; */
  1265. height: 60rpx;
  1266. background: #2e85ec;
  1267. color: #ffffff;
  1268. border-radius: 18px;
  1269. justify-content: space-around;
  1270. font-size: 16px;
  1271. font-weight: 500;
  1272. line-height: 60rpx;
  1273. text-align: center;
  1274. border: none !important;
  1275. }
  1276. /deep/ .e-select-input-text {
  1277. color: inherit !important;
  1278. }
  1279. /deep/ .e-select-selector-item {
  1280. color: #818181;
  1281. }
  1282. /deep/ .uni-icons {
  1283. color: inherit !important;
  1284. }
  1285. /deep/ .e-select-icon {
  1286. width: 26px !important;
  1287. }
  1288. </style>