1

parent 8a30ee11
...@@ -84,8 +84,9 @@ ...@@ -84,8 +84,9 @@
<!-- ></wd-icon>--> <!-- ></wd-icon>-->
<view class="buy-img"> <view class="buy-img">
<view class="hot-img" v-for="(item, index) in hotImgList" :key="index"> <view class="hot-img" v-for="(item, index) in hotImgList" :key="index">
<img <image
class="rice" class="rice"
mode="aspectFill"
@tap="toDetail(item)" @tap="toDetail(item)"
:src="item.img" :src="item.img"
style="width: 670rpx; height: 236rpx" style="width: 670rpx; height: 236rpx"
...@@ -480,13 +481,13 @@ page { ...@@ -480,13 +481,13 @@ page {
height: 100%; height: 100%;
background-color: lightgreen; background-color: lightgreen;
} }
img.rice {
border-radius: 16rpx 16rpx 16rpx 16rpx;
margin-left: 20rpx;
}
.buy-img { .buy-img {
position: relative; position: relative;
top: -20rpx; top: -20rpx;
.rice {
border-radius: 16rpx 16rpx 16rpx 16rpx;
margin-left: 20rpx;
}
} }
.searchBox { .searchBox {
opacity: 1; opacity: 1;
......
This source diff could not be displayed because it is too large. You can view the blob instead.
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