在index.wxml的代码如下:
<view class="acution">
<view class="item">
<view class="title">第一场拍卖行名品</view>
<view class="tips">
<view class="status">2022-10-29</view>
<view class="count">119次围观</view>
</view>
</view>
</view>
在index.wxss的代码如下:
.auction{
display: flex;
flex-direction: column;
align-items: center;
}
.auction.item.title{
font-size: 50rpx;
font-weight: 600;
}
.auction.item.tips{
display: flex;
flex-direction: row;
justify-content: space-between;
font-size: 30rpx;
color: blanchedalmond;
}
显示如下:
为何index.wxss里的代码并未生效,不知道什么原因,求解!多谢
拼写错误acution/auction