055041c3dc7823eccf2d6c7d5309fb51eb0c8229.svn-base 24 KB

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