index.wxss 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203
  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. padding-top: 20rpx;
  18. position: fixed;
  19. z-index: 99;
  20. /* 未获得授权时显示获取授权按钮 */
  21. }
  22. .container .shop > .title {
  23. display: flex;
  24. justify-content: space-between;
  25. padding: 0 40rpx;
  26. height: 80rpx;
  27. line-height: 80rpx;
  28. background-color: #fff;
  29. }
  30. .container .shop .shop-info {
  31. width: 100%;
  32. height: 220rpx;
  33. border: 1rpx solid #ECECEC;
  34. display: flex;
  35. flex-direction: row;
  36. justify-content: space-between;
  37. align-items: center;
  38. padding: 20rpx 30rpx;
  39. box-sizing: border-box;
  40. margin-bottom: 10rpx;
  41. background-color: #fff;
  42. }
  43. .container .shop .shop-info > .shopimg {
  44. width: 150rpx;
  45. height: 150rpx;
  46. }
  47. .container .shop .shop-info > .shopimg > .img {
  48. width: 100%;
  49. height: 100%;
  50. border-radius: 28rpx;
  51. }
  52. .container .shop .shop-info .shopmsg {
  53. flex: 2;
  54. height: 200rpx;
  55. margin-left: 50rpx;
  56. display: flex;
  57. flex-direction: column;
  58. justify-content: space-around;
  59. /* 处理定位图标上移的问题 */
  60. /* 新品促销标签 */
  61. }
  62. .container .shop .shop-info .shopmsg > .shopview {
  63. display: flex;
  64. justify-content: space-between;
  65. }
  66. .container .shop .shop-info .shopmsg > .shop-address {
  67. position: relative;
  68. padding-left: 45rpx;
  69. }
  70. .container .shop .shop-info .shopmsg > .shop-address .address-icon {
  71. position: absolute;
  72. top: -6rpx;
  73. left: 0;
  74. }
  75. .container .shop .shop-info .shopmsg .mark {
  76. width: 105rpx;
  77. height: 30rpx;
  78. line-height: 30rpx;
  79. text-align: center;
  80. border-radius: 30rpx;
  81. }
  82. .container .shop .shop-info .shopmsg .discount {
  83. color: #E359A8;
  84. border: 1px solid #E359A8;
  85. }
  86. .container .shop .shop-info .shopmsg .new {
  87. border: 1px solid #80CB5F;
  88. color: #80CB5F;
  89. }
  90. .container .shop .user-location-btn {
  91. width: 100%;
  92. height: 220rpx;
  93. border-top: 1rpx solid #ECECEC;
  94. background-color: #fff;
  95. position: relative;
  96. }
  97. .container .shop .user-location-btn .location-btn {
  98. background-color: #ECECEC;
  99. padding: 0;
  100. width: 50%;
  101. height: 50%;
  102. line-height: 100rpx;
  103. color: #21ad50;
  104. position: absolute;
  105. left: 50%;
  106. top: 28%;
  107. transform: translate(-50%);
  108. }
  109. .container .product {
  110. overflow-y: auto;
  111. padding-top: 320rpx;
  112. /* .weui-tabs {
  113. .weui-tabs-bar__wrp {
  114. .weui-tabs-bar__content {
  115. height: 100rpx;
  116. line-height: 99rpx;
  117. white-space: nowrap;
  118. display: flex;
  119. justify-content: space-around;
  120. border-bottom: 1rpx solid #ECECEC;
  121. }
  122. }
  123. } */
  124. }
  125. .container .product .productinfo {
  126. width: 95%;
  127. height: 380rpx;
  128. padding: 10rpx 0;
  129. margin: 0 auto;
  130. }
  131. .container .product .productinfo .product-item {
  132. position: relative;
  133. width: 100%;
  134. height: 380rpx;
  135. border-radius: 20rpx;
  136. background-size: cover;
  137. background-position: center;
  138. }
  139. .container .product .productinfo .product-item .product-desc {
  140. height: 380rpx;
  141. color: #fff;
  142. position: absolute;
  143. color: #fff;
  144. top: 210rpx;
  145. left: 20rpx;
  146. letter-spacing: 2rpx;
  147. font-weight: 100;
  148. }
  149. .container .product .productinfo .product-item .order {
  150. position: absolute;
  151. right: 40rpx;
  152. bottom: 20rpx;
  153. width: 100rpx;
  154. height: 100rpx;
  155. border-radius: 50%;
  156. background-color: #098932;
  157. color: #fff;
  158. }
  159. .container .product .productinfo .product-item .order > view {
  160. width: 70rpx;
  161. height: 70rpx;
  162. line-height: 35rpx;
  163. letter-spacing: 5rpx;
  164. text-align: center;
  165. font-size: 14px;
  166. margin: 18rpx;
  167. }
  168. .container .product .productinfo .product-item .gray {
  169. background-color: #999;
  170. }
  171. .container .product .productinfo:first-child {
  172. margin-top: 10rpx;
  173. }
  174. .fw700 {
  175. font-weight: 500;
  176. font-size: 18px;
  177. }