/* pages/home/home.wxss */ @import '../list/list.wxss'; .names { color: red; width: 200rpx; height: 300rpx; border: 3rpx solid #ff0; } .box { width: 500rpx; height: 500rpx; background: #00f; } .box1 { width: 300rpx; height: 300rpx; background: #0ff; }