feat: image标签替换成class名称
This commit is contained in:
@@ -12,7 +12,11 @@
|
||||
>
|
||||
<swiper-item v-for="item in activityList" :key="item.id">
|
||||
<view class="swiper-item" @click="handleClick(item)">
|
||||
<image :src="item.activityCover" mode="aspectFill"></image>
|
||||
<image
|
||||
class="swiper-img"
|
||||
:src="item.activityCover"
|
||||
mode="aspectFill"
|
||||
></image>
|
||||
<view class="corner-btn">快速预定</view>
|
||||
</view>
|
||||
</swiper-item>
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
line-height: 120px;
|
||||
text-align: center;
|
||||
|
||||
image {
|
||||
.swiper-img {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
border-radius: 8px;
|
||||
|
||||
Reference in New Issue
Block a user