search.wxss 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125
  1. @import '../../common/common.wxss';
  2. .main{
  3. padding: 0 20rpx;
  4. }
  5. .search-box {
  6. position: relative;
  7. display: flex;
  8. justify-content: space-between;
  9. padding-top: 26rpx;
  10. }
  11. .search-input {
  12. flex: 1;
  13. height: 60rpx;
  14. line-height: 60rpx;
  15. padding: 0 20rpx 0 54rpx;
  16. background: #f8f8f8;
  17. border-radius: 10rpx;
  18. font-size: 32rpx;
  19. border: 2rpx solid #ddd;
  20. }
  21. .search-icon {
  22. position: absolute;
  23. left: 15rpx;
  24. top: 44rpx;
  25. width: 35rpx;
  26. height: 35rpx;
  27. }
  28. .search-btn{
  29. font-size: 32rpx;
  30. padding: 0 20rpx;
  31. line-height: 64rpx;
  32. }
  33. .title{
  34. font-size: 32rpx;
  35. margin: 30rpx 0;
  36. }
  37. .title text{
  38. padding-right: 30rpx;
  39. padding-bottom: 10rpx;
  40. color: #AB956D;
  41. border-bottom: 8rpx solid #AB956D;
  42. }
  43. .tags text{
  44. display: inline-block;
  45. font-size: 28rpx;
  46. padding: 6rpx 20rpx;
  47. border: 2rpx solid #ddd;
  48. color: #aaa;
  49. margin: 0 30rpx 20rpx 0;
  50. border-radius: 40rpx;
  51. word-break: break-all;
  52. }
  53. .keywords{
  54. position: absolute;
  55. width: 100%;
  56. left: 0;
  57. top: 90rpx;
  58. background: #fff;
  59. z-index: 9;
  60. padding: 20rpx;
  61. box-sizing: border-box;
  62. }
  63. .keywords-item{
  64. line-height: 70rpx;
  65. border-bottom: 1px solid #eee;
  66. color: #787878;
  67. font-size: 28rpx;
  68. }
  69. .result{
  70. margin-top: 40rpx;
  71. }
  72. .result-box, .recommend-box{
  73. padding:0 20rpx;
  74. }
  75. .result-list{
  76. display: inline-block;
  77. width: 325rpx;
  78. height: 325rpx;
  79. margin:0 20rpx 20rpx 0;
  80. border-radius: 10px;
  81. text-align: center;
  82. background: #f5f6f5;
  83. }
  84. .result-list:nth-child(2n){
  85. margin-right: 0;
  86. }
  87. .result-list image{
  88. width: 175rpx;
  89. height: 175rpx;
  90. margin: 20rpx 0 10rpx;
  91. }
  92. .result-list .result-text{
  93. font-size: 32rpx;
  94. }
  95. .null-tips{
  96. padding: 200rpx 0;
  97. text-align: center;
  98. color: #787878;
  99. }
  100. /* 相关推荐 */
  101. .recommend-title{
  102. position: relative;
  103. height: 0;
  104. width: 1005;
  105. border-bottom: 1px solid #f0f0f1;
  106. margin-bottom: 42rpx;
  107. }
  108. .recommend-title text{
  109. position: absolute;
  110. left: 50%;
  111. top: -20rpx;
  112. width: 150rpx;
  113. height: 40rpx;
  114. margin-left: -75rpx;
  115. line-height: 40rpx;
  116. background: #ffffff;
  117. color: #5e5e5e;
  118. font-size: 28rpx;
  119. font-weight: bold;
  120. text-align: center;
  121. letter-spacing: 1px;
  122. }