index.wxss 2.7 KB

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