beerBoxDetail.wxss 7.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381
  1. /* pages/beerBoxDetail/beerBoxDetail.wxss */
  2. page{
  3. display: flex;
  4. flex-direction: column;
  5. position: relative;
  6. }
  7. .top-view{
  8. position: fixed;
  9. top: 0;
  10. width: 100vw;
  11. height: 200rpx;
  12. z-index: 777;
  13. }
  14. .back{
  15. position: fixed;
  16. z-index: 888;
  17. top: 108rpx;
  18. left: 16rpx;
  19. width: 48rpx;
  20. height: 48rpx;
  21. }
  22. .beer-bg{
  23. width: 750rpx;
  24. height: 432rpx;
  25. }
  26. .head-title{
  27. width: 686rpx;
  28. height: 60rpx;
  29. margin: 64rpx 32rpx 24rpx;
  30. display: flex;
  31. flex-direction: row;
  32. align-items: baseline;
  33. }
  34. .head-title>text:nth-child(1){
  35. width: auto;
  36. height: 60rpx;
  37. font-size: 46rpx;
  38. font-family: PingFangSC-Medium, PingFang SC;
  39. font-weight: 500;
  40. color: rgba(0,0,0,0.87);
  41. line-height: 60rpx;
  42. margin-right: auto;
  43. }
  44. .head-title>text:nth-child(2){
  45. width: auto;
  46. height: 60rpx;
  47. font-size: 30rpx;
  48. font-family: AlipayNumber-Regular, AlipayNumber;
  49. font-weight: 400;
  50. color: #FF5700;
  51. line-height: 60rpx;
  52. margin-right: 10rpx;
  53. }
  54. .head-title>text:nth-child(3){
  55. width: auto;
  56. height: 60rpx;
  57. font-size: 46rpx;
  58. font-family: AlipayNumber-Regular, AlipayNumber;
  59. font-weight: 400;
  60. color: #FF5700;
  61. line-height: 60rpx;
  62. }
  63. .time{
  64. width: 686rpx;
  65. height: 148rpx;
  66. background: #FFFFFF;
  67. box-shadow: 0px 16px 64px 0px rgba(50,150,251,0.08);
  68. border-radius: 8rpx;
  69. margin: 0 32rpx 80rpx;
  70. display: flex;
  71. flex-direction: row;
  72. align-items: center;
  73. }
  74. .time>text:nth-child(2){
  75. width: 2rpx;
  76. height: 80rpx;
  77. background-color: rgba(0,0,0,0.16);
  78. }
  79. .box-time{
  80. display: flex;
  81. flex-direction: column;
  82. width: 342rpx;
  83. margin: 24rpx 24rpx 24rpx 32rpx;
  84. }
  85. .box-time>text:nth-child(1){
  86. width: auto;
  87. height: 36rpx;
  88. font-size: 26rpx;
  89. font-family: PingFangSC-Medium, PingFang SC;
  90. font-weight: 500;
  91. color: rgba(0,0,0,0.4);
  92. line-height: 36rpx;
  93. margin-bottom: 8rpx;
  94. }
  95. .box-time>text:nth-child(2){
  96. width: auto;
  97. height: 44rpx;
  98. font-size: 30rpx;
  99. font-family: AlipayNumber-Regular, AlipayNumber;
  100. font-weight: 500;
  101. color: rgba(0,0,0,0.87);
  102. line-height: 44rpx;
  103. }
  104. .content1{
  105. width: auto;
  106. height: 64rpx;
  107. font-size: 46rpx;
  108. font-family: PingFangSC-Light, PingFang SC;
  109. font-weight: 300;
  110. color: rgba(0,0,0,0.87);
  111. line-height: 64rpx;
  112. margin: 0 32rpx;
  113. text-align: left;
  114. }
  115. .content2{
  116. width: 686rpx;
  117. height: auto;
  118. font-size: 30rpx;
  119. font-family: PingFangSC-Regular, PingFang SC;
  120. font-weight: 400;
  121. color: rgba(0,0,0,0.4);
  122. line-height: 48rpx;
  123. margin: 24rpx 32rpx 48rpx;
  124. }
  125. .des{
  126. margin: 0 32rpx;
  127. display: flex;
  128. flex-direction: row;
  129. align-items: center;
  130. width: 686rpx;
  131. height: 48rpx;
  132. line-height: 48rpx;
  133. }
  134. .des>text:nth-child(1){
  135. width: auto;
  136. height: 48rpx;
  137. font-size: 30rpx;
  138. font-family: PingFangSC-Medium, PingFang SC;
  139. font-weight: 500;
  140. color: rgba(0,0,0,0.4);
  141. line-height: 48rpx;
  142. margin-right: 32rpx;
  143. }
  144. .des>text:nth-child(2){
  145. width: auto;
  146. height: 48rpx;
  147. font-size: 30rpx;
  148. font-family: PingFangSC-Regular, PingFang SC;
  149. font-weight: 400;
  150. color: rgba(0,0,0,0.87);
  151. line-height: 48rpx;
  152. }
  153. .des>image:nth-child(3){
  154. width: 48rpx;
  155. height: 48rpx;
  156. margin-left: auto;
  157. }
  158. .buy-btn-empty{
  159. width: 750rpx;
  160. height: 160rpx;
  161. padding-bottom: env(safe-area-inset-bottom);
  162. }
  163. .buy-btn{
  164. position: fixed;
  165. bottom: 0;
  166. margin: 0 32rpx;
  167. width: 686rpx;
  168. height: 112rpx;
  169. background-color: #fff;
  170. padding-bottom: env(safe-area-inset-bottom);
  171. }
  172. .buy-btn>text{
  173. margin: 12rpx 0;
  174. position: absolute;
  175. left: 0;
  176. top: 0;
  177. width: 686rpx;
  178. height: 90rpx;
  179. background: rgba(0,0,0,0.87);
  180. border-radius: 46rpx;
  181. font-size: 34rpx;
  182. font-family: PingFangSC-Medium, PingFang SC;
  183. font-weight: 500;
  184. color: #FFFFFF;
  185. line-height: 90rpx;
  186. letter-spacing: 2px;
  187. text-align: center;
  188. }
  189. .item-title{
  190. width: 686rpx;
  191. height: 48rpx;
  192. font-size: 34rpx;
  193. font-family: PingFangSC-Medium, PingFang SC;
  194. font-weight: 500;
  195. color: rgba(0,0,0,0.87);
  196. line-height: 48rpx;
  197. text-align: left;
  198. margin: 80rpx 32rpx 40rpx;
  199. }
  200. .box>view:last-child{
  201. padding-bottom: 80rpx;
  202. border-bottom: 1rpx solid rgba(0,0,0,0.08);
  203. }
  204. .product-list{
  205. width: 686rpx;
  206. height: auto;
  207. margin: 32rpx;
  208. display: flex;
  209. flex-direction: row;
  210. padding-bottom: 48rpx;
  211. border-bottom: 1rpx solid rgba(0,0,0,0.08);
  212. }
  213. .product-list>image:nth-child(1){
  214. width: 152rpx;
  215. height: 224rpx;
  216. border-radius: 8rpx;
  217. margin-right: 32rpx;
  218. }
  219. .product-list>view:nth-child(2){
  220. display: flex;
  221. flex-direction: column;
  222. }
  223. .product-list>view:nth-child(2)>text:nth-child(1){
  224. width: 502rpx;
  225. height: 48rpx;
  226. font-size: 34rpx;
  227. font-family: PingFangSC-Medium, PingFang SC;
  228. font-weight: 500;
  229. color: rgba(0,0,0,0.87);
  230. line-height: 48rpx;
  231. text-align: left;
  232. }
  233. .product-price{
  234. display: flex;
  235. flex-direction: row;
  236. align-items: center;
  237. margin: 8rpx 0 20rpx;
  238. }
  239. .product-price>text:nth-child(1){
  240. width: auto;
  241. height: 44rpx;
  242. font-size: 30rpx;
  243. font-family: PingFangSC-Regular, PingFang SC;
  244. font-weight: 400;
  245. color: #FF5700;
  246. line-height: 44rpx;
  247. }
  248. .product-price>text:nth-child(2){
  249. margin: 0 32rpx;
  250. width: 2rpx;
  251. height: 28rpx;
  252. background-color: rgba(0,0,0,0.4);
  253. }
  254. .product-price>text:nth-child(3){
  255. width: auto;
  256. height: 44rpx;
  257. font-size: 30rpx;
  258. font-family: PingFangSC-Regular, PingFang SC;
  259. font-weight: 400;
  260. color: rgba(0,0,0,0.4);
  261. line-height: 44rpx;
  262. }
  263. .product-data{
  264. width: 502rpx;
  265. height: 104rpx;
  266. background: #F7F7F7;
  267. border-radius: 8rpx;
  268. display: flex;
  269. flex-direction: row;
  270. justify-content: space-between;
  271. }
  272. .data-item{
  273. margin: 16rpx 24rpx;
  274. display: flex;
  275. flex-direction: column;
  276. justify-content: center;
  277. align-items: center;
  278. }
  279. .data-item>text:nth-child(1){
  280. width: auto;
  281. height: 32rpx;
  282. font-size: 22rpx;
  283. font-family: PingFangSC-Regular, PingFang SC;
  284. font-weight: 400;
  285. color: rgba(0,0,0,0.4);
  286. line-height: 32rpx;
  287. margin-bottom: 4rpx;
  288. }
  289. .data-item>text:nth-child(2){
  290. width: auto;
  291. height: 36rpx;
  292. font-size: 26rpx;
  293. font-family: PingFangSC-Medium, PingFang SC;
  294. font-weight: 500;
  295. color: rgba(0,0,0,0.87);
  296. line-height: 36rpx;
  297. }
  298. .item-msg{
  299. margin: 0 32rpx 24rpx;
  300. width: 686rpx;
  301. height: auto;
  302. display: flex;
  303. flex-direction: row;
  304. }
  305. .item-msg>text:nth-child(1){
  306. width: 32rpx;
  307. height: 32rpx;
  308. line-height: 32rpx;
  309. text-align: center;
  310. font-size: 24rpx;
  311. font-family: PingFangSC-Semibold, PingFang SC;
  312. font-weight: 600;
  313. color: #FFFFFF;
  314. border-radius: 50%;
  315. background: rgba(0,0,0,0.87);
  316. margin: 10rpx 24rpx auto 0;
  317. }
  318. .item-msg>text:nth-child(2){
  319. width: 630rpx;
  320. height: auto;
  321. font-size: 30rpx;
  322. font-family: PingFangSC-Regular, PingFang SC;
  323. font-weight: 400;
  324. color: rgba(0,0,0,0.6);
  325. line-height: 48rpx;
  326. }
  327. .popover-view{
  328. position: fixed;
  329. bottom: 0;
  330. width: 100Vw;
  331. height: 100vh;
  332. background-color: rgba(0,0,0,0.6);
  333. }
  334. .popover{
  335. position: fixed;
  336. bottom: 0;
  337. width: 750rpx;
  338. height: auto;
  339. background: #FFFFFF;
  340. border-radius: 32rpx 32rpx 0rpx 0rpx;
  341. padding-bottom: env(safe-area-inset-bottom);
  342. }
  343. .popover-title{
  344. display: flex;
  345. flex-direction: row;
  346. justify-content: space-between;
  347. margin: 48rpx 48rpx 64rpx;
  348. }
  349. .popover-title>text:nth-child(1){
  350. width: auto;
  351. height: 52rpx;
  352. font-size: 38rpx;
  353. font-family: PingFangSC-Medium, PingFang SC;
  354. font-weight: 500;
  355. color: rgba(0,0,0,0.87);
  356. line-height: 52rpx;
  357. }
  358. .popover-title>image:nth-child(2){
  359. width: 48rpx;
  360. height: 48rpx;
  361. }
  362. .popover-t{
  363. margin: 0 48rpx 16rpx;
  364. width: 654rpx;
  365. height: 48rpx;
  366. font-size: 34rpx;
  367. font-family: PingFangSC-Medium, PingFang SC;
  368. font-weight: 500;
  369. color: rgba(0,0,0,0.87);
  370. line-height: 48rpx;
  371. }
  372. .popover-c{
  373. margin: 0 48rpx 64rpx;
  374. width: 654rpx;
  375. height: auto;
  376. font-size: 30rpx;
  377. font-family: PingFangSC-Regular, PingFang SC;
  378. font-weight: 400;
  379. color: rgba(0,0,0,0.6);
  380. line-height: 48rpx;
  381. }