class选择器 空格的使用

2020-04-20  本文已影响0人  考拉小姐咩

.wxml

<view class="shoplistItem add">
        <view><image src="/images/carddetail_add.png"></image></view>
 </view>

.wxss

.shoplistItem.add image {background-color: red;}
上一篇 下一篇

猜你喜欢

热点阅读