beerDetail.wxss 7.5 KB

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