index.less 7.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420
  1. /**index.less**/
  2. .pageContainer {
  3. height: 100vh;
  4. width: 100%;
  5. background: #F5F6F7;
  6. }
  7. .scrollarea {
  8. flex: 1;
  9. overflow-y: hidden;
  10. height: 100%;
  11. }
  12. .container {
  13. position: relative;
  14. }
  15. .shop-section {
  16. background: #FFFFFF;
  17. border-radius: 20rpx;
  18. margin: 16rpx 16rpx 0;
  19. padding: 24rpx 24rpx 40rpx;
  20. .showPrice {
  21. display: flex;
  22. justify-content: space-between;
  23. align-items: center;
  24. }
  25. .left {
  26. flex: 1 auto;
  27. display: flex;
  28. align-items: flex-end;
  29. }
  30. .currentPrice {
  31. font-weight: bold;
  32. color: #FE2451;
  33. font-family: DINAlternate, DINAlternate;
  34. .stuff {
  35. padding-right: 2rpx;
  36. font-size: 36rpx;
  37. }
  38. .priceZ {
  39. font-size: 60rpx;
  40. line-height: 1;
  41. }
  42. .priceF {
  43. font-size: 36rpx;
  44. }
  45. .after {
  46. padding-left: 4rpx;
  47. font-size: 28rpx;
  48. line-height: 48rpx;
  49. vertical-align: bottom;
  50. }
  51. }
  52. .originPrice {
  53. padding-left: 16rpx;
  54. font-size: 32rpx;
  55. color: #AAAAAA;
  56. line-height: 44rpx;
  57. text-decoration: line-through;
  58. padding-bottom: 12rpx;
  59. }
  60. .right {
  61. padding-top: 14rpx;
  62. font-weight: 400;
  63. font-size: 28rpx;
  64. color: #777777;
  65. line-height: 40rpx;
  66. }
  67. }
  68. .shopName {
  69. font-weight: 600;
  70. font-size: 32rpx;
  71. color: #131415;
  72. line-height: 44rpx;
  73. padding: 24rpx 0 14rpx;
  74. }
  75. .shopInfo {
  76. font-size: 24rpx;
  77. color: #999999;
  78. line-height: 38rpx;
  79. padding-bottom: 40rpx;
  80. }
  81. .shop-btn {
  82. button {
  83. line-height: 88rpx;
  84. background: linear-gradient(270deg, #FF204B 0%, #FE5B71 100%);
  85. border-radius: 44rpx;
  86. text-align: center;
  87. font-weight: 500;
  88. font-size: 32rpx;
  89. color: #FFFFFF;
  90. padding: 0 !important;
  91. margin: 0 !important;
  92. width: 100%;
  93. pointer-events: all;
  94. }
  95. }
  96. .goodsInfo {
  97. display: flex;
  98. .goodsList {
  99. display: flex;
  100. align-items: center;
  101. flex-wrap: wrap;
  102. }
  103. .goodsItem {
  104. line-height: 68rpx;
  105. background: #F4F4F5;
  106. border-radius: 12rpx;
  107. padding: 0 32rpx;
  108. margin-right: 24rpx;
  109. font-size: 28rpx;
  110. color: #131415;
  111. position: relative;
  112. margin-top: 24rpx;
  113. &.selected {
  114. background: #FEEDF0;
  115. font-weight: 600;
  116. color: #FE2451;
  117. }
  118. &.nosale {
  119. background: #F4F4F5;
  120. color: #B1B1B1;
  121. }
  122. image {
  123. position: absolute;
  124. top: -14rpx;
  125. right: -14rpx;
  126. width: 56rpx;
  127. height: 28rpx;
  128. display: block;
  129. z-index: 1;
  130. }
  131. }
  132. }
  133. .goodsIntro {
  134. background: #FFFFFF;
  135. overflow: hidden;
  136. .images {
  137. image {
  138. display: block;
  139. width: 100%;
  140. }
  141. }
  142. }
  143. .bottom-section {
  144. position: fixed;
  145. bottom: 0;
  146. left: 0;
  147. width: 100%;
  148. background-color: #FFFFFF;
  149. box-shadow: 0rpx 4rpx 8rpx 0rpx rgba(0, 0, 0, 0.5);
  150. padding: 12rpx 64rpx 50rpx;
  151. display: flex;
  152. align-items: center;
  153. box-sizing: border-box;
  154. justify-content: space-around;
  155. .orders {
  156. display: flex;
  157. align-items: center;
  158. justify-content: center;
  159. margin-right: 40rpx;
  160. height: 94rpx;
  161. flex: 1;
  162. background: linear-gradient(90deg, #544F4A 0%, #302F2B 100%);
  163. box-shadow: 0rpx 14rpx 14rpx 0rpx rgba(0, 0, 0, 0.18);
  164. border-radius: 30rpx;
  165. border: 8rpx solid #FFFFFF;
  166. // box-sizing: border-box;
  167. +.orders {
  168. margin-right: 0;
  169. }
  170. image {
  171. width: 46rpx;
  172. height: 46rpx;
  173. }
  174. text {
  175. padding-left: 8rpx;
  176. font-weight: 600;
  177. font-size: 32rpx;
  178. color: #FEFFCA;
  179. line-height: 46rpx;
  180. text-align: center;
  181. }
  182. }
  183. .btnSection {
  184. flex: 1 auto;
  185. button {
  186. width: 100%;
  187. line-height: 88rpx;
  188. background: linear-gradient(270deg, #FF204B 0%, #FE5B71 100%);
  189. border-radius: 44rpx;
  190. font-weight: 500;
  191. font-size: 32rpx;
  192. color: #FFFFFF;
  193. padding-top: 0;
  194. padding-bottom: 0;
  195. &[disabled][type=primary] {
  196. opacity: 0.7;
  197. }
  198. }
  199. }
  200. }
  201. // .van-overlay, .van-transition {
  202. // // pointer-events: all !important;
  203. // }
  204. // 'demo-text-1', 'demo-text-2', 'demo-text-3'
  205. .popup-section {
  206. max-height: 86vh;
  207. display: flex;
  208. flex-direction: column;
  209. .popup-container {
  210. // position: fixed;
  211. // bottom: 0;
  212. // left: 0;
  213. // right: 0;
  214. // z-index: 10;
  215. width: 100%;
  216. background: #FFFFFF;
  217. border-radius: 32rpx 32rpx 0rpx 0rpx;
  218. // padding: 40rpx 0 0;
  219. box-sizing: border-box;
  220. // flex: 1;
  221. max-height: 86vh;
  222. .popup-scroll {
  223. overflow-x: hidden;
  224. overflow-y: scroll;
  225. border-radius: 32rpx 32rpx 0rpx 0rpx;
  226. flex: 1 auto;
  227. }
  228. .top-vip-img {
  229. width: 100%;
  230. }
  231. .goodsInfo {
  232. padding: 0 40rpx 48rpx;
  233. }
  234. }
  235. .addBuyer {
  236. margin: 40rpx 40rpx;
  237. background: #F6F6F6;
  238. border-radius: 20rpx;
  239. display: flex;
  240. align-items: center;
  241. justify-content: space-between;
  242. padding: 28rpx 24rpx;
  243. .icon-man {
  244. width: 28rpx;
  245. height: 36rpx;
  246. margin-right: 16rpx;
  247. flex-shrink: 1;
  248. }
  249. .addBuyer-left {
  250. display: flex;
  251. flex: 1;
  252. .info {
  253. flex: 1;
  254. }
  255. }
  256. .users {
  257. font-weight: 600;
  258. font-size: 28rpx;
  259. color: #131415;
  260. line-height: 40rpx;
  261. text {
  262. padding-right: 24rpx;
  263. }
  264. }
  265. .address {
  266. padding-top: 12rpx;
  267. font-size: 24rpx;
  268. color: rgba(19, 20, 21, 0.4);
  269. line-height: 34rpx;
  270. word-break: break-all;
  271. }
  272. .arrow-right {
  273. width: 32rpx;
  274. height: 32rpx;
  275. flex-shrink: 1;
  276. }
  277. }
  278. .iconClose {
  279. position: absolute;
  280. right: 0;
  281. top: 0;
  282. z-index: 1;
  283. padding: 24rpx;
  284. width: 44rpx;
  285. height: 44rpx;
  286. }
  287. .product-section {
  288. display: flex;
  289. padding-bottom: 60rpx;
  290. .product-img {
  291. width: 160rpx;
  292. height: 160rpx;
  293. flex-shrink: 0;
  294. margin-right: 32rpx;
  295. border-radius: 6px;
  296. overflow: hidden;
  297. image {
  298. width: 100%;
  299. height: 100%;
  300. }
  301. }
  302. .product-left {
  303. display: flex;
  304. align-items: flex-start;
  305. .currentPrice {
  306. font-weight: bold;
  307. color: #FE2451;
  308. font-family: DINAlternate, DINAlternate;
  309. .stuff {
  310. padding-right: 2rpx;
  311. font-size: 36rpx;
  312. }
  313. .priceZ {
  314. font-size: 60rpx;
  315. }
  316. .priceF {
  317. font-size: 36rpx;
  318. }
  319. }
  320. .originPrice {
  321. padding-left: 16rpx;
  322. font-size: 32rpx;
  323. color: #AAAAAA;
  324. line-height: 44rpx;
  325. text-decoration: line-through;
  326. padding-top: 32rpx;
  327. }
  328. }
  329. }
  330. .goodsInfo {
  331. flex-direction: column;
  332. align-items: flex-start;
  333. padding-bottom: 90rpx;
  334. .desc {
  335. font-size: 28rpx;
  336. color: #131415;
  337. line-height: 40rpx;
  338. text {
  339. padding-left: 8rpx;
  340. font-size: 28rpx;
  341. color: #AAAAAA;
  342. line-height: 40rpx;
  343. }
  344. }
  345. }
  346. button {
  347. width: 100%;
  348. line-height: 88rpx;
  349. background: linear-gradient(270deg, #FF204B 0%, #FE5B71 100%);
  350. border-radius: 44rpx;
  351. font-weight: 500;
  352. font-size: 32rpx;
  353. color: #FFFFFF;
  354. padding-top: 0;
  355. padding-bottom: 0;
  356. }
  357. }