index.wxss 2.4 KB

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