rankList.vue 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678
  1. <!--
  2. [游戏] 网格赛事 - 排名列表
  3. http://localhost:5173/card/#/pages/game/grid/rankList
  4. https://oss-mbh5.colormaprun.com/card/#/pages/game/grid/rankList
  5. -->
  6. <template>
  7. <view class="body">
  8. <view v-if="pageReady" class="content uni-column">
  9. <view class="uni-column page-top">
  10. <my-topbar :mcName="mcName" class="topbar-color" :showRule="true" @btnBackClick="btnBack"
  11. @btnInfoClick="btnInfo"></my-topbar>
  12. </view>
  13. <view class="main uni-column">
  14. <!-- <view class="main-bar uni-row uni-jcse">
  15. <text>题目输出:{{all_totalAnswerNum}}</text>
  16. <text>总里程:{{fmtDistanct(all_totalDistance)}}km</text>
  17. <text>总打点:{{all_totalCp}}</text>
  18. <text>总百味豆:{{all_totalSysPoint}}</text>
  19. </view> -->
  20. <my-tab v-if="tabPageItems.length > 0" ref="tabPage" class="tabPage" :tabItems="tabPageItems" :type="0"
  21. :initActIndex="tabPageInitActIndex" @onTabClick="onTabPageClick" :fontSize="14"></my-tab>
  22. <my-tab ref="tab" :tabItems="tabItems" :tabItemsMark="tabItemsMark" :type="0"
  23. :initActIndex=configParam.tabInitActIndex @onTabClick="onTabClick" :fontSize="12"></my-tab>
  24. <view class="tab-view uni-column">
  25. <template v-for="(item, index) in rankRsList" :key="index">
  26. <my-ranklist v-show="tabCurrent === index" :rankRs="rankList[item]"
  27. :rank-type="rankTypeList[index]" :styleType="ranklistStyleType"></my-ranklist>
  28. </template>
  29. </view>
  30. <view v-if="ranklistStyleType == 1 && selfRank" class="btmSelfInfo uni-row uni-jcsa">
  31. <image class="btmSelfInfo-corner" mode="aspectFit" src="/static/custom/yuedong/yd.png"></image>
  32. <view class="bsi-box uni-row uni-jcsb">
  33. <view class="uni-row">
  34. <view class="bsi-headimg"></view>
  35. <view class="uni-column uni-ais">
  36. <view class="bsi-name">{{selfRank.userName}}</view>
  37. <view class="bsi-score">
  38. <text class="bsi-score-type">{{tabItems[tabCurrent]}}</text>
  39. <text>{{rankfunc.fmtRankNumByType(selfRank.inRankNum, rankTypeList[tabCurrent])}}</text>
  40. </view>
  41. </view>
  42. </view>
  43. <view class="bsi-ranknum">第 {{selfRank.rankNum}} 名</view>
  44. </view>
  45. </view>
  46. <!-- <button class="btnBack bgcolor-main" @click="btnStartGame">{{btnStartGameText}}</button> -->
  47. </view>
  48. <my-popup ref="mypopup" :config="cardConfigData.popupRuleConfig" :dataList="cardConfigData.popupRuleList"
  49. :acttime="acttime"></my-popup>
  50. <!-- <my-popup ref="mypopupExchg" :config="cardConfigData.popupExchgConfig"
  51. :dataList="cardConfigData.popupExchgList"></my-popup> -->
  52. <my-popup ref="mypopupMessage" :config="cardConfigData.popupMessageConfig"
  53. :dataList="cardConfigData.popupMessageList" @noMoreRemindersClick="onNoMoreRemindersClick"></my-popup>
  54. </view>
  55. </view>
  56. </template>
  57. <script>
  58. import tools from '/common/tools';
  59. import cardfunc from '/common/cardfunc';
  60. import rankfunc from '/common/rankfunc';
  61. import {
  62. localCardConfig
  63. } from "./cardconfig/test2.js";
  64. import {
  65. teamName
  66. } from '/common/define';
  67. import {
  68. token,
  69. apiMatchRsDetailQuery,
  70. apiCardRankDetailQuery,
  71. apiCompStatisticQuery,
  72. apiIsAllowMcSignUp,
  73. apiUserJoinCardQuery,
  74. checkResCode
  75. } from '/common/api';
  76. export default {
  77. data() {
  78. return {
  79. rankfunc: rankfunc,
  80. cardConfigData: cardfunc.cardConfigData,
  81. pageReady: false,
  82. pageName: "rankList",
  83. messageKey: "message-game-grid",
  84. queryObj: {},
  85. queryString: "",
  86. token: "",
  87. ovtype: "",
  88. cardconfig: {}, // 卡片配置
  89. userconfig: {}, // 用户配置
  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. ocaId: 0, // 关联id,带入到App活动详情页面
  98. nickName: "", // 昵称
  99. totalNum: null, // 总场次
  100. totalDistanct: null, // 总距离,单位米
  101. totalDistanctRankNum: null, // 总距离排名
  102. totalCp: null, // 总打点数
  103. totalCpRankNum: null, // 总打点数排名
  104. totalSysPoint: null, // 总百味豆
  105. totalSysPointRankNum: null, // 总百味豆排名
  106. fastPace: null, // 个人最快配速
  107. fastPaceRankNum: null, // 个人最快配速排名
  108. // ocaRs: [], // 卡片对应活动集合
  109. isJoin: null, // 是否报名
  110. btnStartGameText: "",
  111. all_totalDistance: 0, // 赛事所有人累计里程,单位米
  112. all_totalRightAnswerNum: 0, // 赛事所有人正确答题数(校园文化输出)
  113. all_totalAnswerNum: 0, // 赛事所有人答题数(校园文化输出)
  114. all_totalCp: 0, // 赛事中所有人打点数
  115. all_totalSysPoint: 0, // 赛事中所有人百味豆
  116. mcState: 0, // 赛事/活动状态 0: 未开始 1: 进行中 2: 已结束
  117. allowMcSignUp: false, // 是否允许重新分组
  118. countdown: "", // 倒计时
  119. rankList: {}, // 排名列表
  120. interval: null,
  121. tabPageItems: [],
  122. // tabPageItems: ["赛事", "排行榜"],
  123. tabPageCurrent: 0,
  124. tabPageInitActIndex: 1,
  125. teamType: 0, // 队伍类型
  126. dispArrStr: "totalDistance,totalCp,totalSysPoint,fastPace", // 要显示的集合范围
  127. tabItems: ["总里程", "打点数", "百味豆", "配速"],
  128. rankTypeList: ["totalDistance", "totalCp", "totalSysPoint", "fastPace"],
  129. tabCurrent: 0,
  130. tabItemsMark: [],
  131. /* tabItemsMark: [{
  132. textColor: "#ff6203",
  133. icon: "static/common/award.png"
  134. }], */
  135. rankRsList: ["totalDistanceRs", "totalCpRs", "totalSysPointRs", "fastPaceRs"],
  136. configParam: {
  137. labelTicketName: "我的奖券",
  138. labelAwardAddress: "兑奖地址",
  139. // labelGoodsList: "兑换商品",
  140. tabInitActIndex: 0
  141. },
  142. ranklistStyleType: 0, // 排名列表样式
  143. selfRank: null // 个人成绩
  144. }
  145. },
  146. computed: {},
  147. onLoad(query) { // 类型非必填,可自动推导
  148. // console.log(query);
  149. this.queryObj = query;
  150. this.queryString = tools.objectToQueryString(this.queryObj);
  151. // console.log(queryString);
  152. this.token = query["token"] ?? token;
  153. this.ecId = query["id"] ?? 0;
  154. this.ovtype = query["ovtype"] ?? "";
  155. cardfunc.init(this, this.token, this.ecId);
  156. cardfunc.getCardConfig(this.cardConfigQueryCallback, localCardConfig);
  157. this.dealOvtype();
  158. },
  159. // 页面初次渲染完成,此时组件已挂载完成,DOM 树($el)已可用
  160. onReady() {
  161. // this.dealFirstEnter();
  162. // this.$refs.mypopupMessage.popupOpen();
  163. },
  164. onShow() {
  165. // this.getUserJoinCardQuery();
  166. },
  167. onUnload() {
  168. this.clear();
  169. },
  170. methods: {
  171. dealOvtype() {
  172. if (this.ovtype == "totalDistance") {
  173. this.tabCurrent = 0;
  174. } else if (this.ovtype == "totalCp") {
  175. this.tabCurrent = 1;
  176. } else if (this.ovtype == "totalSysPoint") {
  177. this.tabCurrent = 2;
  178. } else if (this.ovtype == "fastPace") {
  179. this.tabCurrent = 3;
  180. }
  181. console.log(`dealOvtype: ${this.ovtype} tabCurrent: ${this.tabCurrent}`);
  182. },
  183. clear() {
  184. if (this.interval != null) {
  185. clearInterval(this.interval);
  186. this.interval = null;
  187. }
  188. },
  189. cardConfigQueryCallback(cardconfig) {
  190. this.cardconfig = cardconfig;
  191. // cardfunc.getUserConfig(this.userConfigQueryCallback, localUserConfig);
  192. this.loadConfig();
  193. this.matchRsDetailQuery();
  194. },
  195. /* userConfigQueryCallback(userconfig) {
  196. this.userconfig = userconfig;
  197. this.loadConfig();
  198. this.matchRsDetailQuery();
  199. }, */
  200. loadConfig() {
  201. this.loadCardConfig(this.cardconfig);
  202. this.loadUserConfig(this.userconfig);
  203. this.pageReady = true;
  204. },
  205. loadCardConfig(cardconfig) {
  206. cardconfig = cardfunc.parseCardConfig(cardconfig);
  207. // console.log("[loadCardConfig] cardconfig:", cardconfig);
  208. // 加载卡片通用配置
  209. if (cardconfig.common != undefined) {
  210. cardfunc.loadCardCommonConfig(cardconfig.common);
  211. }
  212. // -------- 加载当前页面的配置 --------
  213. const config = cardfunc.parseCardConfig(cardconfig[this.pageName]);
  214. // console.log("[loadConfig] config_page:", config);
  215. if (config == undefined || config == null) {
  216. return;
  217. }
  218. // 加载CSS样式
  219. const css = config.css;
  220. if (css != undefined && css.length > 0) {
  221. tools.loadCssCode(css);
  222. }
  223. // 加载TAB
  224. const tabPageItems = config.tabPageItems;
  225. if (tabPageItems != undefined) {
  226. this.tabPageItems = tabPageItems;
  227. }
  228. // 加载成绩参数
  229. const rankParam = config.rankParam;
  230. if (rankParam != undefined) {
  231. if (rankParam.tabItemsMark != undefined) {
  232. this.tabItemsMark = rankParam.tabItemsMark;
  233. }
  234. if (rankParam.dispArrStr != undefined && rankParam.dispArrStr.length > 0) {
  235. this.dispArrStr = rankParam.dispArrStr;
  236. // console.log("[loadConfig] dispArrStr:", rankParam.dispArrStr);
  237. }
  238. if (rankParam.tabItems != undefined && rankParam.tabItems.length > 0) {
  239. this.tabItems = rankParam.tabItems;
  240. // console.log("[loadConfig] tabItems:", rankParam.tabItems);
  241. }
  242. if (rankParam.rankTypeList != undefined && rankParam.rankTypeList.length > 0) {
  243. this.rankTypeList = rankParam.rankTypeList;
  244. }
  245. if (rankParam.rankRsList != undefined && rankParam.rankRsList.length > 0) {
  246. this.rankRsList = rankParam.rankRsList;
  247. }
  248. if (rankParam.ranklistStyleType != undefined && rankParam.ranklistStyleType > 0) {
  249. this.ranklistStyleType = rankParam.ranklistStyleType;
  250. }
  251. }
  252. // console.log("[loadConfig] rankParam:", rankParam);
  253. // 加载页面参数
  254. const param = config.param;
  255. if (param != undefined) {
  256. if (param.labelTicketName != undefined && param.labelTicketName.length > 0) {
  257. this.configParam.labelTicketName = param.labelTicketName;
  258. }
  259. if (param.labelAwardAddress != undefined && param.labelAwardAddress.length > 0) {
  260. this.configParam.labelAwardAddress = param.labelAwardAddress;
  261. }
  262. if (param.labelGoodsList != undefined && param.labelGoodsList.length > 0) {
  263. this.configParam.labelGoodsList = param.labelGoodsList;
  264. }
  265. if (param.tabInitActIndex != undefined && param.tabInitActIndex >= 0) {
  266. this.configParam.tabInitActIndex = param.tabInitActIndex;
  267. this.tabCurrent = param.tabInitActIndex;
  268. }
  269. }
  270. },
  271. loadUserConfig(userconfig) {
  272. if (!userconfig) {
  273. console.log("[loadUserConfig] userconfig 为空");
  274. return;
  275. }
  276. const config = cardfunc.parseCardConfig(userconfig);
  277. console.log("[loadUserConfig] userconfig:", config);
  278. // 加载用户的弹窗数据
  279. cardfunc.loadUserPopupRule(config);
  280. },
  281. // 获取倒计时
  282. getCountdown() {
  283. // console.log(this.endSecond)
  284. if (this.endSecond > 0) {
  285. const now = Date.now() / 1000;
  286. const dif = this.endSecond - now;
  287. // const dif = 3600*24 - 60;
  288. if (dif > 0) {
  289. this.countdown = '距结束 ' + tools.convertSecondsToDHM(dif);
  290. } else {
  291. this.countdown = "活动已结束";
  292. }
  293. // this.countdown = tools.convertSecondsToHMS(dif);
  294. } else {
  295. this.countdown = "距结束 --天--小时";
  296. }
  297. },
  298. // 格式化 距离
  299. fmtDistanct(val) {
  300. return Math.round(val * 100 / 1000) / 100;
  301. /* if (val < 10000)
  302. return Math.round(val * 10 / 1000) / 10;
  303. else
  304. return Math.round(val / 1000); */
  305. },
  306. fmtMcTime(timestamp) {
  307. return tools.fmtMcTime(timestamp);
  308. },
  309. // 获取活动时间
  310. getActtime() {
  311. this.acttime = tools.getActtime(this.beginSecond, this.endSecond);
  312. // console.log("acttime", this.acttime);
  313. },
  314. getTeamName(teamType, teamIndex) {
  315. return teamName[teamType][teamIndex];
  316. },
  317. // 卡片对应线上赛多个活动查询
  318. matchRsDetailQuery() {
  319. uni.request({
  320. url: apiMatchRsDetailQuery,
  321. header: {
  322. "Content-Type": "application/x-www-form-urlencoded",
  323. "token": this.token,
  324. },
  325. method: "POST",
  326. data: {
  327. ecId: this.ecId
  328. },
  329. success: (res) => {
  330. // console.log("matchRsDetailQuery", res);
  331. if (checkResCode(res)) {
  332. const data = res.data.data;
  333. this.mcType = data.mcType;
  334. this.mcId = data.mcId;
  335. this.mcName = data.mcName;
  336. this.beginSecond = data.beginSecond;
  337. this.endSecond = data.endSecond;
  338. this.nickName = data.nickName;
  339. this.totalNum = data.totalNum;
  340. this.totalDistanct = data.totalDistanct;
  341. this.totalDistanctRankNum = data.totalDistanctRankNum;
  342. this.totalCp = data.totalCp;
  343. this.totalCpRankNum = data.totalCpRankNum;
  344. this.totalSysPoint = data.totalSysPoint;
  345. this.totalSysPointRankNum = data.totalSysPointRankNum;
  346. this.fastPace = data.fastPace;
  347. this.fastPaceRankNum = data.fastPaceRankNum;
  348. // this.ocaRs = data.ocaRs;
  349. this.mcState = tools.checkMcState(this.beginSecond, this.endSecond);
  350. this.getCountdown();
  351. this.getActtime();
  352. this.compStatisticQuery();
  353. this.getCardRankDetailQuery();
  354. this.clear();
  355. this.interval = setInterval(this.getCountdown, 60000);
  356. }
  357. },
  358. fail: (err) => {
  359. console.log("matchRsDetailQuery err", err)
  360. },
  361. });
  362. },
  363. // 排名查询
  364. getCardRankDetailQuery() {
  365. uni.request({
  366. url: apiCardRankDetailQuery,
  367. header: {
  368. "Content-Type": "application/x-www-form-urlencoded",
  369. "token": this.token,
  370. },
  371. method: "POST",
  372. data: {
  373. mcIdListStr: this.mcId,
  374. mcType: this.mcType,
  375. dispArrStr: this.dispArrStr
  376. },
  377. success: (res) => {
  378. console.log("getCardRankDetailQuery", res);
  379. const rankdata = res.data.data;
  380. this.rankList = rankdata;
  381. this.getSelfRank();
  382. },
  383. fail: (err) => {
  384. console.log("getCardRankDetailQuery err", err);
  385. },
  386. });
  387. },
  388. // 赛事总成绩统计查询
  389. compStatisticQuery() {
  390. uni.request({
  391. url: apiCompStatisticQuery,
  392. header: {
  393. "Content-Type": "application/x-www-form-urlencoded",
  394. "token": this.token,
  395. },
  396. method: "POST",
  397. data: {
  398. mcId: this.mcId
  399. },
  400. success: (res) => {
  401. // console.log("compStatisticQuery", res);
  402. if (res.data.code == 0) {
  403. const data = res.data.data;
  404. this.all_totalDistance = data.totalDistance;
  405. this.all_totalRightAnswerNum = data.totalRightAnswerNum;
  406. this.all_totalAnswerNum = data.totalAnswerNum;
  407. this.all_totalCp = data.totalCp;
  408. this.all_totalSysPoint = data.totalSysPoint;
  409. }
  410. },
  411. fail: (err) => {
  412. console.log("compStatisticQuery err", err);
  413. },
  414. });
  415. },
  416. // 是否允许重新分组(报名)
  417. isAllowMcSignUp() {
  418. uni.request({
  419. url: apiIsAllowMcSignUp,
  420. header: {
  421. "Content-Type": "application/x-www-form-urlencoded",
  422. "token": this.token,
  423. },
  424. method: "POST",
  425. data: {
  426. ecId: this.ecId
  427. },
  428. success: (res) => {
  429. // console.log("isAllowMcSignUp", res)
  430. if (res.data.code == 0) {
  431. const data = res.data.data;
  432. this.allowMcSignUp = data.allowSignUp;
  433. }
  434. },
  435. fail: (err) => {
  436. console.log("isAllowMcSignUp err", err)
  437. },
  438. });
  439. },
  440. // 用户是否已经报名卡片对应赛事查询
  441. /* getUserJoinCardQuery() {
  442. uni.request({
  443. url: apiUserJoinCardQuery,
  444. header: {
  445. "Content-Type": "application/x-www-form-urlencoded",
  446. "token": this.token
  447. },
  448. method: "POST",
  449. data: {
  450. ecId: this.ecId
  451. },
  452. success: (res) => {
  453. // console.log("getUserJoinCardQuery", res)
  454. const code = res.data.code;
  455. const data = res.data.data;
  456. if (code == 0) {
  457. this.isJoin = data.isJoin;
  458. if (this.isJoin) { // 已报名
  459. // this.btnStartGameText = "我要比赛";
  460. this.btnStartGameText = "选择场地";
  461. } else { // 未报名
  462. this.btnStartGameText = "我要报名";
  463. }
  464. }
  465. },
  466. fail: (err) => {
  467. console.log("getUserJoinCardQuery err", err)
  468. },
  469. });
  470. }, */
  471. onNoMoreRemindersClick() {
  472. this.$refs.mypopupMessage.popupClose();
  473. uni.setStorageSync(this.messageKey, true);
  474. },
  475. btnBack() {
  476. const url = `action://to_home/`;
  477. tools.appAction(url);
  478. },
  479. /* btnStartGame() {
  480. if (this.isJoin) { // 已报名
  481. const url = "/pages/tpl/style1/rankOverview?" + this.queryString;
  482. tools.appAction(url, "uni.navigateTo");
  483. } else { // 未报名
  484. const url = "/pages/tpl/style1/signup?" + this.queryString;
  485. tools.appAction(url, "uni.navigateTo");
  486. }
  487. }, */
  488. btnInfo() {
  489. // console.log(this.$refs.mypopup);
  490. this.$refs.mypopup.popupOpen();
  491. },
  492. btnMessage() {
  493. // console.log(this.$refs.mypopup);
  494. this.$refs.mypopupMessage.popupOpen();
  495. },
  496. btnMyEgg() {
  497. const url = "/pages/achievement/index2?tabCurrent=2&" + this.queryString;
  498. tools.appAction(url, "uni.navigateTo");
  499. },
  500. btnExchg() {
  501. this.$refs.mypopupExchg.popupOpen();
  502. },
  503. btnGoodsList() {
  504. this.queryObj.from = "/pages/tpl/style1/rankList";
  505. this.queryString = tools.objectToQueryString(this.queryObj);
  506. const url = "/pages/exchange/style1/goodsList?" + this.queryString;
  507. tools.appAction(url, "uni.navigateTo");
  508. },
  509. onTabPageClick(val) {
  510. console.log("onTabClick: ", val);
  511. // this.tabPageCurrent = val;
  512. if (val == 0) {
  513. const url = '/pages/game/grid/grid?' + this.queryString;
  514. tools.appAction(url, "uni.navigateTo");
  515. }
  516. },
  517. onTabClick(val) {
  518. // console.log("onTabClick: ", val);
  519. this.tabCurrent = val;
  520. this.getSelfRank();
  521. },
  522. getSelfRank() {
  523. const ranktype = this.rankRsList[this.tabCurrent];
  524. const rs = this.rankList[ranktype];
  525. // console.log("[getSelfRank] rs", rs);
  526. if (rs) {
  527. this.selfRank = tools.objArrGetObjByValue(rs, "isSelf", 1);
  528. console.log("[getSelfRank] self", this.selfRank);
  529. }
  530. }
  531. }
  532. }
  533. </script>
  534. <style scoped>
  535. .content {
  536. width: 100vw;
  537. height: 100vh;
  538. }
  539. .page-top {
  540. width: 100%;
  541. height: 60px;
  542. padding-top: 36px;
  543. justify-content: space-between;
  544. background: linear-gradient(135deg, #FFEF9E 0%, #FFFCF2 45.14%, #FFF4D4 100%);
  545. }
  546. .topbar-color {
  547. color: #000000;
  548. }
  549. .main {
  550. width: 100%;
  551. flex-grow: 1;
  552. justify-content: space-around;
  553. }
  554. .tabPage {
  555. /* width: 100%; */
  556. }
  557. .main-bar {
  558. width: 100%;
  559. height: 21px;
  560. background-color: #d8e8c6;
  561. font-size: 10px;
  562. font-weight: 500;
  563. color: #3d6706;
  564. }
  565. .main-tab {
  566. width: 90%;
  567. margin-top: 20rpx;
  568. }
  569. .tab-view {
  570. width: 100%;
  571. flex-grow: 1;
  572. }
  573. .btmSelfInfo {
  574. position: absolute;
  575. bottom: 0;
  576. width: 100%;
  577. height: 80px;
  578. background-color: #c7e848;
  579. border-radius: 10px 10px 0 0;
  580. }
  581. .btmSelfInfo-corner {
  582. position: absolute;
  583. right: 0px;
  584. top: -38px;
  585. width: 180px;
  586. height: 50px;
  587. }
  588. .bsi-box {
  589. width: 80%;
  590. }
  591. .bsi-infoBox {
  592. /* width: 40%; */
  593. }
  594. .bsi-headimg {
  595. width: 40px;
  596. height: 40px;
  597. margin-right: 10px;
  598. border-radius: 50%;
  599. background-color: #9980bf;
  600. }
  601. .bsi-name {
  602. font-size: 16px;
  603. font-weight: 500;
  604. color: #000000;
  605. }
  606. .bsi-score {
  607. font-size: 12px;
  608. font-weight: 500;
  609. color: #000000;
  610. }
  611. .bsi-score-type {
  612. margin-right: 5px;
  613. }
  614. .bsi-ranknum {
  615. font-size: 18px;
  616. font-weight: 500;
  617. color: #000000;
  618. }
  619. /* .btnBack {
  620. width: 70%;
  621. height: 80rpx;
  622. margin-bottom: 20rpx;
  623. color: white;
  624. font-size: 32rpx;
  625. line-height: 80rpx;
  626. border-radius: 27px;
  627. background-color: #81cd00;
  628. } */
  629. </style>