index.wxss 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241
  1. /* components/CarNumInput/index.wxss */
  2. page {
  3. background: #FFFFFF;
  4. width: 100%;
  5. height: 100%;
  6. }
  7. view{
  8. box-sizing: border-box;
  9. }
  10. .con-query {
  11. /* height: 4.8rem; */
  12. width:100%;
  13. border-radius: 8px;
  14. background-color: #FFF;
  15. }
  16. .pages_header {
  17. width: 100%;
  18. display: flex;
  19. flex-direction: column;
  20. align-items: center;
  21. }
  22. .pages_header_top {
  23. width: 33.3%;
  24. height: 60rpx;
  25. border-left: 5px solid green;
  26. border-right: 5px solid green;
  27. }
  28. .pages_header_btm {
  29. width: 70%;
  30. background: green;
  31. height: 120rpx;
  32. line-height: 120rpx;
  33. text-align: center;
  34. color: white;
  35. border-radius: 10rpx;
  36. font-weight: normal;
  37. font-size: 16pt;
  38. }
  39. .tips {
  40. text-align: center;
  41. margin: 60rpx 0;
  42. font-size: 12pt;
  43. color: #888888;
  44. }
  45. .plate-input-text{
  46. text-align: center;
  47. line-height: 90rpx;
  48. color: #f39900;
  49. }
  50. .plate-input-flag {
  51. float: right;
  52. margin-right: 6%;
  53. font-size: 12px;
  54. }
  55. .plate-input-flag .new-energy{
  56. color: #14c414;
  57. }
  58. .plate-input-body {
  59. /*border: 1px solid red;*/
  60. height: 80rpx;
  61. width: 88%;
  62. /* margin: 0 6% 2px 6%; */
  63. margin: 0 auto;
  64. }
  65. .plate-input-content {
  66. width: 100%;
  67. display: flex;
  68. flex-direction: row;
  69. height: 70rpx;
  70. }
  71. .plate-input-content > view:first-child{
  72. margin-left: 8rpx;
  73. }
  74. .plate-nums-foc {
  75. flex: 1;
  76. border: 2rpx solid #FFB93F;
  77. margin: 0 5rpx 0 5rpx;
  78. display: flex;
  79. align-items: center;
  80. justify-content: center;
  81. text-align: center;
  82. height: 100%;
  83. box-sizing: border-box;
  84. border-radius: 4rpx;
  85. }
  86. .plate-nums-first{
  87. flex: 1;
  88. border: 1rpx solid #CCCCCC;
  89. margin: 0 6rpx 0 6rpx;
  90. display: flex;
  91. align-items: center;
  92. justify-content: center;
  93. text-align: center;
  94. height: 100%;
  95. box-sizing: border-box;
  96. }
  97. .plate-num-text {
  98. flex: 1;
  99. line-height: 70rpx;
  100. height: 100%;
  101. box-sizing: border-box;
  102. font-size: 40rpx;
  103. font-weight: 300;
  104. }
  105. .new-plate-input-content{
  106. display: flex;
  107. flex-direction: row;
  108. height: 100rpx;
  109. }
  110. .kb_top {
  111. align-content: relative;
  112. width: 100%;
  113. height: 74rpx;
  114. background: #fff;
  115. border-top: solid #ebebeb 2rpx;
  116. border-bottom: 15rpx solid #F4F4F4;
  117. }
  118. .keyboard {
  119. z-index: 9999;
  120. position: fixed;
  121. bottom: 0;
  122. left: 0;
  123. width: 100%;
  124. height: auto;
  125. background: #F4F4F4;
  126. display: flex;
  127. flex-wrap: wrap;
  128. border-bottom: 15rpx solid #F4F4F4;
  129. }
  130. .td {
  131. font-family: "微软雅黑";
  132. flex-grow: 1;
  133. text-align: center;
  134. font-size: 34rpx;
  135. height: 86rpx;
  136. line-height: 80rpx;
  137. background: #fff;
  138. margin: 10rpx 5rpx;
  139. color: #333;
  140. border-radius: 2rpx;
  141. box-shadow: 0rpx 2rpx 0rpx #a9a9a9;
  142. }
  143. .td_nor {
  144. flex: 1 1 6%;
  145. }
  146. .td_num {
  147. flex: 1 1 8%;
  148. }
  149. .td_spec {
  150. flex: 1 1 12%;
  151. }
  152. .board_bg {
  153. box-shadow: 0 0 0 #e5e5e5;
  154. background: #e5e5e5;
  155. }
  156. .del-first {
  157. position: absolute;
  158. bottom: 10rpx;
  159. right: 10rpx;
  160. width: 100rpx;
  161. height: 86rpx;
  162. background-color: #fff;
  163. box-shadow: 0rpx 2rpx 0rpx #a9a9a9;
  164. display: flex;
  165. align-items: center;
  166. justify-content: center;
  167. border-radius: 10rpx;
  168. }
  169. .del-hover {
  170. position: absolute;
  171. bottom: 10rpx;
  172. right: 10rpx;
  173. width: 137rpx;
  174. height: 86rpx;
  175. background-color: #e5e5e5;
  176. display: flex;
  177. align-items: center;
  178. justify-content: center;
  179. border-radius: 10rpx;
  180. box-shadow: 0 0 0 #e5e5e5;
  181. }
  182. .del-img {
  183. display: block;
  184. width: 46rpx;
  185. height: 38rpx;
  186. }
  187. .color-white{
  188. color: #FFFFFF;
  189. }
  190. .color-red{
  191. color: #ff0000;
  192. }
  193. .bule{
  194. color: #0000ff;
  195. }
  196. /* 不是新能源时显示虚线框不可输入 */
  197. .plate-nums-nullEng{
  198. font-size: 8px;
  199. border: 1px dashed #eee;
  200. color: #14c414;
  201. }
  202. .plate-nums-IsEng{
  203. position: relative;
  204. color: #14c414;
  205. }
  206. .delNewEng{
  207. position: absolute;
  208. top: 0;
  209. right: 10px;
  210. transform: translateY(-50%) translateX(100%);
  211. background-color: #FF5B5B;
  212. border-radius: 10px;
  213. color: #fff;
  214. display: inline-block;
  215. font-size: 12px;
  216. height: 18px;
  217. line-height: 18px;
  218. padding: 0 6px;
  219. text-align: center;
  220. white-space: nowrap;
  221. border: 1px solid #fff;
  222. z-index: 99;
  223. }