index.wxss 1.8 KB

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