f469ce31fa0d873327f43fd35e45105bf12020c2.svn-base 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826
  1. <template>
  2. <div>
  3. <div class="Serch">
  4. <!-- <div class="Serch" v-if="headShow"> -->
  5. <div class="Soccer-game row center">
  6. <div class="Soccer-game-title row center">
  7. {{name}}
  8. </div>
  9. <div
  10. v-if="isShow"
  11. style="height:0.88rem;margin-left:0.16rem;padding:0 0.1rem;"
  12. class="row center"
  13. @click="IsSoccerGameClick(isSoccerGameClick)"
  14. >
  15. <img
  16. :class="isSoccerGameClick==true?'Soccer-game-src act':'Soccer-game-src return'"
  17. :src="img.Soccerimg1"
  18. >
  19. </div>
  20. </div>
  21. <div class="Serch-box">
  22. <div class="Serch-box-home">
  23. <img class="Serch-box-img" :src="img.Serchimg">
  24. <input
  25. v-model="SerchValue"
  26. @input="serchchange(SerchValue)"
  27. class="Serch-box-input"
  28. type="text"
  29. placeholder="请输入联赛名称"
  30. >
  31. <img
  32. class="Serch-box-del"
  33. @click="delinputvalue()"
  34. v-if="Serchchange==true"
  35. :src="img.Serchdel"
  36. >
  37. </div>
  38. </div>
  39. </div>
  40. <div class="Soccer-game-box row" v-if="isSoccerGameClick == true && isShow">
  41. <p
  42. @click="listActive(i.id)"
  43. v-for="(i,index) in Regulations.list"
  44. :key="index"
  45. :class="listnum==i.id?'active':''"
  46. >{{i.name}}</p>
  47. </div>
  48. <div v-if="dayShow" class="box">
  49. <div id="NavSlide">
  50. <nav>
  51. <p v-for="(item,$index) in arr" @click="toggle($index,item.id)">
  52. <span :class="{active:$index == active}">{{item.title}}</span>
  53. </p>
  54. </nav>
  55. </div>
  56. </div>
  57. <div class="match" v-if="entryShow">
  58. <yd-accordion accordion>
  59. <div class="matchBox" v-for="items in data" :key="items.id">
  60. <yd-accordion-item :title="items.region" open>
  61. <div class="list">
  62. <div
  63. v-for="item in items.league_count"
  64. :key="item.lg_id"
  65. @click="goMatchInfo(item.lg_id )"
  66. >
  67. <span>{{item.league}}</span>
  68. <span class="num">{{item.count}}</span>
  69. </div>
  70. </div>
  71. </yd-accordion-item>
  72. </div>
  73. </yd-accordion>
  74. </div>
  75. <div v-if="noData">
  76. <NotOpend :title="this.info"/>
  77. </div>
  78. <!-- 参赛表 -->
  79. <div v-if="!entryShow" class="entry">
  80. <div
  81. class="list"
  82. v-for="item in entryList.info"
  83. :key="item.id"
  84. @click="goMatchInfo(item.lg_id,item.code,item.count )"
  85. >
  86. <span>{{item.name}}</span>
  87. <span class="num">{{item.count}}</span>
  88. </div>
  89. </div>
  90. </div>
  91. </template>
  92. <script>
  93. import NotOpend from "@/components/StNotOpend";
  94. import "../css/index.css";
  95. export default {
  96. props: ["name"],
  97. // props: ["name", "headShow"],
  98. data() {
  99. return {
  100. isShow: true, //如果为串场则把导航显示出来,否则不显示
  101. SerchValue: "",
  102. data: "", //联赛列表
  103. ballId:'', //球类别名
  104. noData: false, //没有数据为true
  105. datetimeNum: "", //赛事时间
  106. active: 0,
  107. entryShow: true, //参赛表
  108. lgId: "",
  109. serchTime: 0, //默认时间值
  110. sear: "", //早盘存储查找时间
  111. listnum: 0, //赛事类型
  112. isTrue: true, //显示日期
  113. dayShow: false,
  114. Serchchange: false,
  115. info: "没有相关联赛信息",
  116. isSoccerGameClick: true,
  117. entryList: "", // 参赛表数据
  118. str_type: false, //串场冠军盘传值
  119. img: {
  120. Soccerimg1: require("../assets/st-imges/soccer1.png"),
  121. Soccerimg2: require("../assets/st-imges/soccer1.png"),
  122. Serchimg: require("../assets/st-imges/sousuo.png"),
  123. Serchdel: require("../assets/st-imges/del.png"),
  124. searchreturn: require("../assets/st-imges/returnbox.png")
  125. },
  126. //
  127. Regulations: {
  128. title: " ",
  129. list: [
  130. { id: 1, name: "参赛表" },
  131. { id: 0, name: "赛事" },
  132. { id: 2, name: "冠军盘口" }
  133. ]
  134. },
  135. active: 0,
  136. arr: [], //时间条
  137. timers: true,
  138. getIsShow:true,
  139. };
  140. },
  141. components: {
  142. NotOpend
  143. },
  144. methods: {
  145. //设置一周赛事
  146. fun_date: function() {
  147. let date = new Date();
  148. let MonthNum = 0;
  149. let lastMonth = new Date( date.getFullYear(),date.getMonth() + 1,0).getDate();
  150. for (let i = 1; i < 8; i++) {
  151. let years = date.getFullYear();
  152. let month = date.getMonth() + 1;
  153. let day = date.getDate() + i < 10 ? "0" + (date.getDate() + i) : date.getDate() + i;
  154. if (date.getDate() + i > lastMonth) {
  155. MonthNum++;
  156. month = date.getMonth() + 2;
  157. day = "0" + MonthNum;
  158. }
  159. let time = {};
  160. time.id = years + "-" + month + "-" + day;
  161. time.title = years + "-" + month + "-" + day;
  162. this.arr.push(time);
  163. if (i == 7) {
  164. this.arr.push({ id:"other", title: "其他早盘" });
  165. }
  166. }
  167. },
  168. // search=搜索关键字 lg_id = 联赛id (如果传入,则获取联赛下冠军盘口)
  169. getAjaxInfo: function(lg_id, search, date, str_type, index) {
  170. let match_date = date;
  171. if(this.$store.getters.getBallId !='zq'){
  172. match_date = '';
  173. }
  174. this.$http.get(this.$ports.match.matchState, {
  175. game_code: this.$store.getters.getBallId,
  176. type_code: this.$store.getters.getActivity,
  177. lg_id,
  178. search,
  179. match_date,
  180. str_type
  181. })
  182. .then(res => {
  183. if (
  184. res.data.status == 1 &&
  185. res.data.data.length > 0 &&
  186. res.data.data != null
  187. ) {
  188. this.Regulations.title = res.data.data.type;
  189. this.noData = false;
  190. this.data = res.data.data;
  191. //console.log("数据", this.data);
  192. } else {
  193. this.data = "";
  194. this.noData = true;
  195. }
  196. });
  197. let _this = this;
  198. setTimeout(() => {
  199. _this.$store.dispatch("GETSHOW", false);
  200. }, 1000);
  201. },
  202. //获取冠军盘口数据
  203. // 暂不使用
  204. getChampion: function(typeGame, search) {
  205. //console.log("冠军盘口");
  206. this.$store.dispatch("GETSHOW", true);
  207. this.$http
  208. .get(this.$ports.match.first, { typeGame, search })
  209. .then(res => {
  210. if (
  211. res.status == 200 &&
  212. res.data.data != [] &&
  213. res.data.data != null
  214. ) {
  215. if (res.data.data.info.length > 0) {
  216. this.data = res.data.data.info;
  217. } else {
  218. this.data = "";
  219. }
  220. } else {
  221. }
  222. if (this.data != "") {
  223. let _this = this;
  224. setTimeout(function() {
  225. _this.$store.dispatch("GETSHOW", false);
  226. }, 500);
  227. }
  228. });
  229. },
  230. //显示隐藏赛事类型
  231. IsSoccerGameClick(isclick) {
  232. this.isSoccerGameClick = !isclick;
  233. },
  234. //获取input输入的值查询数据
  235. serchchange(val) {
  236. let ball = this.$store.getters.getBallId;
  237. if (val.length >= 1) {
  238. this.Serchchange = true;
  239. } else {
  240. this.Serchchange = false;
  241. }
  242. if (this.$store.getters.getActivity == "StMorningPlate") {
  243. if(ball == 'zq'){
  244. this.getAjaxInfo("", val, this.serchTime);
  245. }else{
  246. this.getAjaxInfo("", val,this.arr[0].title);
  247. }
  248. } else {
  249. this.getAjaxInfo("", val);
  250. }
  251. },
  252. //删除搜索框数据
  253. delinputvalue() {
  254. this.SerchValue = "";
  255. this.Serchchange = false;
  256. if (this.listnum == 2) {
  257. this.getAjaxInfo("", "", "");
  258. } else if (this.listnum == 3) {
  259. this.getChampion(this.$store.getters.getBallId);
  260. }
  261. },
  262. //切换赛事类型
  263. listActive(id) {
  264. // console.log("id", id);
  265. // sessionStorage.setItem("active", id);
  266. if (this.listnum == id) return false;
  267. this.SerchValue = "";
  268. this.listnum = id;
  269. this.str_type = true;
  270. //console.log("this.listnum", this.listnum);
  271. if (id == 0) {
  272. this.entryShow = true;
  273. this.isTrue = true;
  274. this.getAjaxInfo("", "", "", id);
  275. } else {
  276. this.isTrue = false;
  277. if (id == 2) {
  278. this.entryShow = true;
  279. // this.getChampion(this.$route.query.id)
  280. this.getAjaxInfo("", "", "", id);
  281. } else if (id == 1) {
  282. this.entryShow = false;
  283. this.$store.dispatch("GETSHOW", true);
  284. this.$http
  285. .get(this.$ports.match.participate, {
  286. typeGame: this.$store.getters.getBallId
  287. })
  288. .then(res => {
  289. //console.log("res", res);
  290. if (
  291. res.status == 200 &&
  292. res.data.data != [] &&
  293. res.data.data != null
  294. ) {
  295. this.entryShow = false;
  296. this.entryList = res.data.data;
  297. } else {
  298. }
  299. let _this = this;
  300. setTimeout(function() {
  301. _this.$store.dispatch("GETSHOW", false);
  302. }, 500);
  303. });
  304. }
  305. }
  306. },
  307. //切换日期时间
  308. toggle: function(index, id) {
  309. if (index == this.active) return false;
  310. //console.log("index", index);
  311. this.serchTime = id;
  312. this.active = index;
  313. this.datetimeNum = id;
  314. this.sear = id;
  315. this.SerchValue = "";
  316. this.entryShow = true;
  317. this.getAjaxInfo("", "", id);
  318. this.timers = false;
  319. let _this = this;
  320. // if(this.$store.getters.getActivity == 'StMorningPlate'){
  321. // this.timers = true;
  322. // this.$public.ajaxTimerFun(function(timing) {
  323. // _this.getAjaxInfo("", "", id);
  324. // if (!_this.timers) {
  325. // clearInterval(timing);
  326. // }
  327. // });
  328. // }
  329. },
  330. //打开联赛投注页面
  331. goMatchInfo: function(sessionId, code, count) {
  332. let ball = this.$store.getters.getBallId;
  333. if (count == 0) {
  334. } else {
  335. if (
  336. this.$store.getters.getActivity == "StStringScene" ||
  337. this.$store.getters.getActivity == "StChampion"
  338. ) {
  339. if (
  340. this.listnum == 2 ||
  341. this.$store.getters.getActivity == "StChampion"
  342. ) {
  343. this.$router.push({
  344. path: "StLeagueList",
  345. query: {
  346. game_code: ball,
  347. leagueID: sessionId,
  348. name: this.name,
  349. home: 1,
  350. matchDate: this.datetimeNum,
  351. navBall: "2",
  352. code: code,
  353. strType: this.listnum,
  354. champion: 1
  355. }
  356. });
  357. } else {
  358. this.$router.push({
  359. path: "StLeagueList",
  360. query: {
  361. game_code:ball,
  362. leagueID: sessionId,
  363. name: this.name,
  364. home: 1,
  365. matchDate: this.datetimeNum,
  366. navBall: "2",
  367. code: code,
  368. strType: this.listnum
  369. }
  370. });
  371. }
  372. } else {
  373. if(this.$store.getters.getActivity == 'StMorningPlate' && ball == 'zq'){
  374. this.$router.push({
  375. path: "StLeagueList",
  376. query: {
  377. game_code: ball,
  378. leagueID: sessionId,
  379. name: this.name,
  380. home: 1,
  381. matchDate: this.datetimeNum,
  382. navBall: "2",
  383. code: code
  384. }
  385. });
  386. }else if(this.$store.getters.getActivity == 'StMorningPlate' && ball != 'zq'){
  387. this.$router.push({
  388. path: "StLeagueList",
  389. query: {
  390. game_code: ball,
  391. leagueID: sessionId,
  392. name: this.name,
  393. home: 1,
  394. matchDate: this.arr[0].title,
  395. navBall: "2",
  396. code: code
  397. }
  398. });
  399. }
  400. else{
  401. this.$router.push({
  402. path: "StLeagueList",
  403. query: {
  404. game_code: ball,
  405. leagueID: sessionId,
  406. name: this.name,
  407. home: 1,
  408. navBall: "2",
  409. code: code
  410. }
  411. });
  412. }
  413. }
  414. }
  415. },
  416. // 返回上一层页面
  417. isreturn() {
  418. history.go(-1);
  419. }
  420. },
  421. mounted() {
  422. let ball = this.$store.getters.getBallId;
  423. if (this.getIsShow) {
  424. this.$store.dispatch("GETSHOW", true);
  425. this.getIsShow = false;
  426. }
  427. //分球的类型获取默认数据
  428. this.active = 0;
  429. // this.$store.dispatch("GETSHOW", true);
  430. this.fun_date();
  431. this.serchTime = this.arr[0].title;
  432. this.datetimeNum = this.arr[0].title;
  433. if(this.$store.getters.getActivity == 'StMorningPlate'){
  434. this.getAjaxInfo('','',this.serchTime);
  435. if(ball == 'zq'){
  436. this.dayShow = true;
  437. }else{
  438. this.dayShow = false;
  439. }
  440. }else{
  441. this.getAjaxInfo();
  442. }
  443. // this.getAjaxInfo();
  444. // if (sessionStorage.getItem("active")) {
  445. // this.listnum = sessionStorage.getItem("active");
  446. // } else {
  447. // this.listnum = 0;
  448. // }
  449. // 判断冠军跳转
  450. if (this.$store.getters.getActivity == "StChampion") {
  451. this.str_type = true;
  452. } else {
  453. this.str_type = false;
  454. // if (this.$store.getters.getActivity == "StMorningPlate") {
  455. // this.dayShow = true;
  456. // this.getAjaxInfo('','',this.serchTime)
  457. // console.log("1")
  458. // } else {
  459. // console.log("2")
  460. // this.dayShow = false;
  461. // this.getAjaxInfo();
  462. // }
  463. }
  464. if (this.listnum != 1) {
  465. this.entryShow = true;
  466. }
  467. let _this = this;
  468. // 判断4种玩法的轮询
  469. if (
  470. this.$store.getters.getActivity == "StToday" ||
  471. this.$store.getters.getActivity == "StStringScene" ||
  472. this.$store.getters.getActivity == "StChampion"
  473. ) {
  474. this.$public.ajaxTimerFun(function(timing) {
  475. if (_this.timers) {
  476. _this.getAjaxInfo();
  477. } else {
  478. clearInterval(timing);
  479. }
  480. },(1000*180));
  481. } else if (this.$store.getters.getActivity == "StMorningPlate") {
  482. this.$public.ajaxTimerFun(function(timing) {
  483. if (_this.timers) {
  484. _this.getAjaxInfo("", "", _this.datetimeNum);
  485. } else {
  486. clearInterval(timing);
  487. }
  488. },(1000*180));
  489. }
  490. },
  491. computed: {
  492. getActivity: function() {
  493. if (
  494. this.$store.getters.getActivity == "StChampion" ||
  495. this.$store.getters.getActivity == "StMorningPlate" ||
  496. this.$store.getters.getActivity == "StToday"
  497. ) {
  498. this.isShow = false;
  499. } else {
  500. this.isShow = true;
  501. // 判断位串场的时候则传值type到下一个页面
  502. }
  503. // 当别名改变时,修改状态
  504. // if (sessionStorage.getItem("ballId")) {
  505. // if (sessionStorage.getItem("active")) {
  506. // sessionStorage.removeItem("active");
  507. // this.listnum = 0;
  508. // } else {
  509. // }
  510. // }
  511. this.listnum = 0;
  512. return this.$store.getters.getActivity;
  513. },
  514. getBallId(){
  515. return this.$store.getters.getBallId;
  516. }
  517. },
  518. watch: {
  519. getActivity(val) {
  520. if(val == 'StMorningPlate'){
  521. this.getAjaxInfo('','',this.serchTime);
  522. }else{
  523. this.getAjaxInfo();
  524. }
  525. this.timers = false;
  526. let _this = this;
  527. // 判断是不是早盘,是则显示时间条
  528. if (this.$store.getters.getActivity == "StMorningPlate") {
  529. this.timers = true;
  530. this.$public.ajaxTimerFun(function(timing) {
  531. if (_this.timers) {
  532. _this.getAjaxInfo("", "", _this.datetimeNum);
  533. } else {
  534. clearInterval(timing);
  535. }
  536. },(1000*180));
  537. this.dayShow = true;
  538. } else {
  539. this.dayShow = false;
  540. }
  541. if (this.$store.getters.getActivity != "StStringScene") {
  542. this.entryShow = true;
  543. } else if (this.listnum != 1) {
  544. this.entryShow = true;
  545. } else {
  546. this.entryShow = false;
  547. this.timers = true;
  548. this.$public.ajaxTimerFun(function(timing) {
  549. if (_this.timers) {
  550. _this.getAjaxInfo("", "", "", _this.listnum);
  551. } else {
  552. clearInterval(timing);
  553. }
  554. },(1000*180));
  555. }
  556. // 轮询造轮子
  557. if (
  558. this.$store.getters.getActivity == "StToday" ||
  559. this.$store.getters.getActivity == "StChampion"
  560. ) {
  561. this.timers = true;
  562. this.$public.ajaxTimerFun(function(timing) {
  563. if (_this.timers) {
  564. _this.getAjaxInfo();
  565. } else {
  566. clearInterval(timing);
  567. }
  568. },(1000*180));
  569. }
  570. },
  571. getBallId(val){
  572. // this.serchTime = this.arr[0].title;
  573. if (this.$store.getters.getActivity == "StMorningPlate") {
  574. if(val == 'zq'){
  575. this.dayShow = true;
  576. this.getAjaxInfo('','',this.serchTime)
  577. }else{
  578. this.dayShow = false;
  579. this.getAjaxInfo('','',this.arr[0].title)
  580. }
  581. } else {
  582. this.dayShow = false;
  583. this.getAjaxInfo();
  584. }
  585. }
  586. },
  587. beforeDestroy() {
  588. this.timers = false;
  589. }
  590. };
  591. </script>
  592. <style scoped>
  593. .act {
  594. transform: rotate(180deg);
  595. transition: 0.2s;
  596. }
  597. .return {
  598. transform: rotate(0deg);
  599. transition: 0.2s;
  600. }
  601. .Serch {
  602. height: 0.88rem;
  603. display: flex;
  604. justify-content: space-between;
  605. align-items: center;
  606. background: linear-gradient(to bottom, #6a6a6a, #565656);
  607. color: #f76649;
  608. font-family: "PingFang-SC-Regular";
  609. padding: 0 0.3rem;
  610. }
  611. .returnimg {
  612. width: 0.37rem;
  613. height: 0.3rem;
  614. margin-right: 0.1rem;
  615. }
  616. .Serch-box {
  617. display: flex;
  618. align-items: center;
  619. }
  620. .Serch-box-input {
  621. width: 3.8rem;
  622. border: none;
  623. position: absolute;
  624. height: 0.44rem;
  625. line-height: 0.44rem;
  626. left: 0.5rem;
  627. color: #aaa;
  628. }
  629. .Serch-box-img {
  630. width: 0.3rem;
  631. height: 0.3rem;
  632. position: absolute;
  633. left: 0.1rem;
  634. top: 0.06rem;
  635. }
  636. .Serch-box-del {
  637. width: 0.2rem;
  638. height: 0.2rem;
  639. position: absolute;
  640. right: 0.2rem;
  641. }
  642. .Serch-box-home {
  643. height: 0.45rem;
  644. line-height: 0.45rem;
  645. width: 4.73rem;
  646. background: #e4e4e4;
  647. border-radius: 0.2rem;
  648. display: flex;
  649. justify-content: space-around;
  650. align-items: center;
  651. padding-left: 0.1rem;
  652. padding-right: 0.1rem;
  653. position: relative;
  654. }
  655. .Soccer-game-title {
  656. height: 0.88rem;
  657. font-size: 0.3rem;
  658. }
  659. .Soccer-game-box {
  660. height: 0.88rem;
  661. /* padding: 0 0.32rem; */
  662. background-color: #626262;
  663. }
  664. .Soccer-game-box > p {
  665. margin: 0.3rem;
  666. color: #a6a6a6;
  667. }
  668. .Soccer-game-box p.active {
  669. color: #f76649;
  670. }
  671. .Soccer-game-src {
  672. width: 0.25rem;
  673. height: 0.15rem;
  674. /* margin-left: 0.3rem; */
  675. }
  676. .box {
  677. background: #ebebeb;
  678. padding: 0 0.14rem;
  679. height: 0.8rem;
  680. }
  681. #NavSlide {
  682. width: 100%;
  683. height: .8rem;
  684. overflow: hidden;
  685. background: #ebebeb;
  686. }
  687. #NavSlide nav {
  688. display: -webkit-box;
  689. display: -ms-flexbox;
  690. display: flex;
  691. -webkit-box-align: middle;
  692. -ms-flex-align: middle;
  693. align-items: middle;
  694. overflow: auto;
  695. background: #ebebeb;
  696. }
  697. #NavSlide p {
  698. text-align: center;
  699. font-size: 0.28rem;
  700. -ms-flex-negative: 0;
  701. flex-shrink: 0;
  702. padding: 0 0.1rem;
  703. margin: 0 0.05rem;
  704. color: #b8b8b8;
  705. height: 0.8rem;
  706. line-height: 0.8rem;
  707. }
  708. /* #NavSlide p a{
  709. color: #E5E5E5;
  710. text-decoration: none;
  711. } */
  712. #NavSlide p span.active {
  713. color: #363636;
  714. }
  715. .yd-cell-box .yd-cell {
  716. z-index: 99;
  717. border-radius: 0.2rem;
  718. }
  719. .matchBox {
  720. margin-bottom: 0.12rem;
  721. background: #f9f9f9;
  722. padding: 0.27rem 0.34rem 0 0.32rem;
  723. }
  724. div /deep/ .yd-accordion-head {
  725. padding: 0 0.13rem 0 0;
  726. }
  727. div /deep/ .yd-accordion-content:after {
  728. height: 0;
  729. }
  730. .match .tit {
  731. display: flex;
  732. justify-content: space-between;
  733. font-size: 0.32rem;
  734. margin-bottom: 0.3rem;
  735. }
  736. .match .list {
  737. overflow: hidden;
  738. transition: all 0.3s cubic-bezier(0.4, 0.6, 0.2, 1);
  739. }
  740. .match .list div {
  741. background: #dcdcdc;
  742. width: 100%;
  743. height: 0.88rem;
  744. padding: 0.26rem 0.56rem 0.3rem 0.3rem;
  745. display: flex;
  746. align-items: center;
  747. justify-content: space-between;
  748. border-radius: 0.08rem;
  749. margin-bottom: 0.12rem;
  750. }
  751. div /deep/ .yd-accordion-head:after {
  752. height: 0;
  753. }
  754. .match .list span {
  755. color: #333333;
  756. font-size: 0.28rem;
  757. }
  758. .match .list .num {
  759. width: 0.4rem;
  760. height: 0.4rem;
  761. display: inline-block;
  762. line-height: 0.4rem;
  763. text-align: center;
  764. color: #f5f5f5;
  765. border-radius: 50%;
  766. font-size: 0.2rem;
  767. background: #f76649;
  768. }
  769. .yd-accordion {
  770. background: transparent;
  771. }
  772. .match .list div:nth-last-child(1) {
  773. margin-bottom: 0.34rem;
  774. }
  775. div /deep/ .yd-accordion-head,
  776. div /deep/ .yd-accordion-head-content,
  777. div /deep/ .yd-accordion-title,
  778. div /deep/ .yd-accordion-title-full {
  779. height: 0.3rem;
  780. }
  781. div /deep/ .yd-accordion-title {
  782. min-height: 0;
  783. }
  784. div /deep/ .yd-accordion-head {
  785. margin-bottom: 0.3rem;
  786. }
  787. div /deep/ .yd-accordion-head-arrow:after {
  788. border: none;
  789. width: 0.4rem;
  790. height: 0.4rem;
  791. background: url("../assets/st-imges/xiangxia.png") no-repeat;
  792. background-size: 0.4rem 0.4rem;
  793. }
  794. /* 参赛表 */
  795. .entry .list {
  796. height: 0.88rem;
  797. padding: 0.2rem;
  798. width: 100%;
  799. background: #a0a0a0;
  800. color: #fefefe;
  801. display: flex;
  802. justify-content: space-between;
  803. border-bottom: 1px solid #aaa;
  804. }
  805. .entry .list .num {
  806. width: 0.4rem;
  807. height: 0.4rem;
  808. display: inline-block;
  809. line-height: 0.4rem;
  810. text-align: center;
  811. color: #f5f5f5;
  812. border-radius: 50%;
  813. font-size: 0.2rem;
  814. background: #f76649;
  815. }
  816. </style>