index.wxss 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152
  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 .shop-info {
  40. width: 100%;
  41. height: 500rpx;
  42. }
  43. .container .shop .shop-info > image {
  44. width: 100%;
  45. }
  46. .container .shop .user-location-btn {
  47. width: 100%;
  48. height: 220rpx;
  49. border-top: 1rpx solid #ECECEC;
  50. background-color: #fff;
  51. position: relative;
  52. }
  53. .container .shop .user-location-btn .location-btn {
  54. background-color: #ECECEC;
  55. padding: 0;
  56. width: 50%;
  57. height: 50%;
  58. line-height: 100rpx;
  59. color: #21ad50;
  60. position: absolute;
  61. left: 50%;
  62. top: 28%;
  63. transform: translate(-50%);
  64. }
  65. .container .product {
  66. overflow-y: auto;
  67. /* .weui-tabs {
  68. .weui-tabs-bar__wrp {
  69. .weui-tabs-bar__content {
  70. height: 100rpx;
  71. line-height: 99rpx;
  72. white-space: nowrap;
  73. display: flex;
  74. justify-content: space-around;
  75. border-bottom: 1rpx solid #ECECEC;
  76. }
  77. }
  78. } */
  79. }
  80. .container .product .productinfo {
  81. width: 95%;
  82. height: 550rpx;
  83. padding: 10rpx 0;
  84. margin: 0 auto;
  85. }
  86. .container .product .productinfo .product-item {
  87. width: 100%;
  88. height: 550rpx;
  89. display: flex;
  90. flex-direction: column;
  91. margin-bottom: 20rpx;
  92. }
  93. .container .product .productinfo .product-item .product-img {
  94. width: 100%;
  95. height: 400rpx;
  96. }
  97. .container .product .productinfo .product-item .product-desc {
  98. height: 150rpx;
  99. letter-spacing: 2rpx;
  100. font-weight: 100;
  101. display: flex;
  102. flex-direction: column;
  103. }
  104. .container .product .productinfo .product-item .product-desc .product-name {
  105. line-height: 70rpx;
  106. }
  107. .container .product .productinfo .product-item .product-desc .price {
  108. display: flex;
  109. justify-content: flex-start;
  110. line-height: 50rpx;
  111. }
  112. .container .product .productinfo .product-item .product-desc .price :last-child {
  113. margin-left: 20rpx;
  114. }
  115. .container .product .productinfo:first-child {
  116. margin-top: 10rpx;
  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. }