css:
.imageView{
height:60rpx;
width: 60rpx;
background: #4DA9EB url('http://app.maidiyun.com/weixin/images/enterprise_log.png') no-repeat center;
}
wxml:
<view class="imageView"></view>
效果:不用view+image 一个view 设置背景可实现
css:
.imageView{
height:60rpx;
width: 60rpx;
background: #4DA9EB url('http://app.maidiyun.com/weixin/images/enterprise_log.png') no-repeat center;
}
wxml:
<view class="imageView"></view>
效果:不用view+image 一个view 设置背景可实现