search.wxss 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  1. .t-float-left {
  2. float: left;
  3. }
  4. .t-float-right {
  5. float: right;
  6. }
  7. @keyframes tdesign-fade-out {
  8. from {
  9. opacity: 1;
  10. }
  11. to {
  12. opacity: 0;
  13. }
  14. }
  15. .hotspot-expanded.relative {
  16. position: relative;
  17. }
  18. .hotspot-expanded::after {
  19. content: '';
  20. display: block;
  21. position: absolute;
  22. left: 0;
  23. top: 0;
  24. right: 0;
  25. bottom: 0;
  26. transform: scale(1.5);
  27. }
  28. .t-search {
  29. display: flex;
  30. justify-content: space-between;
  31. align-items: center;
  32. }
  33. .t-search__label {
  34. padding: 8rpx;
  35. color: rgba(0, 0, 0, 0.9);
  36. }
  37. .t-search__input-box {
  38. flex: 1;
  39. box-sizing: border-box;
  40. display: flex;
  41. height: 80rpx;
  42. align-items: center;
  43. border: 2rpx solid #f3f3f3;
  44. background: #f3f3f3;
  45. padding: 16rpx 24rpx;
  46. }
  47. .t-search__input-box.t-is-focused {
  48. border-color: #f3f3f3;
  49. }
  50. .t-search__input-box--round {
  51. border-radius: 40rpx;
  52. }
  53. .t-search__input-box--square {
  54. border-radius: 8rpx;
  55. }
  56. .t-search__input-box--center {
  57. text-align: center;
  58. }
  59. .t-search__input-box .t-input__keyword {
  60. display: inline-block;
  61. flex: 1;
  62. color: rgba(0, 0, 0, 0.9);
  63. font-size: 32rpx;
  64. padding-left: 16rpx;
  65. }
  66. .t-search__input-box .t-icon {
  67. color: rgba(0, 0, 0, 0.26);
  68. }
  69. .t-search__right {
  70. position: relative;
  71. margin-left: 10px;
  72. }
  73. .t-search__right.relative {
  74. position: relative;
  75. }
  76. .t-search__right::after {
  77. content: '';
  78. display: block;
  79. position: absolute;
  80. left: 0;
  81. top: 0;
  82. right: 0;
  83. bottom: 0;
  84. transform: scale(1.5);
  85. }
  86. .t-search__search-action {
  87. margin-left: 30rpx;
  88. font-size: 32rpx;
  89. color: rgba(0, 0, 0, 0.26);
  90. }
  91. .t-search__placeholder {
  92. color: rgba(0, 0, 0, 0.26);
  93. }
  94. .t-search__placeholder--center {
  95. text-align: center;
  96. }