Fix:4906 【商城小程序】康养和旅居类目下页面内容偏左,需按效果图调整,并做成瀑布流形式
This commit is contained in:
@@ -108,7 +108,7 @@
|
||||
:poster="item.cover + '?vframe/jpg/offset/1'"
|
||||
v-if="item.coverType === 2">
|
||||
</video>
|
||||
<image v-else class="img" :src="item.cover" mode="widthFix"></image>
|
||||
<image v-else class="img" :src="item.cover" mode="scaleToFill"></image>
|
||||
<view class="v12-white-text address">
|
||||
<image
|
||||
class="map-icon v12-mr-1"
|
||||
@@ -118,7 +118,7 @@
|
||||
</view>
|
||||
</view>
|
||||
<view v-if="item.intro" class="v12-font-bold v12-font-28 v12-mt-1 more-t desc-txt">{{ item.intro }}</view>
|
||||
<view class="v12-justify-start v12-align-center v12-my-1">
|
||||
<view class="v12-justify-start v12-align-center v12-mb-1">
|
||||
<view class="atr">
|
||||
<image class="atr" :src="item.avatar"></image>
|
||||
</view>
|
||||
@@ -140,7 +140,7 @@
|
||||
:poster="item.cover + '?vframe/jpg/offset/1'"
|
||||
v-if="item.coverType === 2">
|
||||
</video>
|
||||
<image v-else class="img" :src="item.cover" mode="widthFix"></image>
|
||||
<image v-else class="img" :src="item.cover" mode="scaleToFill"></image>
|
||||
<view class="v12-white-text address">
|
||||
<image
|
||||
class="map-icon v12-mr-1"
|
||||
@@ -150,7 +150,7 @@
|
||||
</view>
|
||||
</view>
|
||||
<view v-if="item.intro" class="v12-font-bold v12-font-28 v12-mt-1 more-t desc-txt">{{ item.intro }}</view>
|
||||
<view class="v12-justify-start v12-align-center v12-my-1">
|
||||
<view class="v12-justify-start v12-align-center v12-mb-1">
|
||||
<view class="atr">
|
||||
<image class="atr" :src="item.avatar"></image>
|
||||
</view>
|
||||
@@ -371,8 +371,8 @@ export default {
|
||||
position: relative;
|
||||
}
|
||||
.desc-txt {
|
||||
height: 78rpx;
|
||||
line-height: 40rpx;
|
||||
max-height: 78rpx;
|
||||
}
|
||||
.address{
|
||||
position: absolute;
|
||||
@@ -392,9 +392,12 @@ export default {
|
||||
align-items: flex-start;
|
||||
}
|
||||
.waterfall-column {
|
||||
width: 48%;
|
||||
width: 49.9%;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
.img{
|
||||
height: 670rpx;
|
||||
}
|
||||
}
|
||||
.atr{
|
||||
width: 52rpx;
|
||||
|
||||
@@ -78,7 +78,7 @@
|
||||
:poster="item.cover + '?vframe/jpg/offset/1'"
|
||||
v-if="item.coverType === 2">
|
||||
</video>
|
||||
<image v-else class="img" :src="item.cover" mode="widthFix"></image>
|
||||
<image v-else class="img" :src="item.cover" mode="scaleToFill"></image>
|
||||
<view class="v12-white-text address">
|
||||
<image
|
||||
class="map-icon v12-mr-1"
|
||||
@@ -88,7 +88,7 @@
|
||||
</view>
|
||||
</view>
|
||||
<view v-if="item.intro" class="v12-font-bold v12-font-28 v12-mt-1 more-t desc-txt">{{ item.intro }}</view>
|
||||
<view class="v12-justify-start v12-align-center v12-my-1">
|
||||
<view class="v12-justify-start v12-align-center v12-mb-1">
|
||||
<view class="atr">
|
||||
<image class="atr" :src="item.avatar"></image>
|
||||
</view>
|
||||
@@ -110,7 +110,7 @@
|
||||
:poster="item.cover + '?vframe/jpg/offset/1'"
|
||||
v-if="item.coverType === 2">
|
||||
</video>
|
||||
<image v-else class="img" :src="item.cover" mode="widthFix"></image>
|
||||
<image v-else class="img" :src="item.cover" mode="scaleToFill"></image>
|
||||
<view class="v12-white-text address">
|
||||
<image
|
||||
class="map-icon v12-mr-1"
|
||||
@@ -120,7 +120,7 @@
|
||||
</view>
|
||||
</view>
|
||||
<view v-if="item.intro" class="v12-font-bold v12-font-28 v12-mt-1 more-t desc-txt">{{ item.intro }}</view>
|
||||
<view class="v12-justify-start v12-align-center v12-my-1">
|
||||
<view class="v12-justify-start v12-align-center v12-mb-1">
|
||||
<view class="atr">
|
||||
<image class="atr" :src="item.avatar"></image>
|
||||
</view>
|
||||
@@ -332,8 +332,8 @@ export default {
|
||||
position: relative;
|
||||
}
|
||||
.desc-txt {
|
||||
height: 78rpx;
|
||||
line-height: 40rpx;
|
||||
max-height: 78rpx;
|
||||
}
|
||||
.address{
|
||||
position: absolute;
|
||||
@@ -353,9 +353,12 @@ export default {
|
||||
align-items: flex-start;
|
||||
}
|
||||
.waterfall-column {
|
||||
width: 48%;
|
||||
width: 49.9%;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
.img{
|
||||
height: 670rpx;
|
||||
}
|
||||
}
|
||||
.atr{
|
||||
width: 52rpx;
|
||||
|
||||
Reference in New Issue
Block a user