This commit is contained in:
parent
56d5180a95
commit
104ead8dd5
|
@ -26,7 +26,7 @@
|
||||||
<view style="height: 10rpx;"></view>
|
<view style="height: 10rpx;"></view>
|
||||||
<view class="item" v-for="(item,index) in dataList" :key="index" @click="itemClick(item)">
|
<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="item-view">
|
||||||
<view class="view-cata">
|
<view class="view-cata">
|
||||||
<view class="item-view-title">{{item.title}}</view>
|
<view class="item-view-title">{{item.title}}</view>
|
||||||
|
@ -347,7 +347,7 @@
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
}
|
}
|
||||||
.item-view{
|
.item-view{
|
||||||
width: 55%;
|
width:63%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
|
@ -356,8 +356,8 @@
|
||||||
padding: 26rpx 0;
|
padding: 26rpx 0;
|
||||||
}
|
}
|
||||||
.item-img{
|
.item-img{
|
||||||
width: 285rpx;
|
width: 230rpx;
|
||||||
height: 120px;
|
height: 200rpx;
|
||||||
border-radius: 14rpx;
|
border-radius: 14rpx;
|
||||||
position: relative;
|
position: relative;
|
||||||
}
|
}
|
||||||
|
@ -461,13 +461,14 @@
|
||||||
/deep/.uni-searchbar{
|
/deep/.uni-searchbar{
|
||||||
width:240px;
|
width:240px;
|
||||||
border-radius: 31rpx;
|
border-radius: 31rpx;
|
||||||
|
padding-right: 24rpx;
|
||||||
}
|
}
|
||||||
.search-btn{
|
.search-btn{
|
||||||
text-align: center;
|
text-align: center;
|
||||||
color: #111;
|
color: #111;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
right:50rpx;
|
right:40rpx;
|
||||||
top: 26rpx;
|
top: 26rpx;
|
||||||
font-size: 30rpx;
|
font-size: 30rpx;
|
||||||
display: flex;
|
display: flex;
|
||||||
|
|
Loading…
Reference in New Issue