send-code.wxss 1.6 KB

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