|
@@ -27,10 +27,11 @@
|
|
|
<!-- <img v-if="item.student_id && item.student_icon_url" :src="item.student_icon_url" />
|
|
|
<img class="noPic"
|
|
|
v-else src="@/assets/images/common/noImg.png" /> -->
|
|
|
+ <div class="nameBox">{{ item.name }}</div>
|
|
|
<div class="pic" v-if="item.student_id && item.student_icon_url"
|
|
|
:style="{ backgroundImage: 'url(' + item.student_icon_url + ')' }"></div>
|
|
|
<div class="con">
|
|
|
- <div class="name">{{ item.name }}</div>
|
|
|
+ <!-- <div class="name">{{ item.name }}</div> -->
|
|
|
<div class="score">
|
|
|
<div class="quanshu">{{ item.ring_count || 0 }}<i>圈</i></div>
|
|
|
<div>{{ item.distance }}<span>{{ unit }}</span></div>
|
|
@@ -55,7 +56,7 @@
|
|
|
:class="{ 'pai1': item.rankid == 1, 'pai2': item.rankid == 2, 'pai3': item.rankid == 3 }">
|
|
|
<div>{{ item.rankid }}</div>
|
|
|
</div>
|
|
|
- <div class="pic"><img :src="item.icon" /></div>
|
|
|
+ <!-- <div class="pic"><img :src="item.icon" /></div> -->
|
|
|
<div class="txt">
|
|
|
<div>
|
|
|
<div class="name">{{ item.student_name }}</div>
|
|
@@ -471,6 +472,25 @@ onBeforeUnmount(() => {
|
|
|
height: 100%;
|
|
|
}
|
|
|
|
|
|
+ .nameBox {
|
|
|
+ position: absolute;
|
|
|
+ left: 0;
|
|
|
+ top: 0;
|
|
|
+ font-size: 1.5vw;
|
|
|
+ color: #ffffff;
|
|
|
+ line-height: 1;
|
|
|
+ width: auto;
|
|
|
+ text-align: left;
|
|
|
+ margin-bottom: 0.7vh;
|
|
|
+ font-weight: bold;
|
|
|
+ display: inline-block;
|
|
|
+ padding: 0.8vh 8% 0.8vh 5%;
|
|
|
+ box-sizing: border-box;
|
|
|
+ // background: linear-gradient(180deg, rgba(0, 0, 0, 0.87) 45%, rgba(18, 133, 124, 0.7367) 135%);
|
|
|
+ background: linear-gradient(to right, rgba(15,25,38,1) 0%,rgba(49,95,126,0.6) 100%);
|
|
|
+ border-radius: 0px 0px 1vh 0px;
|
|
|
+ }
|
|
|
+
|
|
|
.pic {
|
|
|
width: 100%;
|
|
|
height: 100%;
|
|
@@ -490,7 +510,8 @@ onBeforeUnmount(() => {
|
|
|
position: absolute;
|
|
|
bottom: 0;
|
|
|
width: 100%;
|
|
|
- padding: 0.7vh 4%;
|
|
|
+ // padding: 0.7vh 4%;
|
|
|
+ padding: 0.8vh 4%;
|
|
|
display: flex;
|
|
|
align-items: center;
|
|
|
// justify-content: space-between;
|
|
@@ -583,7 +604,8 @@ onBeforeUnmount(() => {
|
|
|
.left {
|
|
|
display: flex;
|
|
|
align-items: center;
|
|
|
- width: 70%;
|
|
|
+ padding-right: 5%;
|
|
|
+ width: 100%;
|
|
|
|
|
|
.pai {
|
|
|
width: 2.5vw;
|
|
@@ -591,9 +613,9 @@ onBeforeUnmount(() => {
|
|
|
line-height: 1;
|
|
|
text-align: center;
|
|
|
color: #F9F9F9;
|
|
|
- font-size: 1.3vw;
|
|
|
+ font-size: 1.5vw;
|
|
|
font-family: 'Saira-ExtraBold';
|
|
|
- margin-right: 5%;
|
|
|
+ margin-right: 10%;
|
|
|
flex-shrink: 0;
|
|
|
display: flex;
|
|
|
align-items: center;
|
|
@@ -646,32 +668,34 @@ onBeforeUnmount(() => {
|
|
|
|
|
|
.name {
|
|
|
color: #F9F9F9;
|
|
|
- font-size: 1vw;
|
|
|
+ // font-size: 1vw;
|
|
|
+ font-size: 1.6vw;
|
|
|
}
|
|
|
|
|
|
.className {
|
|
|
color: #13ED84;
|
|
|
- font-size: 0.8vw;
|
|
|
+ // font-size: 0.8vw;
|
|
|
+ font-size: 1vw;
|
|
|
}
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
.right {
|
|
|
+ flex-shrink: 0;
|
|
|
font-family: 'Saira-ExtraBold';
|
|
|
+ // font-size: 1.4vw;
|
|
|
+ font-size: 1.7vw;
|
|
|
|
|
|
.score {
|
|
|
color: #ffffff;
|
|
|
- font-size: 1.4vw;
|
|
|
font-style: italic;
|
|
|
display: inline-block;
|
|
|
}
|
|
|
|
|
|
.unit {
|
|
|
color: #ffffff;
|
|
|
- font-size: 1.4vw;
|
|
|
margin-left: 2px;
|
|
|
- font-family: 'Saira-ExtraBold';
|
|
|
display: inline-block;
|
|
|
}
|
|
|
}
|