search.wxss 527 B

12345678910111213141516171819202122232425262728293031323334
  1. /* 搜索框 */
  2. .search{
  3. width: 90%;
  4. height: auto;
  5. display: flex;
  6. align-items: center;
  7. margin: 0rpx auto;
  8. margin-bottom: 15rpx;
  9. }
  10. .search-left{
  11. flex: 4;
  12. background-color: rgb(240, 240, 240);
  13. display: flex;
  14. justify-content: flex-start;
  15. align-items: center;
  16. padding: 10rpx 20rpx;
  17. border-radius: 15rpx;
  18. }
  19. .search input{
  20. width: 90%;
  21. height: 100%;
  22. font-size: 29rpx;
  23. margin-left: 20rpx;
  24. }
  25. .search-right{
  26. flex: 0.5;
  27. font-size:30rpx;
  28. color: #aaa;
  29. text-align: center;
  30. margin-left: 30rpx;
  31. }