index.wxss 638 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. /* 矩形盒子 */
  2. .rectangle_box {
  3. position: relative;
  4. width: 590rpx;
  5. border-radius: 20rpx;
  6. margin: auto;
  7. padding-top: 40rpx;
  8. padding-bottom: 70rpx;
  9. overflow: hidden;
  10. }
  11. /* 盒子背景颜色 */
  12. .rectangle_box>.box-bg {
  13. position: absolute;
  14. width: 100%;
  15. height: 100%;
  16. background-color: #ffffff;
  17. opacity: 0.4;
  18. top: 0;
  19. left: 0;
  20. z-index: -5;
  21. }
  22. /* 标题 */
  23. .rectangle_title {
  24. width: 100%;
  25. text-align: center;
  26. font-size: 36rpx;
  27. font-weight: 600;
  28. color: #000000;
  29. margin-bottom: 30rpx;
  30. }
  31. /* 插入内容 */
  32. .slot_con{
  33. width: 510rpx;
  34. margin: 0 auto;
  35. }