beerWall.wxss 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218
  1. /* pages/beerShop/beerShop.wxss */
  2. page{
  3. background: #F7F7F7;
  4. display: flex;
  5. flex-flow: row wrap;
  6. padding-bottom: 240rpx;
  7. }
  8. .shop-head{
  9. position: fixed;
  10. top: 0;
  11. left: 0;
  12. width: 750rpx;
  13. height: 272rpx;
  14. background: #FFFFFF;
  15. display: flex;
  16. flex-direction: column;
  17. }
  18. .page-title{
  19. position: relative;
  20. width: 750rpx;
  21. height: 176rpx;
  22. background: #FFFFFF;
  23. }
  24. .page-title>text:nth-child(1){
  25. position: absolute;
  26. top: 106rpx;
  27. left: 32rpx;
  28. width: auto;
  29. height: 48rpx;
  30. font-size: 42rpx;
  31. font-family: PingFangSC-Medium, PingFang SC;
  32. font-weight: 500;
  33. color: rgba(0,0,0,0.87);
  34. line-height: 42rpx;
  35. z-index: 2;
  36. }
  37. .page-title>text:nth-child(2){
  38. position: absolute;
  39. top: 144rpx;
  40. left: 32rpx;
  41. width: 42px;
  42. height: 5px;
  43. background: #FF5700;
  44. z-index: 1;
  45. }
  46. .head-box{
  47. position: relative;
  48. width: 750rpx;
  49. height: 96rpx;
  50. display: flex;
  51. flex-direction: row;
  52. }
  53. .head-view{
  54. width: 172rpx;
  55. height: 96rpx;
  56. line-height: 96rpx;
  57. display: flex;
  58. flex-direction: row;
  59. }
  60. .head-view>text:nth-child(1){
  61. width: auto;
  62. height: 44rpx;
  63. font-size: 30rpx;
  64. font-weight: 400;
  65. color: rgba(0, 0, 0, 0.87);
  66. line-height: 44rpx;
  67. text-align: center;
  68. margin: 26rpx 0 26rpx 32rpx;
  69. }
  70. .head-view>image:nth-child(2){
  71. width: 32rpx;
  72. height: 32rpx;
  73. margin: auto 0;
  74. }
  75. .head-view>image:nth-child(3){
  76. width: 32rpx;
  77. height: 32rpx;
  78. margin: auto 0;
  79. }
  80. .kong{
  81. width: 750rpx;
  82. height: 272rpx;
  83. background: #F5F5F5;
  84. }
  85. .choice-show{
  86. position: fixed;
  87. top: 272rpx;
  88. left: 0;
  89. width: 100vw;
  90. height: 100vh;
  91. background-color: rgba(0, 0, 0, 0.4);
  92. }
  93. .choice-view{
  94. position: relative;
  95. top: 0;
  96. left: 0;
  97. width: 750rpx;
  98. height: auto;
  99. max-height: 600rpx;
  100. padding: 16rpx 0;
  101. border-top: 16rpx;
  102. background-color: #fff;
  103. display: flex;
  104. flex-direction: column;
  105. overflow: auto;
  106. }
  107. .choice-box{
  108. width: 750rpx;
  109. height: 100rpx;
  110. background: #FFFFFF;
  111. display: flex;
  112. }
  113. .choice-box>text:nth-child(1){
  114. margin: 28rpx auto 28rpx 32rpx;
  115. width: auto;
  116. height: 44rpx;
  117. font-size: 30rpx;
  118. font-weight: 400;
  119. color: rgba(0, 0, 0, 0.87);
  120. line-height: 44rpx;
  121. }
  122. .choice-box>image:nth-child(2){
  123. display: none;
  124. margin: 26rpx 32rpx 26rpx auto;
  125. width: 48rpx;
  126. height: 48rpx;
  127. }
  128. .beer-item{
  129. width: 346rpx;
  130. height: 526rpx;
  131. background: #FFFFFF;
  132. border-radius: 8rpx;
  133. display: flex;
  134. flex-direction: column;
  135. text-align: left;
  136. margin: 20rpx 0 0 20rpx;
  137. }
  138. .beer-item>image:nth-child(1){
  139. width: 346rpx;
  140. height: 346rpx;
  141. border-radius: 4px 4px 0px 0px;
  142. }
  143. .beer-item>text:nth-child(2){
  144. margin: 16rpx;
  145. width: 312rpx;
  146. height: 88rpx;
  147. font-size: 30rpx;
  148. font-weight: 400;
  149. color: rgba(0, 0, 0, 0.87);
  150. line-height: 44rpx;
  151. display: -webkit-box;
  152. -webkit-box-orient: vertical;
  153. -webkit-line-clamp: 2;
  154. overflow: hidden;
  155. }
  156. .beer-origin{
  157. height: 44rpx;
  158. display: flex;
  159. flex-direction: row;
  160. margin: 0 16rpx 16rpx;
  161. }
  162. .beer-origin>image:nth-child(1){
  163. width: 44rpx;
  164. height: 44rpx;
  165. border-radius: 50%;
  166. margin-right: 12rpx;
  167. }
  168. .beer-origin>text:nth-child(2){
  169. width: auto;
  170. max-width: 200rpx;
  171. height: 44rpx;
  172. font-size: 24rpx;
  173. font-family: PingFangSC-Regular, PingFang SC;
  174. font-weight: 400;
  175. color: rgba(0,0,0,0.87);
  176. line-height: 44rpx;
  177. overflow: hidden;
  178. text-overflow:ellipsis;
  179. white-space: nowrap;
  180. }
  181. .beer-origin>text:nth-child(3){
  182. width: auto;
  183. max-width: 100rpx;
  184. height: 44rpx;
  185. font-size: 24rpx;
  186. font-family: PingFangSC-Regular, PingFang SC;
  187. font-weight: 400;
  188. color: rgba(0,0,0,0.87);
  189. line-height: 44rpx;
  190. margin-left: auto;
  191. margin-right: 0;
  192. overflow: hidden;
  193. text-overflow:ellipsis;
  194. white-space: nowrap;
  195. }
  196. .nonedata-style{
  197. width: 750rpx;
  198. height: 750rpx;
  199. display: flex;
  200. flex-direction: column;
  201. justify-content: center;
  202. align-items: center;
  203. }
  204. .nonedata-style>image:nth-child(1){
  205. width: 332rpx;
  206. height: 264rpx;
  207. }
  208. .nonedata-style>text:nth-child(2){
  209. width: auto;
  210. height: 48rpx;
  211. font-size: 30rpx;
  212. font-family: PingFangSC-Regular, PingFang SC;
  213. font-weight: 400;
  214. color: rgba(0,0,0,0.4);
  215. line-height: 48rpx;
  216. margin-top: 32rpx;
  217. }