online.vue 58 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465
  1. <template>
  2. <div class="context bgStyle1" id="online">
  3. <div class="change">
  4. <div class="basicInfo">
  5. <em>课程名:{{PlanName}} </em>
  6. <em>学员数:{{Num}} </em>
  7. <em>教练:{{Teacher}} </em>
  8. <!--<em>(在线:{{classInfo.online}}人 离线:{{classInfo.offline}}人) </em>-->
  9. <em>当前时间:{{classInfo.endTime}} </em>
  10. <!--拿到eqsn才能获取数据-->
  11. <em class="room">区域列表 </em>
  12. <select id="regionSelect" v-model="VenueId" placeholder="请选择区域" @change="queryEqsnByVenueId">
  13. <option value=""> 请选择区域</option>
  14. <option :value="item.SvId" v-for="item in VenueOption"> {{item.Name}}</option>
  15. </select>
  16. <!--<el-select v-model="VenueId" placeholder="请选择区域" @change="queryEqsnByVenueId">-->
  17. <!--<el-option-->
  18. <!--v-for="item in VenueOption"-->
  19. <!--:key="item.SvId"-->
  20. <!--:label="item.Name"-->
  21. <!--:value="item.SvId">-->
  22. <!--</el-option>-->
  23. <!--</el-select>-->
  24. </div>
  25. <el-button @click="full_screen" v-if="!screen_full" icon="el-icon-full-screen" type="primary">全屏</el-button>
  26. <el-button @click="cancle_screen" v-else icon="el-icon-full-screen" type="primary">缩小</el-button>
  27. <!--<el-button v-if="classState == 0" @click="" type="success">上课</el-button>-->
  28. <!--<el-button v-else @click="" type="danger">下课</el-button>-->
  29. <el-button @click="showRank" type="warning">排行榜</el-button>
  30. <!--<el-button @click="">隐藏信息 todo</el-button>-->
  31. </div>
  32. <div :class="[{'userList':true},{'bigUserList':bigUserList}]">
  33. <ul :class="[{'bigUserList':bigUserList}]">
  34. <li v-if="students.length == 0">
  35. <h5 style="color: #fff;font-size: 3rem">暂无学生加入当前课程</h5>
  36. </li>
  37. <li v-for="(s,i) in students" :class="studentsClassName[i].name" v-show="students"
  38. v-if="students.length > 0">
  39. <div class="centerLi">
  40. <div class="topLi">
  41. <div class="human">
  42. <span class="name">
  43. <div class="nameLt">
  44. <i class="el-icon-male" v-if="s.Sex == 1"></i>
  45. <i class="el-icon-female" v-if="s.Sex == 2"></i>
  46. </div>
  47. <div class="nameMd">{{ s.Name }}</div>
  48. <div class="namert" v-if="s.RealHr != 0">
  49. <power :cur-power="s.PowerPercent"></power>
  50. </div>
  51. </span>
  52. <div class="head">
  53. <img :src="s.Head" alt="" v-if="s.Head">
  54. <img src="../static/img/people/flyhead.png" alt="" v-if="!s.Head">
  55. <!-- 生日快乐 -->
  56. <div class="birth" v-if="s.IsBirthday == 1">
  57. <img src="../assets/img/birth/birthCrow.png" class="birthCrow"/>
  58. <img src="../assets/img/birth/birthText.png" class="birthText"/>
  59. </div>
  60. <!--私有心率带-->
  61. <div class="isPrivate" v-if="s.IsPrivate == 1">
  62. <i></i>
  63. </div>
  64. </div>
  65. </div>
  66. <div class="cla">
  67. <em v-if="s.RealHr != 0">{{ s.ActivePercent |max100 }}</em>
  68. <em class="plus" v-if="s.ActivePercent == 0 && s.RealHr == 0">
  69. ---
  70. </em>
  71. </div>
  72. <div class="lcla">
  73. <span>%</span>
  74. </div>
  75. <!--fastJump-->
  76. <!--heartJump-->
  77. <div>
  78. <div class="lhj">
  79. <div :class="[{'heartJump':true}]">
  80. <span class="fastJump" v-if="s.RealHr != 0"
  81. v-show="parseInt(s.ActivePercent) > 90">{{ s.RealHr }}</span>
  82. <span class="normalJump" v-if="s.RealHr != 0"
  83. v-show="parseInt(s.ActivePercent) <= 90 && parseInt(s.ActivePercent) > 30">
  84. {{ s.RealHr }}</span>
  85. <span class="slowJump" v-if="s.RealHr != 0"
  86. v-show="parseInt(s.ActivePercent) <= 30">{{ s.RealHr }}</span>
  87. <span class="plus" v-if="s.RealHr == 0">
  88. ---
  89. </span>
  90. </div>
  91. </div>
  92. <div class="rhj">
  93. <img src="../static/img/heart.svg" class=""/>
  94. </div>
  95. </div>
  96. </div>
  97. <div class="bottomLi">
  98. <div class="btcla">
  99. <img src="../static/img/s1.svg"/>
  100. <span>{{ s.Cle |fmtInt }}</span>
  101. </div>
  102. <div class="btck">
  103. <img src="../static/img/s2.svg"/>
  104. <span>{{ s.PureCalorieNoVo2 |fmtInt }}</span>
  105. </div>
  106. <div class="step">
  107. <img src="../static/img/ck.svg"/>
  108. <span>{{ s.Ck |fmtFloat }}</span>
  109. </div>
  110. </div>
  111. </div>
  112. </li>
  113. </ul>
  114. </div>
  115. <!--图示-->
  116. <div class="bottom">
  117. <levelIcon></levelIcon>
  118. </div>
  119. <!--排行榜-->
  120. <el-dialog :title="dialogTitle" :visible.sync="dialogMemberVisible" width="1366px">
  121. <userRank :rank-info="rankInfo"></userRank>
  122. <br>
  123. <div class="dialogFooter">
  124. <el-button size="small" @click="dialogMemberVisible = false">关闭</el-button>
  125. </div>
  126. </el-dialog>
  127. </div>
  128. </template>
  129. <script>
  130. import levelIcon from '@/components/levelIcon'
  131. import power from '@/components/power'
  132. import userRank from '@/components/userRank'
  133. import Global from '../Global.js'
  134. import {
  135. QueryShopVenue,
  136. QueryVenueEquip,
  137. getHello,
  138. CalorieStatsQuery,
  139. ClassUserRank,
  140. } from "../api/getApiRes";
  141. let qs = require('qs');
  142. export default {
  143. data() {
  144. return {
  145. classInfo: {
  146. name: '',
  147. len: '',
  148. online: 0,
  149. offline: 0,
  150. time: '00:00:00',
  151. endTime: '00:00:00',
  152. },
  153. VenueId: '',//所选区域
  154. classState: 0,//0 下课 1上课
  155. students: [],
  156. VenueOption: [],
  157. studentsClassName: [],
  158. rankInfo: [],
  159. screen_full: false,
  160. bigUserList: false,
  161. dialogMemberVisible: false,//false
  162. dialogTitle: '排行榜',
  163. EqSn: '',
  164. PlanName: '',
  165. BeginTime: '',
  166. Num: '',
  167. Teacher: '',
  168. };
  169. },
  170. mounted() {
  171. this.init();
  172. },
  173. watch: {
  174. $route(to) {
  175. if (to.name != 'online') {
  176. this.clearRem();
  177. clearInterval(this.mainTimer);//页面销毁时清除定时器
  178. } else {
  179. this.setRem();
  180. this.getVenueQuery();
  181. this.queryEqsnByVenueId();
  182. }
  183. },
  184. // EqSn(to){
  185. // console.log(to);
  186. // clearInterval(this.mainTimer);//页面销毁时清除定时器
  187. // if(to){
  188. // this.mainTimer = setInterval(() => {
  189. // this.GetgetUserList();
  190. // }, 1000);
  191. // }
  192. // }
  193. },
  194. destroyed() {
  195. clearInterval(this.mainTimer);//页面销毁时清除定时器
  196. },
  197. methods: {
  198. init() {
  199. // this.getList(26);
  200. this.getVenueQuery();
  201. },
  202. getClassUserRank() {
  203. let that = this;
  204. let param = {
  205. eqSn:that.EqSn
  206. };
  207. let postdata = qs.stringify(param);
  208. ClassUserRank(postdata).then(res => {
  209. let json = res;
  210. if (json.Code == 0) {
  211. if (json.Rs) {
  212. that.rankInfo = json.Rs;
  213. }else{
  214. that.rankInfo = [];
  215. }
  216. } else {
  217. if (json.Code == '999') {
  218. // that.$router.push({path: '/'});
  219. } else {
  220. // 已出错
  221. that.$message.error(json.Memo);
  222. }
  223. }
  224. })
  225. },
  226. // 载入课程信息
  227. ReadLessonInfo(Dp) {
  228. this.PlanName = Dp.PlanName;
  229. this.BeginTime = Dp.BeginTime;
  230. this.Teacher = Dp.Teacher;
  231. this.Num = this.students.length;
  232. },
  233. // 计算团队竞技课持续时间
  234. ClacClassTime() {
  235. let BeginTime = new Date(globalcurrent() + ' ' + this.BeginTime);//结束时间
  236. let nowDate = new Date();
  237. let date = new Date(nowDate - BeginTime - 8 * 60 * 60 * 1000);//减掉东八区时区问题
  238. let h = date.getHours() < 10 ? '0' + date.getHours() + ':' : date.getHours() + ':';
  239. let m = date.getMinutes() < 10 ? '0' + date.getMinutes() + ':' : date.getMinutes() + ':';
  240. let s = date.getSeconds() < 10 ? '0' + date.getSeconds() : date.getSeconds();
  241. this.classInfo.endTime = h + m + s;
  242. },
  243. clearRem() {
  244. // 320 默认大小16px; 320px = 20rem ;每个元素px基础上/16
  245. let htmlWidth = document.documentElement.clientWidth || document.body.clientWidth;
  246. //得到html的Dom元素
  247. let htmlDom = document.getElementsByTagName('html')[0];
  248. htmlDom.style.fontSize = '14px'
  249. },
  250. setRem() {
  251. // 320 默认大小16px; 320px = 20rem ;每个元素px基础上/16
  252. let htmlWidth = document.documentElement.clientWidth || document.body.clientWidth;
  253. //得到html的Dom元素
  254. let htmlDom = document.getElementsByTagName('html')[0];
  255. //设置根元素字体大小
  256. htmlDom.style.fontSize = htmlWidth / 140 + 'px';
  257. },
  258. // 全屏显示
  259. full_screen() {
  260. let that = this;
  261. this.screen_full = true;
  262. let elem = document.getElementById("online");
  263. this.full_state = true;
  264. if (elem.webkitRequestFullScreen) {
  265. elem.webkitRequestFullScreen();
  266. that.full_rule();
  267. } else if (elem.mozRequestFullScreen) {
  268. elem.mozRequestFullScreen();
  269. that.full_rule();
  270. } else if (elem.requestFullScreen) {
  271. elem.requestFullscreen();
  272. that.full_rule();
  273. } else {
  274. this.screen_full = false;
  275. notice.notice_show("浏览器不支持全屏API或已被禁用", null, null, null, true, true);
  276. }
  277. },
  278. // 取消全屏
  279. cancle_screen() {
  280. let that = this;
  281. this.screen_full = false;
  282. this.full_state = false;
  283. var elem = document;
  284. if (elem.webkitCancelFullScreen) {
  285. elem.webkitCancelFullScreen();
  286. that.cancle_full_rule();
  287. } else if (elem.mozCancelFullScreen) {
  288. elem.mozCancelFullScreen();
  289. that.cancle_full_rule();
  290. } else if (elem.cancelFullScreen) {
  291. elem.cancelFullScreen();
  292. that.cancle_full_rule();
  293. } else if (elem.exitFullscreen) {
  294. elem.exitFullscreen();
  295. that.cancle_full_rule();
  296. } else {
  297. this.screen_full = true;
  298. notice.notice_show("浏览器不支持全屏API或已被禁用", null, null, null, true, true);
  299. }
  300. },
  301. // 打开排行榜
  302. showRank() {
  303. if (this.rankInfo.length == 0) {
  304. this.$message.error('暂无排名数据');
  305. return false
  306. } else {
  307. this.dialogMemberVisible = true;
  308. }
  309. },
  310. // 获取演示区域
  311. getVenueQuery() {
  312. let that = this;
  313. that.loading = true;
  314. let param = {
  315. key: localStorage.ServiceKey,
  316. shopId: localStorage.ServiceId,
  317. };
  318. let postdata = qs.stringify(param);
  319. QueryShopVenue(postdata).then(res => {
  320. let json = res;
  321. if (json.Code == 0) {
  322. that.loading = false;
  323. if (json.Rs) {
  324. that.VenueOption = json.Rs;
  325. } else {
  326. that.VenueOption = [];
  327. }
  328. } else {
  329. if (!localStorage.ServiceKey) {
  330. that.$message.error('还未与心率系统对接,请联系管理员');
  331. } else {
  332. that.$message.error(json.Memo + ' 错误码:' + json.Code);
  333. }
  334. }
  335. })
  336. },
  337. // 获取演示设备eqsn
  338. queryEqsnByVenueId() {
  339. let that = this;
  340. that.loading = true;
  341. if(!that.VenueId){
  342. return false
  343. }
  344. let param = {
  345. key: localStorage.ServiceKey,
  346. shopId: localStorage.ServiceId,
  347. svId: that.VenueId,
  348. eqType: 3//设备类型 1 电视盒子 2 演示对应中间件 3 演示客户端
  349. };
  350. let postdata = qs.stringify(param);
  351. QueryVenueEquip(postdata).then(res => {
  352. let json = res;
  353. if (json.Code == 0) {
  354. that.loading = false;
  355. if (json.Rs) {
  356. that.EqSn = json.Rs[0].EqSn;
  357. clearInterval(this.mainTimer);//页面销毁时清除定时器
  358. that.GetgetUserList();
  359. if (that.EqSn) {
  360. this.mainTimer = setInterval(() => {
  361. this.GetgetUserList();
  362. }, 1000);
  363. }
  364. } else {
  365. that.$message.error('当前区域没有设置显示设备');
  366. that.students = [];
  367. that.rankInfo = [];
  368. this.PlanName = '';
  369. this.BeginTime = '';
  370. this.Teacher = '';
  371. this.Num = '0';
  372. this.classInfo.endTime = "00:00:00";
  373. clearInterval(this.mainTimer);//页面销毁时清除定时器
  374. return false
  375. }
  376. } else {
  377. that.$message.error(json.Memo + ' 错误码:' + json.Code);
  378. }
  379. })
  380. },
  381. GetgetUserList() {
  382. let that = this;
  383. let param = {
  384. token: localStorage.token,
  385. eqSn: that.EqSn
  386. };
  387. let postdata = qs.stringify(param);
  388. // CalorieStatsQuery(postdata).then(res => {
  389. getHello(postdata).then(res => {
  390. let json = res;
  391. if (json.Code == 0) {
  392. if (!json.Dp) {
  393. // that.$message.error('没有获取到课程信息');
  394. this.PlanName = '';
  395. this.BeginTime = '';
  396. this.Teacher = '';
  397. } else {
  398. that.ReadLessonInfo(json.Dp);
  399. }
  400. that.students = json.Rs;
  401. that.rankInfo = json.Rs;
  402. that.giveClassName(json.Rs);
  403. that.ClacClassTime();
  404. } else {
  405. // 已下课
  406. if (json.Code == '999') {
  407. that.students = "";
  408. that.rankInfo = "";
  409. // this.PlanName = '';
  410. // this.BeginTime = '';
  411. // this.Teacher = '';
  412. that.getClassUserRank();
  413. } else {
  414. // 已出错
  415. that.$message.error(json.Memo);
  416. }
  417. }
  418. })
  419. },
  420. getList(len) {
  421. let rs = {};
  422. for (var i = 0; i < len; i++) {
  423. rs = {
  424. Age: 13,
  425. AvgHr: 0,
  426. BeginTime: 1608188579,
  427. Ck: "99",
  428. Cle: "159",
  429. DuId: 119,
  430. EndTime: 0,
  431. GroupNo: 1,
  432. Head: "http://192.168.0.2/gc.png",
  433. Height: 160,
  434. HrId: 41,
  435. IsBirthday: 0,
  436. IsBreaking: 0,
  437. IsNewUser: 0,
  438. MaxHr: 80,
  439. PowerPercent: "80",
  440. Name: "西门吹雪",
  441. PkSucessnum: '1',//胜场数
  442. PkTotalnum: '1',//总场数
  443. PlanId: 60,
  444. PureCalorieNoVo2: "500",
  445. Sex: 1,
  446. Sn: "22735",
  447. StaticHr: 60,
  448. Steps: "1280",
  449. SvId: 20,
  450. UserId: 104,
  451. UserMd5: "55661a861f8fae20dd505b2b4575dc0e",
  452. Weight: 50,
  453. ActivePercent: 70,
  454. bmrMSjRmrcb: 66.00000000000001,
  455. FormatCk: "12",
  456. isAlive: true,
  457. isFinish: false,
  458. isOver: false,
  459. IsPrivate: 1,
  460. lastPushDataTime: 1608188947175,
  461. lastUpdateTime: 1608188945184,
  462. queuePushData: [],
  463. RealHr: "100",
  464. vo2Max: "123"
  465. };
  466. this.students.push(rs);
  467. this.rankInfo.push(rs);
  468. }
  469. this.giveClassName(this.students);
  470. },
  471. // 给每一个数据加类名,一次遍历全部赋值
  472. giveClassName(res) {
  473. let that = this;
  474. let numberClass = '';
  475. let colorClass = '';
  476. for (let i = 0; i < parseInt(res.length); i++) {
  477. switch (true) {
  478. case parseInt(res.length) == 1:
  479. numberClass = 'max';
  480. break;
  481. case parseInt(res.length) == 2:
  482. numberClass = 'two';
  483. break;
  484. case parseInt(res.length) <= 4 && parseInt(res.length) > 2:
  485. numberClass = 'three';
  486. break;
  487. case parseInt(res.length) <= 6 && parseInt(res.length) > 4:
  488. numberClass = 'six';
  489. break;
  490. case parseInt(res.length) <= 9 && parseInt(res.length) > 6:
  491. numberClass = 'nine';
  492. break;
  493. case parseInt(res.length) <= 12 && parseInt(res.length) > 9:
  494. numberClass = 'ten';
  495. break;
  496. case parseInt(res.length) <= 15 && parseInt(res.length) > 12:
  497. numberClass = 'twelve';
  498. break;
  499. case parseInt(res.length) <= 20 && parseInt(res.length) > 15:
  500. numberClass = 'sixteen';
  501. break;
  502. case parseInt(res.length) <= 24 && parseInt(res.length) > 20:
  503. numberClass = 'twenty';
  504. break;
  505. case parseInt(res.length) <= 30 && parseInt(res.length) > 24:
  506. this.bigUserList = true;
  507. numberClass = 'twentyFour';
  508. break;
  509. case parseInt(res.length) >= 31:
  510. this.bigUserList = true;
  511. numberClass = 'twentyFour';
  512. break;
  513. }
  514. let per = parseInt(res[i].ActivePercent);
  515. switch (true) {
  516. case per >= 90:
  517. colorClass = 'red';
  518. break;
  519. case per <= 89 && per > 79:
  520. colorClass = 'brown';
  521. break;
  522. case per <= 79 && per > 69:
  523. colorClass = 'yellow';
  524. break;
  525. case per <= 69 && per > 54:
  526. colorClass = 'green';
  527. break;
  528. case per <= 54 && per > 39:
  529. colorClass = 'violet';
  530. break;
  531. case per <= 39:
  532. colorClass = 'blue';
  533. break
  534. }
  535. that.studentsClassName[i] = {
  536. name: numberClass + ' ' + colorClass,
  537. }
  538. }
  539. },
  540. },
  541. filters: {
  542. fmtNum(val) {
  543. if (val == 0) {
  544. return '--'
  545. } else {
  546. if (parseInt(val) < 0) return 0;
  547. if (parseInt(val) > 0) return val
  548. }
  549. },
  550. fmtFloat(val) {
  551. if (val == 0) {
  552. return '0.0'
  553. } else {
  554. return parseFloat(val).toFixed(1);
  555. }
  556. },
  557. fmtInt(val) {
  558. if (val == 0) {
  559. return '0'
  560. } else {
  561. return parseInt(val);
  562. }
  563. },
  564. max100(val) {
  565. if (val <= 100) {
  566. return val
  567. } else {
  568. return 100
  569. }
  570. }
  571. },
  572. components: {
  573. levelIcon, power, userRank
  574. }
  575. }
  576. </script>
  577. <style scoped>
  578. @import "../assets/css/bg.css";
  579. .context {
  580. border-radius: 12px;
  581. height: 820px;
  582. overflow-y: scroll;
  583. display: block;
  584. margin: 0 auto;
  585. background-color: #fff !important;
  586. padding: 5px;
  587. }
  588. .context::-webkit-scrollbar { /*滚动条整体样式*/
  589. width: 5px; /*高宽分别对应横竖滚动条的尺寸*/
  590. height: 1px;
  591. }
  592. .context::-webkit-scrollbar-thumb { /*滚动条里面小方块*/
  593. border-radius: 5px;
  594. -webkit-box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
  595. background: #535353;
  596. }
  597. .context::-webkit-scrollbar-track { /*滚动条里面轨道*/
  598. -webkit-box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
  599. border-radius: 5px;
  600. background: #EDEDED;
  601. }
  602. .panel /deep/ h5 {
  603. margin: 0;
  604. text-align: left;
  605. font-size: 18px;
  606. font-weight: normal;
  607. padding-bottom: 10px;
  608. border-bottom: 1px solid #F0F2F5;
  609. margin-bottom: 10px;
  610. }
  611. .change {
  612. width: 100%;
  613. overflow: hidden;
  614. display: block;
  615. margin: 0 auto;
  616. padding-top: 10px;
  617. padding-bottom: 0px;
  618. }
  619. .el-button--primary {
  620. margin-right: 10px;
  621. margin-left: 10px;
  622. }
  623. .change button {
  624. float: right;
  625. margin-right: 10px;
  626. cursor: pointer;
  627. }
  628. .basicInfo {
  629. float: left;
  630. font-size: 1rem;
  631. line-height: 2rem;
  632. color: #fff;
  633. padding-left: 1%;
  634. padding-top: 10px;
  635. }
  636. .userList {
  637. width: 100%;
  638. overflow: hidden;
  639. display: block;
  640. margin: 0 auto;
  641. min-height: 42rem;
  642. margin-top: 1rem;
  643. }
  644. em {
  645. font-style: normal;
  646. }
  647. ul, li {
  648. list-style: none;
  649. margin: 0;
  650. padding: 0;
  651. }
  652. ul {
  653. width: 100%;
  654. height: 100%;
  655. min-height: 42rem;
  656. overflow: hidden;
  657. margin: 0 auto;
  658. display: inline-flex;
  659. align-items: center;
  660. justify-content: center;
  661. flex-wrap: wrap;
  662. }
  663. .blue .centerLi {
  664. background: #028FE1;
  665. }
  666. .violet .centerLi {
  667. background: #6D26FA;
  668. }
  669. .green .centerLi {
  670. background: #059F00;
  671. }
  672. .yellow .centerLi {
  673. background: #DFB200;
  674. }
  675. .brown .centerLi {
  676. background: #EA8813;
  677. }
  678. .red .centerLi {
  679. background: #CF1122;
  680. }
  681. .slowJump {
  682. animation: mymove 3s infinite;
  683. -webkit-animation: mymove 3s infinite; /*Safari and Chrome*/
  684. animation-direction: alternate; /*轮流反向播放动画。*/
  685. animation-timing-function: ease-in-out; /*动画的速度曲线*/
  686. /* Safari 和 Chrome */
  687. -webkit-animation-direction: alternate; /*轮流反向播放动画。*/
  688. -webkit-animation-timing-function: ease-in-out; /*动画的速度曲线*/
  689. }
  690. .normalJump {
  691. animation: mymove 2s infinite;
  692. -webkit-animation: mymove 2s infinite; /*Safari and Chrome*/
  693. animation-direction: alternate; /*轮流反向播放动画。*/
  694. animation-timing-function: ease-in-out; /*动画的速度曲线*/
  695. /* Safari 和 Chrome */
  696. -webkit-animation-direction: alternate; /*轮流反向播放动画。*/
  697. -webkit-animation-timing-function: ease-in-out; /*动画的速度曲线*/
  698. }
  699. .fastJump {
  700. animation: mymove 1s infinite;
  701. -webkit-animation: mymove 1s infinite; /*Safari and Chrome*/
  702. animation-direction: alternate; /*轮流反向播放动画。*/
  703. animation-timing-function: ease-in-out; /*动画的速度曲线*/
  704. /* Safari 和 Chrome */
  705. -webkit-animation-direction: alternate; /*轮流反向播放动画。*/
  706. -webkit-animation-timing-function: ease-in-out; /*动画的速度曲线*/
  707. }
  708. @keyframes mymove {
  709. 0% {
  710. transform: scale(1); /*开始为原始大小*/
  711. }
  712. 25% {
  713. transform: scale(1.1); /*放大1.1倍*/
  714. }
  715. 50% {
  716. transform: scale(1);
  717. }
  718. 75% {
  719. transform: scale(1.1);
  720. }
  721. }
  722. @-webkit-keyframes mymove /*Safari and Chrome*/
  723. {
  724. 0% {
  725. transform: scale(1); /*开始为原始大小*/
  726. }
  727. 25% {
  728. transform: scale(1.1); /*放大1.1倍*/
  729. }
  730. 50% {
  731. transform: scale(1);
  732. }
  733. 75% {
  734. transform: scale(1.1);
  735. }
  736. }
  737. .centerLi {
  738. width: 99.8%;
  739. overflow: hidden;
  740. float: left;
  741. color: #fff;
  742. }
  743. .human img {
  744. overflow: hidden;
  745. display: block;
  746. margin: 0 auto;
  747. border: 2px solid #fff;
  748. border-radius: 33rem;
  749. /*box-shadow: 0px 0px 5px #fff;*/
  750. }
  751. s {
  752. text-decoration: none;
  753. }
  754. em {
  755. font-style: normal;
  756. }
  757. .cla {
  758. position: relative;
  759. float: left;
  760. text-align: right;
  761. }
  762. .centerLi .human {
  763. width: 100%;
  764. overflow: hidden;
  765. display: block;
  766. margin: 0 auto;
  767. padding: 0;
  768. }
  769. .human .name {
  770. width: 100%;
  771. display: block;
  772. margin: 0 auto;
  773. overflow: hidden;
  774. }
  775. .human .name div {
  776. float: left;
  777. width: 20%;
  778. text-align: left;
  779. text-indent: 0.1rem;
  780. }
  781. .human .name .nameMd {
  782. width: 60%;
  783. text-align: center;
  784. text-indent: 0;
  785. }
  786. .lcla span {
  787. position: relative;
  788. float: left;
  789. }
  790. .cla em {
  791. text-align: right;
  792. }
  793. .heartJump {
  794. position: relative;
  795. }
  796. .lhj span {
  797. position: relative;
  798. text-align: right;
  799. float: left;
  800. }
  801. .rhj {
  802. float: right;
  803. }
  804. .rhj img {
  805. position: relative;
  806. float: right;
  807. }
  808. .bottomLi {
  809. width: 96%;
  810. height: auto;
  811. overflow: hidden;
  812. display: block;
  813. margin: 0 auto;
  814. margin-top: 1.2rem;
  815. font-weight: normal !important;
  816. color: #fff;
  817. text-align: left;
  818. line-height: 3rem;
  819. }
  820. .bottomLi img {
  821. float: left;
  822. margin-left: 10%;
  823. }
  824. .bottomLi .btcla {
  825. width: 33.333%;
  826. float: left;
  827. }
  828. .bottomLi .btck {
  829. width: 33.333%;
  830. float: left;
  831. }
  832. .bottomLi .step {
  833. width: 33.333%;
  834. float: right;
  835. }
  836. .bottomLi span {
  837. float: left;
  838. text-align: left;
  839. }
  840. .topLi {
  841. width: 100%;
  842. overflow: hidden;
  843. display: block;
  844. margin: 0 auto;
  845. overflow: hidden;
  846. }
  847. /*max*/
  848. .max {
  849. width: 40rem;
  850. height: 20rem;
  851. }
  852. .max .centerLi {
  853. width: 100%;
  854. height: 100%;
  855. overflow: hidden;
  856. display: block;
  857. margin: 0 auto;
  858. }
  859. .max .human .name {
  860. font-size: 2rem;
  861. height: 5rem;
  862. line-height: 4rem;
  863. }
  864. .max .human img {
  865. width: 10rem;
  866. height: 10rem;
  867. }
  868. .max .cla {
  869. width: 12rem;
  870. height: 8rem;
  871. top: -10rem;
  872. left: 0;
  873. font-size: 8rem;
  874. }
  875. .max .lcla span {
  876. font-size: 3rem;
  877. top: -8rem;
  878. float: left;
  879. left: 0;
  880. }
  881. .max .cla em {
  882. font-size: 6rem;
  883. left: 1rem;
  884. }
  885. .max .lhj span {
  886. width: 12rem;
  887. height: 8rem;
  888. top: -8rem;
  889. left: 10rem;
  890. font-size: 6rem;
  891. }
  892. .max .rhj img {
  893. width: 2rem;
  894. top: -8rem;
  895. right: 1rem;
  896. }
  897. .max .longIcon {
  898. position: absolute;
  899. width: 1.96rem;
  900. overflow: hidden;
  901. display: block;
  902. margin: 0 auto;
  903. bottom: 2rem;
  904. right: 3.5rem;
  905. }
  906. .max .topLi {
  907. height: 16rem;
  908. }
  909. .max .bottomLi {
  910. height: 6rem;
  911. line-height: 6rem;
  912. font-size: 2rem;
  913. text-align: center;
  914. }
  915. .max .bottomLi .btck {
  916. /*text-indent: 1.6rem;*/
  917. }
  918. .max .bottomLi img {
  919. width: 2rem;
  920. height: 2rem;
  921. margin-top: 0.4rem;
  922. }
  923. .max .bottomLi span {
  924. line-height: 3rem;
  925. text-indent: 1rem;
  926. }
  927. .max .bottomLi .btck {
  928. width: 29%;
  929. padding-left: 1%;
  930. }
  931. .max .bottomLi .step {
  932. width: 24%;
  933. padding-right: 2%;
  934. }
  935. .max .cla em.plus {
  936. position: relative;
  937. left: -0.5rem
  938. }
  939. .max .lhj span.plus {
  940. position: relative;
  941. left: 8.75rem
  942. }
  943. .max .bottomLi .btcla img {
  944. width: 1.8rem;
  945. height: 1.8rem;
  946. }
  947. .max .bottomLi .btcla span {
  948. text-indent: 0.1rem;
  949. }
  950. .max .bottomLi .btck span {
  951. text-indent: 0.1rem;
  952. }
  953. .max .bottomLi .btck img {
  954. width: 2rem;
  955. height: 2rem;
  956. margin-top: 0.5rem;
  957. }
  958. /*two*/
  959. .two {
  960. width: 40rem;
  961. height: 20rem;
  962. float: left;
  963. overflow: hidden;
  964. margin-top: 6%
  965. }
  966. .two .centerLi {
  967. height: 100%;
  968. /*border: 1px solid #fff;*/
  969. }
  970. .two:nth-child(2) {
  971. float: right;
  972. }
  973. .two .human .name {
  974. width: 100%;
  975. height: 4rem;
  976. font-size: 2rem;
  977. line-height: 4rem;
  978. }
  979. .two .human img {
  980. width: 11rem;
  981. height: 11rem;
  982. }
  983. .two .cla {
  984. width: 12rem;
  985. height: 8rem;
  986. top: -9rem;
  987. left: 0;
  988. font-size: 2rem;
  989. }
  990. .two .lcla span {
  991. font-size: 2rem;
  992. top: -9rem;
  993. float: left;
  994. left: 0;
  995. }
  996. .two .cla em {
  997. font-size: 5rem;
  998. left: 4rem;
  999. }
  1000. .two .lhj span {
  1001. width: 12rem;
  1002. height: 8rem;
  1003. top: -9rem;
  1004. left: 10rem;
  1005. font-size: 5rem;
  1006. }
  1007. .two .rhj img {
  1008. width: 1.6rem;
  1009. top: -9rem;
  1010. right: 2.5rem;
  1011. }
  1012. .two .topLi {
  1013. height: 16rem;
  1014. }
  1015. .two .bottomLi {
  1016. font-size: 2.5rem;
  1017. text-align: center;
  1018. }
  1019. .two .bottomLi img {
  1020. width: 2rem;
  1021. height: 2rem;
  1022. margin-top: 0.4rem;
  1023. }
  1024. .two .bottomLi span {
  1025. line-height: 3rem;
  1026. text-indent: 1rem;
  1027. }
  1028. .two .bottomLi .btck {
  1029. width: 29%;
  1030. padding-left: 0%;
  1031. }
  1032. .two .bottomLi .step {
  1033. width: 26%;
  1034. padding-right: 1%;
  1035. }
  1036. .two .cla em.plus {
  1037. position: relative;
  1038. left: -0.5rem
  1039. }
  1040. .two .lhj span.plus {
  1041. position: relative;
  1042. left: 9rem
  1043. }
  1044. .two .bottomLi .btck img {
  1045. width: 2.6rem;
  1046. height: 2.6rem;
  1047. margin-top: 0.1rem;
  1048. }
  1049. .two .bottomLi .btck span {
  1050. text-indent: 1.6rem;
  1051. }
  1052. /*three*/
  1053. .three {
  1054. width: 40rem;
  1055. height: 16rem;
  1056. float: left;
  1057. overflow: hidden;
  1058. margin-bottom: 1%
  1059. }
  1060. .three .centerLi {
  1061. width: 90%;
  1062. height: 100%;
  1063. overflow: hidden;
  1064. display: block;
  1065. margin: 0 auto;
  1066. /*border: 1px solid #fff;*/
  1067. float: none;
  1068. }
  1069. .three .human .name {
  1070. width: 100%;
  1071. height: 2.5rem;
  1072. font-size: 1.8rem;
  1073. line-height: 2.5rem;
  1074. }
  1075. .three .human img {
  1076. width: 9rem;
  1077. height: 9rem;
  1078. margin-top: 1rem;
  1079. }
  1080. .three .cla {
  1081. width: 11rem;
  1082. height: 8rem;
  1083. top: -8rem;
  1084. left: 0;
  1085. font-size: 2rem;
  1086. }
  1087. .three .lcla span {
  1088. font-size: 2rem;
  1089. top: -9rem;
  1090. float: left;
  1091. left: 0;
  1092. }
  1093. .three .cla em {
  1094. font-size: 5rem;
  1095. left: 4rem;
  1096. }
  1097. .three .lhj span {
  1098. width: 12rem;
  1099. height: 8rem;
  1100. top: -8rem;
  1101. left: 7rem;
  1102. font-size: 4.4rem;
  1103. }
  1104. .three .rhj img {
  1105. width: 1.4rem;
  1106. top: -8rem;
  1107. right: 2rem;
  1108. }
  1109. .three .topLi {
  1110. height: 13rem;
  1111. }
  1112. .three .bottomLi {
  1113. font-size: 1.6rem;
  1114. margin-top: 0rem;
  1115. text-align: center;
  1116. }
  1117. .three .bottomLi img {
  1118. width: 2rem;
  1119. height: 2rem;
  1120. margin-top: 0.4rem;
  1121. }
  1122. .three .bottomLi span {
  1123. line-height: 3.2rem;
  1124. text-indent: 1rem;
  1125. }
  1126. .three .bottomLi .btck {
  1127. width: 30%;
  1128. padding-left: 2%;
  1129. }
  1130. .three .bottomLi .step {
  1131. width: 25%;
  1132. padding-right: 2%;
  1133. }
  1134. .three .cla em.plus {
  1135. position: relative;
  1136. left: -0.5rem
  1137. }
  1138. .three .lhj span.plus {
  1139. position: relative;
  1140. left: 8rem
  1141. }
  1142. .three .bottomLi .btck img {
  1143. width: 2.4rem;
  1144. height: 2.4rem;
  1145. margin-top: 0.2rem;
  1146. }
  1147. .three .bottomLi .btck span {
  1148. text-indent: 1.6rem;
  1149. }
  1150. .three /deep/ .powerContainer img {
  1151. width: 2rem;
  1152. }
  1153. /*six*/
  1154. .six {
  1155. width: 35rem;
  1156. height: 14rem;
  1157. float: left;
  1158. overflow: hidden;
  1159. margin-bottom: 1%
  1160. }
  1161. .six .centerLi {
  1162. width: 98%;
  1163. height: 100%;
  1164. overflow: hidden;
  1165. display: block;
  1166. margin: 0 auto;
  1167. /*border: 1px solid #fff;*/
  1168. float: none;
  1169. }
  1170. .six .human .name {
  1171. width: 100%;
  1172. height: 3.2rem;
  1173. font-size: 1.3rem;
  1174. line-height: 3.2rem;
  1175. }
  1176. .six .human img {
  1177. width: 7rem;
  1178. height: 7rem;
  1179. margin-top: 0.4rem;
  1180. }
  1181. .six .cla {
  1182. width: 8rem;
  1183. height: 8rem;
  1184. top: -8rem;
  1185. left: 0;
  1186. font-size: 6rem;
  1187. }
  1188. .six .lcla span {
  1189. font-size: 2rem;
  1190. top: -6.5rem;
  1191. float: left;
  1192. left: -0.2rem;
  1193. }
  1194. .six .cla em {
  1195. font-size: 4rem;
  1196. left: 4rem;
  1197. }
  1198. .six .lhj span {
  1199. width: 8rem;
  1200. height: 8rem;
  1201. top: -6.5rem;
  1202. left: 11rem;
  1203. font-size: 4rem;
  1204. }
  1205. .six .rhj img {
  1206. width: 1.4rem;
  1207. top: -7rem;
  1208. right: 2rem;
  1209. }
  1210. .six .topLi {
  1211. height: 10.9rem;
  1212. }
  1213. .six .bottomLi {
  1214. width: 98%;
  1215. font-size: 2rem;
  1216. margin-top: 0.2rem;
  1217. text-align: center;
  1218. }
  1219. .six .bottomLi img {
  1220. width: 1.8rem;
  1221. margin-top: 0.5rem;
  1222. }
  1223. .six .bottomLi .btcla img {
  1224. width: 1.4rem;
  1225. margin-top: 0.5rem;
  1226. }
  1227. .six .bottomLi .btck img {
  1228. width: 1.6rem;
  1229. margin-top: 0.5rem;
  1230. }
  1231. .six .bottomLi span {
  1232. line-height: 3.2rem;
  1233. text-indent: 0.5rem;
  1234. }
  1235. .six .bottomLi .btcla {
  1236. width: 30%;
  1237. }
  1238. .six .bottomLi .btck {
  1239. width: 33%;
  1240. padding-left: 3%;
  1241. }
  1242. .six .bottomLi .step {
  1243. width: 28%;
  1244. padding-right: 0%;
  1245. }
  1246. .six .cla em.plus {
  1247. position: relative;
  1248. left: -1.2rem
  1249. }
  1250. .six .lhj span.plus {
  1251. position: relative;
  1252. left: 11.3rem
  1253. }
  1254. .six .bottomLi .btck img {
  1255. width: 2rem;
  1256. height: 2rem;
  1257. margin-top: 0.5rem;
  1258. }
  1259. /*nine*/
  1260. .nine {
  1261. width: 33.3333%;
  1262. height: 13rem;
  1263. float: left;
  1264. overflow: hidden;
  1265. margin-bottom: 0.4rem
  1266. }
  1267. .nine .centerLi {
  1268. width: 98%;
  1269. height: 100%;
  1270. overflow: hidden;
  1271. display: block;
  1272. margin: 0 auto;
  1273. /*border: 1px solid #fff;*/
  1274. float: none;
  1275. }
  1276. .nine .human .name {
  1277. width: 100%;
  1278. height: 2.4rem;
  1279. font-size: 1.6rem;
  1280. line-height: 2.4rem;
  1281. }
  1282. .nine .human img {
  1283. width: 6rem;
  1284. height: 6rem;
  1285. margin-top: 0.4rem;
  1286. }
  1287. .nine .cla {
  1288. width: 8rem;
  1289. height: 8rem;
  1290. top: -5.5rem;
  1291. left: 0;
  1292. font-size: 4rem;
  1293. }
  1294. .nine .lcla span {
  1295. font-size: 1.3rem;
  1296. top: -5.5rem;
  1297. float: left;
  1298. left: 0.05rem;
  1299. }
  1300. .nine .cla em {
  1301. font-size: 4rem;
  1302. left: 1rem;
  1303. }
  1304. .nine .lhj span {
  1305. width: 7rem;
  1306. height: 8rem;
  1307. top: -5.5rem;
  1308. left: 12rem;
  1309. font-size: 4rem;
  1310. }
  1311. .nine .rhj img {
  1312. width: 1rem;
  1313. top: -5.5rem;
  1314. right: 3rem;
  1315. }
  1316. .nine .topLi {
  1317. height: 10rem;
  1318. }
  1319. .nine .bottomLi {
  1320. width: 98%;
  1321. font-size: 1.6rem;
  1322. margin-top: 0.2rem;
  1323. text-align: center;
  1324. }
  1325. .nine .bottomLi img {
  1326. width: 1.6rem;
  1327. height: 1.6rem;
  1328. margin-top: 0.6rem;
  1329. }
  1330. .nine .bottomLi span {
  1331. line-height: 3.2rem;
  1332. text-indent: 0.4rem;
  1333. }
  1334. .nine .bottomLi .btcla {
  1335. width: 30%;
  1336. }
  1337. .nine .bottomLi .btck {
  1338. width: 32%;
  1339. padding-left: 5%;
  1340. }
  1341. .nine .bottomLi .step {
  1342. width: 28%;
  1343. padding-right: 0%;
  1344. }
  1345. .nine .cla em.plus {
  1346. position: relative;
  1347. left: -1.2rem
  1348. }
  1349. .nine .lhj span.plus {
  1350. position: relative;
  1351. left: 1.3rem
  1352. }
  1353. .nine .bottomLi .btck img {
  1354. width: 2rem;
  1355. height: 2rem;
  1356. margin-top: 0.4rem;
  1357. }
  1358. .nine /deep/ .powerContainer img {
  1359. width: 1.2rem;
  1360. }
  1361. /*ten*/
  1362. .ten {
  1363. width: 25rem;
  1364. height: 13rem;
  1365. float: left;
  1366. overflow: hidden;
  1367. margin-bottom: 0.2rem
  1368. }
  1369. .ten .centerLi {
  1370. width: 98%;
  1371. height: 100%;
  1372. overflow: hidden;
  1373. display: block;
  1374. margin: 0 auto;
  1375. /*border: 1px solid #fff;*/
  1376. float: none;
  1377. }
  1378. .ten .human .name {
  1379. width: 100%;
  1380. height: 2rem;
  1381. font-size: 1.4rem;
  1382. line-height: 2rem;
  1383. margin-bottom: 0.5rem;
  1384. }
  1385. .ten .human img {
  1386. width: 6rem;
  1387. height: 6rem;
  1388. margin-top: 0.6rem;
  1389. }
  1390. .ten .cla {
  1391. width: 5rem;
  1392. height: 4rem;
  1393. top: -5rem;
  1394. left: 2rem;
  1395. font-size: 1rem;
  1396. }
  1397. .ten .lcla span {
  1398. font-size: 1.5rem;
  1399. top: -5rem;
  1400. float: left;
  1401. left: 2rem;
  1402. }
  1403. .ten .cla em {
  1404. font-size: 4rem;
  1405. left: 4rem;
  1406. }
  1407. .ten .lhj span {
  1408. width: 4rem;
  1409. height: 4rem;
  1410. top: -5rem;
  1411. left: 9.5rem;
  1412. font-size: 4rem;
  1413. }
  1414. .ten .rhj img {
  1415. width: 1rem;
  1416. top: -4.5rem;
  1417. right: 0.5rem;
  1418. }
  1419. .ten .topLi {
  1420. height: 9rem;
  1421. }
  1422. .ten .bottomLi {
  1423. width: 98%;
  1424. font-size: 1.5rem;
  1425. margin-top: 0.1rem;
  1426. text-align: center;
  1427. }
  1428. .ten .bottomLi img {
  1429. width: 1.5em;
  1430. height: 1.5rem;
  1431. margin-top: 0.9rem;
  1432. }
  1433. .ten .bottomLi span {
  1434. line-height: 3.2rem;
  1435. text-indent: 0.1rem;
  1436. }
  1437. .ten .bottomLi .btcla {
  1438. width: 30%;
  1439. }
  1440. .ten .bottomLi .btck {
  1441. width: 32%;
  1442. padding-left: 3%;
  1443. }
  1444. .ten .bottomLi .step {
  1445. width: 29%;
  1446. padding-right: 0%;
  1447. }
  1448. .ten .cla em.plus {
  1449. position: relative;
  1450. left: -1.2rem
  1451. }
  1452. .ten .lhj span.plus {
  1453. position: relative;
  1454. left: 1.2rem;
  1455. line-height: 1rem;
  1456. }
  1457. .ten .btck img {
  1458. width: 1.8rem;
  1459. height: 1.8rem;
  1460. margin-top: 0.65rem;
  1461. }
  1462. .ten /deep/ .powerContainer img {
  1463. width: 1.2rem;
  1464. margin-left: 1rem;
  1465. }
  1466. /*twelve*/
  1467. .twelve {
  1468. width: 20rem;
  1469. height: 11rem;
  1470. float: left;
  1471. overflow: hidden;
  1472. margin-bottom: 1.2rem
  1473. }
  1474. .twelve .centerLi {
  1475. width: 98%;
  1476. height: 100%;
  1477. overflow: hidden;
  1478. display: block;
  1479. margin: 0 auto;
  1480. /*border: 1px solid #fff;*/
  1481. float: none;
  1482. }
  1483. .twelve .human .name {
  1484. width: 100%;
  1485. height: 1.5rem;
  1486. font-size: 1rem;
  1487. line-height: 1.5rem;
  1488. margin-bottom: 0.5rem;
  1489. }
  1490. .twelve .human img {
  1491. width: 5rem;
  1492. height: 5rem;
  1493. }
  1494. .twelve .cla {
  1495. width: 4rem;
  1496. height: 4rem;
  1497. top: -4rem;
  1498. left: 1.5rem;
  1499. }
  1500. .twelve .lcla span {
  1501. font-size: 1rem;
  1502. top: -4rem;
  1503. float: left;
  1504. left: 1.5rem;
  1505. }
  1506. .twelve .cla em {
  1507. font-size: 3rem;
  1508. left: 2rem;
  1509. }
  1510. .twelve .lhj span {
  1511. width: 1.2rem;
  1512. height: 1.2rem;
  1513. top: -4.2rem;
  1514. left: 8.1rem;
  1515. font-size: 3rem;
  1516. }
  1517. .twelve .rhj img {
  1518. width: 1rem;
  1519. top: -4rem;
  1520. right: 0.5rem;
  1521. }
  1522. .twelve .topLi {
  1523. height: 8rem;
  1524. }
  1525. .twelve .bottomLi {
  1526. width: 98%;
  1527. font-size: 1.4rem;
  1528. margin-top: 0.1rem;
  1529. text-align: center;
  1530. }
  1531. .twelve .bottomLi img {
  1532. width: 1.4rem;
  1533. height: 1.4rem;
  1534. margin-top: 0.75rem;
  1535. }
  1536. .twelve .bottomLi span {
  1537. line-height: 3.2rem;
  1538. text-indent: 0.1rem;
  1539. }
  1540. .twelve .bottomLi .btcla {
  1541. width: 30%;
  1542. }
  1543. .twelve .bottomLi .btck {
  1544. width: 32%;
  1545. padding-left: 2%;
  1546. }
  1547. .twelve .bottomLi .step {
  1548. width: 27%;
  1549. padding-right: 1%;
  1550. }
  1551. .twelve .cla em.plus {
  1552. position: relative;
  1553. left: -0.2rem
  1554. }
  1555. .twelve .lhj span.plus {
  1556. position: relative;
  1557. left: 3.2rem
  1558. }
  1559. .twelve .btck img {
  1560. width: 1.5rem;
  1561. height: 1.5rem;
  1562. }
  1563. .twelve .btck img {
  1564. width: 1.7rem;
  1565. height: 1.7rem;
  1566. margin-top: 0.6rem;
  1567. }
  1568. .twelve /deep/ .powerContainer img {
  1569. width: 1.2rem;
  1570. margin-left: 1rem;
  1571. }
  1572. /*sixteen*/
  1573. .sixteen {
  1574. width: 20rem;
  1575. height: 10rem;
  1576. float: left;
  1577. overflow: hidden;
  1578. margin-bottom: 0.1rem
  1579. }
  1580. .sixteen .centerLi {
  1581. width: 98%;
  1582. height: 100%;
  1583. overflow: hidden;
  1584. display: block;
  1585. margin: 0 auto;
  1586. /*border: 1px solid #fff;*/
  1587. float: none;
  1588. }
  1589. .sixteen .human .name {
  1590. width: 100%;
  1591. height: 2.5rem;
  1592. font-size: 1rem;
  1593. line-height: 2.5rem;
  1594. margin-top: 0.1rem;
  1595. margin-bottom: 0.1rem;
  1596. }
  1597. .sixteen .human img {
  1598. width: 4rem;
  1599. height: 4rem;
  1600. }
  1601. .sixteen .cla {
  1602. width: 1.2rem;
  1603. height: 1.4rem;
  1604. top: -3.7rem;
  1605. left: 3rem;
  1606. font-size: 0.15rem;
  1607. }
  1608. .sixteen .lcla span {
  1609. font-size: 1rem;
  1610. top: -3.5rem;
  1611. float: left;
  1612. left: 5rem;
  1613. }
  1614. .sixteen .cla em {
  1615. font-size: 3rem;
  1616. left: 3rem;
  1617. }
  1618. .sixteen .lhj span {
  1619. width: 1rem;
  1620. height: 1.8rem;
  1621. top: -4rem;
  1622. left: 11rem;
  1623. font-size: 3rem;
  1624. }
  1625. .sixteen .rhj img {
  1626. width: 1rem;
  1627. top: -4rem;
  1628. right: 0.5rem;
  1629. }
  1630. .sixteen .topLi {
  1631. height: 8rem;
  1632. }
  1633. .sixteen .bottomLi {
  1634. width: 98%;
  1635. font-size: 1.3rem;
  1636. margin-top: -0.05rem;
  1637. text-align: center;
  1638. }
  1639. .sixteen .bottomLi img {
  1640. width: 1.2rem;
  1641. height: 1.2rem;
  1642. margin-top: 0.25rem;
  1643. }
  1644. .sixteen .bottomLi span {
  1645. line-height: 2.2rem;
  1646. text-indent: 0.1rem;
  1647. }
  1648. .sixteen .bottomLi .btcla {
  1649. width: 30%;
  1650. }
  1651. .sixteen .bottomLi .btck {
  1652. width: 32%;
  1653. padding-left: 3%;
  1654. }
  1655. .sixteen .bottomLi .step {
  1656. width: 27%;
  1657. padding-right: 2%;
  1658. /*text-align: center;*/
  1659. }
  1660. .sixteen .cla em.plus {
  1661. position: relative;
  1662. left: -0.2rem
  1663. }
  1664. .sixteen .lhj span.plus {
  1665. position: relative;
  1666. left: 0.9rem
  1667. }
  1668. .sixteen .btck img {
  1669. width: 1.6rem;
  1670. height: 1.6rem;
  1671. }
  1672. .sixteen /deep/ .powerContainer img {
  1673. width: 1.2rem;
  1674. margin-left: 1rem;
  1675. }
  1676. /*twenty*/
  1677. .twenty {
  1678. width: 20rem;
  1679. height: 8rem;
  1680. float: left;
  1681. overflow: hidden;
  1682. margin-bottom: 0.1rem
  1683. }
  1684. .twenty .centerLi {
  1685. width: 98%;
  1686. height: 100%;
  1687. overflow: hidden;
  1688. display: block;
  1689. margin: 0 auto;
  1690. /*border: 1px solid #fff;*/
  1691. float: none;
  1692. }
  1693. .twenty .human .name {
  1694. width: 100%;
  1695. height: 2.1rem;
  1696. font-size: 1rem;
  1697. line-height: 2rem;
  1698. margin-bottom: 0.1rem;
  1699. }
  1700. .twenty .human img {
  1701. width: 3.5rem;
  1702. height: 3.5rem;
  1703. margin-top: 0.15rem;
  1704. }
  1705. .twenty .cla {
  1706. width: 0.95rem;
  1707. height: 1.4rem;
  1708. top: -3.5rem;
  1709. left: 3rem;
  1710. font-size: 0.8rem;
  1711. }
  1712. .twenty .lcla span {
  1713. font-size: 1rem;
  1714. top: -3.5rem;
  1715. float: left;
  1716. left: 5.2rem;
  1717. }
  1718. .twenty .cla em {
  1719. font-size: 3rem;
  1720. left: 3rem;
  1721. }
  1722. .twenty .lhj span {
  1723. width: 0.85rem;
  1724. height: 2rem;
  1725. top: -3.5rem;
  1726. left: 11rem;
  1727. font-size: 3rem;
  1728. }
  1729. .twenty .rhj img {
  1730. width: 1rem;
  1731. top: -3.5rem;
  1732. right: 0.5rem;
  1733. }
  1734. .twenty .topLi {
  1735. height: 6rem;
  1736. }
  1737. .twenty .bottomLi {
  1738. width: 98%;
  1739. font-size: 1rem;
  1740. margin-top: -0.1rem;
  1741. text-align: center;
  1742. }
  1743. .twenty .bottomLi img {
  1744. width: 1.2rem;
  1745. height: 1.2rem;
  1746. margin-top: 0.8rem;
  1747. }
  1748. .twenty .bottomLi span {
  1749. line-height: 3rem;
  1750. text-indent: 0.05rem;
  1751. }
  1752. .twenty .bottomLi .btcla {
  1753. width: 30%;
  1754. }
  1755. .twenty .bottomLi .btck {
  1756. width: 32%;
  1757. padding-left: 3%;
  1758. }
  1759. .twenty .bottomLi .step {
  1760. width: 28%;
  1761. padding-right: 2%;
  1762. }
  1763. .twenty .cla em.plus {
  1764. position: relative;
  1765. left: -0.2rem
  1766. }
  1767. .twenty .lhj span.plus {
  1768. position: relative;
  1769. left: 3.2rem
  1770. }
  1771. .twenty /deep/ .powerContainer img {
  1772. width: 1rem;
  1773. margin-left: 1.5rem;
  1774. }
  1775. .bigUserList {
  1776. min-height: 58rem
  1777. }
  1778. /*twentyFour*/
  1779. .twentyFour {
  1780. width: 20rem;
  1781. height: 9rem;
  1782. float: left;
  1783. overflow: hidden;
  1784. margin-bottom: 0.1rem
  1785. }
  1786. .twentyFour .centerLi {
  1787. width: 96%;
  1788. height: 100%;
  1789. overflow: hidden;
  1790. display: block;
  1791. margin: 0 auto;
  1792. /*border: 1px solid #fff;*/
  1793. /*border: 0.03rem solid rgba(255,255,255,0.1);*/
  1794. /*box-shadow:inset 0 0 6px rgba(0,0,0,0.4);*/
  1795. float: none;
  1796. }
  1797. .twentyFour .human .name {
  1798. width: 100%;
  1799. height: 1.6rem;
  1800. font-size: 1rem;
  1801. line-height: 1.6rem;
  1802. }
  1803. .twentyFour .human img {
  1804. width: 5rem;
  1805. height: 5rem;
  1806. margin-top: 0.05rem;
  1807. }
  1808. .twentyFour .cla {
  1809. width: 0.9rem;
  1810. height: 1.4rem;
  1811. top: -4rem;
  1812. left: 2.2rem;
  1813. font-size: 1rem;
  1814. }
  1815. .twentyFour .lcla span {
  1816. font-size: 0.2rem;
  1817. top: -4rem;
  1818. float: left;
  1819. left: 4.5rem;
  1820. }
  1821. .twentyFour .cla em {
  1822. font-size: 3rem;
  1823. left: 5rem;
  1824. }
  1825. .twentyFour .lhj span {
  1826. width: 0.75rem;
  1827. height: 2rem;
  1828. top: -4rem;
  1829. left: 11rem;
  1830. font-size: 3rem;
  1831. }
  1832. .twentyFour .rhj img {
  1833. width: 1rem;
  1834. top: -4rem;
  1835. right: 0.5rem;
  1836. }
  1837. .twentyFour .topLi {
  1838. height: 7.5rem;
  1839. }
  1840. .twentyFour .bottomLi {
  1841. width: 98%;
  1842. font-size: 1.2rem;
  1843. margin-top: 0rem;
  1844. text-align: center;
  1845. }
  1846. .twentyFour .bottomLi img {
  1847. width: 1rem;
  1848. height: 1rem;
  1849. margin-top: 0.15rem;
  1850. }
  1851. .twentyFour .bottomLi span {
  1852. line-height: 1.4rem;
  1853. text-indent: 0.05rem;
  1854. }
  1855. .twentyFour .bottomLi .btcla {
  1856. width: 30%;
  1857. }
  1858. .twentyFour .bottomLi .btck {
  1859. width: 32%;
  1860. padding-left: 2%;
  1861. }
  1862. .twentyFour .bottomLi .step {
  1863. width: 28%;
  1864. padding-right: 0%;
  1865. }
  1866. .twentyFour .cla em.plus {
  1867. position: relative;
  1868. left: -0.2rem
  1869. }
  1870. .twentyFour .lhj span.plus {
  1871. position: relative;
  1872. left: 3.2rem;
  1873. line-height: 0.45rem;
  1874. }
  1875. .twentyFour .btck img {
  1876. width: 1.3rem;
  1877. height: 1.3rem;
  1878. margin-top: 0.12rem;
  1879. }
  1880. .twentyFour .bottomLi .step img {
  1881. margin-top: 0.16rem;
  1882. }
  1883. .twentyFour /deep/ .powerContainer img {
  1884. width: 1rem;
  1885. margin-left: 1.6rem;
  1886. }
  1887. /*生日*/
  1888. .birth {
  1889. position: relative;
  1890. top: -11rem;
  1891. width: 40%;
  1892. height: 1px;
  1893. display: block;
  1894. margin: 0 auto;
  1895. }
  1896. .birth img.birthCrow {
  1897. position: relative;
  1898. top: -0.1rem;
  1899. width: 4rem;
  1900. height: 2rem;
  1901. overflow: hidden;
  1902. display: block;
  1903. margin: 0 auto;
  1904. border: none;
  1905. }
  1906. .birth img.birthText {
  1907. position: relative;
  1908. top: 6rem;
  1909. width: 5rem;
  1910. height: 3rem;
  1911. overflow: hidden;
  1912. display: block;
  1913. margin: 0 auto;
  1914. border: none;
  1915. }
  1916. .two .birth img.birthCrow {
  1917. top: -1rem;
  1918. }
  1919. .three .birth img.birthCrow {
  1920. top: 1rem;
  1921. }
  1922. .six .birth {
  1923. top: -8rem;
  1924. }
  1925. .six .birth img.birthCrow {
  1926. width: 4rem;
  1927. height: 2rem;
  1928. top: 0rem;
  1929. }
  1930. .six .birth img.birthText {
  1931. top: 4rem;
  1932. width: 4rem;
  1933. height: 2rem;
  1934. }
  1935. .nine .birth {
  1936. top: -8rem;
  1937. }
  1938. .nine .birth img.birthCrow {
  1939. width: 3rem;
  1940. height: 1.5rem;
  1941. top: 1.6rem;
  1942. }
  1943. .nine .birth img.birthText {
  1944. top: 4.5rem;
  1945. width: 4rem;
  1946. height: 2rem;
  1947. }
  1948. .ten .birth {
  1949. top: -8.5rem;
  1950. }
  1951. .ten .birth img.birthCrow {
  1952. width: 4rem;
  1953. height: 2rem;
  1954. top: 1.6rem;
  1955. }
  1956. .ten .birth img.birthText {
  1957. top: 5rem;
  1958. width: 4rem;
  1959. height: 2rem;
  1960. }
  1961. .twelve .birth {
  1962. top: -8rem;
  1963. }
  1964. .twelve .birth img.birthCrow {
  1965. width: 3rem;
  1966. height: 1.5rem;
  1967. top: 2rem;
  1968. }
  1969. .twelve .birth img.birthText {
  1970. top: 5rem;
  1971. width: 3rem;
  1972. height: 1.6rem;
  1973. }
  1974. .sixteen .birth {
  1975. top: -7rem;
  1976. }
  1977. .sixteen .birth img.birthCrow {
  1978. width: 2rem;
  1979. height: 0.8rem;
  1980. top: 2.5rem;
  1981. }
  1982. .sixteen .birth img.birthText {
  1983. top: 4.5rem;
  1984. width: 3rem;
  1985. height: 1.6rem;
  1986. }
  1987. .twenty .birth {
  1988. top: -6rem;
  1989. }
  1990. .twenty .birth img.birthCrow {
  1991. width: 2rem;
  1992. height: 0.8rem;
  1993. top: 2.1rem;
  1994. }
  1995. .twenty .birth img.birthText {
  1996. top: 4.45rem;
  1997. width: 2rem;
  1998. height: 0.8rem;
  1999. }
  2000. .twentyFour .birth {
  2001. top: -8rem;
  2002. }
  2003. .twentyFour .birth img.birthCrow {
  2004. width: 2.5rem;
  2005. height: 1rem;
  2006. top: 2.4rem;
  2007. }
  2008. .twentyFour .birth img.birthText {
  2009. top: 5.5rem;
  2010. width: 3rem;
  2011. height: 1.7rem;
  2012. }
  2013. /*isPrivate*/
  2014. .isPrivate {
  2015. position: relative;
  2016. float: right;
  2017. top: -10rem;
  2018. width: 75%;
  2019. height: 1px;
  2020. display: block;
  2021. margin: 0 auto;
  2022. overflow: visible;
  2023. }
  2024. .isPrivate i {
  2025. overflow: hidden;
  2026. display: block;
  2027. margin: 0 auto;
  2028. margin-top: 0.1rem;
  2029. width: 3rem !important;
  2030. height: 3rem !important;
  2031. border: none !important;
  2032. background: url("../static/img/privateSign.svg");
  2033. background-size: 100% 100%;
  2034. background-position: top center;
  2035. }
  2036. .two .isPrivate {
  2037. top: -11rem;
  2038. }
  2039. .three .isPrivate {
  2040. top: -10rem;
  2041. left: -0.1rem;
  2042. }
  2043. .six .isPrivate {
  2044. top: -8rem;
  2045. left: -1rem;
  2046. }
  2047. .six .isPrivate i {
  2048. width: 3.2rem !important;
  2049. height: 3.2rem !important;
  2050. }
  2051. .nine .isPrivate {
  2052. top: -7rem;
  2053. left: -1rem;
  2054. }
  2055. .nine .isPrivate i {
  2056. width: 3rem !important;
  2057. height: 3rem !important;
  2058. }
  2059. .ten .isPrivate {
  2060. top: -7rem;
  2061. }
  2062. .ten .isPrivate i {
  2063. width: 2.5rem !important;
  2064. height: 2.5rem !important;
  2065. }
  2066. .twelve .isPrivate {
  2067. top: -5.8rem;
  2068. }
  2069. .twelve .isPrivate i {
  2070. width: 2.1rem !important;
  2071. height: 2.1rem !important;
  2072. }
  2073. .sixteen .isPrivate {
  2074. top: -4.5rem;
  2075. left: -0.1rem;
  2076. }
  2077. .sixteen .isPrivate i {
  2078. width: 2rem !important;
  2079. height: 2rem !important;
  2080. }
  2081. .twenty .isPrivate {
  2082. top: -4rem;
  2083. left: -0.5rem;
  2084. }
  2085. .twenty .isPrivate i {
  2086. width: 1.5rem !important;
  2087. height: 1.5rem !important;
  2088. }
  2089. .twentyFour .isPrivate {
  2090. top: -5.5rem;
  2091. }
  2092. .twentyFour .isPrivate i {
  2093. width: 2rem !important;
  2094. height: 2rem !important;
  2095. }
  2096. .bottom {
  2097. position: relative;
  2098. left: 0;
  2099. right: 0;
  2100. bottom: 0;
  2101. }
  2102. /deep/ .el-dialog {
  2103. background-color: #028fe1;
  2104. background: url("../static/img/bg/bg_1.png");
  2105. background-size: 100% 100%;
  2106. background-repeat: no-repeat;
  2107. color: #fff;
  2108. }
  2109. /deep/ .el-dialog__title {
  2110. color: #fff;
  2111. font-size: 2rem;
  2112. }
  2113. /deep/ .el-input__inner {
  2114. background-color: inherit;
  2115. color: #fff;
  2116. }
  2117. .el-select-dropdown__item {
  2118. padding-left: 10px !important;
  2119. }
  2120. .el-scrollbar {
  2121. padding-left: 10px !important;
  2122. }
  2123. .selected {
  2124. padding-left: 10px !important;
  2125. }
  2126. .room {
  2127. margin-left: 10px;
  2128. }
  2129. #regionSelect {
  2130. height: 25px;
  2131. line-height: 25px;
  2132. background-color: inherit;
  2133. color: #fff;
  2134. }
  2135. #regionSelect option {
  2136. color: #000;
  2137. }
  2138. /deep/ .el-dialog__body .el-col {
  2139. width: 50%;
  2140. }
  2141. </style>