/**index.wxss**/ .line { width: 100%; height: 33.33%; display: flex; justify-content: space-around; } .line .blackBlock { background-color: #000000; width: 50%; height: 100%; color: #ffffff; text-align: center; line-height: 400rpx; } .line .whiteBlock { background-color: #ffffff; width: 50%; height: 100%; color: #000000; text-align: center; line-height: 400rpx; } .headUrl { width: 150rpx; height: 150rpx; margin: auto; margin-top: 86rpx; } .headUrl image { width: 150rpx; height: 150rpx; display: flex; border-radius: 50%; } .nickName { width: 100%; height: 40rpx; font-size: 40rpx; line-height: 40rpx; margin: auto; margin-top: 32rpx; }