.wxml
<view class="shoplistItem add">
<view><image src="/images/carddetail_add.png"></image></view>
</view>
.wxss
.shoplistItem.add image {background-color: red;}
.wxml
<view class="shoplistItem add">
<view><image src="/images/carddetail_add.png"></image></view>
</view>
.wxss
.shoplistItem.add image {background-color: red;}
本文标题:class选择器 空格的使用
本文链接:https://www.haomeiwen.com/subject/txdrihtx.html
网友评论