提交 68d1c46e 编写于 作者: 张磊

修改图片预览示例

上级 7484d3a8
......@@ -20,9 +20,9 @@
</view>
<view style="background-color: white">
<text class="text-desc">点击图片开始预览</text>
<view class="cell-ct" style="background-color: #eeeeee; padding: 8px">
<view class="cell-ct" style="margin: 8px;">
<view class="cell cell-choose-image" v-for="(image, index) in imageList" :key="index">
<image style="width: 105px; height: 105px" mode="aspectFit" :src="image" @click="previewImage(index)">
<image style="width: 100px; height: 100px" mode="aspectFit" :src="image" @click="previewImage(index)">
</image>
</view>
<image class="cell cell-choose-image" src="/static/plus.png" @click="chooseImage">
......@@ -104,9 +104,10 @@
}
.cell {
margin-left: 7px;
width: 105px;
height: 105px;
margin-left: 3px;
margin-right: 3px;
width: 100px;
height: 100px;
}
.cell-choose-image {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册