Wait.vue 25 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838
  1. <template>
  2. <div :class="pageStyle">
  3. <Headside></Headside>
  4. <div class="rankContainer">
  5. <div class="lt">
  6. <div class="recordMain">
  7. <el-carousel :interval="30000" height="370px">
  8. <el-carousel-item v-for="rs in recordMain">
  9. <div>
  10. <h5 v-html="rs.Title"></h5>
  11. <div class="sumContainer">
  12. <div class="sum">
  13. <s>{{rs.Result[0].Unite}}</s>
  14. <em>{{rs.Result[0].Values}}</em>
  15. </div>
  16. <span class="sumBg"></span>
  17. </div>
  18. </div>
  19. </el-carousel-item>
  20. </el-carousel>
  21. </div>
  22. <div class="bottom">
  23. <el-carousel :interval="15000" height="280px">
  24. <el-carousel-item v-for="Rs in bottom">
  25. <div class="topOne" v-if="Rs.Style == 'tops'">
  26. <h5>{{Rs.Title}}</h5>
  27. <ul>
  28. <li v-for="(tops,i) in Rs.Result">
  29. <div class="dgCenter">
  30. <div class="dghead">
  31. <img :id="'circle_'+i"
  32. v-bind:src="tops.Head" alt="" v-if="tops.Head">
  33. <img :id="'circle_'+i"
  34. v-bind:src="require('../static/img/people/flyhead.png')" alt=""
  35. v-if="!tops.Head">
  36. <s>{{ tops.UserName }}</s>
  37. </div>
  38. <div class="score">
  39. <em>{{ tops.Values}}</em>
  40. <span>
  41. {{tops.Message}}
  42. </span>
  43. </div>
  44. </div>
  45. </li>
  46. </ul>
  47. </div>
  48. <div class="heros" v-if="Rs.Style == 'heros'">
  49. <h5>{{Rs.Title}}</h5>
  50. <ul>
  51. <li v-for="(hero,i) in Rs.Result">
  52. <img :id="'circle_'+i"
  53. v-bind:src="hero.Head" alt="" v-if="hero.Head">
  54. <img :id="'circle_'+i"
  55. v-bind:src="require('../static/img/people/flyhead.png')"
  56. alt="" v-if="!hero.Head">
  57. <img src="../static/img/wait/boy.png" class="sex" v-if="hero.Sex == 1"/>
  58. <img src="../static/img/wait/girl.png" class="sex" v-if="hero.Sex == 2"/>
  59. <div>
  60. <em :id="'red_'+i">No.{{i+1}}</em> {{ hero.UserName }}
  61. </div>
  62. <span>{{ hero.Values }} {{hero.Unite}}</span>
  63. </li>
  64. <li v-if="!Rs.Result">
  65. <h5>还没有人突破记录哟~</h5>
  66. </li>
  67. </ul>
  68. </div>
  69. </el-carousel-item>
  70. </el-carousel>
  71. </div>
  72. </div>
  73. <div class="rt">
  74. <el-carousel :interval="15000" height="610px">
  75. <el-carousel-item v-for="Rs in rt">
  76. <h5>{{Rs.Title}}</h5>
  77. <ul>
  78. <li v-for="s in Rs.Result">
  79. <img :src="s.Head" alt="" v-if="s.Head">
  80. <img v-bind:src="require('../static/img/people/flyhead.png')" alt="" v-if="!s.Head">
  81. <em>{{s.UserName}}</em>
  82. <s>{{s.Values}}</s>
  83. </li>
  84. </ul>
  85. </el-carousel-item>
  86. </el-carousel>
  87. </div>
  88. </div>
  89. </div>
  90. </template>
  91. <script>
  92. import Headside from '@/components/Headside'
  93. import {
  94. getHello,
  95. getClassStat,
  96. HerosRankingQuery,
  97. CalorieStatsQuery,
  98. UserRankingQuery
  99. } from '@/api/getApiRes'
  100. import '../libs/rem';
  101. import '../Global'
  102. // 测试模式 localStorage.eqSn = "8e501b0bde9ce600"
  103. let qs = require('qs');
  104. export default {
  105. data() {
  106. return {
  107. eqSn: '30:9C:23:0C:8B:1E',
  108. pageStyle: RandomBg(),
  109. trueDate: true,//真实数据 true false
  110. autoplayStatus: false,// false
  111. fakeNums: 8,//
  112. unite: '卡路里',
  113. topMsg: '',
  114. students: [],
  115. studentsLimit: [],
  116. showType: 2,//1 单人
  117. curIndex: false,//1 单人
  118. waitTimer: null,//null
  119. test:
  120. {
  121. Title: '本<s style="font-size: 0.7rem;color: red">周</s>场馆卡路里总消耗',
  122. Title2: '本<s style="font-size: 0.7rem;color: red">月</s>场馆卡路里总消耗',
  123. Result: [{'Values': 0, Unite: '千卡'}],
  124. },
  125. recordMain: [],
  126. bottom: {},
  127. rt: [],
  128. }
  129. },
  130. mounted() {
  131. // this.$router.push({path: '/2pkRank'});
  132. if (this.trueDate) {
  133. this.waitTimer = setInterval(() => {
  134. // this.GetgetUserList();
  135. this.curgetClassStat();
  136. this.GetHerosRankingQuery();
  137. this.GetCalorieStatsQuery();
  138. this.GetUserRankingQuery();
  139. }, 1000);
  140. } else {
  141. this.students = this.fakeNews();
  142. this.studentsLimit = this.fakeNewsLimit();
  143. this.topMsg = this.students[0];
  144. this.bottom = [
  145. {
  146. "Title": "本周消耗卡路里英雄榜",
  147. "Style": "heros",
  148. "Result": [
  149. {
  150. "UserName": "段长鹏",
  151. "Sex": 1,
  152. "Head": "",
  153. "Values": "4744",
  154. "Unite": "千卡",
  155. "Message": ""
  156. },
  157. {
  158. "UserName": "贾雨奇",
  159. "Sex": 1,
  160. "Head": "http://192.168.0.2/flyhead.png",
  161. "Values": "4034",
  162. "Unite": "千卡",
  163. "Message": ""
  164. },
  165. {
  166. "UserName": "郑伟",
  167. "Sex": 1,
  168. "Head": "http://192.168.0.2/flyhead.png",
  169. "Values": "2290",
  170. "Unite": "千卡",
  171. "Message": ""
  172. }
  173. ]
  174. },
  175. {
  176. "Title": "单次CK值(新个人记录)",
  177. "Style": "tops",
  178. "Result": [
  179. {
  180. "UserName": "郑伟",
  181. "Sex": 1,
  182. "Head": "",
  183. "Values": "1022",
  184. "Unite": "",
  185. "Message": "打破了历史记录100000"
  186. },
  187. {
  188. "UserName": "郑伟",
  189. "Sex": 1,
  190. "Head": "http://192.168.0.2/flyhead.png",
  191. "Values": "1020",
  192. "Unite": "",
  193. "Message": "打破了历史记录100000"
  194. }
  195. ]
  196. }
  197. ];
  198. this.rt = [
  199. {
  200. Title: '月度CK值排行',
  201. Result: this.fakeNews(),
  202. },
  203. {
  204. Title: '月度卡路里值排行',
  205. Result: this.fakeNews(),
  206. }
  207. ];
  208. this.recordMain = [
  209. {
  210. Title: '本<s>周</s>场馆卡路里总消耗',
  211. Result: [{'Values': 0, Unite: '千卡'}],
  212. },
  213. {
  214. Title: '本<s>周</s>场馆卡路里总消耗',
  215. Result: [{'Values': 0, Unite: '千卡'}],
  216. }
  217. ]
  218. }
  219. },
  220. beforeDestroy() {
  221. clearInterval(this.waitTimer);
  222. this.waitTimer = null;
  223. },
  224. methods: {
  225. fakeNews() {
  226. let item = [];
  227. for (var i = 0; i < 7; i++) {
  228. item.push(
  229. {
  230. "hubId": 0,
  231. "deviceId": 22756,
  232. "calorie": 96.5,
  233. "Values ": 96.5,
  234. "heartRate": i * 5,
  235. "step": i * 40,
  236. "userName": "杨东艳",
  237. "userNmae": "杨东艳",
  238. "UserName": "杨东艳",
  239. "name": "杨东艳",
  240. "updateTime": 1604568915582,
  241. "activePercent": i * 5,
  242. "ck": 115.9 - i,
  243. "head": 'flyhead.png'
  244. }
  245. )
  246. }
  247. return item;
  248. },
  249. fakeNewsLimit() {
  250. let item = [];
  251. for (var i = 0; i < 3; i++) {
  252. item.push(
  253. {
  254. "hubId": 0,
  255. "deviceId": 22756,
  256. "calorie": 999.5,
  257. "heartRate": i * 5,
  258. "step": i * 40,
  259. "userName": "杨东艳",
  260. "userNmae": "杨东艳",
  261. "name": "杨东艳",
  262. "updateTime": 1604568915582,
  263. "activePercent": i * 5,
  264. "ck": i + 115.1,
  265. "sex": 1,
  266. "head": 'flyhead.png'
  267. }
  268. )
  269. }
  270. return item;
  271. },
  272. GetgetUserList() {
  273. let that = this;
  274. let param = {
  275. eqSn: localStorage.eqSn,
  276. token: localStorage.token,
  277. };
  278. let postdata = qs.stringify(param);
  279. getHello(postdata).then(res => {
  280. let json = res;
  281. if (json.Code == 0) {
  282. that.topMsg = json.Rs[0];
  283. that.students = json.Rs;
  284. that.$message.error(json.Memo);
  285. }
  286. })
  287. },
  288. GetHerosRankingQuery() {
  289. let that = this;
  290. let param = {
  291. eqSn: localStorage.eqSn,
  292. dispNum: 3
  293. };
  294. let postdata = qs.stringify(param);
  295. HerosRankingQuery(postdata).then(res => {
  296. let json = res;
  297. if (json.Code == 0) {
  298. that.bottom = json.Rs;
  299. } else {
  300. that.$message.error(json.Memo);
  301. }
  302. })
  303. },
  304. GetUserRankingQuery() {
  305. let that = this;
  306. let param = {
  307. eqSn: localStorage.eqSn,
  308. dispNum: 7
  309. };
  310. let postdata = qs.stringify(param);
  311. UserRankingQuery(postdata).then(res => {
  312. let json = res;
  313. if (json.Code == 0) {
  314. that.rt = json.Rs;
  315. } else {
  316. that.$message.error(json.Memo);
  317. }
  318. })
  319. },
  320. GetCalorieStatsQuery() {
  321. let that = this;
  322. let param = {
  323. eqSn: localStorage.eqSn,
  324. };
  325. let postdata = qs.stringify(param);
  326. CalorieStatsQuery(postdata).then(res => {
  327. let json = res;
  328. if (json.Code == 0) {
  329. that.recordMain = json.Rs;
  330. } else {
  331. that.recordMain = [
  332. {
  333. Title: '',
  334. Result: [{'Values': '', Unite: ''}],
  335. },
  336. {
  337. Title: '',
  338. Result: [{'Values': '', Unite: ''}],
  339. }
  340. ];
  341. that.$message.error(json.Memo);
  342. }
  343. })
  344. },
  345. curgetClassStat() {
  346. let that = this;
  347. let param = {
  348. token: localStorage.token,
  349. eqSn: localStorage.eqSn
  350. };
  351. let postdata = qs.stringify(param);
  352. getClassStat(postdata).then(res => {
  353. let json = res;
  354. if (json.Code == 0) {
  355. // alert(JSON.stringify(json.ClassOn));
  356. // alert("alert:"+json.ClassOn);
  357. // 上课了
  358. if (json.ClassOn == 1) {
  359. // 0: 下课 团课/私教 排名
  360. // 1:团课/私教 todo
  361. // 2:竞技课2PK
  362. // 3:竞技课3PK
  363. switch (parseInt(json.dp)) {
  364. case 0:
  365. that.$router.push({path: '/rank'});
  366. break;
  367. case 1:
  368. that.$router.push({path: '/'});
  369. break;
  370. case 2:
  371. that.$router.push({path: '/pk'});
  372. break;
  373. case 3:
  374. that.$router.push({path: '/3pk'});
  375. break;
  376. }
  377. }
  378. } else {
  379. // that.$message.error(json.Memo);
  380. }
  381. })
  382. },
  383. },
  384. watch: {
  385. '$route': function (val) {
  386. if (val.path == '/wait') {
  387. this.autoplayStatus = false;
  388. if (this.trueDate) {
  389. this.waitTimer = setInterval(() => {
  390. this.curgetClassStat();
  391. this.GetHerosRankingQuery();
  392. this.GetCalorieStatsQuery();
  393. this.GetUserRankingQuery();
  394. }, 1000);
  395. } else {
  396. this.students = this.fakeNews();
  397. this.topMsg = this.students[0];
  398. }
  399. } else {
  400. clearInterval(this.waitTimer);
  401. }
  402. }
  403. },
  404. components: {
  405. Headside
  406. }
  407. }
  408. </script>
  409. <style scoped>
  410. @import "../assets/css/bg.css";
  411. .pages {
  412. position: absolute;
  413. top: 0;
  414. left: 0;
  415. right: 0;
  416. bottom: 0;
  417. width: 100%;
  418. overflow: hidden;
  419. display: block;
  420. margin: 0 auto;
  421. }
  422. /*/deep/ .el-carousel__item--card {*/
  423. /*width: auto !important;*/
  424. /*}*/
  425. /*/deep/ .el-carousel__item {*/
  426. /*width: auto !important;*/
  427. /*}*/
  428. /*/deep/ .el-carousel__item--card.is-active {*/
  429. /*z-index: 2;*/
  430. /*position: absolute;*/
  431. /*left: 50%;*/
  432. /*transform: translate(-50%, 0px) !important;*/
  433. /*}*/
  434. .rankContainer {
  435. width: 90%;
  436. height: 100%;
  437. overflow: hidden;
  438. display: block;
  439. margin: 0 auto;
  440. }
  441. .rankContainer .lt {
  442. width: 60%;
  443. height: 100%;
  444. float: left;
  445. }
  446. .rankContainer .rt {
  447. width: 40%;
  448. float: right;
  449. }
  450. .recordMain {
  451. /*height: 6rem;*/
  452. overflow: hidden;
  453. }
  454. .rankContainer .lt .recordMain h5 {
  455. font-family: vista;
  456. font-weight: normal;
  457. font-size: 0.6rem;
  458. text-align: left;
  459. color: #fff;
  460. margin: 5% auto;
  461. }
  462. .recordMain h5 s {
  463. font-size: 0.8rem;
  464. }
  465. .rankContainer .sum {
  466. position: relative;
  467. top: 0.4rem;
  468. width: 100%;
  469. height: 35%;
  470. overflow: visible;
  471. display: block;
  472. margin: 0 auto;
  473. text-align: center;
  474. z-index: 666;
  475. }
  476. .sumBg {
  477. position: relative;
  478. bottom: 0.8rem;
  479. width: 100%;
  480. height: 2rem;
  481. overflow: hidden;
  482. display: block;
  483. margin: 0 auto;
  484. background: url("../static/img/pingtai.png") bottom center;
  485. background-size: 100% 100%;
  486. background-repeat: no-repeat;
  487. }
  488. .sum em {
  489. width: 7.2rem;
  490. float: right;
  491. font-weight: 900;
  492. font-family: vista;
  493. font-weight: 900;
  494. font-size: 2rem;
  495. text-align: center;
  496. color: #fff;
  497. font-style: normal;
  498. text-shadow: #E85297 5px 0 0, #E85297 0 5px 0, #E85297 -5px 0 0, #E85297 0 -5px 0;
  499. }
  500. .sum s {
  501. position: relative;
  502. bottom: -2rem;
  503. width: 2rem;
  504. float: right;
  505. font-style: normal;
  506. font-family: vista;
  507. font-weight: normal;
  508. font-size: 44px;
  509. text-align: center;
  510. color: #fff;
  511. text-decoration: none;
  512. }
  513. .sumContainer {
  514. width: 100%;
  515. height: 4rem;
  516. overflow: hidden;
  517. display: block;
  518. margin: 0 auto;
  519. }
  520. .topOne {
  521. width: 100%;
  522. overflow: hidden;
  523. display: block;
  524. margin: 0 auto;
  525. }
  526. .topOne h5 {
  527. font-family: vista;
  528. font-weight: normal;
  529. font-size: 0.4rem;
  530. text-align: left;
  531. color: #fff;
  532. margin: 1% 0;
  533. }
  534. ul, li {
  535. list-style: none;
  536. margin: 0;
  537. padding: 0;
  538. }
  539. .topOne ul {
  540. width: 100%;
  541. overflow: hidden;
  542. display: block;
  543. margin: 0 auto;
  544. padding-left: 2px;
  545. padding-top: 0.1rem;
  546. padding-bottom: 0.1rem;
  547. }
  548. .topOne li {
  549. width: 33.3%;
  550. float: left;
  551. }
  552. .topOne .dgCenter {
  553. width: 93%;
  554. overflow: hidden;
  555. float: left;
  556. border-radius: 5px;
  557. background: rgba(0.0 .0 .0 .1);
  558. box-shadow: 0px 0px 6px rgba(255, 255, 255, 0.3);
  559. padding-top: 0.1rem;
  560. padding-bottom: 0.1rem;
  561. }
  562. .dgCenter .dghead {
  563. width: 40%;
  564. float: left;
  565. }
  566. .dghead img {
  567. width: 1rem;
  568. height: 1rem;
  569. overflow: hidden;
  570. display: block;
  571. margin: 0 auto;
  572. padding: 0;
  573. border-radius: 250px;
  574. border: 2px solid #fff;
  575. }
  576. .dghead s {
  577. width: 100%;
  578. overflow: hidden;
  579. display: block;
  580. font-weight: normal;
  581. font-size: 0.3rem;
  582. text-align: center;
  583. color: #fff;
  584. font-style: normal;
  585. text-decoration: none;
  586. margin-top: 0.2rem;
  587. }
  588. .score {
  589. width: 60%;
  590. float: right;
  591. }
  592. .score em {
  593. width: 100%;
  594. overflow: hidden;
  595. display: block;
  596. margin: 0 auto;
  597. font-family: vista;
  598. font-weight: bold;
  599. font-size: 0.7rem;
  600. text-align: center;
  601. color: #fff;
  602. font-style: normal;
  603. height: 1.4rem;
  604. line-height: 1.4rem;
  605. }
  606. .score span {
  607. width: 100%;
  608. overflow: hidden;
  609. display: block;
  610. margin: 0 auto;
  611. font-family: vista;
  612. font-weight: normal;
  613. font-size: 0.2rem;
  614. color: #fff;
  615. text-align: center;
  616. }
  617. .rt {
  618. padding-top: 0.6rem;
  619. }
  620. .rt h5 {
  621. font-family: vista;
  622. font-weight: normal;
  623. font-size: 36px;
  624. text-align: center;
  625. color: #fff;
  626. margin: 0;
  627. margin-bottom: 0.6rem;
  628. text-indent: 0.2rem;
  629. }
  630. .rt ul {
  631. width: 80%;
  632. overflow: hidden;
  633. display: block;
  634. margin: 0 auto;
  635. padding-top: 3px;
  636. padding-bottom: 3px;
  637. }
  638. .rt li {
  639. width: 80%;
  640. overflow: hidden;
  641. display: block;
  642. margin: 0 auto;
  643. margin-bottom: 0.24rem;
  644. padding: 0.1rem 4%;
  645. background: rgba(0, 0, 0, 0.1);
  646. border-radius: 5px;
  647. box-shadow: 0px 0px 6px rgba(255, 255, 255, 0.3);
  648. }
  649. .rt li img {
  650. width: 0.6rem;
  651. height: 0.6rem;
  652. filter: drop-shadow(0px 0px 6px #bf00ff);
  653. border: 2px solid #fff;
  654. float: left;
  655. border-radius: 250px;
  656. margin-right: 3%;
  657. }
  658. .rt li em {
  659. font-family: vista;
  660. font-weight: normal;
  661. font-size: 0.35rem;
  662. text-align: center;
  663. color: #fff;
  664. font-style: normal;
  665. float: left;
  666. height: 0.6rem;
  667. line-height: 0.6rem;
  668. }
  669. .rt li s {
  670. font-family: vista;
  671. font-weight: normal;
  672. font-size: 0.35rem;
  673. text-align: right;
  674. color: #fff;
  675. text-decoration: none;
  676. height: 0.6rem;
  677. line-height: 0.6rem;
  678. float: right;
  679. }
  680. .heros > h5 {
  681. font-family: vista;
  682. font-weight: normal;
  683. font-size: 0.35rem;
  684. text-align: left;
  685. color: #fff;
  686. margin: 1% 0;
  687. }
  688. .heros ul {
  689. width: 100%;
  690. overflow: hidden;
  691. display: block;
  692. margin: 0 auto;
  693. padding-left: 3px;
  694. padding-top: 6px;
  695. padding-bottom: 6px;
  696. }
  697. .heros li {
  698. width: 2.5rem;
  699. height: 2.35rem;
  700. float: left;
  701. border-radius: 5px;
  702. background: rgba(0.0 .0 .0 .1);
  703. box-shadow: 0px 0px 6px rgba(255, 255, 255, 0.3);
  704. padding-top: 0.2rem;
  705. padding-bottom: 0.2rem;
  706. color: #fff;
  707. font-size: 0.3rem;
  708. text-align: center;
  709. margin-right: 5%;
  710. }
  711. .heros li > img {
  712. width: 1.2rem;
  713. height: 1.2rem;
  714. overflow: hidden;
  715. display: block;
  716. margin: 0 auto;
  717. margin-bottom: 0.2rem;
  718. border-radius: 100%;
  719. border: 2px solid #fff;
  720. }
  721. .heros li > img.sex {
  722. position: relative;
  723. top: -1.5rem;
  724. right: 0.55rem;
  725. width: 0.4rem;
  726. height: 0.4rem;
  727. overflow: hidden;
  728. float: right;
  729. border: none;
  730. }
  731. .heros li em {
  732. font-family: vista;
  733. font-weight: bold;
  734. font-size: 30px;
  735. text-align: center;
  736. font-style: normal;
  737. }
  738. .heros li em#red_0 {
  739. color: #FA5114;
  740. }
  741. .heros li em#red_1 {
  742. color: #FA981F;
  743. }
  744. .heros li em#red_2 {
  745. color: #FFE13C;
  746. }
  747. .heros li #circle_0 {
  748. border: 2px solid #FA5114;
  749. }
  750. .heros li #circle_1 {
  751. border: 2px solid #FA981F;
  752. }
  753. .heros li #circle_2 {
  754. border: 2px solid #FFE13C;
  755. }
  756. .heros li div {
  757. position: relative;
  758. top: -0.7rem;
  759. width: 100%;
  760. overflow: hidden;
  761. display: block;
  762. margin: 0 auto;
  763. text-align: center;
  764. }
  765. .heros li span {
  766. position: relative;
  767. top: -0.67rem;
  768. width: 100%;
  769. overflow: hidden;
  770. display: block;
  771. margin: 0 auto;
  772. }
  773. .bottom {
  774. position: relative;
  775. width: 100%;
  776. padding-top: 0.1rem;
  777. bottom: 0.2rem;
  778. }
  779. /deep/ .el-carousel__indicators--horizontal {
  780. display: none;
  781. }
  782. </style>