index.wxss 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  1. /**index.wxss**/
  2. page {
  3. padding-top: 54rpx;
  4. background-color: #fff;
  5. padding-bottom: 60rpx;
  6. }
  7. .container {
  8. width: 100%;
  9. overflow: scroll;
  10. }
  11. .tip_text {
  12. width: 100%;
  13. height: 400rpx;
  14. line-height: 400rpx;
  15. text-align: center;
  16. color: rgba(0, 0, 0, 0.5);
  17. font-size: 28rpx;
  18. }
  19. .goods-list {
  20. width: 100%;
  21. display: flex;
  22. flex-wrap: wrap;
  23. }
  24. .goods-item {
  25. width: calc(50% - 30px);
  26. display: flex;
  27. flex-direction: column;
  28. gap: 16rpx;
  29. align-items: center;
  30. box-sizing: border-box;
  31. margin-bottom: 20px;
  32. }
  33. .goods-item.even {
  34. margin-left: 20px;
  35. margin-right: 10px;
  36. }
  37. .goods-item.odd {
  38. margin-left: 10px;
  39. margin-right: 20px;
  40. }
  41. .goods-image {
  42. width: 100%;
  43. }
  44. .goods-title {
  45. font-family: "PingFang SC";
  46. font-size: 14px;
  47. font-style: normal;
  48. font-weight: 400;
  49. text-align: left;
  50. width: 100%;
  51. }
  52. .goods-bottom-container {
  53. display: flex;
  54. align-items: center;
  55. justify-content: space-between;
  56. width: 100%;
  57. }
  58. .goods-price {
  59. display: flex;
  60. align-items: center;
  61. gap: 4rpx;
  62. font-family: "PingFang SC";
  63. font-size: 14px;
  64. color: rgba(0, 0, 0, 0.9);
  65. font-weight: 600;
  66. }
  67. .price-symbol {
  68. font-size: 24rpx;
  69. }
  70. .btn-share {
  71. width: 60px;
  72. height: 24px;
  73. line-height: 24px;
  74. border: 1px solid #07C160;
  75. text-align: center;
  76. border-radius: 2px;
  77. font-size: 28rpx;
  78. color: #07C160;
  79. }
  80. .bottom_tips {
  81. width: 100%;
  82. text-align: center;
  83. font-size: 28rpx;
  84. color: rgba(0, 0, 0, 0.7);
  85. position: absolute;
  86. bottom: 100rpx;
  87. left: 50%;
  88. transform: translateX(-50%);
  89. }