You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12 lines
442 B

<scroll-view scroll-x scroll-y style="height:200px" bindscroll="srcll">
<view style="width:200%;height:400px;background: #ccc"></view>
</scroll-view>
<view>缩放模式测试</view>
<image style="width:200px;height:200px;background-color:#eee;"
mode="scaleToFill" src="/image/test.jpj">
</image>
<view>裁剪模式测试</view>
<image style="width:200px;height:200px;background-color:#eee;"
mode="scaleToFill" src="/image/test.jpg">
</image>