Commit 4b30687f authored by 李俊赕's avatar 李俊赕

预览图样式修改

parent 295cad1c
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
</view> </view>
</swiper-item> </swiper-item>
<swiper-item class="swiper-item" v-for="(src, index) in swiperList" :key="index"> <swiper-item class="swiper-item" v-for="(src, index) in swiperList" :key="index">
<view class="inner"> <view class="inner pic">
<image @click="previewImage(index)" class="icon" mode="aspectFit" :src="src"></image> <image @click="previewImage(index)" class="icon" mode="aspectFit" :src="src"></image>
</view> </view>
</swiper-item> </swiper-item>
...@@ -151,10 +151,13 @@ ...@@ -151,10 +151,13 @@
color: #333; color: #333;
font-size: 36rpx; font-size: 36rpx;
} }
&.pic{
padding:0;
background-color: transparent;
}
&>image { &>image {
width: 630rpx; width: 690rpx;
min-height: 630rpx; min-height: 690rpx;
} }
.txt-box { .txt-box {
......
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