微信小店联盟带货小程序

index.wxss 3.5KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154
  1. /* pages/search/index.wxss */
  2. .container {
  3. min-height: 100vh;
  4. background: #ffffff;
  5. }
  6. /* 搜索头部 */
  7. .search-header {
  8. padding: 24rpx 32rpx;
  9. display: flex;
  10. align-items: center;
  11. background: #ffffff;
  12. position: fixed;
  13. top: 0;
  14. left: 0;
  15. right: 0;
  16. z-index: 100;
  17. border-bottom: 1rpx solid #f5f5f5;
  18. }
  19. .search-box {
  20. flex: 1;
  21. height: 72rpx;
  22. background: #f5f5f5;
  23. border-radius: 36rpx;
  24. display: flex;
  25. align-items: center;
  26. padding: 0 24rpx;
  27. margin-right: 20rpx;
  28. }
  29. .search-input {
  30. flex: 1;
  31. height: 72rpx;
  32. font-size: 28rpx;
  33. margin: 0 16rpx;
  34. }
  35. .cancel-btn {
  36. font-size: 28rpx;
  37. color: #666666;
  38. padding: 16rpx 0;
  39. }
  40. /* 搜索内容区域 */
  41. .search-content {
  42. margin-top: 120rpx;
  43. padding: 0 32rpx;
  44. height: calc(100vh - 120rpx);
  45. }
  46. /* 搜索区块通用样式 */
  47. .search-section {
  48. margin-bottom: 48rpx;
  49. }
  50. .section-header {
  51. display: flex;
  52. justify-content: space-between;
  53. align-items: center;
  54. margin-bottom: 24rpx;
  55. }
  56. .section-title {
  57. font-size: 32rpx;
  58. font-weight: 500;
  59. color: #262626;
  60. }
  61. .clear-history {
  62. font-size: 24rpx;
  63. color: #999999;
  64. display: flex;
  65. align-items: center;
  66. }
  67. .clear-history .iconfont {
  68. font-size: 28rpx;
  69. margin-right: 8rpx;
  70. }
  71. /* 热门搜索 */
  72. .hot-search {
  73. display: flex;
  74. flex-wrap: wrap;
  75. margin: 0 -8rpx;
  76. }
  77. .hot-item {
  78. margin: 8rpx;
  79. padding: 12rpx 24rpx;
  80. background: #f5f5f5;
  81. border-radius: 28rpx;
  82. font-size: 26rpx;
  83. color: #666666;
  84. }
  85. .hot-item.hot {
  86. background: rgba(255, 77, 79, 0.1);
  87. color: #ff4d4f;
  88. }
  89. /* 搜索历史 */
  90. .history-list {
  91. display: flex;
  92. flex-direction: column;
  93. }
  94. .history-item {
  95. display: flex;
  96. align-items: center;
  97. padding: 24rpx 0;
  98. font-size: 28rpx;
  99. color: #333333;
  100. border-bottom: 1rpx solid #f5f5f5;
  101. }
  102. .history-item .iconfont {
  103. font-size: 32rpx;
  104. color: #999999;
  105. margin-right: 16rpx;
  106. }
  107. .history-text {
  108. flex: 1;
  109. }
  110. /* 搜索建议 */
  111. .search-suggestions {
  112. background: #ffffff;
  113. }
  114. .suggestion-item {
  115. display: flex;
  116. align-items: center;
  117. padding: 24rpx 0;
  118. font-size: 28rpx;
  119. color: #333333;
  120. border-bottom: 1rpx solid #f5f5f5;
  121. }
  122. .suggestion-item .iconfont {
  123. font-size: 32rpx;
  124. color: #999999;
  125. margin-right: 16rpx;
  126. }
  127. /* 图标字体 */
  128. @font-face {
  129. font-family: "iconfont";
  130. src: url("data:font/woff2;charset=utf-8;base64,d09GMgABAAAAAAO0AAsAAAAACFwAAANlAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHFQGYACDMgqDaIM0ATYCJAMUCwwABCAFhGcHWBtmBxHVm8PIfhzGMck6c2bkTSjPG/H0/7+1d+59M6+IZhLNHE00iySxULxEgpBIEI1EIlb6hOTN/D83vU/KgGxhcaACyQpkBbJCuEhW4qrkGtzeUmB5KzwbKEDPXNMr0gE7kBj+26XvApW6BqXlAg/vhD/87Yb/e9sEKg+0QXLNNrQG2hvgaAIFNMbWRS6QBHnD2AUt4n4CrSY1oNvF1T2QV2BOBeKBvA7kTcgVRlihqbRQbVmY+AKVZvoU3QN8Dn4f/1YjT1KVmXM3HxYykP+V+lUhrf/v0k4E+ng2sJvImAcU4qw0fUQRwnlIr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