index.wxss 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171
  1. /* pages/search/index.wxss */
  2. page {
  3. background: #f5f5f5;
  4. }
  5. /* 顶部 */
  6. .app-header {
  7. display: flex;
  8. align-items: center;
  9. justify-content: space-between;
  10. height: 104rpx;
  11. /* box-shadow: 0 0 10rpx 10rpx #eaeaea; */
  12. /* border-top: 1rpx solid #f5f5f5; */
  13. padding: 0 30rpx;
  14. box-sizing: border-box;
  15. background: #fff;
  16. }
  17. .map {
  18. display: flex;
  19. align-items: center;
  20. /* white-space: nowrap; */
  21. font-size: 28rpx;
  22. /* padding: 0 10rpx 0 20rpx; */
  23. color: #999;
  24. margin-right: 15rpx;
  25. padding-left: 26rpx;
  26. box-sizing: border-box;
  27. }
  28. .location {
  29. width: 28rpx;
  30. height: 34rpx;
  31. padding-right: 10rpx;
  32. }
  33. .location image {
  34. width: 100%;
  35. height: 100%;
  36. }
  37. .map .cityname {
  38. color: #006be7;
  39. font-size: 36rpx;
  40. max-width: 120rpx;
  41. -webkit-line-clamp: 1;
  42. overflow: hidden;
  43. text-overflow: ellipsis;
  44. -webkit-box-orient: vertical;
  45. word-break: break-all;
  46. }
  47. .arrow-down {
  48. transform: rotate(90deg);
  49. margin-left: 10rpx;
  50. }
  51. .search {
  52. flex: 1;
  53. height: 64rpx;
  54. background: #FFFFFF;
  55. border-radius: 10rpx;
  56. border: 2rpx solid #0070F2;
  57. font-size: 24rpx;
  58. padding: 18rpx 20rpx;
  59. box-sizing: border-box;
  60. /* border: 4rpx solid #0177ff; */
  61. display: flex;
  62. align-items: center;
  63. justify-content: space-between;
  64. }
  65. .search-content {
  66. font-size: 28rpx;
  67. flex: 1;
  68. display: flex;
  69. align-items: center;
  70. justify-content: space-between;
  71. }
  72. .search .i_search {
  73. width: 29rpx;
  74. height: 29rpx;
  75. display: flex;
  76. align-items: center;
  77. }
  78. .search .i_search image {
  79. width: 100%;
  80. height: 100%;
  81. }
  82. .placeholder {
  83. font-size: 26rpx;
  84. font-family: PingFangSC-Regular, PingFang SC;
  85. font-weight: 400;
  86. color: #CCCCCC;
  87. }
  88. .search-input {
  89. flex: 1;
  90. margin-left: 15rpx;
  91. font-size: 26rpx;
  92. font-family: PingFangSC-Regular, PingFang SC;
  93. font-weight: 400;
  94. }
  95. .btn-search {
  96. height: 66rpx;
  97. width: 128rpx;
  98. color: #fff;
  99. font-size: 28rpx;
  100. text-align: center;
  101. line-height: 66rpx;
  102. background: #0177ff;
  103. border-radius: 34rpx;
  104. margin-left: 15rpx;
  105. }
  106. .cancel {
  107. font-size: 32rpx;
  108. font-family: PingFangSC-Regular, PingFang SC;
  109. font-weight: 400;
  110. color: #444444;
  111. margin-left: 30rpx;
  112. }
  113. /* 搜索历史 */
  114. .topic {
  115. padding: 0 30rpx;
  116. color: #333;
  117. font-size: 28rpx;
  118. margin-top: 60rpx;
  119. box-sizing: border-box;
  120. }
  121. .topic .topic-header {
  122. display: flex;
  123. justify-content: space-between;
  124. align-items: center;
  125. height: 80rpx;
  126. }
  127. .topic-header .history-title {
  128. font-family: SourceHanSansCN-Normal;
  129. font-weight: 400;
  130. color: #333;
  131. font-size: 28rpx;
  132. }
  133. .topic-header image {
  134. width: 27rpx;
  135. height: 39rpx;
  136. }
  137. .record {
  138. display: inline-block;
  139. height: 65rpx;
  140. line-height: 65rpx;
  141. text-align: center;
  142. padding: 0 20rpx;
  143. margin-right: 20rpx;
  144. margin-bottom: 20rpx;
  145. font-size: 28rpx;
  146. color: #666;
  147. background-color: #ebebeb;
  148. border-radius: 6rpx;
  149. }