3fa2069afa34dec6d7804f20fca2f6dec02384a4.svn-base 22 KB

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