.form { font-size: 28rpx; border-bottom: 1rpx dashed gray; } .form-label { width: 240rpx; font-size: 28rpx; line-height: 36rpx; color: gray; } .form-value { width: 510rpx; font-size: 28rpx; color: gray; } .form-label::before { display: inline-block; margin-right: 6rpx; color: #ef473a; font-size: 28rpx; font-family: SimSun, sans-serif; line-height: 1; content: "*" } .upload-content { position: relative; width: 266rpx; height: 150rpx; margin-bottom: 12rpx; background-repeat: no-repeat; /* 防止图片重复 */ background-position: center center; /* 图片居中 */ background-size: 50% auto; }