index.scss 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164
  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. border-top: 1rpx solid #ECECEC;
  13. width: 100%;
  14. background-color: #F7F7F7;
  15. position: fixed;
  16. z-index: 99;
  17. >.title {
  18. display: flex;
  19. justify-content: space-between;
  20. padding: 0 40rpx;
  21. height: 80rpx;
  22. line-height: 80rpx;
  23. background-color: #fff;
  24. .title-left {
  25. position: relative;
  26. padding-left: 40rpx;
  27. .shop-icon {
  28. width: 40rpx;
  29. height: 40rpx;
  30. position: absolute;
  31. top: 50%;
  32. left: -10rpx;
  33. transform: translateY(-50%);
  34. }
  35. }
  36. }
  37. .shop-info {
  38. width: 100%;
  39. height: 500rpx;
  40. >image {
  41. width: 100%;
  42. }
  43. }
  44. /* 未获得授权时显示获取授权按钮 */
  45. .user-location-btn {
  46. width: 100%;
  47. height: 220rpx;
  48. border-top: 1rpx solid #ECECEC;
  49. background-color: #fff;
  50. position: relative;
  51. .location-btn {
  52. background-color: #ECECEC;
  53. padding: 0;
  54. width: 50%;
  55. height: 50%;
  56. line-height: 100rpx;
  57. color: #21ad50;
  58. position: absolute;
  59. left: 50%;
  60. top: 28%;
  61. transform: translate(-50%);
  62. }
  63. }
  64. }
  65. .product {
  66. overflow-y: auto;
  67. padding-top: 590rpx;
  68. /* .weui-tabs {
  69. .weui-tabs-bar__wrp {
  70. .weui-tabs-bar__content {
  71. height: 100rpx;
  72. line-height: 99rpx;
  73. white-space: nowrap;
  74. display: flex;
  75. justify-content: space-around;
  76. border-bottom: 1rpx solid #ECECEC;
  77. }
  78. }
  79. } */
  80. .productinfo {
  81. width: 95%;
  82. height: 550rpx;
  83. padding: 10rpx 0;
  84. margin: 0 auto;
  85. .product-item {
  86. width: 100%;
  87. height: 550rpx;
  88. display: flex;
  89. flex-direction: column;
  90. margin-bottom: 20rpx;
  91. .product-img {
  92. width: 100%;
  93. height: 400rpx;
  94. }
  95. .product-desc {
  96. height: 150rpx;
  97. letter-spacing: 2rpx;
  98. font-weight: 100;
  99. display: flex;
  100. flex-direction: column;
  101. .product-name {
  102. line-height: 70rpx;
  103. }
  104. .price {
  105. display: flex;
  106. justify-content: flex-start;
  107. line-height: 50rpx;
  108. & :last-child {
  109. margin-left: 20rpx;
  110. }
  111. }
  112. }
  113. }
  114. &:first-child {
  115. margin-top: 10rpx;
  116. }
  117. }
  118. }
  119. }
  120. .fw700 {
  121. font-weight: 500;
  122. font-size: 17px;
  123. }
  124. .gold {
  125. font-size: 15px;
  126. color: #b1a384;
  127. }
  128. .gray {
  129. font-size: 13px;
  130. color: #999;
  131. }