index.wxss 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157
  1. .wux-keyboard {
  2. display: block;
  3. width: 100%;
  4. color: rgba(0,0,0,.85);
  5. background-color: #f7f7f7
  6. }
  7. .wux-keyboard__hd {
  8. height: 80rpx;
  9. display: flex;
  10. justify-content: center;
  11. align-items: center;
  12. color: #1f2324;
  13. font-size: 30rpx;
  14. position: relative
  15. }
  16. .wux-keyboard__hd::after {
  17. content: " ";
  18. position: absolute;
  19. left: 0;
  20. bottom: 0;
  21. right: 0;
  22. height: 1PX;
  23. border-bottom: 1PX solid #d9d9d9;
  24. color: #d9d9d9;
  25. transform-origin: 0 100%;
  26. transform: scaleY(.5)
  27. }
  28. .wux-keyboard__bd {
  29. margin: 30rpx 80rpx;
  30. display: flex;
  31. position: relative;
  32. background-color: #fff
  33. }
  34. .wux-keyboard__input {
  35. width: 100%;
  36. padding: 8rpx;
  37. height: 80rpx;
  38. min-height: 80rpx;
  39. text-align: center;
  40. box-sizing: border-box
  41. }
  42. .wux-keyboard__label {
  43. flex: 1;
  44. position: relative;
  45. display: flex;
  46. justify-content: center;
  47. align-items: center;
  48. height: 100rpx
  49. }
  50. .wux-keyboard__label:not(:last-child)::after {
  51. content: "";
  52. width: 1px;
  53. height: 50%;
  54. position: absolute;
  55. right: 0;
  56. top: 25%;
  57. background-color: #d9d9d9;
  58. transform: scaleX(.5)
  59. }
  60. .wux-keyboard__password {
  61. width: auto;
  62. height: auto;
  63. display: none
  64. }
  65. .wux-keyboard__password--dot {
  66. width: 6px;
  67. height: 6px;
  68. border-radius: 50%;
  69. background-color: #000
  70. }
  71. .wux-keyboard__password--active {
  72. display: block
  73. }
  74. .wux-keyboard__ft {
  75. background-color: #fff;
  76. position: relative
  77. }
  78. .wux-keyboard__ft::before {
  79. content: " ";
  80. position: absolute;
  81. left: 0;
  82. top: 0;
  83. right: 0;
  84. height: 1PX;
  85. border-top: 1PX solid #d9d9d9;
  86. color: #d9d9d9;
  87. transform-origin: 0 0;
  88. transform: scaleY(.5)
  89. }
  90. .wux-keyboard__title {
  91. overflow: hidden;
  92. padding: 10px 0 6px;
  93. color: #222;
  94. margin-bottom: 1px;
  95. font-size: 12px;
  96. text-align: center;
  97. background-color: #fff
  98. }
  99. .wux-keyboard__title::before {
  100. font-size: 13px;
  101. color: #ff2424;
  102. line-height: 1;
  103. margin-right: 3px
  104. }
  105. .wux-keyboard__numbers {
  106. font-size: 24px;
  107. background-color: #fff
  108. }
  109. .wux-keyboard__number {
  110. display: flex;
  111. width: 100%
  112. }
  113. .wux-keyboard__text {
  114. display: flex;
  115. width: 1%;
  116. flex: 1;
  117. color: #222;
  118. height: 50px;
  119. position: relative;
  120. justify-content: center;
  121. align-items: center;
  122. overflow: hidden
  123. }
  124. .wux-keyboard__text::before {
  125. content: " ";
  126. position: absolute;
  127. left: 0;
  128. top: 0;
  129. right: 0;
  130. height: 1PX;
  131. border-top: 1PX solid #d9d9d9;
  132. color: #d9d9d9;
  133. transform-origin: 0 0;
  134. transform: scaleY(.5)
  135. }
  136. .wux-keyboard__text:not(:last-child)::after {
  137. content: " ";
  138. position: absolute;
  139. right: 0;
  140. top: 0;
  141. width: 1PX;
  142. bottom: 0;
  143. border-right: 1PX solid #d9d9d9;
  144. color: #d9d9d9;
  145. transform-origin: 100% 0;
  146. transform: scaleX(.5)
  147. }
  148. .wux-keyboard__text--hover {
  149. background-color: #dedede;
  150. color: rgba(0,0,0,.6)
  151. }
  152. .wux-keyboard__number:last-child .wux-keyboard__text:last-child,
  153. .wux-keyboard__number:last-child .wux-keyboard__text:nth-last-child(3) {
  154. background-color: #f7f7f7;
  155. font-size: 30rpx;
  156. color: #686868
  157. }