index.wxss 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220
  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. }
  62. .container{
  63. display: flex;
  64. height: 100%;
  65. }
  66. .product {
  67. margin-top: 82rpx;
  68. flex:1;
  69. width: 100%;
  70. }
  71. .container .product .tab-content {
  72. overflow-y: auto;
  73. height: 100%;
  74. }
  75. .container .product .weui-tabs .weui-tabs-bar__wrp .weui-tabs-bar__content {
  76. display: flex;
  77. height: 100rpx;
  78. justify-content: flex-start;
  79. }
  80. .container .product .weui-tabs .weui-tabs-bar__wrp .weui-tabs-bar__content .weui-tabs-bar__item {
  81. flex: 1;
  82. position: relative;
  83. }
  84. .container .product .weui-tabs .weui-tabs-bar__wrp .weui-tabs-bar__content .weui-tabs-bar__item .weui-tabs-bar__title {
  85. text-align: center;
  86. line-height: 100rpx;
  87. width: 100%;
  88. }
  89. .container .product .weui-tabs .weui-tabs-bar__wrp .weui-tabs-bar__content .weui-tabs-bar__item:nth-of-type(n+2)::before {
  90. content: '';
  91. position: absolute;
  92. height: 40rpx;
  93. width: 1rpx;
  94. background-color: #fff;
  95. }
  96. .container .product .weui-tabs .weui-tabs-bar__wrp .weui-tabs-bar__content .weui-tabs-bar__item:nth-of-type(n+2)::before {
  97. left: 0;
  98. top: 50%;
  99. transform: translateY(-50%);
  100. }
  101. .container .product .weui-tabs .weui-tabs-bar__wrp .weui-tabs-bar__content .weui-tabs-bar__item:nth-of-type(3)::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(2)::after {
  107. right: 0;
  108. top: 50%;
  109. transform: translateY(-50%);
  110. }
  111. .container .product .shop-info {
  112. width: 750rpx;
  113. height: 500rpx;
  114. }
  115. .container .product .shop-info > image {
  116. width: 750rpx;
  117. }
  118. .container .product .productinfo {
  119. width: 93%;
  120. padding: 10rpx 0;
  121. margin: 0 auto;
  122. }
  123. .container .product .productinfo .product-item {
  124. width: 100%;
  125. height: 550rpx;
  126. display: flex;
  127. flex-direction: column;
  128. margin-bottom: 20rpx;
  129. }
  130. .container .product .productinfo .product-item .product-img {
  131. width: 100%;
  132. height: 400rpx;
  133. }
  134. .container .product .productinfo .product-item .product-desc {
  135. height: 150rpx;
  136. letter-spacing:1rpx;
  137. font-weight: 100;
  138. display: flex;
  139. flex-direction: column;
  140. }
  141. .container .product .productinfo .product-item .product-desc .product-name {
  142. line-height: 70rpx;
  143. }
  144. .container .product .productinfo .product-item .product-desc .price {
  145. display: flex;
  146. justify-content: flex-start;
  147. line-height: 50rpx;
  148. }
  149. .container .product .productinfo .product-item .product-desc .price :last-child {
  150. margin-left: 20rpx;
  151. }
  152. .container .product .productinfo:first-child {
  153. margin-top: 10rpx;
  154. }
  155. .fw700 {
  156. font-weight: 500;
  157. font-size: 17px;
  158. }
  159. .gold {
  160. font-size: 15px;
  161. color: #b1a384;
  162. }
  163. .gray {
  164. font-size: 13px;
  165. color: #999;
  166. }
  167. .tabItem {
  168. border-right: 1rpx ;
  169. }
  170. .noProduct {
  171. width: 500rpx;
  172. height: 460rpx;
  173. position: relative;
  174. left: 15%;
  175. top: 50%;
  176. }
  177. .noProductText {
  178. letter-spacing: 17rpx;
  179. width: 100%;
  180. font-size: 38rpx;
  181. display: flex;
  182. justify-content: center;
  183. position: relative;
  184. top: -58rpx;
  185. color: #787878;
  186. }