提交 848dc9e1 编写于 作者: DCloud-yinjiacheng's avatar DCloud-yinjiacheng

更新image示例

上级 b07f86d2
......@@ -11,6 +11,15 @@
<image class="image" :mode="item.mode" src="/static/shuijiao.jpg"></image>
</view>
</view>
<view class="uni-title">
<text class="uni-title-text">其他示例</text>
</view>
<view>
<text class="uni-subtitle-text">同时设置mode和圆角</text>
<view class="uni-center" style="background:#FFFFFF;">
<image class="image radius" mode="heightFix" src="/static/shuijiao.jpg"></image>
</view>
</view>
</view>
</scroll-view>
</template>
......@@ -96,4 +105,8 @@
height: 200rpx;
background-color: #eeeeee;
}
</style>
\ No newline at end of file
.radius {
border-radius: 20rpx;
}
</style>
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册