beerBoxDetail.wxss 7.4 KB

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