提交 48168646 编写于 作者: DCloud_iOS_WZT's avatar DCloud_iOS_WZT

Merge branch 'dev' of https://gitcode.net/dcloud/hello-uni-app-x into dev

......@@ -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 {
......
......@@ -22,6 +22,10 @@
<view class="common" style="background-color: blue;top: -75px;left: 175px;">
<text>z-index: 0</text>
</view>
<view class="common fixed" style="background-color: chocolate;top: 250px;left: 175px;z-index: -1;">
<text>position: fixed</text>
<text>z-index: -1</text>
</view>
</view>
</view>
</template>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册