<button class = 'buttonbackground' data-day='500' bindtap='invitefride' style="background:url(../../images/y1.png); background-size:contain">
</button>
.buttonbackground{
background-repeat: no-repeat;
background-size: 350rpx;
width: 100rpx;
height: 60rpx;
background-position-y: center;
background-position-x: center;
margin-right: 20rpx;
}
在开发小程序在开发工具里面可以按钮上面显示,,但扫描到手机图片出不来,,不知道啥情况。