index.less 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  1. .voucherBox {
  2. position: fixed;
  3. width: 100vw;
  4. height: 100vh;
  5. left: 0px;
  6. top: 0px;
  7. background-color: rgba(0, 0, 0, 0.35);
  8. z-index: 10;
  9. .voucher {
  10. margin: 340rpx auto 0px;
  11. width: 630rpx;
  12. height: 694rpx;
  13. padding: 30rpx;
  14. box-sizing: border-box;
  15. background-color: #FEF2C7;
  16. border-radius: 20rpx;
  17. .body {
  18. display: flex;
  19. flex-direction: column;
  20. align-items: center;
  21. width: 100%;
  22. height: 100%;
  23. padding: 20rpx;
  24. box-sizing: border-box;
  25. border-radius: 20rpx;
  26. background-color: white;
  27. box-shadow: 0 2rpx 17rpx 0 #E2CA75;
  28. .title {
  29. font-size: 34rpx;
  30. font-weight: bold;
  31. text-align: center;
  32. }
  33. .hongbao {
  34. width: 95rpx;
  35. height: 114rpx;
  36. }
  37. .info {
  38. margin: 30rpx 0px;
  39. padding: 10rpx 28rpx;
  40. box-sizing: border-box;
  41. width: 100%;
  42. border-radius: 20rpx;
  43. background-color: #F2F6FC;
  44. .row {
  45. display: flex;
  46. justify-content: space-between;
  47. align-items: center;
  48. font-size: 30rpx;
  49. font-weight: bold;
  50. .oldMoney {
  51. color: #9E9E9E;
  52. font-weight: normal;
  53. text-decoration: line-through;
  54. }
  55. .newMoney {
  56. color: #0DACFF;
  57. }
  58. .row-right {
  59. display: flex;
  60. align-items: center;
  61. .hongbao-mini {
  62. width: 38rpx;
  63. height: 48rpx;
  64. margin-right: 10rpx;
  65. }
  66. }
  67. }
  68. }
  69. .btn {
  70. padding: 10rpx 48rpx;
  71. background-image: linear-gradient(270deg, #33C3FF 0%, #81C7FF 100%, #14C962 100%);
  72. box-shadow: 0 4rpx 10rpx 0 rgba(50, 197, 255, 0.46);
  73. border-radius: 50rpx;
  74. color: white;
  75. font-size: 32rpx;
  76. }
  77. .tips {
  78. margin-top: 20rpx;
  79. font-size: 22rpx;
  80. }
  81. }
  82. }
  83. }