index.less 6.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357
  1. page {
  2. background-color: #f9f9f9;
  3. padding-bottom: 100rpx;
  4. .banner {
  5. margin: 25rpx;
  6. swiper {
  7. width: 700rpx;
  8. height: 1050rpx;
  9. }
  10. }
  11. .notice {
  12. margin: 25rpx;
  13. padding: 16rpx;
  14. background-color: #f7dede;
  15. border-radius: 16rpx 16rpx 32rpx 32rpx;
  16. display: flex;
  17. align-items: center;
  18. color: #B1181B;
  19. .notice-text {
  20. text-indent: 16rpx;
  21. }
  22. }
  23. .font28 {
  24. font-size: 28rpx;
  25. }
  26. .core {
  27. background: white;
  28. // display: flex;
  29. // flex-wrap: wrap;
  30. justify-content: space-between;
  31. align-items: center;
  32. display:grid;
  33. grid-template-columns:repeat(4, 175rpx);
  34. margin: 32rpx 25rpx;
  35. text-align: center;
  36. padding: 20rpx 0;
  37. border-radius: 20rpx;
  38. box-shadow: 1rpx 1rpx 10rpx rgb(223, 222, 222);
  39. .core-item {
  40. margin-bottom: 24rpx;
  41. font-size: 24rpx;
  42. // width: 25%;
  43. }
  44. }
  45. .kill {
  46. margin: 24rpx;
  47. padding: 16rpx;
  48. background: linear-gradient(to right, #f55745, #eb2765);
  49. border-radius: 16rpx;
  50. color: #ffffff;
  51. .kill-title {
  52. display: flex;
  53. align-items: center;
  54. justify-content: space-between;
  55. margin-bottom: 24rpx;
  56. }
  57. .kill-box {
  58. background-color: #ffffff;
  59. border-radius: 16rpx;
  60. padding: 16rpx;
  61. display: flex;
  62. align-items: center;
  63. justify-content: space-between;
  64. color: #000;
  65. .kill-item {
  66. width: 180rpx;
  67. // height: 600rpx;
  68. .kill-text {
  69. width: 100%;
  70. height: 60rpx;
  71. font-size: 22rpx;
  72. font-weight: bold;
  73. display: -webkit-box;
  74. -webkit-box-orient: vertical;
  75. -webkit-line-clamp: 2;
  76. overflow: hidden;
  77. }
  78. .time-down {
  79. margin: 16rpx 0;
  80. height: 44rpx;
  81. }
  82. .kill-price {
  83. display: flex;
  84. align-items: center;
  85. background: linear-gradient(to right, #fd362a, #feee97);
  86. border-radius: 8rpx 16rpx 16rpx 8rpx;
  87. color: #fff;
  88. .current {
  89. font-weight: bold;
  90. font-weight: 22rpx;
  91. }
  92. .original {
  93. text-decoration: line-through;
  94. color: #bd7314;
  95. margin-left: 10rpx;
  96. font-weight: 500;
  97. font-size: 16rpx;
  98. }
  99. }
  100. }
  101. }
  102. }
  103. .location {
  104. display: flex;
  105. align-content: center;
  106. justify-content: space-between;
  107. padding: 16rpx 24rpx;
  108. background-color: #ffffff;
  109. .my-location {
  110. display: flex;
  111. align-items: center;
  112. .my-place {
  113. width: 450rpx;
  114. font-size: 26rpx;
  115. color: #999999;
  116. margin-left: 16rpx;
  117. display: -webkit-box;
  118. -webkit-box-orient: vertical;
  119. -webkit-line-clamp: 1;
  120. overflow: hidden;
  121. }
  122. }
  123. .location-more {
  124. >button {
  125. line-height: normal;
  126. padding: 8rpx 16rpx;
  127. background-color: #B1181B;
  128. color: #ffffff;
  129. font-size: 24rpx;
  130. }
  131. }
  132. }
  133. .store-list {
  134. background-color: #ffffff;
  135. border-radius: 16rpx;
  136. padding: 24rpx;
  137. margin: 25rpx;
  138. .store-item {
  139. display: flex;
  140. justify-content: space-between;
  141. margin: 16rpx 0;
  142. align-items: center;
  143. .item-flex {
  144. display: flex;
  145. align-items: center;
  146. .item-text {
  147. margin-left: 24rpx;
  148. width: 400rpx;
  149. .text-info {
  150. font-size: 16rpx;
  151. color: #999999;
  152. display: flex;
  153. align-items: center;
  154. .per-capita {
  155. padding-right: 24rpx;
  156. border-right: 2rpx solid #999999;
  157. }
  158. .info-distance {
  159. padding-left: 32rpx;
  160. }
  161. }
  162. }
  163. }
  164. .item-btn {
  165. >button {
  166. line-height: normal;
  167. padding: 8rpx 16rpx;
  168. background-color: #B1181B;
  169. color: #ffffff;
  170. font-size: 24rpx;
  171. }
  172. }
  173. }
  174. }
  175. .goodHeader {
  176. display: flex;
  177. justify-content: space-between;
  178. align-items: center;
  179. font-weight: bold;
  180. font-size: 30rpx;
  181. view {
  182. display: flex;
  183. align-items: center;
  184. }
  185. .more{
  186. padding: 0 20rpx;
  187. color: rgb(77, 77, 77);
  188. }
  189. }
  190. .share-order {
  191. display: flex;
  192. align-items: center;
  193. border-bottom: 6rpx solid #ff870d;
  194. padding: 24rpx 24rpx 0 24rpx;
  195. .prefecture {
  196. display: flex;
  197. align-items: center;
  198. .prefecture-btn {
  199. padding: 10rpx 16rpx 24rpx 16rpx;
  200. border-radius: 8rpx;
  201. >button {
  202. font-size: 28rpx;
  203. line-height: normal;
  204. padding: 0;
  205. background-color: transparent;
  206. border-radius: 0;
  207. color: #ffffff;
  208. }
  209. }
  210. .triangle-right {
  211. border-top: 66rpx solid transparent;
  212. border-right: 0rpx solid transparent;
  213. width: 0;
  214. height: 0;
  215. margin-left: -4rpx;
  216. }
  217. }
  218. .share-friend {
  219. display: flex;
  220. align-items: center;
  221. margin-left: -30rpx;
  222. color: #ffffff;
  223. .triangle-left {
  224. border-top: 66rpx solid transparent;
  225. border-left: 0rpx solid transparent;
  226. width: 0;
  227. height: 0;
  228. margin-right: -4rpx;
  229. }
  230. .friend-btn {
  231. padding: 10rpx 16rpx 24rpx 16rpx;
  232. border-radius: 8rpx;
  233. >button {
  234. font-size: 28rpx;
  235. line-height: normal;
  236. padding: 0;
  237. background-color: transparent;
  238. border-radius: 0;
  239. color: #ffffff;
  240. }
  241. }
  242. }
  243. }
  244. .goodsBox {
  245. margin: 30rpx;
  246. // display: grid;
  247. // justify-content: space-between;
  248. // grid-template-columns: 320rpx 320rpx;
  249. .groupBuy {
  250. // width: 48%;
  251. background-color: #ffffff;
  252. border-radius: 5rpx;
  253. margin-bottom: 20rpx;
  254. border-radius: 10rpx;
  255. box-shadow: 1rpx 1rpx 10rpx rgb(202, 202, 202);
  256. >view {
  257. padding: 10rpx;
  258. }
  259. .name {
  260. font-size: 28rpx;
  261. }
  262. .tab-price {
  263. display: flex;
  264. justify-content: space-between;
  265. .price-light {
  266. display: flex;
  267. align-items: center;
  268. .price{
  269. font-size: 38rpx;
  270. color: red;
  271. }
  272. .decoration{
  273. text-decoration: line-through;
  274. color: #646566;
  275. font-size: 30rpx;
  276. margin-left: 6rpx;
  277. }
  278. }
  279. .btn {
  280. display: flex;
  281. justify-content: center;
  282. align-items: center;
  283. border-radius: 50rpx;
  284. width: 180rpx;
  285. height: 50rpx;
  286. font-size: 30rpx;
  287. color: white;
  288. }
  289. }
  290. }
  291. }
  292. .active {
  293. z-index: 9;
  294. }
  295. .goods-group {
  296. padding-bottom: 20rpx;
  297. }
  298. }
  299. .van-count-down {
  300. color: white;
  301. padding: 0 !important;
  302. font-size: 10rpx !important;
  303. background: #eb3939;
  304. }