index.less 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  1. .nav {
  2. background: white;
  3. position: fixed;
  4. top: 0rpx;
  5. z-index: 999;
  6. // background: #7F56B2;
  7. width: 100vw;
  8. .shop {
  9. display: flex;
  10. align-items: center;
  11. >view {
  12. font-size: 33rpx;
  13. font-weight: bold;
  14. margin: 0 10rpx;
  15. }
  16. }
  17. .search {
  18. height: 60rpx;
  19. overflow: hidden;
  20. align-items: center;
  21. background: whitesmoke;
  22. padding: 5rpx 10rpx;
  23. border-radius: 100rpx;
  24. display: flex;
  25. align-items: center;
  26. input {
  27. margin-left: 10rpx;
  28. height: 100rpx;
  29. font-size: 28rpx;
  30. }
  31. }
  32. }
  33. .wang-cardbox{
  34. padding: 20rpx;
  35. width: 100%;
  36. background-color: white;
  37. overflow-y: hidden;
  38. padding-bottom: 40rpx;
  39. column-count: 2; /* 设置列数 */
  40. column-gap: 16rpx; /* 设置列间距 */
  41. .wang-card{
  42. break-inside: avoid; /* 防止卡片在列之间断裂 */
  43. margin-bottom: 20rpx; /* 设置卡片底部间距 */
  44. width: 100%; /* 确保卡片宽度为100% */
  45. image{
  46. width: 100%;
  47. height: 204rpx;
  48. border-radius: 10rpx;
  49. }
  50. .wang-catex{
  51. font-size: 26rpx;
  52. font-weight: 400;
  53. height: 76rpx;
  54. }
  55. .wang-numbox{
  56. width: 100%;
  57. display: flex;
  58. align-items: center;
  59. .wang-num{
  60. display: flex;
  61. justify-content: flex-end;
  62. align-items: flex-end;
  63. color: #C5262Ced;
  64. font-size: 30rpx;
  65. .wang-num1{
  66. font-size: 32rpx;
  67. }
  68. .wang-num2{
  69. font-size: 40rpx;
  70. }
  71. }
  72. .wang-submit{
  73. width: 102rpx;
  74. height: 48rpx;
  75. font-size: 28rpx;
  76. color: white;
  77. background-color: #F8DA7F;
  78. border-radius: 15rpx;
  79. display: flex;
  80. justify-content: center;
  81. align-items: center;
  82. margin-left: auto;
  83. }
  84. }
  85. }
  86. }