select-lay.wxss 6.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247
  1. @charset "UTF-8";
  2. /**
  3. * 这里是uni-app内置的常用样式变量
  4. *
  5. * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
  6. * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
  7. *
  8. */
  9. /**
  10. * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
  11. *
  12. * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
  13. */
  14. .my-fontsize-normal.data-v-fe073c38 {
  15. font-size: 30rpx;
  16. color: #ffffff;
  17. }
  18. .my-fontsize-Large.data-v-fe073c38 {
  19. font-size: 34rpx;
  20. }
  21. .my-fontsize-Small.data-v-fe073c38 {
  22. font-size: 24rpx;
  23. }
  24. .my-fontsize-title.data-v-fe073c38 {
  25. font-size: 36rpx;
  26. }
  27. .my-flex.data-v-fe073c38 {
  28. display: flex;
  29. justify-content: center;
  30. align-items: center;
  31. }
  32. .flex-column.data-v-fe073c38 {
  33. display: flex;
  34. flex-direction: column;
  35. justify-content: space-between;
  36. align-items: flex-start;
  37. }
  38. .flex-column-center.data-v-fe073c38 {
  39. display: flex;
  40. flex-direction: column;
  41. justify-content: center;
  42. align-items: center;
  43. }
  44. .flex-between.data-v-fe073c38 {
  45. display: flex;
  46. justify-content: space-between;
  47. align-items: center;
  48. }
  49. .flex-around.data-v-fe073c38 {
  50. display: flex;
  51. justify-content: space-around;
  52. align-items: center;
  53. }
  54. .flex-start.data-v-fe073c38 {
  55. display: flex;
  56. justify-content: flex-start;
  57. align-items: center;
  58. }
  59. .flex-end.data-v-fe073c38 {
  60. display: flex;
  61. justify-content: flex-end;
  62. align-items: center;
  63. }
  64. .line.data-v-fe073c38 {
  65. position: relative;
  66. }
  67. .line.data-v-fe073c38::before {
  68. content: '';
  69. position: absolute;
  70. top: 50%;
  71. left: 0;
  72. -webkit-transform: translateY(-50%);
  73. transform: translateY(-50%);
  74. width: 6rpx;
  75. height: 30rpx;
  76. border-radius: 2rpx;
  77. background-color: #3F92F9;
  78. }
  79. /* 颜色变量 */
  80. /* 行为相关颜色 */
  81. /* 文字基本颜色 */
  82. /* 背景颜色 */
  83. /* 边框颜色 */
  84. /* 尺寸变量 */
  85. /* 文字尺寸 */
  86. /* 图片尺寸 */
  87. /* Border Radius */
  88. /* 水平间距 */
  89. /* 垂直间距 */
  90. /* 透明度 */
  91. /* 文章场景相关 */
  92. .uni-select-lay.data-v-fe073c38 {
  93. position: relative;
  94. z-index: 999;
  95. }
  96. .uni-select-lay .uni-select-input.data-v-fe073c38 {
  97. opacity: 0;
  98. position: absolute;
  99. z-index: -111;
  100. }
  101. .uni-select-lay .uni-select-lay-select.data-v-fe073c38 {
  102. -webkit-user-select: none;
  103. user-select: none;
  104. position: relative;
  105. z-index: 3;
  106. height: 72rpx;
  107. padding: 0 30px 0 10px;
  108. box-sizing: border-box;
  109. border-radius: 4px;
  110. border: 1px solid #e5e5e5;
  111. display: flex;
  112. align-items: center;
  113. font-size: 14px;
  114. color: #999;
  115. }
  116. .uni-select-lay .uni-select-lay-select .uni-disabled.data-v-fe073c38 {
  117. position: absolute;
  118. left: 0;
  119. width: 100%;
  120. height: 100%;
  121. z-index: 19;
  122. cursor: no-drop;
  123. }
  124. .uni-select-lay .uni-select-lay-select .uni-select-lay-input-close.data-v-fe073c38 {
  125. position: absolute;
  126. right: 35px;
  127. top: 0;
  128. height: 100%;
  129. width: 15px;
  130. display: flex;
  131. align-items: center;
  132. justify-content: center;
  133. z-index: 3;
  134. cursor: pointer;
  135. }
  136. .uni-select-lay .uni-select-lay-select .uni-select-lay-input-close text.data-v-fe073c38 {
  137. position: relative;
  138. background: #fff;
  139. width: 13px;
  140. height: 13px;
  141. border-radius: 50%;
  142. border: 1px solid #bbb;
  143. }
  144. .uni-select-lay .uni-select-lay-select .uni-select-lay-input-close text.data-v-fe073c38::before, .uni-select-lay .uni-select-lay-select .uni-select-lay-input-close text.data-v-fe073c38::after {
  145. content: "";
  146. position: absolute;
  147. left: 20%;
  148. top: 50%;
  149. height: 1px;
  150. width: 60%;
  151. -webkit-transform: rotate(45deg);
  152. transform: rotate(45deg);
  153. background-color: #bbb;
  154. }
  155. .uni-select-lay .uni-select-lay-select .uni-select-lay-input-close text.data-v-fe073c38::after {
  156. -webkit-transform: rotate(-45deg);
  157. transform: rotate(-45deg);
  158. }
  159. .uni-select-lay .uni-select-lay-select .uni-select-lay-input.data-v-fe073c38 {
  160. font-size: 14px;
  161. color: #999;
  162. display: block;
  163. width: 98%;
  164. overflow: hidden;
  165. text-overflow: ellipsis;
  166. white-space: nowrap;
  167. line-height: 30px;
  168. box-sizing: border-box;
  169. }
  170. .uni-select-lay .uni-select-lay-select .uni-select-lay-input.active.data-v-fe073c38 {
  171. color: #333;
  172. }
  173. .uni-select-lay .uni-select-lay-select .uni-select-lay-icon.data-v-fe073c38 {
  174. cursor: pointer;
  175. position: absolute;
  176. right: 0;
  177. top: 0;
  178. height: 100%;
  179. width: 30px;
  180. display: flex;
  181. align-items: center;
  182. justify-content: center;
  183. }
  184. .uni-select-lay .uni-select-lay-select .uni-select-lay-icon.data-v-fe073c38::before {
  185. content: "";
  186. width: 1px;
  187. height: 100%;
  188. position: absolute;
  189. left: 0;
  190. top: 0;
  191. background-color: #e5e5e5;
  192. }
  193. .uni-select-lay .uni-select-lay-select .uni-select-lay-icon text.data-v-fe073c38 {
  194. display: block;
  195. width: 0;
  196. height: 0;
  197. border-width: 12rpx 12rpx 0;
  198. border-style: solid;
  199. border-color: #bbb transparent transparent;
  200. transition: .3s;
  201. }
  202. .uni-select-lay .uni-select-lay-select.active .uni-select-lay-icon text.data-v-fe073c38 {
  203. -webkit-transform: rotate(180deg);
  204. transform: rotate(180deg);
  205. }
  206. .uni-select-lay .uni-select-lay-options.data-v-fe073c38 {
  207. -webkit-user-select: none;
  208. user-select: none;
  209. position: absolute;
  210. top: calc(100% + 5px);
  211. left: 0;
  212. width: 100%;
  213. height: 500rpx;
  214. overflow-y: auto;
  215. border-radius: 4px;
  216. border: 1px solid #e5e5e5;
  217. background: #fff;
  218. padding: 5px 0;
  219. box-sizing: border-box;
  220. z-index: 9;
  221. }
  222. .uni-select-lay .uni-select-lay-options .uni-select-lay-item.data-v-fe073c38 {
  223. padding: 0 10px;
  224. box-sizing: border-box;
  225. cursor: pointer;
  226. line-height: 2.5;
  227. transition: .3s;
  228. font-size: 14px;
  229. }
  230. .uni-select-lay .uni-select-lay-options .uni-select-lay-item.active.data-v-fe073c38 {
  231. background: #007AFF;
  232. color: #fff;
  233. }
  234. .uni-select-lay .uni-select-lay-options .uni-select-lay-item.active.data-v-fe073c38:hover {
  235. background: #007AFF;
  236. color: #fff;
  237. }
  238. .uni-select-lay .uni-select-lay-options .uni-select-lay-item.data-v-fe073c38:hover {
  239. background-color: #f5f5f5;
  240. }
  241. .uni-select-lay .uni-select-lay-options .nosearch.data-v-fe073c38 {
  242. font-size: 16px;
  243. line-height: 3;
  244. text-align: center;
  245. color: #666;
  246. }