search.wxss 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147
  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. /* 行为相关颜色 */
  16. /* 文字基本颜色 */
  17. /* 背景颜色 */
  18. /* 边框颜色 */
  19. /* 尺寸变量 */
  20. /* 文字尺寸 */
  21. /* 图片尺寸 */
  22. /* Border Radius */
  23. /* 水平间距 */
  24. /* 垂直间距 */
  25. /* 透明度 */
  26. /* 文章场景相关 */
  27. .search_top_input {
  28. width: 80%;
  29. height: 54rpx;
  30. background-color: #E4E4E4;
  31. border-radius: 27rpx;
  32. position: absolute;
  33. top: 18rpx;
  34. right: 18rpx;
  35. padding-top: 8rpx;
  36. box-sizing: border-box;
  37. }
  38. .search_top_input input {
  39. width: 85%;
  40. text-indent: 1rem;
  41. font-size: 26rpx;
  42. }
  43. .search_top_input .icon {
  44. position: absolute;
  45. top: 18rpx;
  46. right: 32rpx;
  47. }
  48. .search_bot_input {
  49. width: 80%;
  50. height: 54rpx;
  51. background-color: #E4E4E4;
  52. border-radius: 27rpx;
  53. position: absolute;
  54. top: 18px;
  55. right: 18rpx;
  56. box-sizing: border-box;
  57. padding-top: 8rpx;
  58. }
  59. .search_bot_input input {
  60. width: 85%;
  61. text-indent: 1rem;
  62. font-size: 26rpx;
  63. }
  64. .search_bot_input .icon {
  65. position: absolute;
  66. top: 8rpx;
  67. right: 26rpx;
  68. }
  69. .list {
  70. width: 100%;
  71. background-color: #FDFDFD;
  72. position: absolute;
  73. top: 100px;
  74. }
  75. .list .list_item {
  76. width: 95%;
  77. margin: 20rpx auto;
  78. padding: 10rpx 20rpx;
  79. position: relative;
  80. background-color: #FFFFFF;
  81. box-sizing: border-box;
  82. box-shadow: 0 0 10rpx #bcb9ca;
  83. }
  84. .list .list_item .list_item_top {
  85. display: -webkit-box;
  86. display: -webkit-flex;
  87. display: flex;
  88. -webkit-box-pack: justify;
  89. -webkit-justify-content: space-between;
  90. justify-content: space-between;
  91. }
  92. .list .list_item .list_item_top .p1 {
  93. height: 60rpx;
  94. line-height: 60rpx;
  95. font-size: 28rpx;
  96. }
  97. .list .list_item .list_item_top .p1 image {
  98. width: 40rpx;
  99. height: 40rpx;
  100. vertical-align: text-top;
  101. margin-right: 20rpx;
  102. }
  103. .list .list_item .list_item_top .p2 {
  104. height: 60rpx;
  105. line-height: 60rpx;
  106. font-size: 28rpx;
  107. color: #42b983;
  108. }
  109. .list .list_item .list_item_top .p_out {
  110. height: 60rpx;
  111. line-height: 60rpx;
  112. font-size: 28rpx;
  113. color: red;
  114. }
  115. .list .list_item .list_item_text {
  116. margin-top: 20rpx;
  117. }
  118. .list .list_item .list_item_text ._p {
  119. font-size: 24rpx;
  120. color: #636363;
  121. margin-top: 10rpx;
  122. }
  123. .list .list_item .list_item_text ._p:first-child {
  124. font-size: 28rpx;
  125. font-weight: 700;
  126. }
  127. .list .list_item .list_item_btn {
  128. width: 126rpx;
  129. color: #42b983;
  130. height: 40rpx;
  131. text-align: center;
  132. border: 1rpx solid #42b983;
  133. border-radius: 25rpx;
  134. font-size: 24rpx;
  135. line-height: 35rpx;
  136. position: absolute;
  137. top: 136rpx;
  138. right: 20rpx;
  139. }
  140. .list .none {
  141. width: 100%;
  142. height: 100rpx;
  143. line-height: 100rpx;
  144. font-size: 32rpx;
  145. text-align: center;
  146. }