index.wxss 2.4 KB

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