9c812a0b40922d40d57cc48f494691e38f80b431.svn-base 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844
  1. <template>
  2. <div>
  3. <div class="Serch row item-center">
  4. <div class="Soccer-game row item-center">
  5. <div
  6. style=" display:flex;align-items:center;justify-content:center;"
  7. class="Soccer-game-title"
  8. @click="isreturn()"
  9. >
  10. <img class="box-img" src="../assets/st-imges/returnbox.png">
  11. {{this.title}}
  12. </div>
  13. </div>
  14. <div class="Serch-box row item-center" v-if="!championShow">
  15. <div class="Serch-box-home row item-center">
  16. <img class="Serch-box-img" src="../assets/st-imges/sousuo.png">
  17. <input
  18. v-model="SerchValue"
  19. @keydown="serchchange(SerchValue)"
  20. @change="serchchange(SerchValue)"
  21. @input="searchTeam(SerchValue)"
  22. class="Serch-box-input"
  23. type="text"
  24. placeholder="请输入球队名称"
  25. >
  26. <img
  27. class="Serch-box-del"
  28. @click="delinputvalue()"
  29. v-if="Serchchange==true"
  30. src="../assets/st-imges/del.png"
  31. >
  32. </div>
  33. </div>
  34. </div>
  35. <div v-if="isShow && !championShow" class="row allAlignment box center">
  36. <span>{{data.leagueName}}</span>
  37. <div class="Match-title-num">
  38. <span>{{data.matchNum}}</span>
  39. </div>
  40. </div>
  41. <div
  42. v-if="!championShow"
  43. v-for=" (item,index) in data.matchData"
  44. :key="index"
  45. class="Match-box"
  46. >
  47. <div class="row allAlignment Match-box-top">
  48. <div class="Match-box-top-left">
  49. <span>{{item.match_date}}</span>
  50. <span>{{item.match_time}}</span>
  51. </div>
  52. <div class="Match-box-top-right row">
  53. <span style="margin-right: .15rem;" class="Match-box-top-num">{{item.tag}}</span>
  54. <span style="margin-right: .15rem;">让球</span>
  55. <span style="margin-right: .15rem;">大小</span>
  56. </div>
  57. </div>
  58. <div
  59. class="row allAlignment center"
  60. @click="matchInfo(item.match_id);"
  61. style="padding:0 .32rem"
  62. >
  63. <div class="column average name-box">
  64. <div>{{item.home_team}}</div>
  65. <div>{{item.guest_team}}</div>
  66. </div>
  67. <div class="Match-bottom-right">
  68. <!-- 主队 -->
  69. <div class="row">
  70. <div
  71. class="Match-list-left"
  72. v-for="(items,indexs) in item.oddsData.homeOdds"
  73. :key="indexs"
  74. @click.stop="isBetting(items.id,item.home_team,item.guest_team,item.home_team,items.odds,items.condition,'homeOdds')"
  75. >
  76. <div :class="{ 'active' : items.isTrue == true}" class="column center">
  77. <span style="color:#FD8F26">{{items.condition}}</span>
  78. <span>{{items.odds}}</span>
  79. </div>
  80. </div>
  81. </div>
  82. <!-- 客队 -->
  83. <div class="row">
  84. <div
  85. class="Match-list-right row"
  86. v-for="(items,indexs) in item.oddsData.guestOdds"
  87. :key="indexs"
  88. @click.stop="isBetting(items.id,item.home_team,item.guest_team,item.guest_team,items.odds,items.condition,'guestOdds')"
  89. >
  90. <div :class="{'active':items.isTrue==true}" class="column center">
  91. <span>
  92. <i style="color:#FD8F26">{{items.condition}}</i>
  93. </span>
  94. <span>{{items.odds}}</span>
  95. </div>
  96. </div>
  97. </div>
  98. </div>
  99. </div>
  100. </div>
  101. <!-- 冠军组件 -->
  102. <div class="champion" v-if="championShow">
  103. <div class="title">
  104. <span>{{this.ChampionData.title}}</span>
  105. <div class="time">
  106. <span>2019年5月29日</span>
  107. <span>15:00</span>
  108. </div>
  109. </div>
  110. <div v-for="(item,index) in ChampionData.dataList" :key="item.id">
  111. <div class="chmpTit">{{item.name}}</div>
  112. <div v-for="items in ChampionData.dataList[index].data" :key="items.id">
  113. <div class="list">
  114. <span class="chmName">{{items.team}}</span>
  115. <span class="num">{{items.odds}}</span>
  116. </div>
  117. </div>
  118. </div>
  119. </div>
  120. <div class="BettingWindow" v-show="isWindow">
  121. <BettingWindow/>
  122. </div>
  123. <div v-if="noData">
  124. <NotOpend :title="this.info"/>
  125. </div>
  126. <!-- <div class = "lod">
  127. <Loading></Loading>
  128. </div>-->
  129. </div>
  130. </template>
  131. <script>
  132. import BettingWindow from "@/components/StBettingWindow";
  133. import NotOpend from "@/components/StNotOpend";
  134. import Loading from "@/components/StLoading";
  135. export default {
  136. name: "SerchBox",
  137. data() {
  138. return {
  139. SerchValue: "",
  140. Serchchange: false,
  141. title: " ", //标题
  142. data: "",
  143. isShow: true,
  144. isAddData: false, //判断是否添加
  145. game_code: this.$route.query.game_code, //球的类型别名
  146. leagueID: this.$route.query.leagueID, //获取联赛id
  147. isWindow: false,
  148. score:'0',//比分
  149. codeShow: false, // 如果是参赛表传值过来,则显示另一部分
  150. info: "没有相关联赛信息",
  151. noData: false, //没有数据为true
  152. betting: 10000, //vuex里面玩法投注数据
  153. thisNum: 10000, //vuex里面
  154. championShow: false, //冠军组件显示
  155. ChampionData:'',//冠军数据
  156. };
  157. },
  158. components: {
  159. BettingWindow,
  160. NotOpend,
  161. Loading
  162. },
  163. /**
  164. *函数方法
  165. */
  166. methods: {
  167. /*--------------------------------------------------------------------------------*/
  168. // 返回上一页
  169. isreturn() {
  170. history.go(-1);
  171. },
  172. /*--------------------------------------------------------------------------------*/
  173. // 是否显示删除按钮
  174. serchchange(val) {
  175. if (val.length >= 1) {
  176. this.Serchchange = true;
  177. } else {
  178. this.Serchchange = false;
  179. }
  180. },
  181. /*--------------------------------------------------------------------------------*/
  182. // 查询球队
  183. searchTeam(val) {
  184. let getActivity = this.$store.getters.getActivity;
  185. let matchDate = this.$route.query.matchDate;
  186. if (val.length >= 1) {
  187. this.Serchchange = true;
  188. } else {
  189. this.Serchchange = false;
  190. }
  191. if (this.$route.query.navBall) {
  192. this.getMatchData(
  193. this.$ports.match.matchState,
  194. this.game_code,
  195. "",
  196. this.leagueID,
  197. getActivity,
  198. "",
  199. matchDate,
  200. val
  201. );
  202. } else {
  203. this.getMatchData(
  204. this.$ports.match.matchDetails,
  205. this.game_code,
  206. this.leagueID,
  207. "",
  208. "",
  209. matchDate,
  210. val
  211. );
  212. }
  213. },
  214. /*--------------------------------------------------------------------------------*/
  215. // 清空输入
  216. delinputvalue() {
  217. this.SerchValue = "";
  218. this.Serchchange = false;
  219. let matchDate = this.$route.query.matchDate;
  220. if (this.$route.query.navBall) {
  221. this.getMatchData(
  222. this.$ports.match.matchState,
  223. this.game_code,
  224. "",
  225. this.leagueID,
  226. this.$store.getters.getActivity,
  227. "",
  228. matchDate,
  229. ""
  230. );
  231. } else {
  232. this.getMatchData(
  233. this.$ports.match.matchDetails,
  234. this.game_code,
  235. this.leagueID,
  236. "",
  237. "",
  238. matchDate,
  239. ""
  240. );
  241. }
  242. },
  243. /*--------------------------------------------------------------------------------*/
  244. // 添加、删除vuex投注数据公共方法
  245. AddDelete:function(id,home,guest,name,odds,condition){
  246. let isAdd = true;
  247. let bettingInfo = {
  248. id,
  249. home_team:home,
  250. guest_team:guest,
  251. name,
  252. odds,
  253. condition,
  254. ganame:'concede_size',
  255. score:this.score,
  256. bettingTime:'',
  257. }
  258. let matchList = this.$store.getters.getBetting;
  259. if (this.thisNum != 10000) {
  260. //删除vuex投注数据
  261. matchList[this.thisNum].data.forEach((res, index) => {
  262. if (res.id == id) {
  263. matchList[this.thisNum].data.splice(index, 1);
  264. this.$store.dispatch("BETTING",matchList)
  265. isAdd = false;
  266. }
  267. });
  268. //添加vuex投注数据
  269. if (isAdd) {
  270. matchList[this.thisNum].data.push(bettingInfo);
  271. this.$store.dispatch("BETTING",[])
  272. this.$store.dispatch("BETTING",matchList)
  273. if(this.$store.getters.getIsBetting) return false
  274. this.$store.dispatch("ISBETTING",true)
  275. }
  276. } else {
  277. //添加新的玩法赔率数据
  278. let obj = {
  279. title:'concede_size',
  280. data: [bettingInfo]
  281. };
  282. //判断vuex有误其它玩法数据
  283. if(matchList){
  284. matchList.push(obj);
  285. }else{
  286. this.$store.dispatch("BETTING",[obj])
  287. }
  288. }
  289. console.log(this.$store.getters.getIsBetting);
  290. if(this.$store.getters.getIsBetting) return false
  291. this.$store.dispatch("ISBETTING",true)
  292. },
  293. /*--------------------------------------------------------------------------------*/
  294. //修改当前页面样式公共方法
  295. modifyStyle:function(id,type){
  296. console.log(id,type);
  297. this.data.matchData.every(e => {
  298. let ret = false;
  299. if(type == "homeOdds"){
  300. e.oddsData.homeOdds.every((res, index) => {
  301. if (res.id == id) {
  302. this.$set( e.oddsData.homeOdds[index],"isTrue",res.isTrue ? false : true);
  303. ret = true;
  304. return false;
  305. }
  306. return true;
  307. });
  308. }else if(type == "guestOdds"){
  309. e.oddsData.guestOdds.every((res, index) => {
  310. if (res.id == id) {
  311. this.$set( e.oddsData.guestOdds[index],"isTrue",res.isTrue ? false : true);
  312. ret = true;
  313. return false;
  314. }
  315. return true;
  316. });
  317. }
  318. if (ret) {
  319. return false;
  320. } else {
  321. return true;
  322. }
  323. });
  324. },
  325. /*--------------------------------------------------------------------------------*/
  326. // 修改投注样式
  327. isBetting(id,home,guest,name,odds,condition,type) {
  328. // console.log(id, type)
  329. if (this.data) {
  330. //处理vuex里面数据
  331. this.AddDelete(id,home,guest,name,odds,condition);
  332. //处理当前页面样式
  333. this.modifyStyle(id, type);
  334. }
  335. },
  336. /*--------------------------------------------------------------------------------*/
  337. //跳转到赛事详情
  338. matchInfo: function(id) {
  339. this.$router.push({
  340. path: "/StRollBallBettingPage",
  341. query: { gameCode: this.game_code, home: 1 }
  342. });
  343. this.$store.dispatch("MACTH_ID", id);
  344. },
  345. /*--------------------------------------------------------------------------------*/
  346. // url : 地址, game_code 球类 leagueID lg_id 联赛id type_code 状态 matchDate match_date 赛事日期 search 搜索 str_type 选项类型
  347. //获取联赛比赛列表
  348. getMatchData: function(
  349. url,
  350. game_code,
  351. leagueID,
  352. lg_id,
  353. type_code,
  354. matchDate,
  355. match_date,
  356. search,
  357. str_type,
  358. // code
  359. ) {
  360. //“concede_home”: 主队全场让球,“concede_guest”: 客队全场让球,“size_home”: 主队大小,“size_guest”: 客队大小
  361. this.$http
  362. .get(url, {
  363. game_code,
  364. leagueID,
  365. lg_id,
  366. type_code,
  367. matchDate,
  368. match_date,
  369. search,
  370. str_type,
  371. // code
  372. })
  373. .then(res => {
  374. this.codeShow = true;
  375. if (res.data.status == 1 && res.data.data != null) {
  376. if((this.$store.getters.getActivity == "StStringScene" && this.$route.query.strType == 2) || (this.$store.getters.getActivity == "StChampion" && this.$route.query.strType != undefined)){
  377. this.ChampionData = res.data.data;
  378. console.log('data',this.ChampionData);
  379. // 处理冠军数据
  380. let champion = {},arrays=[],title='';
  381. title = Object.keys(res.data.data);
  382. champion.title = title[0];
  383. let val = Object.values(res.data.data)
  384. let name = Object.keys(val[0]);
  385. let data = Object.values(val[0]);
  386. data.forEach((e,index)=>{
  387. arrays.push({
  388. name:name[index],
  389. data:e
  390. });
  391. })
  392. champion.dataList = arrays;
  393. this.ChampionData = champion;
  394. // champion.leaguename = championKey;
  395. // if()
  396. // console.log('0', championKey
  397. }else if(this.$route.query.champion != undefined){
  398. console.log('冠军截断')
  399. }
  400. if (res.data.data.matchData && res.data.data.matchData.length < 1) {
  401. this.isShow = false;
  402. this.noData = true;
  403. } else if(res.data.data.matchData && res.data.data.matchData.length > 0) {
  404. this.isShow = true;
  405. this.noData = false;
  406. this.dataGroup(res.data.data);
  407. //
  408. }
  409. }
  410. });
  411. },
  412. /*--------------------------------------------------------------------------------*/
  413. // 赛事赔率玩法数据组合方法
  414. dataGroup: function(data) {
  415. let homeOdds = [],
  416. guestOdds = [];
  417. let A, B, C, D;
  418. data.matchData.forEach((column, index) => {
  419. if (column.oddsData == null || column.oddsData.length == 0) {
  420. column.oddsData = {
  421. homeOdds: [{ status: -1 }, { status: -1 }],
  422. guestOdds: [{ status: -1 }, { status: -1 }]
  423. };
  424. } else {
  425. column.oddsData.forEach(val => {
  426. if (this.betting != 10000) {
  427. this.betting.forEach(e => {
  428. if (val.id == e.id) {
  429. val.isTrue = true;
  430. //this.$set(val,'isTrue',true);
  431. }
  432. });
  433. }
  434. if (val.odds_code == "concede_home") {
  435. A = val;
  436. } else if (val.odds_code == "size_home") {
  437. B = val;
  438. } else if (val.odds_code == "concede_guest") {
  439. C = val;
  440. } else if (val.odds_code == "size_guest") {
  441. D = val;
  442. }
  443. });
  444. column.oddsData = {};
  445. column.oddsData.homeOdds = [];
  446. column.oddsData.homeOdds.push(A);
  447. column.oddsData.homeOdds.push(B);
  448. column.oddsData.guestOdds = [];
  449. column.oddsData.guestOdds.push(C);
  450. column.oddsData.guestOdds.push(D);
  451. }
  452. });
  453. this.data = data;
  454. console.log(this.data);
  455. }
  456. },
  457. /**
  458. * 计算属性
  459. */
  460. computed: {
  461. getBetting() {
  462. return this.$store.getters.getBetting;
  463. },
  464. IsWindow() {
  465. return this.$store.getters.getIsBetting;
  466. },
  467. //获取投注框删除的投注信息
  468. getDeleteType(){
  469. return this.$store.getters.getDeleteType;
  470. },
  471. },
  472. /**
  473. * 监听器
  474. */
  475. watch: {
  476. getDeleteType(val){
  477. let flag=true;
  478. this.data.matchData.forEach(e =>{
  479. if(val =='all'){
  480. e.oddsData.guestOdds.forEach(data=>{
  481. this.$set(data, "isTrue", false);
  482. })
  483. e.oddsData.homeOdds.forEach(data=>{
  484. this.$set(data, "isTrue", false);
  485. })
  486. }else{
  487. let showData =true;
  488. e.oddsData.guestOdds.forEach(data=>{
  489. if(data.id == val){
  490. this.$set(data, "isTrue", false);
  491. showData =false;
  492. }
  493. })
  494. if(showData){
  495. e.oddsData.homeOdds.forEach(data=>{
  496. if(data.id == val){
  497. this.$set(data, "isTrue", false);
  498. }
  499. })
  500. }
  501. }
  502. })
  503. },
  504. /*--------------------------------------------------------------------------------*/
  505. //获取已投注信息
  506. getBetting(val) {
  507. //获取vuex玩法已投注相对应的数据
  508. if (val) {
  509. val.forEach((e, index) => {
  510. if ("concede_size" == e.title) {
  511. this.thisNum = index;
  512. this.betting = e.data;
  513. }
  514. });
  515. }
  516. },
  517. /*--------------------------------------------------------------------------------*/
  518. // 监听投注框开关
  519. IsWindow(val) {
  520. this.isWindow = val;
  521. },
  522. },
  523. /***
  524. * 页面加载完成触发事件
  525. */
  526. mounted() {
  527. //是否展示投注框
  528. if(this.$store.getters.getIsBetting){
  529. this.isWindow = true;
  530. }
  531. //获取vuex玩法已投注相对应的数据
  532. let getBetting = this.$store.getters.getBetting;
  533. if (getBetting) {
  534. getBetting.forEach((e, index) => {
  535. if ("concede_size" == e.title) {
  536. this.thisNum = index;
  537. this.betting = e.data;
  538. }
  539. });
  540. }
  541. let { game_code, leagueID, name } = this.$route.query;
  542. this.title = name;
  543. this.game_code = game_code;
  544. if (
  545. this.$route.query.navBall &&
  546. this.$route.query.strType != undefined &&
  547. this.$route.query.code != undefined
  548. ) {
  549. if (this.$store.getters.getActivity == "StChampion") {
  550. this.championShow = true;
  551. } else {
  552. this.championShow = false;
  553. }
  554. this.getMatchData(
  555. this.$ports.match.matchState,
  556. game_code,
  557. "",
  558. leagueID,
  559. this.$store.getters.getActivity,
  560. "",
  561. this.$route.query.matchDate
  562. );
  563. } else if (this.$route.query.strType != undefined) {
  564. if (this.$store.getters.getActivity != "StChampion") {
  565. if (this.$route.query.strType == 2) {
  566. this.championShow = true;
  567. } else {
  568. this.championShow = false;
  569. }
  570. this.getMatchData(
  571. this.$ports.match.matchState,
  572. this.$store.getters.getBallId,
  573. "",
  574. leagueID,
  575. this.$store.getters.getActivity,
  576. "",
  577. this.$route.query.matchDate,
  578. "",
  579. this.$route.query.strType
  580. );
  581. } else {
  582. this.championShow = true;
  583. this.getMatchData(
  584. this.$ports.match.matchState,
  585. game_code,
  586. "",
  587. leagueID,
  588. this.$store.getters.getActivity,
  589. "",
  590. this.$route.query.matchDate,
  591. ""
  592. );
  593. }
  594. }
  595. // 新增
  596. else if(this.$route.query.champion != undefined){
  597. console.log("123")
  598. this.getMatchData(
  599. this.$ports.match.matchState,
  600. game_code,
  601. // leagueID,
  602. "",
  603. "",
  604. "StRollBall"
  605. );
  606. }
  607. else {
  608. this.getMatchData(
  609. this.$ports.match.matchDetails,
  610. game_code,
  611. leagueID,
  612. "",
  613. "",
  614. this.$route.query.matchDate
  615. );
  616. }
  617. // if(this.$public.getCache("box_size")){
  618. // this.isWindow=true
  619. // }
  620. },
  621. };
  622. </script>
  623. <style scoped>
  624. .Serch {
  625. height: 0.75rem;
  626. display: flex;
  627. justify-content: space-between;
  628. align-items: center;
  629. background-color: #363636;
  630. color: #fd8f26;
  631. font-family: "PingFang-SC-Regular";
  632. padding: 0 0.32rem;
  633. }
  634. .lock {
  635. background: #f4f4f4;
  636. }
  637. .Serch-box-input {
  638. width: 2rem;
  639. border: none;
  640. position: absolute;
  641. left: 0.5rem;
  642. top: 0.06rem;
  643. }
  644. /* .BettingWindow{
  645. z-index: 10000;
  646. position:fixed;
  647. top:0;
  648. width: 100%;
  649. } */
  650. .Serch-box-img {
  651. width: 0.3rem;
  652. height: 0.3rem;
  653. position: absolute;
  654. left: 0.1rem;
  655. top: 0.06rem;
  656. }
  657. .Serch-box-del {
  658. width: 0.2rem;
  659. height: 0.2rem;
  660. position: absolute;
  661. right: 0.2rem;
  662. }
  663. .Serch-box-home {
  664. height: 0.44rem;
  665. width: 4.73rem;
  666. background: #e4e4e4;
  667. border-radius: 0.2rem;
  668. display: flex;
  669. justify-content: space-around;
  670. align-items: center;
  671. padding-left: 0.1rem;
  672. padding-right: 0.1rem;
  673. position: relative;
  674. }
  675. .box-img {
  676. width: 0.37rem;
  677. height: 0.3rem;
  678. margin-right: 0.18rem;
  679. }
  680. .Soccer-game-title {
  681. display: flex;
  682. color: #f76649;
  683. align-items: center;
  684. width: 1.5rem;
  685. height: .75rem;
  686. font-size: 0.3rem;
  687. }
  688. .Soccer-game-box {
  689. display: flex;
  690. left: -0.3rem;
  691. top: 0.2rem;
  692. background: #fff;
  693. background: #626262;
  694. color: #a6a6a6;
  695. height: 0.7rem;
  696. align-items: center;
  697. }
  698. .Soccer-game-src {
  699. width: 0.25rem;
  700. height: 0.25rem;
  701. }
  702. .box {
  703. padding: 0 0.32rem;
  704. color: #e1e1df;
  705. height: 0.88rem;
  706. font-size: 0.32rem;
  707. background: linear-gradient(to bottom, #999999, #6a6a6b);
  708. }
  709. .Match-title-num {
  710. width: 0.46rem;
  711. height: 0.46rem;
  712. line-height: 0.46rem;
  713. text-align: center;
  714. background: #f76649;
  715. font-size: 0.26rem;
  716. border-radius: 50%;
  717. color: #f5f5f5;
  718. }
  719. .Match-box-top-right > span {
  720. width: 1.07rem;
  721. text-align: center;
  722. }
  723. .Match-box {
  724. height: 2.45rem;
  725. }
  726. .name-box {
  727. height: 1.76rem;
  728. }
  729. .Match-box-top {
  730. height: 0.45rem;
  731. line-height: 0.45rem;
  732. background: #dcdcdc;
  733. font-size: 0.23rem;
  734. padding: 0 0.32rem;
  735. }
  736. .Match-box-top-num {
  737. width: 0.64rem !important;
  738. height: 0.45rem;
  739. background: #ebebeb;
  740. font-size: 0.24rem;
  741. }
  742. .Match-box {
  743. background: #f8f8f8;
  744. }
  745. .Match-bottom-right {
  746. height: 2rem;
  747. padding: 0.1rem 0.1rem 0 0.14rem;
  748. }
  749. .Match-list-left div {
  750. width: 1.07rem;
  751. height: 0.76rem;
  752. border: 1px solid #e4e4e4;
  753. border-radius: 0.1rem;
  754. padding: 0.1rem;
  755. margin: 0.06rem 0.08rem;
  756. }
  757. .Match-list-right div {
  758. width: 1.07rem;
  759. height: 0.76rem;
  760. border: 1px solid #e4e4e4;
  761. border-radius: 0.1rem;
  762. margin: 0.06rem 0.08rem;
  763. }
  764. .active {
  765. background: #f76649;
  766. border: none;
  767. color: #e1e1df !important;
  768. }
  769. /* 冠军 */
  770. .champion .title {
  771. height: 1rem;
  772. padding: 0.15rem 0.2rem;
  773. background-color: #626262;
  774. }
  775. .champion .title span {
  776. font-size: 0.28rem;
  777. font-weight: bold;
  778. color: #e1e1df;
  779. }
  780. .champion .title .time span:nth-child(2) {
  781. color: #f76649;
  782. }
  783. .chmpTit {
  784. height: 0.7rem;
  785. line-height: 0.7rem;
  786. padding: 0 0.2rem;
  787. background: #e4e4e4;
  788. }
  789. .champion .list {
  790. height: 1rem;
  791. line-height: 0.6rem;
  792. padding: 0.1rem 0.2rem;
  793. width: 100%;
  794. display: -webkit-box;
  795. display: -ms-flexbox;
  796. display: flex;
  797. -webkit-box-pack: justify;
  798. -ms-flex-pack: justify;
  799. justify-content: space-between;
  800. border-bottom: 1px solid #aaa;
  801. font-size: 0.28rem;
  802. background: #ffffff;
  803. }
  804. .champion .list span:nth-child(1) {
  805. margin-top: 0.1rem;
  806. }
  807. .champion .list .num {
  808. width: 1.07rem;
  809. height: 0.76rem;
  810. border: 1px solid #e4e4e4;
  811. border-radius: 0.1rem;
  812. padding: 0.1rem;
  813. text-align: center;
  814. }
  815. </style>