This commit is contained in:
zhaofang
2022-11-15 18:36:45 +08:00
parent fbd6cb57d6
commit c7876c071d
2 changed files with 16 additions and 14 deletions

View File

@@ -948,7 +948,7 @@
} }
.u-search__content{ .u-search__content{
// border-radius: 999px!important; // border-radius: 999px!important;
// height: 28px; // height: 28px;
} }
} }

View File

@@ -50,8 +50,8 @@
</view> </view>
<view class="medal-img-index"> <view class="medal-img-index">
<image v-if="index+1 < medalData.medalLevel || index+1 == medalData.medalLevel" style="width:104upx;height:120upx" :src="fileBaseUrl+rulesData.icon" mode=""></image> <image v-if="index+1 < medalData.medalLevel || index+1 == medalData.medalLevel" style="width:104upx;height:120upx" :src="fileBaseUrl+rulesData.icon" mode=""></image>
<image v-else style="width:104upx;height:120upx" :src="fileBaseUrl+rulesData.iconGrey" mode=""></image> <image v-else style="width:104upx;height:120upx" :src="fileBaseUrl+rulesData.iconGrey" mode=""></image>
<text class="img-name">{{medalData.medalName}} </text> <text v-if="index+1 < medalData.medalLevel || index+1 == medalData.medalLevel" class="img-name">{{medalData.medalName}} </text>
<text class="img-level">LV.{{index+1}}</text> <text class="img-level">LV.{{index+1}}</text>
</view> </view>
<text v-if="index+1 < medalData.medalLevel || index+1 == medalData.medalLevel" style="color: #387DF7;font-size: 24upx;">LV.{{index+1}}</text> <text v-if="index+1 < medalData.medalLevel || index+1 == medalData.medalLevel" style="color: #387DF7;font-size: 24upx;">LV.{{index+1}}</text>
@@ -152,7 +152,7 @@
margin: 0 auto; margin: 0 auto;
.img-name{ .img-name{
position: absolute; position: absolute;
font-size: 20upx; font-size: 26upx;
color: #fff; color: #fff;
bottom: 10%; bottom: 10%;
left:0; left:0;
@@ -160,10 +160,11 @@
} }
.img-level{ .img-level{
position: absolute; position: absolute;
font-size: 12upx; font-size: 24upx;
color: #fff; color: #fff;
left:44%; left:0;
top: 20%; right:0;
top: 24%;
} }
} }
} }
@@ -184,15 +185,16 @@
left:0; left:0;
right:0; right:0;
// left:6%; // left:6%;
transform: scale(.5); transform: scale(.6);
} }
.img-level{ .img-level{
position: absolute; position: absolute;
font-size: 12upx; font-size: 12upx;
color: #fff; color: #fff;
left:30%; top:24upx;
top: 12%; left:0;
transform: scale(.5); right:0;
transform: scale(.6);
} }
} }
} }
@@ -261,17 +263,17 @@
// left:36upx; // left:36upx;
left:0; left:0;
right:0; right:0;
transform: scale(.7); transform: scale(.8);
} }
.img-level{ .img-level{
position: absolute; position: absolute;
font-size: 12upx; font-size: 12upx;
color: #fff; color: #fff;
// left:60upx; // left:60upx;
top: 24upx; top: 30upx;
left:0; left:0;
right:0; right:0;
transform: scale(.7); transform: scale(.8);
} }
} }
// .medal-list-index:last-child{ // .medal-list-index:last-child{