/* pages/question/question.wxss */ .header{ height: 362rpx; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; box-sizing: border-box; padding-bottom: 70rpx; background: url('https://chrivc.obs.cn-north-4.myhuaweicloud.com/devPkg/56f99e0845ee47ec9484de379cd3971a:背景图.png'); background-size: 100% 100%; .search-box{ display: flex; align-items: center; width: 689rpx; height: 75rpx; background: #fff; border-radius: 38rpx; box-sizing: border-box; padding: 0 40rpx; input{ width: 100%; font-size: 26rpx; font-family: PingFang SC; font-weight: 400; } image{ width: 24rpx; height: 24rpx; flex-shrink: 0; } } } .list-box{ background: #fff; height: calc(100vh - 362rpx); overflow-y: auto; .list-item{ font-size: 28rpx; font-family: PingFang SC; font-weight: 500; color: #494949; display: flex; justify-content: space-between; box-sizing: border-box; padding: 46rpx 30rpx; border-bottom: 1rpx solid #F6F6F6; image{ flex-shrink: 0; width: 14rpx; height: 25rpx; margin-left: 30rpx; margin-top: 8rpx; } } }