index.less 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140
  1. .greetingBox {
  2. width: 100vw;
  3. min-height: 100vh;
  4. padding: 26rpx 20rpx 130rpx;
  5. background-color: #fcd9927c;
  6. box-sizing: border-box;
  7. .template {
  8. width: 100%;
  9. padding: 20rpx 31rpx;
  10. margin-bottom: 40rpx;
  11. box-sizing: border-box;
  12. background-color: white;
  13. border-radius: 20rpx;
  14. box-shadow: 0 2rpx 24rpx 0 rgba(252, 216, 146, 0.51);
  15. .header {
  16. display: flex;
  17. align-items: center;
  18. justify-content: space-between;
  19. .left {
  20. .title {
  21. font-size: 34rpx;
  22. font-weight: bold;
  23. }
  24. .time {
  25. font-size: 24rpx;
  26. color: #666;
  27. }
  28. }
  29. .right {
  30. text-align: center;
  31. .delete {
  32. width: 24rpx;
  33. height: 32rpx;
  34. }
  35. .text {
  36. font-size: 24rpx;
  37. }
  38. }
  39. }
  40. .body {
  41. position: relative;
  42. margin: 24rpx 0rpx;
  43. width: 650rpx;
  44. height: 520rpx;
  45. background-size: 100% 100%;
  46. display: flex;
  47. align-items: center;
  48. justify-content: center;
  49. background-color: #D8D8D8;
  50. .playBtn {
  51. width: 84rpx;
  52. height: 84rpx;
  53. }
  54. .progressBox {
  55. position: absolute;
  56. bottom: 0px;
  57. left: 0px;
  58. padding: 12rpx 40rpx;
  59. box-sizing: border-box;
  60. width: 100%;
  61. background-color: rgba(0, 0, 0, 0.5);
  62. z-index: 2;
  63. display: flex;
  64. align-items: center;
  65. color: white;
  66. font-size: 24rpx;
  67. .progress {
  68. flex: 1;
  69. margin: 0px 30rpx;
  70. border-radius: 25rpx;
  71. overflow: hidden;
  72. }
  73. }
  74. }
  75. .footer {
  76. .countBox {
  77. display: flex;
  78. align-items: center;
  79. justify-content: space-between;
  80. .box {
  81. display: flex;
  82. align-items: center;
  83. .icon {
  84. width: 34rpx;
  85. height: 34rpx;
  86. }
  87. .num {
  88. margin-left: 4rpx;
  89. font-size: 28rpx;
  90. color: #666;
  91. }
  92. }
  93. }
  94. .handle {
  95. display: flex;
  96. justify-content: space-between;
  97. justify-content: center;
  98. margin-top: 28rpx;
  99. .btn {
  100. width: 294rpx;
  101. height: 86rpx;
  102. }
  103. }
  104. }
  105. }
  106. .footerBox {
  107. width: 100%;
  108. height: 130rpx;
  109. display: flex;
  110. align-items: center;
  111. justify-content: center;
  112. position: fixed;
  113. left: 0px;
  114. bottom: 0px;
  115. background-color: #00C657;
  116. image {
  117. width: 525rpx;
  118. height: 49rpx;
  119. }
  120. }
  121. }