C端小程序
Não pode escolher mais do que 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

149 linhas
2.2 KiB

  1. .flashSale {
  2. width: 100%;
  3. height: 100%;
  4. background: #fff;
  5. }
  6. .loading {
  7. text-align: center;
  8. height: 80rpx;
  9. line-height: 80rpx;
  10. font-size: 26rpx;
  11. color: #999;
  12. }
  13. .loading image {
  14. width: 40rpx;
  15. height: 40rpx;
  16. vertical-align: middle;
  17. margin-right: 10rpx;
  18. }
  19. .flashSaleItemWrap {
  20. width: 100%;
  21. height: 410rpx;
  22. border-bottom: 10rpx solid #f8f8f8;
  23. }
  24. .flashSaleItem {
  25. width: 90%;
  26. height: 410rpx;
  27. display: flex;
  28. flex-direction: column;
  29. background: #fff;
  30. margin: 0 auto;
  31. }
  32. .flashSaleItemTop {
  33. display: flex;
  34. padding-top: 28rpx;
  35. flex-direction: row;
  36. padding-bottom: 25rpx;
  37. border-bottom: 1rpx solid #ededed;
  38. }
  39. .flashSaleItemTopL {
  40. flex: 1;
  41. }
  42. .food {
  43. width: 248rpx;
  44. border-radius: 10rpx;
  45. height: 184rpx;
  46. }
  47. .flashSaleItemTopR {
  48. flex: 2;
  49. flex-direction: column;
  50. margin-left: 20rpx;
  51. }
  52. .flashSaleItemTopRTop {
  53. display: flex;
  54. flex-direction: column;
  55. }
  56. .foodname {
  57. font-size: 32rpx;
  58. height: 40rpx;
  59. line-height: 40rpx;
  60. color: #000;
  61. display: inline-block;
  62. width: 406rpx;
  63. overflow: hidden;
  64. }
  65. .small {
  66. font-size: 24rpx;
  67. color: #00c0ff;
  68. margin-top: 15rpx;
  69. }
  70. .flashSaleItemTopRBottom {
  71. margin-top: 24rpx;
  72. }
  73. .presentPrice {
  74. font-size: 36rpx;
  75. color: #f96563;
  76. }
  77. .originalPrice {
  78. margin-left: 20rpx;
  79. color: #b4b4b4;
  80. text-decoration: line-through;
  81. font-size: 24rpx;
  82. }
  83. .flashSaleItemBottom {
  84. margin-top: 20rpx;
  85. position: relative;
  86. }
  87. .remainingTime {
  88. font-size: 28rpx;
  89. color: #b4b4b4;
  90. }
  91. .realRemainingTime {
  92. margin-left: 10rpx;
  93. color: #f96563;
  94. font-size: 28rpx;
  95. }
  96. .flashSaleItemBottomBottm {
  97. display: flex;
  98. flex-direction: row;
  99. }
  100. .view1 {
  101. width: 550rpx;
  102. display: block;
  103. }
  104. .remainingNumber {
  105. font-size: 28rpx;
  106. color: #b4b4b4;
  107. }
  108. .realnumber {
  109. margin-left: 10rpx;
  110. color: #f96563;
  111. font-size: 28rpx;
  112. }
  113. .buy {
  114. position: absolute;
  115. top: 34rpx;
  116. bottom: 0;
  117. right: 0rpx;
  118. width: 138rpx;
  119. height: 50rpx;
  120. line-height: 50rpx;
  121. text-align: center;
  122. background: #00c0ff;
  123. color: #fff;
  124. border-radius: 10rpx;
  125. font-size: 28rpx;
  126. }