Commit 5ac58102 authored by chris.yang's avatar chris.yang

fix:NormalImage height

parent 30fa9218
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
<view class="normal-image"> <view class="normal-image">
<NormalTitle :elementInfo="elementInfo"></NormalTitle> <NormalTitle :elementInfo="elementInfo"></NormalTitle>
<u-empty v-if="!elementInfo.option.images.list.length"></u-empty> <u-empty v-if="!elementInfo.option.images.list.length"></u-empty>
<u-image class="uimage" v-if="elementInfo.option.images.list.length === 1" width="100%" :height="imageHeight" <u-image class="uimage" v-if="elementInfo.option.images.list.length === 1" width="100%" height="100%"
:src="elementInfo.option.images.list[0].url"> :src="elementInfo.option.images.list[0].url">
</u-image> </u-image>
<u-swiper v-if="elementInfo.option.images.list.length > 1" mode="dot" <u-swiper v-if="elementInfo.option.images.list.length > 1" mode="dot"
......
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