index.less 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182
  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. justify-content: space-between;
  114. padding: 10rpx;
  115. margin-bottom: 20rpx;
  116. .images {
  117. width: 180rpx;
  118. height: 150rpx;
  119. }
  120. .goods-details {
  121. margin: auto 0;
  122. margin-left: 20rpx;
  123. }
  124. .goods-switch {
  125. margin: 40rpx 0 0 30rpx;
  126. .switch {
  127. font-size: 28rpx;
  128. margin-bottom: 10rpx;
  129. }
  130. }
  131. .buy {
  132. background: #46a9a4;
  133. color: #ffffff;
  134. border-radius: 20rpx;
  135. padding: 20rpx;
  136. }
  137. }
  138. }
  139. .bommon {
  140. position: fixed;
  141. bottom: 0;
  142. width: 100%;
  143. background: #46a9a4;
  144. padding: 30rpx;
  145. text-align: center;
  146. }