4803fc58f867ebe93f93f2c8ffd71d2cb1f964b9.svn-base 25 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799
  1. <template>
  2. <div>
  3. <div>
  4. <!-- 搜索框 -->
  5. <div class="serch row item-center allAlignment" v-if="noShow">
  6. <div class="row center all pointer hover br05 fz14" @click="elasticFrame()">
  7. <span style="font-size:.14rem;color:#ccc;">选择联赛</span>
  8. </div>
  9. <div class="row item-center">
  10. <div class="row item-center">
  11. <input
  12. class="fz14"
  13. type="text"
  14. placeholder="请输入联赛和球队名称"
  15. v-model="serchTxt"
  16. onkeyup="this.value=this.value.replace(/\s+/g,'')"
  17. color="#AAA"
  18. >
  19. <div class="row center serch-img pointer hover" @click="Serch()">
  20. <img src="@/assets/st-imges/serch.png" alt>
  21. </div>
  22. </div>
  23. <div class="row item-center">
  24. <div class="row center clear pointer hover br05 fz14" @click="clearSerchTxt()">清除</div>
  25. <div class="row center redraw pointer hover br05" @click="red()">
  26. <img src="@/assets/st-imges/redraw.png" alt>
  27. </div>
  28. </div>
  29. </div>
  30. </div>
  31. <!-- 日期 -->
  32. <div v-if="(this.$store.getters.getActivity == 'StMorningPlate'||this.$store.getters.getActivity == 'StMorningPlate')" class="date row item-center pdg20">
  33. <nav class="row datebox scroll allAlignment">
  34. <p @click="dateActive(item.id)" :class="dateClick == item.id?'dateShow':''" v-for="(item,index) in date" :key="index">{{item.title}}</p>
  35. </nav>
  36. </div>
  37. <!-- 列表 -->
  38. <div v-for="(item,index) in data" :key="item.id">
  39. <!-- 联赛 -->
  40. <div class="header pdg20 row item-center">{{item.leagueName}}</div>
  41. <!-- 表格 -->
  42. <div class="list" v-for="(e,i) in item.matchData" :key="e.id">
  43. <div class="list-header row item-center pdg20">
  44. <div class="list-header-time row allAlignment">
  45. <div class="row item-center wrap">
  46. <p style="width:100%;">{{e.match_date}}</p>
  47. <p style="color:rgb(247, 102, 73);margin-left:.1rem;width:100%;">{{e.match_time}}</p>
  48. </div>
  49. <div
  50. class="list-header-time-num triangle row center"
  51. @click="getTournamentPlay(e.match_id)"
  52. >{{e.tag}} ></div>
  53. </div>
  54. <div class="list-header-title row">
  55. <div class="row item-center pdg20 average" style="min-height:.5rem">
  56. <span>让球</span>
  57. <span>大/小</span>
  58. </div>
  59. <div class="row center" style="min-height:.5rem;">单/双</div>
  60. </div>
  61. </div>
  62. <div class="list-body row pdg20" style="position: relative;">
  63. <div class="list-body-name row">
  64. <!-- <div class="row center" style="width:30%;color: rgb(68, 100, 36);">
  65. <span>5局</span>
  66. </div>-->
  67. <div style="width:100%;">
  68. <p style="width:100%">{{e.home_team}}</p>
  69. <p style="width:100%">{{e.guest_team}}</p>
  70. </div>
  71. </div>
  72. <div class="list-body-center row" style="position: relative;">
  73. <div class="row item-center" style="border-right:.01rem solid #ccc;">
  74. <!-- 让球 -->
  75. <div class="row" style="position: relative;">
  76. <div v-for="(itemList,idx) in e.oddsData" :key="itemList.id">
  77. <!-- 让球主队 -->
  78. <div v-if="itemList.odds_code.startsWith('co')">
  79. <div>
  80. <div
  81. class="row item-center theball rightAlignment"
  82. style="min-height:.4rem;"
  83. v-if="itemList.odds_code == 'coh'"
  84. >
  85. <div>{{itemList.condition}}</div>
  86. <div class="btn" @click="selection(index,i,idx,itemList.id,itemList.p_code,itemList.match_id,e.home_team,e.guest_team,e.home_team,'让球')" :class="{col:itemList.isTrue,rising:itemList.change == 'rising',falling:itemList.change == 'falling'}">{{itemList.odds}}</div>
  87. </div>
  88. <!-- 让球客队 -->
  89. <div
  90. class="row item-center theball guest rightAlignment"
  91. style="min-height:.4rem;"
  92. v-if="itemList.odds_code == 'cog'"
  93. >
  94. <div>{{itemList.condition}}</div>
  95. <div class="btn" @click="selection(index,i,idx,itemList.id,itemList.p_code,itemList.match_id,e.home_team,e.guest_team,e.guest_team,'让球')" :class="{col:itemList.isTrue,rising:itemList.change == 'rising',falling:itemList.change == 'falling'}">{{itemList.odds}}</div>
  96. </div>
  97. </div>
  98. </div>
  99. <!-- 大小 -->
  100. <div v-if="itemList.odds_code.startsWith('tn')">
  101. <div
  102. class="row item-center size rightAlignment"
  103. style="min-height:.4rem;"
  104. v-if="itemList.odds_code == 'tnb'"
  105. >
  106. <div style>
  107. <i>大</i>
  108. <span>{{itemList.condition}}</span>
  109. </div>
  110. <div class="btn" @click="selection(index,i,idx,itemList.id,itemList.p_code,itemList.match_id,e.home_team,e.guest_team,e.home_team,'大小')" :class="{col:itemList.isTrue,rising:itemList.change == 'rising',falling:itemList.change == 'falling'}">{{itemList.odds}}</div>
  111. </div>
  112. <div
  113. class="row item-center size guest rightAlignment"
  114. style="min-height:.4rem;"
  115. v-if="itemList.odds_code == 'tns'"
  116. >
  117. <div>
  118. <i>小</i>
  119. <span>{{itemList.condition}}</span>
  120. </div>
  121. <div class="btn" @click="selection(index,i,idx,itemList.id,itemList.p_code,itemList.match_id,e.home_team,e.guest_team,e.guest_team,'大小')" :class="{col:itemList.isTrue,rising:itemList.change == 'rising',falling:itemList.change == 'falling'}">{{itemList.odds}}</div>
  122. </div>
  123. </div>
  124. </div>
  125. </div>
  126. </div>
  127. <div class="row item-center average" style="position: relative;">
  128. <!--单双 -->
  129. <div v-for="(itemList,idx) in e.oddsData" :key="itemList.id">
  130. <div class="pdg20">
  131. <div class="row allAlignment" v-if="itemList.odds_code.startsWith('ts')">
  132. <div
  133. class="row item-center ballbig rightAlignment"
  134. v-if="itemList.odds_code.endsWith('tss')"
  135. >
  136. <div>{{itemList.condition}}</div>
  137. <div class="btn" @click="selection(index,i,idx,itemList.id,itemList.p_code,itemList.match_id,e.home_team,e.guest_team,e.home_team,'单双')" :class="{col:itemList.isTrue,rising:itemList.change == 'rising',falling:itemList.change == 'falling'}">{{itemList.odds}}</div>
  138. </div>
  139. </div>
  140. <div class="row allAlignment" v-if="itemList.odds_code.startsWith('ts')">
  141. <div
  142. class="row item-center ballsmall rightAlignment"
  143. v-if="itemList.odds_code.endsWith('tsd')"
  144. >
  145. <div>{{itemList.condition}}</div>
  146. <div class="btn" @click="selection(index,i,idx,itemList.id,itemList.p_code,itemList.match_id,e.home_team,e.guest_team,e.guest_team,'单双')" :class="{col:itemList.isTrue,rising:itemList.change == 'rising',falling:itemList.change == 'falling'}">{{itemList.odds}}</div>
  147. </div>
  148. </div>
  149. </div>
  150. </div>
  151. </div>
  152. </div>
  153. <div @click="promptInfo()" class="right-img">
  154. <img style="margin-bottom:.1rem" src="@/assets/st-imges/TheGame.png">
  155. <br>
  156. <img src="@/assets/st-imges/TheScore.png">
  157. </div>
  158. </div>
  159. <!-- <div v-if="e.five">
  160. <div class="list-body-name row">
  161. <div style="width:70%;">
  162. <p style="width:100%">{{e.home_team}}</p>
  163. <p style="width:100%">{{e.guest_team}}</p>
  164. </div>
  165. </div>
  166. </div>-->
  167. </div>
  168. </div>
  169. </div>
  170. <div v-if="noData">
  171. <noData/>
  172. </div>
  173. </div>
  174. </template>
  175. <script>
  176. import "@/css/index.css";
  177. import noData from '@/components/noData';
  178. export default {
  179. name: "baseballTheBallSize",
  180. components:{
  181. noData
  182. },
  183. data() {
  184. return {
  185. date: [{id:'all',title:'全部'}],//日期
  186. dateClick:'all',//激活的日期
  187. serchTxt: "",
  188. // pCode: this.$store.getters.getPaly_code, //传入接口的值
  189. activity: this.$store.getters.getActivity,
  190. // ballCode: this.$store.getters.getBallCode, //传入接口的值
  191. data: [], //数据
  192. noData : false, // 暂无赛事数据显示
  193. limit : '',
  194. passLimit:'',
  195. timers:true,//轮询开关
  196. dataList:[],
  197. noShow : true,
  198. lg_id:'',//联赛
  199. };
  200. },
  201. methods: {
  202. /*******************直播比赛数据提示*******************/
  203. promptInfo(){
  204. this.$dialog.alert({mes: '此功能占未开放'});
  205. },
  206. // 跳转组件
  207. getTournamentPlay(match_id) {
  208. this.$store.dispatch("MACTH_ID", match_id);
  209. this.$store.dispatch("SET_CONTROLROUTING", 10010);
  210. },
  211. getAJAX(lg_id,search) {
  212. this.$http
  213. .get(this.$ports.home.gameList, {
  214. type: this.$store.getters.getActivity,
  215. p_code: this.$store.getters.getPaly_code,
  216. game_code: this.$store.getters.getBallCode,
  217. match_date:this.dateClick == 'all'? '': this.dateClick,
  218. lg_id, //需要拷贝
  219. search
  220. })
  221. .then(res => {
  222. if (res.data.status == 1 && res.data.data.length >0) {
  223. this.noData = false;
  224. // console.log('res',res)
  225. //this.matchDataDeal(res.data.data[0]);
  226. //数据匹配判断是否上一次有数据
  227. // if(this.dataList.length){
  228. // this.$public.oddsDataUpdate(res.data.data[0],this.dataList,1)
  229. // }
  230. if(res.data.data[0]){
  231. this.data = res.data.data[0];
  232. }
  233. console.log(this.data);
  234. //临时储存数据
  235. this.dataList = res.data.data[0];
  236. let betting = '';
  237. if(this.$store.getters.getActivity == 'StStringScene'){
  238. betting = this.$store.getters.getPassBetting;
  239. }else{
  240. betting = this.$store.getters.getBetting;
  241. }
  242. this.dataGroup(this.data,betting)
  243. this.$store.dispatch("GETLOADING", false);
  244. }else{
  245. this.noData = true;
  246. }
  247. this.noShow = true;
  248. this.$store.dispatch("GETLOADING", false);
  249. });
  250. },
  251. dataGroup(data,betting){
  252. if(betting != null && betting.length > 0){
  253. // console.log('bet',betting)
  254. data.forEach(e =>{
  255. e.matchData.forEach(k =>{
  256. k.oddsData.forEach(item =>{
  257. betting.forEach(i =>{
  258. i.data.forEach(j =>{
  259. if(j.id == item.id){
  260. item.isTrue = true
  261. }
  262. })
  263. })
  264. })
  265. })
  266. })
  267. }
  268. },
  269. // 选中
  270. selection(idx,i,index,id,p_code,match_id,homeName,guestName,name,playName) {
  271. // console.log(idx,i,index,id,p_code,match_id,homeName,guestName,name,playName)
  272. //调用投注公共方法
  273. let _this = this;
  274. let ballId = this.$store.getters.getBallCode;
  275. let acty = this.$store.getters.getActivity;
  276. let teamName = {
  277. home : homeName,
  278. guest : guestName
  279. }
  280. if(this.$store.getters.getActivity == 'StStringScene'){
  281. let betting = this.$store.getters.getPassBetting;
  282. if(betting == null){
  283. betting = [];
  284. }
  285. this.$public.strandPublicBetting(this.data,p_code,id,idx,i,index,betting,acty,match_id,playName,name,ballId,homeName,guestName,this.passLimit,function(data,type){
  286. if(type){
  287. _this.$dialog.toast({ mes: "亲,超出表格上限啦。", timeout: 2000 });
  288. }
  289. _this.$store.dispatch("SET_PASSBETTING",[]);
  290. _this.$store.dispatch("SET_PASSBETTING",data);
  291. })
  292. }else{
  293. let betting = this.$store.getters.getBetting;
  294. this.$public.publicBetting(this.data,p_code,id,idx,i,index,betting,acty,match_id,teamName,playName,name,ballId,this.limit,function(data,type){
  295. if(type){
  296. _this.$dialog.toast({ mes: "亲,超出表格上限啦。", timeout: 2000 });
  297. }
  298. _this.$store.dispatch("SET_BETTING",[]);
  299. _this.$store.dispatch("SET_BETTING",data);
  300. })
  301. }
  302. // 串场为单串
  303. if(this.limit < 10){
  304. this.data[idx].matchData.forEach((val,i) =>{
  305. val.oddsData.forEach(item =>{
  306. if(this.$store.getters.getActivity == 'StStringScene'){
  307. if(this.passLimit < 10){
  308. if(val.match_id == match_id){
  309. // 当isTrue值为true时,点击时置为false
  310. if(item.id == id){
  311. console.log(item.isTrue)
  312. if(item.isTrue == true){
  313. this.$forceUpdate();
  314. item.isTrue = false
  315. }else if(item.isTrue = false){
  316. this.$forceUpdate();
  317. item.isTrue = true
  318. }else{
  319. this.$forceUpdate();
  320. this.$set(item, "isTrue", item.isTrue ? false : true);
  321. }
  322. }else{
  323. if(item.isTrue == true){
  324. item.isTrue = false;
  325. }
  326. }
  327. }
  328. }else{
  329. if(item.id == id){
  330. this.$forceUpdate();
  331. this.$set(item,'isTrue',false)
  332. }
  333. }
  334. }else{
  335. if(item.id == id){
  336. this.$forceUpdate();
  337. this.$set(item, "isTrue", item.isTrue ? false : true);
  338. }
  339. }
  340. })
  341. })
  342. }else{
  343. this.data[idx].matchData.forEach(val =>{
  344. val.oddsData.forEach(item =>{
  345. if(item.id == id){
  346. this.$set(item,'isTrue',false)
  347. }
  348. })
  349. })
  350. }
  351. },
  352. //赛事数据处理
  353. matchDataDeal(data) {
  354. data.forEach(e => {
  355. e.matchData.forEach(res => {
  356. res.oddsData.forEach(data => {
  357. if (data.odds_code.startsWith("five")) {
  358. res.five = true;
  359. }
  360. });
  361. });
  362. });
  363. },
  364. //搜索按钮被点击
  365. Serch() {
  366. if (this.serchTxt === "") {
  367. this.$dialog.toast({ mes: "请输入您想要搜索的内容。", timeout: 2000 });
  368. return false;
  369. } else {
  370. this.data = [];
  371. this.$store.dispatch("SET_LEAGUEDATA",[]); //需要拷贝
  372. this.getAJAX('',this.serchTxt) //需要拷贝
  373. }
  374. },
  375. // 删除搜索框内容
  376. clearSerchTxt() {
  377. if(this.serchTxt != ""){
  378. this.data = [];
  379. this.serchTxt = "";
  380. this.$store.dispatch("SET_LEAGUEDATA",[]); //需要拷贝
  381. this.getAJAX();
  382. }
  383. },
  384. // 刷新
  385. red() {
  386. this.serchTxt = "";
  387. this.lg_id ="";
  388. this.$store.dispatch("SET_LEAGUEDATA",[]); //需要拷贝
  389. if (this.serchTxt.length > 0) {
  390. this.Serch();
  391. } else {
  392. this.data = '';
  393. this.getAJAX();
  394. }
  395. },
  396. //跳转到联赛选择页
  397. elasticFrame() {
  398. this.$store.dispatch("SET_CONTROLROUTING", 10015);
  399. },
  400. // 日期计算
  401. fun_date() {
  402. let date = new Date();
  403. let MonthNum = 0;
  404. let lastMonth = new Date(date.getFullYear(),date.getMonth() + 1,0).getDate();
  405. for (let i = 1; i < 7; i++) {
  406. let years = date.getFullYear();
  407. let month = date.getMonth() + 1;
  408. let day =
  409. date.getDate() + i < 10
  410. ? "0" + (date.getDate() + i)
  411. : date.getDate() + i;
  412. if (date.getDate() + i > lastMonth) {
  413. MonthNum++;
  414. month = date.getMonth() + 2;
  415. day = "0" + MonthNum;
  416. }
  417. let time = {};
  418. time.id = years + "-" + month + "-" + day;
  419. time.title =years+' - '+month + " - " + day;
  420. this.date.push(time);
  421. }
  422. },
  423. dateActive(str){
  424. this.dateClick = str;
  425. this.getAJAX(this.lg_id,this.serchTxt);
  426. },
  427. },
  428. created(){
  429. this.fun_date();
  430. },
  431. mounted() {
  432. //获取选择的联赛id
  433. if(this.$store.getters.getLeagueData.length >0 ){
  434. if(this.$store.getters.getLeagueData.length == 1){
  435. this.lg_id = this.$store.getters.getLeagueData[0]
  436. }else{
  437. this.lg_id = this.$store.getters.getLeagueData.join(',');
  438. }
  439. }
  440. //需要拷贝
  441. this.$store.dispatch("GETLOADING", true);
  442. this.$store.dispatch("SET_BETTING",[]);
  443. this.getAJAX(this.lg_id);
  444. let _this = this;
  445. this.$public.ajaxTimerFun((timing)=>{
  446. if(_this.timers){
  447. _this.getAJAX(_this.lg_id,_this.serchTxt);
  448. }else{
  449. clearInterval(timing)
  450. }
  451. })
  452. },
  453. beforeDestroy(){
  454. this.timers = false;
  455. },
  456. computed: {
  457. getActy() {
  458. return this.$store.getters.getActivity;
  459. },
  460. // getPaly_code() {
  461. // return this.$store.getters.getPaly_code;
  462. // },
  463. // getBallId() {
  464. // return this.$store.getters.getBallCode;
  465. // },
  466. //获取投注数量
  467. getLimit() {
  468. return this.$store.getters.getLimit;
  469. },
  470. getPassLimit(){
  471. return this.$store.getters.getPassLimit;
  472. },
  473. //获取投注框删除的投注信息
  474. getDeleteType() {
  475. return this.$store.getters.getDeleteType;
  476. }
  477. },
  478. watch: {
  479. getActy(val) {
  480. this.activity = val;
  481. // this.data = '';
  482. this.getAJAX();
  483. this.$store.dispatch("SET_BETTING",[]);//设置默认值
  484. if(val != 'StStringScene'){
  485. this.$store.dispatch("SET_PASSBETTING",[]);
  486. }
  487. },
  488. // getPaly_code(val) {
  489. // this.pCode = val;
  490. // this.getAJAX();
  491. // },
  492. // getBallId(val) {
  493. // this.ballCode = val;
  494. // this.getAJAX();
  495. // },
  496. getLimit(val){
  497. this.limit = val;
  498. if(this.$store.getters.getActivity == 'StStringScene'){
  499. }else{
  500. if(val == 0){
  501. this.data.forEach(e =>{
  502. e.matchData.forEach(k =>{
  503. k.oddsData.forEach(item =>{
  504. if(item.isTrue){
  505. this.$forceUpdate();
  506. item.isTrue = false;
  507. }
  508. })
  509. })
  510. })
  511. }
  512. }
  513. },
  514. getPassLimit(val){
  515. this.passLimit = val;
  516. if(this.$store.getters.getActivity == 'StStringScene'){
  517. if(val == 0){
  518. this.data.forEach(e =>{
  519. e.matchData.forEach(k =>{
  520. k.oddsData.forEach(item =>{
  521. if(item.isTrue){
  522. this.$forceUpdate();
  523. item.isTrue = false;
  524. }
  525. })
  526. })
  527. })
  528. }
  529. }
  530. },
  531. getDeleteType(val){
  532. let jumpOut = false;
  533. for(var i = 0; i < this.data.length; i++){
  534. for(var k = 0; k < this.data[i].matchData.length; k++){
  535. for(var j = 0; j < this.data[i].matchData[k].oddsData.length;j++){
  536. if(this.data[i].matchData[k].oddsData[j].id == val){
  537. this.$forceUpdate();
  538. this.data[i].matchData[k].oddsData[j].isTrue = false;
  539. jumpOut = true;
  540. break;
  541. }
  542. }
  543. if(jumpOut == true){
  544. break;
  545. }
  546. }
  547. if(jumpOut == true){
  548. break;
  549. }
  550. }
  551. },
  552. }
  553. };
  554. </script>
  555. <style scoped>
  556. .serch {
  557. width: 100%;
  558. height: 0.5rem;
  559. background: #aaa;
  560. padding: 0 0.2rem;
  561. }
  562. input {
  563. border: none;
  564. background: #efefef;
  565. padding-left: 0.2rem;
  566. width: 4.6rem;
  567. height: 0.3rem;
  568. border-radius: 0.05rem 0 0 0.05rem;
  569. }
  570. .serch-img {
  571. width: 0.5rem;
  572. height: 0.3rem;
  573. background: #666;
  574. border-radius: 0 0.05rem 0.05rem 0;
  575. margin-right: 0.3rem;
  576. }
  577. .all {
  578. width: 1.2rem;
  579. height: 0.3rem;
  580. background: #666;
  581. color: #333;
  582. }
  583. .clear {
  584. width: 0.6rem;
  585. height: 0.3rem;
  586. background: #666;
  587. color: #ccc;
  588. margin-right: 0.1rem;
  589. }
  590. .redraw {
  591. width: 0.3rem;
  592. height: 0.3rem;
  593. background: #666;
  594. }
  595. img {
  596. width: 0.2rem;
  597. height: 0.2rem;
  598. }
  599. .br05 {
  600. border-radius: 0.05rem;
  601. }
  602. .fz14 {
  603. font-size: 0.14rem;
  604. }
  605. .hover:hover {
  606. background: #bbb;
  607. color: #fff!important;
  608. }
  609. .hover:hover span{
  610. color: #fff!important;
  611. }
  612. .pointer {
  613. cursor: pointer;
  614. }
  615. .pdg20 {
  616. padding: 0 0.2rem;
  617. }
  618. .header {
  619. width: 100%;
  620. min-height: 0.4rem;
  621. background: #ccc;
  622. font-size: 0.16rem;
  623. color: #333;
  624. }
  625. .list {
  626. width: 100%;
  627. }
  628. .list-header {
  629. height: 0.5rem;
  630. background: #e5e5e5;
  631. font-size: 0.14rem;
  632. }
  633. .list-header-time {
  634. width: 26%;
  635. }
  636. .list-header-time-num {
  637. width: 0.5rem;
  638. min-height: 0.5rem;
  639. background: #bbb;
  640. color: #fff;
  641. cursor: pointer;
  642. }
  643. .list-header-time-num::after {
  644. border-width: 0.05rem;
  645. border-left-color: #e5e5e5;
  646. border-top-color: #e5e5e5;
  647. left: 40%;
  648. bottom: -0.05rem;
  649. -webkit-transform: rotate(45deg);
  650. transform: rotate(45deg);
  651. }
  652. .list-header-title {
  653. width: 70%;
  654. min-height: 0.5rem;
  655. }
  656. .list-header-title > div {
  657. width: 50%;
  658. height: 100%;
  659. color: #aaa;
  660. }
  661. .list-body {
  662. font-size: 0.14rem;
  663. min-height: 0.8rem;
  664. background: #fcfcfc;
  665. }
  666. .list-body:hover {
  667. background: #fff5e9;
  668. }
  669. .list-body-name {
  670. width: 26%;
  671. line-height: 0.4rem;
  672. }
  673. .list-body-center {
  674. width: 70%;
  675. }
  676. .list-body-center > div {
  677. width: 50%;
  678. min-height: 0.5rem;
  679. }
  680. .list-body-center > div > div {
  681. width: 100%;
  682. height: 100%;
  683. }
  684. .list-body-center > div > div span {
  685. line-height: 0.4rem;
  686. text-align: right;
  687. color: #f76649;
  688. }
  689. .btn {
  690. width: 0.48rem !important;
  691. height: 0.3rem;
  692. text-align: center;
  693. line-height: 0.3rem;
  694. background: #fcfcfc;
  695. border-radius: 0.05rem;
  696. border: 0.01rem solid #eee;
  697. cursor: pointer;
  698. }
  699. .btn:hover {
  700. background: #ddd;
  701. color: #f76649;
  702. }
  703. .list-header-title p {
  704. width: 0.82rem;
  705. text-align: center;
  706. min-height: 0.5rem;
  707. line-height: 0.5rem;
  708. }
  709. .theball {
  710. position: absolute;
  711. left: 10%;
  712. top: 2%;
  713. width: 0.8rem;
  714. }
  715. .size {
  716. position: absolute;
  717. left: 50%;
  718. top: 2%;
  719. }
  720. .guest {
  721. top: 50%;
  722. }
  723. .ballbig {
  724. position: absolute;
  725. left: 32%;
  726. top: 8%;
  727. width: 0.8rem;
  728. }
  729. .ballsmall {
  730. position: absolute;
  731. left: 32%;
  732. top: 56%;
  733. width: 0.8rem;
  734. }
  735. .right-img {
  736. width: 0.15rem;
  737. position: absolute;
  738. right: 0.3rem;
  739. bottom: 0.1rem;
  740. }
  741. .right-img img {
  742. width: 0.22rem;
  743. height: 0.2rem;
  744. }
  745. .col {
  746. border-radius: 2px;
  747. background: #f76649;
  748. color: #fff;
  749. }
  750. /* 日期样式 */
  751. .date {
  752. height: 0.4rem;
  753. background: #898989;
  754. font-size: .16rem;
  755. color: #fff;
  756. font-weight: bold;
  757. }
  758. .date > p {
  759. width: 0.26rem;
  760. height: 0.26rem;
  761. background: #bbb;
  762. border-radius: 0.05rem;
  763. }
  764. .date div {
  765. width: 100%;
  766. height: 100%;
  767. }
  768. .datebox {
  769. overflow-x: auto;
  770. overflow-y: hidden;
  771. width: 100%;
  772. height: 0.4rem;
  773. }
  774. .datebox p {
  775. text-align: center;
  776. line-height: .4rem;
  777. padding: 0 .05rem;
  778. cursor: pointer;
  779. font-size: .16rem;
  780. }
  781. .dateShow{
  782. color: #f76649;
  783. }
  784. </style>