index.wxss 3.7 KB

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