beerFactory.wxss 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  1. /* pages/beerFactory/beerFactory.wxss */
  2. .fac-box{
  3. display: flex;
  4. flex-direction: column;
  5. position: relative;
  6. }
  7. .beer-box{
  8. margin-top: 40rpx;
  9. width: 750rpx;
  10. height: 84rpx;
  11. display: flex;
  12. flex-direction: row;
  13. }
  14. .beer-box>image:nth-child(1){
  15. margin: 0 24rpx 0 32rpx;
  16. width: 84rpx;
  17. height: 84rpx;
  18. border-radius: 50%;
  19. }
  20. .beer-name{
  21. width: auto;
  22. height: 84rpx;
  23. display: flex;
  24. flex-direction: column;
  25. }
  26. .beer-name>text:nth-child(1){
  27. width: auto;
  28. height: 52rpx;
  29. font-size: 34rpx;
  30. font-weight: 500;
  31. color: rgba(0, 0, 0, 0.87);
  32. line-height: 52rpx;
  33. text-align: left;
  34. }
  35. .beer-name>text:nth-child(2){
  36. width: auto;
  37. height: 32rpx;
  38. font-size: 24rpx;
  39. font-weight: 400;
  40. color: rgba(0, 0, 0, 0.4);
  41. line-height: 32rpx;
  42. text-align: left;
  43. }
  44. .beer-btn{
  45. margin: 14rpx 32rpx 14rpx auto;
  46. width: 128rpx;
  47. height: 56rpx;
  48. border-radius: 28px;
  49. border: 1px solid rgba(0, 0, 0, 0.87);
  50. font-size: 26rpx;
  51. font-weight: 400;
  52. color: rgba(0, 0, 0, 0.87);
  53. line-height: 56rpx;
  54. text-align: center;
  55. }
  56. .beer-img{
  57. margin: 24rpx 32rpx auto;
  58. width: 686rpx;
  59. height: 360rpx;
  60. border-radius: 4px;
  61. }
  62. .img-bg{
  63. position: absolute;
  64. bottom: 0;
  65. left: 32rpx;
  66. width: 686rpx;
  67. height: 132rpx;
  68. background: linear-gradient(360deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0) 100%);
  69. border-radius: 0px 0px 4px 4px;
  70. }
  71. .img-bg>text{
  72. position: absolute;
  73. bottom: 32rpx;
  74. left: 32rpx;
  75. width: auto;
  76. height: 42rpx;
  77. font-size: 15px;
  78. font-family: PingFangSC-Semibold, PingFang SC;
  79. font-weight: 600;
  80. color: #FFFFFF;
  81. line-height: 42rpx;
  82. text-align: left;
  83. }
  84. .beer-more{
  85. width: 750rpx;
  86. height: 32rpx;
  87. font-size: 26rpx;
  88. font-weight: 400;
  89. color: rgba(0, 0, 0, 0.4);
  90. line-height: 32rpx;
  91. text-align: center;
  92. padding-bottom: env(safe-area-inset-bottom);
  93. margin: 278rpx 0 48rpx;
  94. }