index.scss 3.9 KB

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