fix: 样式处理

This commit is contained in:
杨航
2025-10-29 15:09:51 +08:00
parent 0aa2d9efc2
commit de47ba6a54
2 changed files with 6 additions and 6 deletions
+5 -5
View File
@@ -4,7 +4,7 @@
<view class="img-box-view">
<ImagePreview class="img-box" :imgId="itemInfo.imgId" :isCache="true" width="225" height="170" mode="scaleToFill">
</ImagePreview>
<view class="item-grade">{{itemInfo.evalGrade}}</view>
<view class="item-grade">{{itemInfo.evalGrade}}</view>
<!-- <image class="item-grade" mode="aspectFill"></view> -->
</view>
<view class="cont-box">
@@ -93,16 +93,16 @@
.item-grade {
position: absolute;
right: 0;
width: 60rpx;
height: 46rpx;
width: 62rpx;
height: 32rpx;
background-color: #ff581c;
top: 20rpx;
border-radius: 8rpx 0 0 8rpx;
color: #fff;
text-align: center;
// padding-right: 10rpx;
font-size: 28rpx;
line-height: 46rpx;
font-size: 22rpx;
line-height: 32rpx;
}
}
+1 -1
View File
@@ -463,7 +463,7 @@ const toCourseDetail = item => {
border: 2rpx solid #e8e8e8;
}
.course-item {
display: flex;
// display: flex;
.left {
border-radius: 16rpx;
overflow: hidden;