提交 9a142ce3 编写于 作者: shutao-dc's avatar shutao-dc

iamge mode补充测试例

上级 883178e4
...@@ -22,6 +22,14 @@ ...@@ -22,6 +22,14 @@
<image class="image radius" mode="heightFix" src="/static/shuijiao.jpg"></image> <image class="image radius" mode="heightFix" src="/static/shuijiao.jpg"></image>
</view> </view>
</view> </view>
<view>
<text class="uni-subtitle-text">设置图片width='100%'与mode='widthFix'</text>
<view class="uni-center" style="background:#FFFFFF;">
<view class="uni-center" style="background-color: red; width: 150px; margin: 20px;">
<image style="width: 100%" mode="widthFix" src="/static/shuijiao.jpg"></image>
</view>
</view>
</view>
</view> </view>
<!-- #ifdef APP --> <!-- #ifdef APP -->
</scroll-view> </scroll-view>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册