wxml:
<button class=‘share‘ id=‘{{item.id}}‘ open-type="share">
<image src=‘/img/fx.png‘ class=‘img_1‘></image>
</button>
wxss:
/* 按钮 */
.share{
width: 100rpx;
height:50rpx;
background: #fff;
position:relative;
margin-top: -10rpx;
}
/* 按钮去边框 */
button::after{
border: none;
}