index.wxss 3.6 KB

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