/* pages/goodsList/index.wxss */ .goodsList-page{ width: 100%; min-height: 100vh; background: #F7F7F7; } .goods-list{ width: 100%; padding: 40rpx; } .goods-item{ width: 100%; height: 226rpx; background: #fff; border-radius: 12rpx; padding: 24rpx 32rpx; margin-bottom: 20rpx; } .goods-item image{ width: 178rpx; height: 178rpx; border-radius: 8rpx; margin-right: 32rpx; } .goods-info{ width: calc(100% - 210rpx); display: flex; flex-direction: column; justify-content: space-between; } .name{ color: #202020; font-size: 28rpx; line-height: 40rpx; font-weight: 500; } .desc{ font-size: 22rpx; color: #a4a4a4; } .price{ font-size: 36rpx; color: #EB554D; font-weight: 500; } .price .s-word{ font-size: 24rpx; }