index.less 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208
  1. page {
  2. background: #f6f6f6;
  3. padding-bottom: 140rpx;
  4. }
  5. .store {
  6. margin:30rpx ;
  7. border-radius: 30rpx;
  8. background: #ffffff;
  9. padding: 20rpx 20rpx 1rpx 20rpx;
  10. .store-name {
  11. font-size: 42rpx;
  12. }
  13. .store-box {
  14. display: flex;
  15. justify-content: space-between;
  16. margin-top: 10rpx;
  17. .store-evaluation {
  18. display: flex;
  19. color: red;
  20. .price {
  21. font-size: 28rpx;
  22. margin-top: 8rpx;
  23. }
  24. .evaluation {
  25. font-size: 28rpx;
  26. margin: 8rpx 20rpx 0 20rpx;
  27. color: #ffd21e;
  28. }
  29. }
  30. .evaluation-number {
  31. margin-top: 10rpx;
  32. font-size: 28rpx;
  33. }
  34. }
  35. .box-image {
  36. white-space: nowrap;
  37. box-sizing: border-box;
  38. margin-top: 30rpx;
  39. .images {
  40. display: inline-block;
  41. width: 200rpx;
  42. height: 150rpx;
  43. margin-right: 10rpx;
  44. }
  45. }
  46. .box-title {
  47. display: flex;
  48. justify-content: space-between;
  49. border-bottom: 1rpx solid #f6f6f6;
  50. padding: 20rpx 0;
  51. .box-time {
  52. display: flex;
  53. .state {
  54. margin-right: 20rpx;
  55. }
  56. }
  57. }
  58. .address {
  59. width: 100%;
  60. padding: 30rpx 0;
  61. display: flex;
  62. border-bottom: 1rpx solid #f6f6f6;
  63. .address-details {
  64. width: 75%;
  65. overflow: hidden; //一定要写
  66. text-overflow: ellipsis; //超出省略号
  67. display: -webkit-box; //一定要写
  68. -webkit-line-clamp: 2; //控制行数
  69. -webkit-box-orient: vertical; //一定要写
  70. .addres {
  71. height: 80rpx;
  72. }
  73. .way {
  74. display: flex;
  75. margin-top: 20rpx;
  76. color: #afa9a9;
  77. font-size: 24rpx;
  78. }
  79. }
  80. .taxi {
  81. display: flex;
  82. justify-content: space-between;
  83. margin: 0rpx 0 0 10rpx;
  84. .taxi-box {
  85. margin-right: 20rpx;
  86. .taxi-phone {
  87. text-align: center;
  88. margin-bottom: 10rpx;
  89. }
  90. .taxi-phone {
  91. text-align: center;
  92. margin-bottom: 10rpx;
  93. }
  94. }
  95. .taxi-boxs {
  96. margin-right: 0rpx;
  97. .taxi-phone {
  98. text-align: center;
  99. margin-bottom: 10rpx;
  100. }
  101. .taxi-phone {
  102. text-align: center;
  103. margin-bottom: 10rpx;
  104. }
  105. }
  106. }
  107. }
  108. .take-out {
  109. margin-top: 20rpx;
  110. }
  111. .store-goods {
  112. display: flex;
  113. padding: 10rpx;
  114. position: relative;
  115. margin-bottom: 20rpx;
  116. .images {
  117. width: 180rpx;
  118. height: 150rpx;
  119. }
  120. .goods-details {
  121. margin-left: 20rpx;
  122. .goods-name {}
  123. .goods-time {
  124. font-size: 24rpx;
  125. color: #afa9a9;
  126. margin-top: 10rpx;
  127. }
  128. .goods-title {
  129. display: flex;
  130. justify-content: space-between;
  131. .goods-price {
  132. display: flex;
  133. margin-top: 15rpx;
  134. font-size: 32rpx;
  135. .price {
  136. color: red;
  137. }
  138. .original {
  139. text-decoration: line-through;
  140. color: #afa9a9;
  141. }
  142. }
  143. }
  144. }
  145. .goods-switch {
  146. margin: 40rpx 0 0 30rpx;
  147. .switch {
  148. font-size: 28rpx;
  149. margin-bottom: 10rpx;
  150. }
  151. }
  152. .buy {
  153. position: absolute;
  154. background: #46a9a4;
  155. color: #ffffff;
  156. border-radius: 20rpx;
  157. padding: 20rpx;
  158. top: 40%;
  159. right: 30rpx;
  160. }
  161. }
  162. }
  163. .bommon {
  164. position: fixed;
  165. bottom: 0;
  166. width: 100%;
  167. background: #46a9a4;
  168. padding: 30rpx;
  169. text-align: center;
  170. }