index.wxss 3.6 KB

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