search.wxss 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. /* pages/search/search.wxss */
  2. .base_search {
  3. width: 80%;
  4. height: 80rpx;
  5. background-color: #E8E7E7;
  6. border-radius: 20rpx;
  7. }
  8. .search_text {
  9. float: left;
  10. padding-left: 95rpx;
  11. padding-top: 15rpx;
  12. }
  13. .search_button {
  14. float: right;
  15. margin-top: -64rpx;
  16. margin-right: 20rpx;
  17. font-size: 35rpx;
  18. color: #494545;
  19. }
  20. /* 搜索历史 */
  21. .history {
  22. width: 100%;
  23. height: 200rpx;
  24. margin-top: 20rpx;
  25. color: #494545;
  26. }
  27. .history_title {
  28. float: left;
  29. margin-left: 8rpx;
  30. }
  31. .empty {
  32. margin-left: 580rpx;
  33. }
  34. .history_show {
  35. width: 100%;
  36. height: 100rpx;
  37. margin-top: 20rpx;
  38. }
  39. .history_card {
  40. width: fit-content;
  41. height: 65rpx;
  42. background-color: #E8E7E7;
  43. border-radius: 20rpx;
  44. line-height: 65rpx;
  45. }
  46. /* 猜你喜欢 */
  47. .refresh {
  48. float: right;
  49. margin-top: -35rpx;
  50. }
  51. .commodity {
  52. margin-top: 20rpx;
  53. display: flex;
  54. flex-wrap: wrap;
  55. }
  56. .commodity_card {
  57. top: 10rpx;
  58. position: relative;
  59. display: flex;
  60. width: 46%;
  61. height: 380rpx;
  62. padding: 10rpx;
  63. justify-content: center;
  64. }
  65. .commodity_img {
  66. height: 350rpx;
  67. border-radius: 20rpx;
  68. }
  69. .avater {
  70. position: absolute;
  71. top: -160rpx;
  72. left: 15rpx;
  73. width: 150rpx;
  74. color: white;
  75. }