index.scss 2.7 KB

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