index.wxss 3.6 KB

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