index.module.less 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. .container {
  2. position: relative;
  3. width: 453px;
  4. height: 80vh;
  5. max-height: 302px;
  6. // background: url('../../image/tips-bg.png') top center no-repeat #fff;
  7. // background-size: contain;
  8. border-radius: 20px;
  9. display: flex;
  10. flex-direction: column;
  11. overflow: hidden;
  12. background-color: #fff;
  13. &::before {
  14. content: '';
  15. width: 100%;
  16. height: 46px;
  17. display: block;
  18. position: absolute;
  19. top: 0;
  20. left: 0;
  21. border-top-left-radius: 20px;
  22. border-top-right-radius: 20px;
  23. background: linear-gradient(to bottom, #DEFAFF, #ffffff);
  24. }
  25. .iconClose {
  26. position: relative;
  27. z-index: 1;
  28. width: 18px;
  29. height: 19px;
  30. position: absolute;
  31. top: 14px;
  32. right: 20px;
  33. z-index: 9;
  34. background: url('../tips/icon-close.png') no-repeat center;
  35. background-size: contain;
  36. }
  37. .title {
  38. position: relative;
  39. z-index: 1;
  40. font-weight: 600;
  41. font-size: 16px;
  42. color: #131415;
  43. line-height: 22px;
  44. text-align: center;
  45. padding: 12px 0;
  46. flex-shrink: 0;
  47. }
  48. .content {
  49. flex: 1;
  50. overflow-x: hidden;
  51. overflow-y: auto;
  52. padding: 0 20px;
  53. margin-bottom: 16px;
  54. font-size: 14px;
  55. line-height: 1.6;
  56. &::-webkit-scrollbar {
  57. display: none;
  58. }
  59. }
  60. }