木邻有你前端代码仓库
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

98 lines
2.7 KiB

1 month ago
  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. /* 颜色变量 */
  15. .click-animation.data-v-20c51190:active {
  16. -webkit-transform: scale(0.98);
  17. transform: scale(0.98);
  18. box-shadow: 0 2rpx 8rpx rgba(0, 0, 0, 0.12);
  19. }
  20. /* 行为相关颜色 */
  21. /* 文字基本颜色 */
  22. /* 背景颜色 */
  23. /* 边框颜色 */
  24. /* 尺寸变量 */
  25. /* 文字尺寸 */
  26. /* 图片尺寸 */
  27. /* Border Radius */
  28. /* 水平间距 */
  29. /* 垂直间距 */
  30. /* 透明度 */
  31. /* 文章场景相关 */
  32. .search-container.data-v-20c51190 {
  33. display: flex;
  34. align-items: center;
  35. padding: 20rpx;
  36. }
  37. .search-container .search-input.data-v-20c51190 {
  38. flex: 1;
  39. display: flex;
  40. align-items: center;
  41. border-radius: 30rpx;
  42. padding: 0 20rpx;
  43. position: relative;
  44. }
  45. .search-container .search-input .search-icon.data-v-20c51190 {
  46. display: flex;
  47. align-items: center;
  48. justify-content: center;
  49. width: 40rpx;
  50. height: 40rpx;
  51. }
  52. .search-container .search-input .search-icon.left.data-v-20c51190 {
  53. margin-right: 10rpx;
  54. }
  55. .search-container .search-input .search-icon.right.data-v-20c51190 {
  56. margin-left: 10rpx;
  57. }
  58. .search-container .search-input .search-icon .iconfont.data-v-20c51190 {
  59. font-size: 28rpx;
  60. color: #999;
  61. }
  62. .search-container .search-input .input-field.data-v-20c51190 {
  63. flex: 1;
  64. padding-left: 4rpx;
  65. border: none;
  66. outline: none;
  67. background: transparent;
  68. font-size: 28rpx;
  69. color: #333;
  70. }
  71. .search-container .search-input .input-field.data-v-20c51190::-webkit-input-placeholder {
  72. color: #999;
  73. }
  74. .search-container .search-input .input-field.data-v-20c51190::placeholder {
  75. color: #999;
  76. }
  77. .search-container .search-input .clear-icon.data-v-20c51190 {
  78. display: flex;
  79. line-height: 40rpx;
  80. justify-content: center;
  81. width: 40rpx;
  82. height: 40rpx;
  83. margin-left: 10rpx;
  84. border-radius: 50%;
  85. background: #f0f0f0;
  86. }
  87. .search-container .search-input .clear-icon .iconfont.data-v-20c51190 {
  88. font-size: 20rpx;
  89. color: #b2b2b2;
  90. }
  91. .search-container .cancel-btn.data-v-20c51190 {
  92. margin-left: 20rpx;
  93. padding: 0 20rpx;
  94. }
  95. .search-container .cancel-btn text.data-v-20c51190 {
  96. font-size: 28rpx;
  97. color: #007aff;
  98. }