实现效果

image.png

代码

  1. &_bg {
  2. position: absolute;
  3. height: 450rpx;
  4. width: 160%;
  5. top: 50%;
  6. left: 50%;
  7. transform: translate(-50%, -50%);
  8. border-radius: 0 0 70% 70%;
  9. background-color: $uni-color-error;
  10. }