index.wxss 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. /**index.wxss**/
  2. .flexdstyle{
  3. position: fixed;
  4. width: 100%;
  5. }
  6. .sg-container {
  7. background: white;
  8. }
  9. .sg-top-box {
  10. color: white;
  11. display: flex;
  12. align-items: center;
  13. justify-content: space-around;
  14. padding: 50rpx 15rpx 100rpx 15rpx;
  15. }
  16. .sg-top-item {
  17. display: flex;
  18. align-items: center;
  19. flex-direction: column;
  20. justify-content: center;
  21. padding: 0 15rpx;
  22. }
  23. .sg-top-item .sg-top-name {
  24. margin-top: 15rpx;
  25. }
  26. .sg-right-border {
  27. border-right: 1px solid white;
  28. }
  29. .sg-search-box {
  30. margin: -50rpx 30rpx 0 30rpx;
  31. display: flex;
  32. align-items: center;
  33. background: white;
  34. border-radius: 50rpx;
  35. padding: 15rpx 20rpx;
  36. }
  37. .sg-search-icon {
  38. margin-right: 20rpx;
  39. }
  40. .sg-search-box .sg-search-input {
  41. flex-grow: 1;
  42. }
  43. .sg-box .sg-img {
  44. width: 120rpx;
  45. }
  46. .sg-list .sg-item {
  47. display: flex;
  48. align-items: center;
  49. }
  50. .sg-list .sg-item .sg-right {
  51. flex-grow: 1;
  52. margin-left: 30rpx;
  53. }
  54. .sg-list .sg-item .sg-bottom,
  55. .sg-list .sg-item .sg-top {
  56. display: flex;
  57. align-items: center;
  58. justify-content: space-between;
  59. }