This commit is contained in:
kbing1981 2024-07-26 11:40:46 +08:00
parent 56d5180a95
commit 104ead8dd5
1 changed files with 6 additions and 5 deletions

View File

@ -26,7 +26,7 @@
<view style="height: 10rpx;"></view>
<view class="item" v-for="(item,index) in dataList" :key="index" @click="itemClick(item)">
<image :src="item.packageImg" mode="" class="item-img"></image>
<image :src="item.packageImg" mode="aspectFill" class="item-img"></image>
<view class="item-view">
<view class="view-cata">
<view class="item-view-title">{{item.title}}</view>
@ -347,7 +347,7 @@
white-space: nowrap;
}
.item-view{
width: 55%;
width:63%;
height: 100%;
display: flex;
flex-direction: column;
@ -356,8 +356,8 @@
padding: 26rpx 0;
}
.item-img{
width: 285rpx;
height: 120px;
width: 230rpx;
height: 200rpx;
border-radius: 14rpx;
position: relative;
}
@ -461,13 +461,14 @@
/deep/.uni-searchbar{
width:240px;
border-radius: 31rpx;
padding-right: 24rpx;
}
.search-btn{
text-align: center;
color: #111;
font-weight: bold;
position: absolute;
right:50rpx;
right:40rpx;
top: 26rpx;
font-size: 30rpx;
display: flex;