index.scss 3.5 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. // overflow-y: hidden;
  11. /* 门店的标题 */
  12. .shop {
  13. border-top: 1rpx solid #ECECEC;
  14. width: 100%;
  15. background-color: #F7F7F7;
  16. >.title {
  17. display: flex;
  18. justify-content: space-between;
  19. padding: 0 40rpx;
  20. height: 80rpx;
  21. line-height: 80rpx;
  22. background-color: #fff;
  23. .title-left {
  24. position: relative;
  25. padding-left: 40rpx;
  26. .shop-icon {
  27. width: 40rpx;
  28. height: 40rpx;
  29. position: absolute;
  30. top: 50%;
  31. left: -10rpx;
  32. transform: translateY(-50%);
  33. }
  34. }
  35. }
  36. /* 未获得授权时显示获取授权按钮 */
  37. .user-location-btn {
  38. width: 100%;
  39. height: 220rpx;
  40. border-top: 1rpx solid #ECECEC;
  41. background-color: #fff;
  42. position: relative;
  43. .location-btn {
  44. background-color: #ECECEC;
  45. padding: 0;
  46. width: 50%;
  47. height: 50%;
  48. line-height: 100rpx;
  49. color: #21ad50;
  50. position: absolute;
  51. left: 50%;
  52. top: 28%;
  53. transform: translate(-50%);
  54. }
  55. }
  56. }
  57. .product {
  58. height: 600px;
  59. .tab-content{
  60. overflow-y: auto;
  61. height: 600px;
  62. }
  63. // padding-top: 590rpx;
  64. .weui-tabs {
  65. .weui-tabs-bar__wrp {
  66. .weui-tabs-bar__content {
  67. display: flex;
  68. height: 100rpx;
  69. justify-content: flex-start;
  70. .weui-tabs-bar__item{
  71. // width: 33.33%;
  72. flex:1;
  73. position: relative;
  74. .weui-tabs-bar__title{
  75. text-align: center;
  76. line-height: 100rpx;
  77. width: 100%;
  78. }
  79. }
  80. & .weui-tabs-bar__item:nth-of-type(2){
  81. &::before,&::after{
  82. content: '';
  83. position: absolute;
  84. height: 40rpx;
  85. width: 1rpx;
  86. background-color: #fff;
  87. }
  88. &::before{
  89. left: 0;
  90. top: 50%;
  91. transform: translateY(-50%);
  92. }
  93. &::after{
  94. right: 0;
  95. top: 50%;
  96. transform: translateY(-50%);
  97. }
  98. }
  99. }
  100. }
  101. }
  102. .shop-info {
  103. width: 100%;
  104. height: 500rpx;
  105. >image {
  106. width: 100%;
  107. }
  108. }
  109. .productinfo {
  110. width: 93%;
  111. padding: 10rpx 0;
  112. margin: 0 auto;
  113. .product-item {
  114. width: 100%;
  115. height: 550rpx;
  116. display: flex;
  117. flex-direction: column;
  118. margin-bottom: 20rpx;
  119. .product-img {
  120. width: 100%;
  121. height: 400rpx;
  122. }
  123. .product-desc {
  124. height: 150rpx;
  125. letter-spacing: 2rpx;
  126. font-weight: 100;
  127. display: flex;
  128. flex-direction: column;
  129. .product-name {
  130. line-height: 70rpx;
  131. }
  132. .price {
  133. display: flex;
  134. justify-content: flex-start;
  135. line-height: 50rpx;
  136. & :last-child {
  137. margin-left: 20rpx;
  138. }
  139. }
  140. }
  141. }
  142. &:first-child {
  143. margin-top: 10rpx;
  144. }
  145. }
  146. }
  147. }
  148. .fw700 {
  149. font-weight: 500;
  150. font-size: 17px;
  151. }
  152. .gold {
  153. font-size: 15px;
  154. color: #b1a384;
  155. }
  156. .gray {
  157. font-size: 13px;
  158. color: #999;
  159. }