send-code.wxss 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143
  1. /* components/send-code/send-code.wxss */
  2. .container {
  3. padding: 30rpx;
  4. position: relative;
  5. }
  6. .bg {
  7. position: fixed;
  8. right: 0;
  9. top: 0;
  10. width: 300rpx;
  11. height: 300rpx;
  12. z-index: -1;
  13. }
  14. .header {
  15. color: #333;
  16. font-size: 36rpx;
  17. margin-top: 90rpx;
  18. }
  19. .title {
  20. font-size: 54rpx;
  21. color: #000000;
  22. margin-bottom: 25rpx;
  23. }
  24. .phone {
  25. color: #000;
  26. font-size: 28rpx;
  27. }
  28. .content {
  29. width: 100%;
  30. margin-top: 75rpx;
  31. }
  32. .bar,
  33. .nums {
  34. display: flex;
  35. align-items: center;
  36. justify-content: space-between;
  37. }
  38. .nums-content {
  39. height: 70rpx;
  40. width: 68rpx;
  41. text-align: center;
  42. font-size: 68rpx;
  43. font-weight: 600;
  44. color: #333;
  45. display: flex;
  46. align-items: center;
  47. justify-content: center;
  48. }
  49. .flash {
  50. width: 4rpx;
  51. height: 60rpx;
  52. background: #327ae1;
  53. opacity: 0;
  54. animation: flash 1s infinite steps(1);
  55. }
  56. .bar {
  57. margin-top: 30rpx;
  58. }
  59. .bar-view {
  60. width: 68rpx;
  61. height: 4rpx;
  62. background: #ccc;
  63. }
  64. .count {
  65. color: #000;
  66. font-size: 28rpx;
  67. margin-top: 30rpx;
  68. text-align: right;
  69. }
  70. .keyboard {
  71. width: 100%;
  72. position: fixed;
  73. left: 0;
  74. bottom: -490rpx;
  75. display: flex;
  76. align-items: center;
  77. justify-content: space-between;
  78. flex-wrap: wrap;
  79. border-top: 2rpx solid #ddd;
  80. transition: bottom 600ms;
  81. }
  82. .board {
  83. flex: 1;
  84. flex-basis: 33%;
  85. height: 120rpx;
  86. font-size: 36rpx;
  87. line-height: 120rpx;
  88. text-align: center;
  89. background: #fff;
  90. border-right: 1rpx solid #ddd;
  91. border-bottom: 1rpx solid #ddd;
  92. }
  93. .board:nth-child(3n) {
  94. border-right: none;
  95. }
  96. .del {
  97. font-size: 32rpx;
  98. background: #f5f5f5;
  99. display: flex;
  100. align-items: center;
  101. justify-content: center;
  102. }
  103. .board-image {
  104. width: 60rpx;
  105. height: 60rpx;
  106. }
  107. @keyframes flash {
  108. 0%,
  109. 100% {
  110. opacity: 0;
  111. }
  112. 50% {
  113. opacity: 1;
  114. }
  115. }
  116. .time {
  117. color: #327ae1;
  118. }
  119. .show {
  120. bottom: 0;
  121. }