index.wxss 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  1. /* pages/search/index.wxss */
  2. .header {
  3. display: flex;
  4. justify-content: space-between;
  5. align-items: center;
  6. height: 70rpx;
  7. font-size: 28rpx;
  8. padding-left: 35rpx;
  9. box-sizing: border-box;
  10. }
  11. .icon-search {
  12. flex: 0 0 auto;
  13. }
  14. .cancel {
  15. padding-left: 30rpx;
  16. padding-right: 30rpx;
  17. color: #222;
  18. }
  19. .header .search {
  20. display: flex;
  21. flex-grow: 1;
  22. align-items: center;
  23. height: 60rpx;
  24. background: #eee;
  25. border-radius: 30rpx;
  26. line-height: 60rpx;
  27. font-size: 24rpx;
  28. padding-left: 10rpx;
  29. color: #999;
  30. box-sizing: border-box;
  31. }
  32. .search .i_search {
  33. width: 24rpx;
  34. height: 27rpx;
  35. display: flex;
  36. align-items: center;
  37. margin-left: 26rpx;
  38. }
  39. .search .i_search image {
  40. width: 100%;
  41. height: 100%;
  42. }
  43. .search .search-input {
  44. flex-grow: 1;
  45. color: #333;
  46. margin-left: 13rpx;
  47. }
  48. /* 搜索历史 */
  49. .topic {
  50. padding: 0 30rpx;
  51. color: #333;
  52. font-size: 28rpx;
  53. margin-top: 60rpx;
  54. box-sizing: border-box;
  55. }
  56. .topic .topic-header {
  57. display: flex;
  58. justify-content: space-between;
  59. align-items: center;
  60. height: 80rpx;
  61. }
  62. .topic-header .history-title {
  63. font-family: SourceHanSansCN-Normal;
  64. font-weight: 400;
  65. color: rgba(34, 34, 34, 1);
  66. font-size: 32rpx;
  67. }
  68. .topic-header image {
  69. width: 23rpx;
  70. height: 31rpx;
  71. }
  72. .record {
  73. display: inline-block;
  74. height: 65rpx;
  75. line-height: 65rpx;
  76. text-align: center;
  77. padding: 0 20rpx;
  78. margin-right: 20rpx;
  79. margin-bottom: 20rpx;
  80. font-size: 26rpx;
  81. color: #222;
  82. background-color: #eee;
  83. border-radius: 6rpx;
  84. }