微信小程序点击给用户反馈样式增加
1,wxml
// 增加 hover-class 属性
<view class="info_line" hover-class="view-box-btn-hover"></view>
2.wxss
//反馈的样式
.view-box-btn-hover{
background-color: rgb(240, 231, 231) !important;
}
//标签的样式(自定义)
.info_line{
width: 600rpx;
height: 100rpx;
background: #FFFFFF;
display: flex;
align-items: center;
justify-content: space-between;
}