Wait.vue 25 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844
  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. watch: {
  221. '$route': function (val) {
  222. if (val.path == '/wait') {
  223. this.autoplayStatus = false;
  224. if (this.trueDate) {
  225. this.waitTimer = setInterval(() => {
  226. this.curgetClassStat();
  227. this.GetHerosRankingQuery();
  228. this.GetCalorieStatsQuery();
  229. this.GetUserRankingQuery();
  230. }, 1000);
  231. } else {
  232. this.students = this.fakeNews();
  233. this.topMsg = this.students[0];
  234. }
  235. } else {
  236. clearInterval(this.waitTimer);
  237. }
  238. }
  239. },
  240. beforeDestroy() {
  241. clearInterval(this.waitTimer);
  242. this.waitTimer = null;
  243. },
  244. methods: {
  245. fakeNews() {
  246. let item = [];
  247. for (var i = 0; i < 7; i++) {
  248. item.push(
  249. {
  250. "hubId": 0,
  251. "deviceId": 22756,
  252. "calorie": 96.5,
  253. "Values ": 96.5,
  254. "heartRate": i * 5,
  255. "step": i * 40,
  256. "userName": "杨东艳",
  257. "userNmae": "杨东艳",
  258. "UserName": "杨东艳",
  259. "name": "杨东艳",
  260. "updateTime": 1604568915582,
  261. "activePercent": i * 5,
  262. "ck": 115.9 - i,
  263. "head": 'flyhead.png'
  264. }
  265. )
  266. }
  267. return item;
  268. },
  269. fakeNewsLimit() {
  270. let item = [];
  271. for (var i = 0; i < 3; i++) {
  272. item.push(
  273. {
  274. "hubId": 0,
  275. "deviceId": 22756,
  276. "calorie": 999.5,
  277. "heartRate": i * 5,
  278. "step": i * 40,
  279. "userName": "杨东艳",
  280. "userNmae": "杨东艳",
  281. "name": "杨东艳",
  282. "updateTime": 1604568915582,
  283. "activePercent": i * 5,
  284. "ck": i + 115.1,
  285. "sex": 1,
  286. "head": 'flyhead.png'
  287. }
  288. )
  289. }
  290. return item;
  291. },
  292. GetgetUserList() {
  293. let that = this;
  294. let param = {
  295. eqSn: localStorage.eqSn,
  296. token: localStorage.token,
  297. };
  298. let postdata = qs.stringify(param);
  299. getHello(postdata).then(res => {
  300. let json = res;
  301. if (json.Code == 0) {
  302. that.topMsg = json.Rs[0];
  303. that.students = json.Rs;
  304. that.$message.error(json.Memo);
  305. }
  306. }).catch(function(err){
  307. console.log(err);
  308. });
  309. },
  310. GetHerosRankingQuery() {
  311. let that = this;
  312. let param = {
  313. eqSn: localStorage.eqSn,
  314. dispNum: 3
  315. };
  316. let postdata = qs.stringify(param);
  317. HerosRankingQuery(postdata).then(res => {
  318. let json = res;
  319. if (json.Code == 0) {
  320. that.bottom = json.Rs;
  321. } else {
  322. that.$message.error(json.Memo);
  323. }
  324. })
  325. },
  326. GetUserRankingQuery() {
  327. let that = this;
  328. let param = {
  329. eqSn: localStorage.eqSn,
  330. dispNum: 7
  331. };
  332. let postdata = qs.stringify(param);
  333. UserRankingQuery(postdata).then(res => {
  334. let json = res;
  335. if (json.Code == 0) {
  336. that.rt = json.Rs;
  337. } else {
  338. that.$message.error(json.Memo);
  339. }
  340. })
  341. },
  342. GetCalorieStatsQuery() {
  343. let that = this;
  344. let param = {
  345. eqSn: localStorage.eqSn,
  346. };
  347. let postdata = qs.stringify(param);
  348. CalorieStatsQuery(postdata).then(res => {
  349. let json = res;
  350. if (json.Code == 0) {
  351. that.recordMain = json.Rs;
  352. } else {
  353. that.recordMain = [
  354. {
  355. Title: '',
  356. Result: [{'Values': '', Unite: ''}],
  357. },
  358. {
  359. Title: '',
  360. Result: [{'Values': '', Unite: ''}],
  361. }
  362. ];
  363. that.$message.error(json.Memo);
  364. }
  365. })
  366. },
  367. curgetClassStat() {
  368. let that = this;
  369. let param = {
  370. token: localStorage.token,
  371. eqSn: localStorage.eqSn
  372. };
  373. let postdata = qs.stringify(param);
  374. getClassStat(postdata).then(res => {
  375. let json = res;
  376. if (json.Code == 0) {
  377. // alert(JSON.stringify(json.ClassOn));
  378. // alert("alert:"+json.ClassOn);
  379. // 上课了
  380. if (json.ClassOn == 1) {
  381. // 0: 下课 团课/私教 排名
  382. // 1:团课/私教 todo
  383. // 2:竞技课2PK
  384. // 3:竞技课threepk
  385. switch (parseInt(json.dp)) {
  386. case 0:
  387. that.$router.push({path: '/rank'});
  388. break;
  389. case 1:
  390. that.$router.push({path: '/main'});
  391. break;
  392. case 2:
  393. that.$router.push({path: '/pk'});
  394. break;
  395. case 3:
  396. that.$router.push({path: '/threepk'});
  397. break;
  398. }
  399. }
  400. } else {
  401. // that.$message.error(json.Memo);
  402. }
  403. })
  404. },
  405. },
  406. components: {
  407. Headside
  408. }
  409. }
  410. </script>
  411. <style scoped>
  412. @import "../assets/css/bg.css";
  413. .pages {
  414. position: absolute;
  415. top: 0;
  416. left: 0;
  417. right: 0;
  418. bottom: 0;
  419. width: 100%;
  420. overflow: hidden;
  421. display: block;
  422. margin: 0 auto;
  423. /*transform: scale(1,5);*/
  424. /*-ms-transform: scale(1,5); !* IE 9 *!*/
  425. /*-webkit-transform: scale(0.8,0.8); !* Safari and Chrome *!*/
  426. }
  427. /*/deep/ .el-carousel__item--card {*/
  428. /*width: auto !important;*/
  429. /*}*/
  430. /*/deep/ .el-carousel__item {*/
  431. /*width: auto !important;*/
  432. /*}*/
  433. /*/deep/ .el-carousel__item--card.is-active {*/
  434. /*z-index: 2;*/
  435. /*position: absolute;*/
  436. /*left: 50%;*/
  437. /*transform: translate(-50%, 0px) !important;*/
  438. /*}*/
  439. .rankContainer {
  440. width: 90%;
  441. height: 100%;
  442. overflow: hidden;
  443. display: block;
  444. margin: 0 auto;
  445. }
  446. .rankContainer .lt {
  447. width: 60%;
  448. height: 100%;
  449. float: left;
  450. }
  451. .rankContainer .rt {
  452. width: 40%;
  453. float: right;
  454. }
  455. .recordMain {
  456. /*height: 6rem;*/
  457. overflow: hidden;
  458. }
  459. .rankContainer .lt .recordMain h5 {
  460. font-family: vista;
  461. font-weight: normal;
  462. font-size: 0.6rem;
  463. text-align: left;
  464. color: #fff;
  465. margin: 5% auto;
  466. }
  467. .recordMain h5 s {
  468. font-size: 0.8rem;
  469. }
  470. .rankContainer .sum {
  471. position: relative;
  472. top: 0.4rem;
  473. width: 100%;
  474. height: 35%;
  475. overflow: visible;
  476. display: block;
  477. margin: 0 auto;
  478. text-align: center;
  479. z-index: 666;
  480. }
  481. .sumBg {
  482. position: relative;
  483. bottom: 0.8rem;
  484. width: 100%;
  485. height: 2rem;
  486. overflow: hidden;
  487. display: block;
  488. margin: 0 auto;
  489. background: url("../static/img/pingtai.png") bottom center;
  490. background-size: 100% 100%;
  491. background-repeat: no-repeat;
  492. }
  493. .sum em {
  494. width: 7.2rem;
  495. float: right;
  496. font-weight: 900;
  497. font-family: vista;
  498. font-weight: 900;
  499. font-size: 2rem;
  500. text-align: center;
  501. color: #fff;
  502. font-style: normal;
  503. text-shadow: #E85297 5px 0 0, #E85297 0 5px 0, #E85297 -5px 0 0, #E85297 0 -5px 0;
  504. }
  505. .sum s {
  506. position: relative;
  507. bottom: -2rem;
  508. width: 2rem;
  509. float: right;
  510. font-style: normal;
  511. font-family: vista;
  512. font-weight: normal;
  513. font-size: 44px;
  514. text-align: center;
  515. color: #fff;
  516. text-decoration: none;
  517. }
  518. .sumContainer {
  519. width: 100%;
  520. height: 4rem;
  521. overflow: hidden;
  522. display: block;
  523. margin: 0 auto;
  524. }
  525. .topOne {
  526. width: 100%;
  527. overflow: hidden;
  528. display: block;
  529. margin: 0 auto;
  530. }
  531. .topOne h5 {
  532. font-family: vista;
  533. font-weight: normal;
  534. font-size: 0.4rem;
  535. text-align: left;
  536. color: #fff;
  537. margin: 1% 0;
  538. }
  539. ul, li {
  540. list-style: none;
  541. margin: 0;
  542. padding: 0;
  543. }
  544. .topOne ul {
  545. width: 100%;
  546. overflow: hidden;
  547. display: block;
  548. margin: 0 auto;
  549. padding-left: 2px;
  550. padding-top: 0.1rem;
  551. padding-bottom: 0.1rem;
  552. }
  553. .topOne li {
  554. width: 33.3%;
  555. float: left;
  556. }
  557. .topOne .dgCenter {
  558. width: 93%;
  559. overflow: hidden;
  560. float: left;
  561. border-radius: 5px;
  562. background: rgba(0.0 .0 .0 .1);
  563. box-shadow: 0px 0px 6px rgba(255, 255, 255, 0.3);
  564. padding-top: 0.1rem;
  565. padding-bottom: 0.1rem;
  566. }
  567. .dgCenter .dghead {
  568. width: 40%;
  569. float: left;
  570. }
  571. .dghead img {
  572. width: 1rem;
  573. height: 1rem;
  574. overflow: hidden;
  575. display: block;
  576. margin: 0 auto;
  577. padding: 0;
  578. border-radius: 250px;
  579. border: 2px solid #fff;
  580. }
  581. .dghead s {
  582. width: 100%;
  583. overflow: hidden;
  584. display: block;
  585. font-weight: normal;
  586. font-size: 0.3rem;
  587. text-align: center;
  588. color: #fff;
  589. font-style: normal;
  590. text-decoration: none;
  591. margin-top: 0.2rem;
  592. }
  593. .score {
  594. width: 60%;
  595. float: right;
  596. }
  597. .score em {
  598. width: 100%;
  599. overflow: hidden;
  600. display: block;
  601. margin: 0 auto;
  602. font-family: vista;
  603. font-weight: bold;
  604. font-size: 0.7rem;
  605. text-align: center;
  606. color: #fff;
  607. font-style: normal;
  608. height: 1.4rem;
  609. line-height: 1.4rem;
  610. }
  611. .score span {
  612. width: 100%;
  613. overflow: hidden;
  614. display: block;
  615. margin: 0 auto;
  616. font-family: vista;
  617. font-weight: normal;
  618. font-size: 0.2rem;
  619. color: #fff;
  620. text-align: center;
  621. }
  622. .rt {
  623. padding-top: 0.6rem;
  624. }
  625. .rt h5 {
  626. font-family: vista;
  627. font-weight: normal;
  628. font-size: 36px;
  629. text-align: center;
  630. color: #fff;
  631. margin: 0;
  632. margin-bottom: 0.6rem;
  633. text-indent: 0.2rem;
  634. }
  635. .rt ul {
  636. width: 80%;
  637. overflow: hidden;
  638. display: block;
  639. margin: 0 auto;
  640. padding-top: 3px;
  641. padding-bottom: 3px;
  642. }
  643. .rt li {
  644. width: 80%;
  645. overflow: hidden;
  646. display: block;
  647. margin: 0 auto;
  648. margin-bottom: 0.24rem;
  649. padding: 0.1rem 4%;
  650. background: rgba(0, 0, 0, 0.1);
  651. border-radius: 5px;
  652. box-shadow: 0px 0px 6px rgba(255, 255, 255, 0.3);
  653. }
  654. .rt li img {
  655. width: 0.6rem;
  656. height: 0.6rem;
  657. filter: drop-shadow(0px 0px 6px #bf00ff);
  658. border: 2px solid #fff;
  659. float: left;
  660. border-radius: 250px;
  661. margin-right: 3%;
  662. }
  663. .rt li em {
  664. font-family: vista;
  665. font-weight: normal;
  666. font-size: 0.35rem;
  667. text-align: center;
  668. color: #fff;
  669. font-style: normal;
  670. float: left;
  671. height: 0.6rem;
  672. line-height: 0.6rem;
  673. }
  674. .rt li s {
  675. font-family: vista;
  676. font-weight: normal;
  677. font-size: 0.35rem;
  678. text-align: right;
  679. color: #fff;
  680. text-decoration: none;
  681. height: 0.6rem;
  682. line-height: 0.6rem;
  683. float: right;
  684. }
  685. .heros > h5 {
  686. font-family: vista;
  687. font-weight: normal;
  688. font-size: 0.35rem;
  689. text-align: left;
  690. color: #fff;
  691. margin: 1% 0;
  692. }
  693. .heros ul {
  694. width: 100%;
  695. overflow: hidden;
  696. display: block;
  697. margin: 0 auto;
  698. padding-left: 3px;
  699. padding-top: 6px;
  700. padding-bottom: 6px;
  701. }
  702. .heros li {
  703. width: 2.5rem;
  704. height: 2.35rem;
  705. float: left;
  706. border-radius: 5px;
  707. background: rgba(0.0 .0 .0 .1);
  708. box-shadow: 0px 0px 6px rgba(255, 255, 255, 0.3);
  709. padding-top: 0.2rem;
  710. padding-bottom: 0.2rem;
  711. color: #fff;
  712. font-size: 0.3rem;
  713. text-align: center;
  714. margin-right: 5%;
  715. }
  716. .heros li > img {
  717. width: 1.2rem;
  718. height: 1.2rem;
  719. overflow: hidden;
  720. display: block;
  721. margin: 0 auto;
  722. margin-bottom: 0.2rem;
  723. border-radius: 100%;
  724. border: 2px solid #fff;
  725. }
  726. .heros li > img.sex {
  727. position: relative;
  728. top: -1.5rem;
  729. right: 0.55rem;
  730. width: 0.4rem;
  731. height: 0.4rem;
  732. overflow: hidden;
  733. float: right;
  734. border: none;
  735. }
  736. .heros li em {
  737. font-family: vista;
  738. font-weight: bold;
  739. font-size: 30px;
  740. text-align: center;
  741. font-style: normal;
  742. }
  743. .heros li em#red_0 {
  744. color: #FA5114;
  745. }
  746. .heros li em#red_1 {
  747. color: #FA981F;
  748. }
  749. .heros li em#red_2 {
  750. color: #FFE13C;
  751. }
  752. .heros li #circle_0 {
  753. border: 2px solid #FA5114;
  754. }
  755. .heros li #circle_1 {
  756. border: 2px solid #FA981F;
  757. }
  758. .heros li #circle_2 {
  759. border: 2px solid #FFE13C;
  760. }
  761. .heros li div {
  762. position: relative;
  763. top: -0.7rem;
  764. width: 100%;
  765. overflow: hidden;
  766. display: block;
  767. margin: 0 auto;
  768. text-align: center;
  769. }
  770. .heros li span {
  771. position: relative;
  772. top: -0.67rem;
  773. width: 100%;
  774. overflow: hidden;
  775. display: block;
  776. margin: 0 auto;
  777. }
  778. .bottom {
  779. position: relative;
  780. width: 100%;
  781. padding-top: 0.1rem;
  782. bottom: 0.2rem;
  783. }
  784. /deep/ .el-carousel__indicators--horizontal {
  785. display: none;
  786. }
  787. </style>