index.wxss 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247
  1. @charset "UTF-8";
  2. Page {
  3. width: 100%;
  4. height: 100%;
  5. background-color: #F7F7F7;
  6. }
  7. .container {
  8. width: 100%;
  9. height: 100%;
  10. background-color: #F7F7F7;
  11. /* 门店的标题 */
  12. }
  13. .container .shop {
  14. /* border-top: 1rpx solid #ECECEC; */
  15. width: 100%;
  16. background-color: #F7F7F7;
  17. position: fixed;
  18. z-index: 1;
  19. /* top: 0rpx; */
  20. height: 82rpx;
  21. /* 未获得授权时显示获取授权按钮 */
  22. }
  23. .container .shop > .title {
  24. display: flex;
  25. justify-content: space-between;
  26. padding: 0 40rpx;
  27. height: 80rpx;
  28. line-height: 80rpx;
  29. background-color: #fff;
  30. }
  31. .container .shop > .title .title-left {
  32. position: relative;
  33. padding-left: 40rpx;
  34. }
  35. .container .shop > .title .title-left .shop-icon {
  36. width: 40rpx;
  37. height: 40rpx;
  38. position: absolute;
  39. top: 50%;
  40. left: -10rpx;
  41. transform: translateY(-50%);
  42. }
  43. .container .shop .user-location-btn {
  44. width: 100%;
  45. height: 220rpx;
  46. border-top: 1rpx solid #ECECEC;
  47. background-color: #fff;
  48. position: relative;
  49. }
  50. .container .shop .user-location-btn .location-btn {
  51. background-color: #ECECEC;
  52. padding: 0;
  53. width: 50%;
  54. height: 50%;
  55. line-height: 100rpx;
  56. color: #21ad50;
  57. position: absolute;
  58. left: 50%;
  59. top: 28%;
  60. transform: translate(-50%);
  61. margin-top: 42rpx;
  62. }
  63. .container{
  64. display: flex;
  65. height: 100%;
  66. }
  67. .product {
  68. margin-top: 82rpx;
  69. flex:1;
  70. width: 100%;
  71. }
  72. .container .product .tab-content {
  73. overflow-y: auto;
  74. height: 100%;
  75. }
  76. .weui-tabs-bar__wrp {
  77. position: fixed;
  78. z-index: 2;
  79. }
  80. .container .product .weui-tabs .weui-tabs-bar__wrp .weui-tabs-bar__content {
  81. display: flex;
  82. height: 100rpx;
  83. justify-content: flex-start;
  84. }
  85. .container .product .weui-tabs .weui-tabs-bar__wrp .weui-tabs-bar__content .weui-tabs-bar__item {
  86. flex: 1;
  87. position: relative;
  88. }
  89. .container .product .weui-tabs .weui-tabs-bar__wrp .weui-tabs-bar__content .weui-tabs-bar__item .weui-tabs-bar__title {
  90. text-align: center;
  91. line-height: 100rpx;
  92. width: 100%;
  93. }
  94. .container .product .weui-tabs .weui-tabs-bar__wrp .weui-tabs-bar__content .weui-tabs-bar__item:nth-of-type(n+2)::before {
  95. content: '';
  96. position: absolute;
  97. height: 40rpx;
  98. width: 1rpx;
  99. background-color: #fff;
  100. }
  101. .container .product .weui-tabs .weui-tabs-bar__wrp .weui-tabs-bar__content .weui-tabs-bar__item:nth-of-type(n+2)::before {
  102. left: 0;
  103. top: 50%;
  104. transform: translateY(-50%);
  105. }
  106. .container .product .weui-tabs .weui-tabs-bar__wrp .weui-tabs-bar__content .weui-tabs-bar__item:nth-of-type(3)::before {
  107. left: 0;
  108. top: 50%;
  109. transform: translateY(-50%);
  110. }
  111. .container .product .weui-tabs .weui-tabs-bar__wrp .weui-tabs-bar__content .weui-tabs-bar__item:nth-of-type(2)::after {
  112. right: 0;
  113. top: 50%;
  114. transform: translateY(-50%);
  115. }
  116. .container .product .shop-info {
  117. width: 750rpx;
  118. height: 500rpx;
  119. margin-top: 101rpx;
  120. }
  121. .container .product .shop-info > image {
  122. width: 750rpx;
  123. }
  124. .container .product .productinfo {
  125. width: 93%;
  126. padding: 10rpx 0;
  127. margin: 0 auto;
  128. }
  129. .container .product .productinfo .product-item {
  130. width: 100%;
  131. height: 550rpx;
  132. display: flex;
  133. flex-direction: column;
  134. margin-bottom: 20rpx;
  135. }
  136. .container .product .productinfo .product-item .product-img {
  137. width: 100%;
  138. height: 400rpx;
  139. }
  140. .container .product .productinfo .product-item .product-desc {
  141. height: 150rpx;
  142. letter-spacing:1rpx;
  143. font-weight: 100;
  144. display: flex;
  145. flex-direction: column;
  146. }
  147. .container .product .productinfo .product-item .product-desc .product-name {
  148. line-height: 70rpx;
  149. }
  150. .container .product .productinfo .product-item .product-desc .price {
  151. display: flex;
  152. justify-content: flex-start;
  153. line-height: 50rpx;
  154. }
  155. .container .product .productinfo .product-item .product-desc .price :last-child {
  156. margin-left: 20rpx;
  157. }
  158. .container .product .productinfo:first-child {
  159. margin-top: 10rpx;
  160. }
  161. .fw700 {
  162. font-weight: 500;
  163. font-size: 17px;
  164. }
  165. .gold {
  166. font-size: 15px;
  167. color: #b1a384;
  168. }
  169. .gray {
  170. font-size: 13px;
  171. color: #999;
  172. }
  173. .tabItem {
  174. border-right: 1rpx ;
  175. }
  176. .noProduct {
  177. width: 500rpx;
  178. height: 460rpx;
  179. position: relative;
  180. left: 15%;
  181. top: 50%;
  182. }
  183. .noProductText {
  184. letter-spacing: 17rpx;
  185. width: 100%;
  186. font-size: 38rpx;
  187. display: flex;
  188. justify-content: center;
  189. position: relative;
  190. top: -58rpx;
  191. color: #787878;
  192. }
  193. .orderFood{
  194. position: fixed;
  195. bottom:350rpx;
  196. right:5rpx;
  197. height: 100rpx;
  198. width: 100rpx;
  199. font-size:28rpx;
  200. /* line-height: 30rpx; */
  201. background: rgb(250,165,46);
  202. border-radius: 50rpx;
  203. text-align: center;
  204. color: #fff;
  205. }
  206. .orderFood>image {
  207. width: 70rpx;
  208. height: 70rpx;
  209. position: relative;
  210. top: 15rpx;
  211. }