C端小程序
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

234 lines
3.5 KiB

  1. .flashSale, page {
  2. width: 100%;
  3. background: #f5f5f5;
  4. padding-bottom: 30rpx;
  5. }
  6. .flashSale > view:nth-of-type(1) {
  7. margin-top: 0!important;
  8. }
  9. .loading {
  10. text-align: center;
  11. height: 80rpx;
  12. line-height: 80rpx;
  13. font-size: 26rpx;
  14. color: #999;
  15. }
  16. button::after{ border: none; }
  17. .goback{
  18. position: fixed;
  19. right: 50rpx;
  20. bottom: 60rpx;
  21. width:100rpx!important;
  22. height:100rpx;
  23. z-index: 100;
  24. background:rgba(255,255,255,1);
  25. line-height: 95rpx;
  26. border:1rpx solid rgba(227,227,227,1);
  27. border-radius:50%;
  28. }
  29. .goback image{
  30. position: absolute;
  31. width: 60rpx;
  32. left: 0;
  33. right: 0;
  34. top: 0;
  35. bottom: 0;
  36. margin: auto;
  37. }
  38. .loading image {
  39. width: 60rpx;
  40. height: 60rpx;
  41. vertical-align: middle;
  42. margin-right: 10rpx;
  43. }
  44. .flashSaleItemWrap {
  45. width: 100%;
  46. margin-top: 30rpx;
  47. }
  48. .flashSaleItem {
  49. width: 690rpx;
  50. margin: 0 auto;
  51. display: flex;
  52. flex-direction: column;
  53. background: #fff;
  54. border-radius: 16rpx;
  55. padding-bottom: 30rpx;
  56. }
  57. .lines {
  58. display: block;
  59. width: 100%;
  60. }
  61. .flashSaleItemTop {
  62. display: flex;
  63. flex-direction: row;
  64. padding: 28rpx 30rpx 10rpx;
  65. }
  66. .flashSaleItemTopL {
  67. flex: 1;
  68. }
  69. .food {
  70. width: 180rpx;
  71. border-radius: 10rpx;
  72. height: 180rpx;
  73. }
  74. .flashSaleItemTopR {
  75. flex: 2;
  76. flex-direction: column;
  77. }
  78. .flashSaleItemTopRTop {
  79. display: flex;
  80. flex-direction: column;
  81. }
  82. .foodname {
  83. font-size: 32rpx;
  84. height: 40rpx;
  85. line-height: 40rpx;
  86. color: #000;
  87. display: inline-block;
  88. width: 406rpx;
  89. overflow: hidden;
  90. }
  91. .small {
  92. font-size: 24rpx;
  93. color: #333;
  94. letter-spacing: 0;
  95. margin-top: 15rpx;
  96. }
  97. .flashSaleItemTopRBottom {
  98. margin-top: 24rpx;
  99. }
  100. .presentPrice {
  101. font-size: 36rpx;
  102. color: #f96563;
  103. }
  104. .originalPrice {
  105. margin-left: 20rpx;
  106. color: #b4b4b4;
  107. text-decoration: line-through;
  108. font-size: 24rpx;
  109. }
  110. .flashSaleItemBottom {
  111. position: relative;
  112. padding: 0 30rpx;
  113. }
  114. .remainingTime {
  115. font-size: 28rpx;
  116. color: #b4b4b4;
  117. }
  118. .realRemainingTime {
  119. color: #ff4949;
  120. font-size: 28rpx;
  121. }
  122. .flashSaleItemBottomBottm {
  123. display: flex;
  124. flex-direction: row;
  125. }
  126. .view1 {
  127. width: 350rpx;
  128. display: block;
  129. line-height: 33rpx;
  130. }
  131. .remainingNumber {
  132. font-size: 26rpx;
  133. color: #b4b4b4;
  134. margin-right: 10rpx;
  135. }
  136. .realnumber {
  137. margin-left: 10rpx;
  138. color: #f96563;
  139. font-size: 28rpx;
  140. }
  141. .buy {
  142. position: absolute;
  143. top: 27rpx;
  144. bottom: 0;
  145. right: 30rpx;
  146. width: 140rpx;
  147. height: 58rpx;
  148. line-height: 58rpx;
  149. text-align: center;
  150. background: #ff4949;
  151. border-radius: 60rpx;
  152. color: #fff;
  153. font-size: 28rpx;
  154. border: 2rpx solid #ff4949;
  155. }
  156. .sale {
  157. font-size: 24rpx;
  158. color: #999;
  159. letter-spacing: 0;
  160. display: inline-block;
  161. margin-right: 6rpx;
  162. }
  163. .yuan {
  164. font-size: 24rpx;
  165. color: #ff4949;
  166. letter-spacing: 0;
  167. }
  168. .active {
  169. background: #fff;
  170. width: 140rpx;
  171. height: 58rpx;
  172. line-height: 58rpx;
  173. color: #ff4949;
  174. border: 2rpx solid #ff4949;
  175. }
  176. progress {
  177. display: inline-block;
  178. width: 200rpx;
  179. border-radius: 60rpx;
  180. overflow: hidden;
  181. }
  182. .expect{
  183. margin-top: 60rpx;
  184. }
  185. .expect text{
  186. display: block;
  187. text-align: center;
  188. }
  189. .expect text:nth-of-type(1) {
  190. margin-top: 91rpx;
  191. font-size: 36rpx;
  192. color: rgba(51, 51, 51, 1);
  193. }
  194. .expect text:nth-of-type(2) {
  195. font-size: 28rpx;
  196. color: rgba(136, 136, 136, 1);
  197. }
  198. .expect image {
  199. display: block;
  200. width: 247rpx;
  201. height: 230rpx;
  202. margin: 0 auto;
  203. }