Commit 6b08fb1d authored by 罗超's avatar 罗超

1

parent 9b151619
This diff is collapsed.
This diff is collapsed.
...@@ -24,14 +24,12 @@ ...@@ -24,14 +24,12 @@
mode="widthFix" mode="widthFix"
style="width: 100%" style="width: 100%"
/></view> /></view>
<view class="img-box"> <view class="img-box-style5">
<view class="img-show"> <image
<image style="width: 100%; height: 100%; border-radius: 10rpx 10rpx 0 0"
style="width: 100%; height: 100%; border-radius: 10rpx 10rpx 0 0" :mode="goodsInfo.fill == 1 ? 'aspectFill' : 'aspectFit'"
:mode="goodsInfo.fill == 1 ? 'aspectFill' : 'aspectFit'" :src="item.picUrl"
:src="item.picUrl" />
/>
</view>
</view> </view>
<view class="good-info"> <view class="good-info">
<view class="good-name" v-if="goodsInfo.showGoodsName">{{ <view class="good-name" v-if="goodsInfo.showGoodsName">{{
...@@ -189,7 +187,7 @@ export default { ...@@ -189,7 +187,7 @@ export default {
.her-scoller { .her-scoller {
overflow-x: auto !important; overflow-x: auto !important;
padding: 12px; padding: 12px;
/* display: flex; */ display: flex;
white-space: nowrap; white-space: nowrap;
} }
/* .her-scoller::after { /* .her-scoller::after {
...@@ -200,9 +198,7 @@ export default { ...@@ -200,9 +198,7 @@ export default {
.her-scoller .good-five { .her-scoller .good-five {
position: relative; position: relative;
margin-right: 30rpx; margin-right: 30rpx;
display: inline-block;
width: 560rpx; width: 560rpx;
height: 368rpx;
box-shadow: 0px 10px 30px 0px rgba(36, 36, 36, 0.2); box-shadow: 0px 10px 30px 0px rgba(36, 36, 36, 0.2);
border-radius: 20rpx; border-radius: 20rpx;
} }
...@@ -214,36 +210,12 @@ export default { ...@@ -214,36 +210,12 @@ export default {
left: 0; left: 0;
z-index: 4; z-index: 4;
} }
.her-scoller .good-five .img-box { .her-scoller .good-five .img-box-style5 {
width: 100%; width: 100%;
/* height: 0;
padding-top: 100%; */
position: relative;
height: 224rpx; height: 224rpx;
border-radius: 20rpx; border-radius: 20rpx;
overflow: hidden; overflow: hidden;
} }
.her-scoller .good-five .img-box .img-show {
position: absolute;
left: 0;
top: 0;
bottom: 0;
right: 0;
width: 100%;
height: 224rpx;
overflow: hidden;
z-index: 2;
}
.her-scoller .good-five .guding {
position: relative;
}
.her-scoller .good-five .guding .img-box {
position: absolute;
left: 0;
right: 0;
bottom: 0;
top: 0;
}
.her-scoller .good-five .good-info { .her-scoller .good-five .good-info {
padding: 30rpx; padding: 30rpx;
} }
......
This diff is collapsed.
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment