|
|
@@ -16,7 +16,8 @@
|
|
|
<li v-for="(s,i) in calcWeekRank" v-show="Listate[i].state" :class="[{ 'box animate__animated animate__flipInX': Listate[i].state }]">
|
|
|
<div class="num">{{ i + 1 }}</div>
|
|
|
<img :class="[{'headImg':true},{'girl':s.Sex == 2}]" :src="s.Head" alt="" v-if="s.Head">
|
|
|
- <img :class="[{'headImg':true},{'girl':s.Sex == 2}]" v-bind:src="require('../static/img/people/flyhead.png')" alt="学生头像" v-if="!s.Head">
|
|
|
+ <!-- <img :class="[{'headImg':true},{'girl':s.Sex == 2}]" v-bind:src="require('../static/img/people/flyhead.png')" alt="学生头像" v-if="!s.Head"> -->
|
|
|
+ <default-head v-if="!s.Head" :class="[{'headImg':true},{'girl':s.Sex == 2}]"></default-head>
|
|
|
<span>{{ s.UserName }}</span>
|
|
|
<!-- <img class="crIcon" v-bind:src="require('../assets/imgs/rank/cr.png')" v-if="i == 0" alt=""> -->
|
|
|
<img class="pbIcon" src="../assets/imgs/rank/pb.png" v-if="s.IsBreaking == 1" alt="">
|
|
|
@@ -47,7 +48,8 @@
|
|
|
<li v-for="(s,index) in Heros">
|
|
|
<div class="person">
|
|
|
<img :class="[{'headImg':true},{'girl':s.Sex == 2}]" :src="s.Head" alt="" v-if="s.Head">
|
|
|
- <img :class="[{'headImg':true},{'girl':s.Sex == 2}]" v-bind:src="require('../static/img/people/flyhead.png')" alt="学生头像" v-if="!s.Head">
|
|
|
+ <!-- <img :class="[{'headImg':true},{'girl':s.Sex == 2}]" v-bind:src="require('../static/img/people/flyhead.png')" alt="学生头像" v-if="!s.Head"> -->
|
|
|
+ <default-head v-if="!s.Head" :class="[{'headImg':true},{'girl':s.Sex == 2}]"></default-head>
|
|
|
<span class="name">{{ s.UserName }}</span>
|
|
|
<div class="calcHero">
|
|
|
<img src="../assets/imgs/wait/calcIcon.svg" alt="">
|
|
|
@@ -79,7 +81,8 @@
|
|
|
<li v-for="(s,i) in CKWeekRank" v-show="Listate[i].state" :class="[{ 'box animate__animated animate__flipInX': Listate[i].state }]">
|
|
|
<div class="num">{{ i + 1 }}</div>
|
|
|
<img :class="[{'headImg':true},{'girl':s.Sex == 2}]" :src="s.Head" alt="" v-if="s.Head">
|
|
|
- <img :class="[{'headImg':true},{'girl':s.Sex == 2}]" v-bind:src="require('../static/img/people/flyhead.png')" alt="学生头像" v-if="!s.Head">
|
|
|
+ <!-- <img :class="[{'headImg':true},{'girl':s.Sex == 2}]" v-bind:src="require('../static/img/people/flyhead.png')" alt="学生头像" v-if="!s.Head"> -->
|
|
|
+ <default-head v-if="!s.Head" :class="[{'headImg':true},{'girl':s.Sex == 2}]"></default-head>
|
|
|
<span>{{ s.UserName }}</span>
|
|
|
<!-- <img class="crIcon" v-bind:src="require('../assets/imgs/rank/cr.png')" v-if="i == 0" alt=""> -->
|
|
|
<img class="pbIcon" src="../assets/imgs/rank/pb.png" v-if="s.IsBreaking == 1" alt="">
|
|
|
@@ -106,7 +109,8 @@
|
|
|
<li v-for="(s,t) in calcMouthRank" v-show="Listate[t].state" :class="[{ 'box animate__animated animate__flipInX': Listate[t].state }]">
|
|
|
<div class="num">{{ t + 1 }}</div>
|
|
|
<img :class="[{'headImg':true},{'girl':s.Sex == 2}]" :src="s.Head" alt="" v-if="s.Head">
|
|
|
- <img :class="[{'headImg':true},{'girl':s.Sex == 2}]" v-bind:src="require('../static/img/people/flyhead.png')" alt="学生头像" v-if="!s.Head">
|
|
|
+ <!-- <img :class="[{'headImg':true},{'girl':s.Sex == 2}]" v-bind:src="require('../static/img/people/flyhead.png')" alt="学生头像" v-if="!s.Head"> -->
|
|
|
+ <default-head v-if="!s.Head" :class="[{'headImg':true},{'girl':s.Sex == 2}]"></default-head>
|
|
|
<span>{{ s.UserName }}</span>
|
|
|
<!-- <img class="crIcon" v-bind:src="require('../assets/imgs/rank/cr.png')" v-if="t == 0" alt=""> -->
|
|
|
<img class="pbIcon" src="../assets/imgs/rank/pb.png" v-if="s.IsBreaking == 1" alt="">
|
|
|
@@ -136,7 +140,8 @@
|
|
|
<li v-for="(s,index) in ClassNumToper">
|
|
|
<div class="person">
|
|
|
<img :class="[{'headImg':true},{'girl':s.Sex == 2}]" :src="s.Head" alt="" v-if="s.Head">
|
|
|
- <img :class="[{'headImg':true},{'girl':s.Sex == 2}]" v-bind:src="require('../static/img/people/flyhead.png')" alt="学生头像" v-if="!s.Head">
|
|
|
+ <!-- <img :class="[{'headImg':true},{'girl':s.Sex == 2}]" v-bind:src="require('../static/img/people/flyhead.png')" alt="学生头像" v-if="!s.Head"> -->
|
|
|
+ <default-head v-if="!s.Head" :class="[{'headImg':true},{'girl':s.Sex == 2}]"></default-head>
|
|
|
<span class="name">{{ s.UserName }}</span>
|
|
|
<div class="calcHero">
|
|
|
<img src="../assets/imgs/wait/classNum.svg" alt="">
|
|
|
@@ -161,7 +166,8 @@
|
|
|
<li v-for="(s,i) in CKMonthRank" v-show="Listate[i].state" :class="[{ 'box animate__animated animate__flipInX': Listate[i].state }]">
|
|
|
<div class="num">{{ i + 1 }}</div>
|
|
|
<img :class="[{'headImg':true},{'girl':s.Sex == 2}]" :src="s.Head" alt="" v-if="s.Head">
|
|
|
- <img :class="[{'headImg':true},{'girl':s.Sex == 2}]" v-bind:src="require('../static/img/people/flyhead.png')" alt="学生头像" v-if="!s.Head">
|
|
|
+ <!-- <img :class="[{'headImg':true},{'girl':s.Sex == 2}]" v-bind:src="require('../static/img/people/flyhead.png')" alt="学生头像" v-if="!s.Head"> -->
|
|
|
+ <default-head v-if="!s.Head" :class="[{'headImg':true},{'girl':s.Sex == 2}]"></default-head>
|
|
|
<span>{{ s.UserName }}</span>
|
|
|
<!-- <img class="crIcon" v-bind:src="require('../assets/imgs/rank/cr.png')" v-if="i == 0" alt=""> -->
|
|
|
<img class="pbIcon" src="../assets/imgs/rank/pb.png" v-if="s.IsBreaking == 1" alt="">
|
|
|
@@ -183,6 +189,8 @@
|
|
|
|
|
|
<script>
|
|
|
import Headside from '@/components/Headside'
|
|
|
+import defaultHead from '@/components/defaultHead'
|
|
|
+
|
|
|
import '../libs/rem';
|
|
|
import '../Global'
|
|
|
import {
|
|
|
@@ -196,7 +204,9 @@ import {
|
|
|
import audio from '../static/sound/bell.wav'
|
|
|
import {SignInPasswordRequest} from "@/grpc/im_pb";
|
|
|
import { stringify } from 'qs';
|
|
|
+
|
|
|
let qs = require('qs');
|
|
|
+
|
|
|
export default {
|
|
|
data() {
|
|
|
return {
|
|
|
@@ -464,7 +474,7 @@ export default {
|
|
|
},
|
|
|
},
|
|
|
components: {
|
|
|
- Headside
|
|
|
+ Headside, defaultHead
|
|
|
}
|
|
|
}
|
|
|
</script>
|