index.module.less 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. .courseDialog {
  2. padding: 20px !important;
  3. max-width: 310px !important;
  4. min-width: 295px !important;
  5. // background: url('./top-bg.png') no-repeat top center #fff !important;
  6. // background-size: contain !important;
  7. overflow: hidden;
  8. border-radius: 20px !important;
  9. overflow: hidden;
  10. background-color: #fff;
  11. &::before {
  12. content: '';
  13. width: 100%;
  14. height: 49px;
  15. display: block;
  16. position: absolute;
  17. top: 0;
  18. left: 0;
  19. border-top-left-radius: 20px;
  20. border-top-right-radius: 20px;
  21. background: linear-gradient(to bottom, #FFEADA, #ffffff);
  22. }
  23. .iconClose {
  24. position: relative;
  25. width: 18px;
  26. height: 19px;
  27. position: absolute;
  28. top: 23px;
  29. right: 20px;
  30. z-index: 9;
  31. background: url('./icon-close.png') no-repeat center;
  32. background-size: contain;
  33. }
  34. .title {
  35. position: relative;
  36. font-size: 18px;
  37. font-weight: 600;
  38. color: #1A1A1A;
  39. line-height: 25px;
  40. text-align: center;
  41. }
  42. .content {
  43. padding: 20px 0 25px;
  44. font-size: 16px;
  45. color: #666666;
  46. line-height: 24px;
  47. text-align: center;
  48. }
  49. .popupBtnGroup {
  50. display: flex;
  51. align-items: center;
  52. &>button {
  53. flex: 1;
  54. font-weight: 500;
  55. font-size: 16px !important;
  56. &:last-child {
  57. margin-left: 15px;
  58. }
  59. }
  60. :global {
  61. --van-button-default-height: 40px;
  62. }
  63. }
  64. }