.rule{ width: 100%; height: 100%; } .rule view:nth-child(1){ width: 92%; height: 87rpx; padding: 0 4%; line-height: 87rpx; background: #fff; border-bottom: 1rpx solid #f5f5f5; border-top: 1rpx solid #f5f5f5; } .rule view:nth-child(1) text{ font-size: 30rpx; font-weight: bold; } .rule view:nth-child(2){ width: 92%; height: 400rpx; padding: 0 4%; background: #fff; display: flex; flex-direction: column; padding-top: 2%; } .rule view:nth-child(2)>text{ font-size: 28rpx; color: #666; line-height: 56rpx; } .spot { width: 12rpx; height: 12rpx; display: inline-block; background: #666; margin-right: 16rpx; position: relative; bottom: 4rpx; border-radius: 50%; }