index.less 7.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377
  1. page {
  2. background: #f6f6f6;
  3. }
  4. .all {
  5. margin: 0 30rpx;
  6. width: 690rpx;
  7. }
  8. .image {
  9. width: 690rpx;
  10. height: 460rpx;
  11. margin: 30rpx;
  12. border-radius: 30rpx;
  13. }
  14. .store {
  15. margin: 30rpx;
  16. border-radius: 30rpx;
  17. background: #ffffff;
  18. padding: 20rpx 20rpx 1rpx 20rpx;
  19. .desc {
  20. margin: 20rpx 0;
  21. }
  22. .desc-i {
  23. overflow: hidden; //一定要写
  24. text-overflow: ellipsis; //超出省略号
  25. display: -webkit-box; //一定要写
  26. // -webkit-line-clamp: 2; //控制行数
  27. -webkit-box-orient: vertical; //一定要写
  28. }
  29. .store-name {
  30. font-size: 42rpx;
  31. }
  32. .store-box {
  33. display: flex;
  34. justify-content: space-between;
  35. margin-top: 10rpx;
  36. .store-evaluation {
  37. display: flex;
  38. color: red;
  39. .price {
  40. font-size: 28rpx;
  41. margin-top: 8rpx;
  42. }
  43. .evaluation {
  44. font-size: 28rpx;
  45. margin: 8rpx 20rpx 0 20rpx;
  46. color: #229293;
  47. }
  48. }
  49. .evaluation-number {
  50. margin-top: 10rpx;
  51. font-size: 28rpx;
  52. }
  53. }
  54. .box-image {
  55. white-space: nowrap;
  56. box-sizing: border-box;
  57. margin-top: 30rpx;
  58. .images {
  59. display: inline-block;
  60. width: 200rpx;
  61. height: 150rpx;
  62. margin-right: 10rpx;
  63. }
  64. }
  65. .box-title {
  66. display: flex;
  67. justify-content: space-between;
  68. border-bottom: 1rpx solid #229293;
  69. padding: 20rpx 0;
  70. .box-time {
  71. display: flex;
  72. .state {
  73. margin-right: 20rpx;
  74. }
  75. }
  76. .vr_btn {
  77. margin-top: 10rpx;
  78. width: 140rpx;
  79. height: 70rpx;
  80. border-radius: 40rpx;
  81. text-align: center;
  82. line-height: 70rpx;
  83. background-color: #229293;
  84. color: #ffffff;
  85. }
  86. }
  87. .address {
  88. width: 100%;
  89. padding: 30rpx 0;
  90. display: flex;
  91. // border-bottom: 1rpx solid #f6f6f6;
  92. .address-details {
  93. width: 75%;
  94. overflow: hidden; //一定要写
  95. text-overflow: ellipsis; //超出省略号
  96. display: -webkit-box; //一定要写
  97. -webkit-line-clamp: 2; //控制行数
  98. -webkit-box-orient: vertical; //一定要写
  99. .addres {
  100. height: 80rpx;
  101. margin-top: 20rpx;
  102. color: #afa9a9;
  103. }
  104. .way {
  105. display: flex;
  106. margin-top: 20rpx;
  107. color: #afa9a9;
  108. font-size: 24rpx;
  109. }
  110. }
  111. .taxi {
  112. display: flex;
  113. justify-content: space-between;
  114. margin: 0rpx 0 0 10rpx;
  115. .taxi-box {
  116. margin-right: 20rpx;
  117. .taxi-phone {
  118. text-align: center;
  119. margin-bottom: 5rpx;
  120. }
  121. }
  122. .taxi-boxs {
  123. margin-right: 0rpx;
  124. .taxi-phone {
  125. text-align: center;
  126. margin-bottom: 10rpx;
  127. }
  128. }
  129. }
  130. }
  131. .take-out {
  132. margin-top: 20rpx;
  133. }
  134. .store-goods {
  135. display: flex;
  136. padding: 10rpx;
  137. position: relative;
  138. padding-bottom: 18rpx;
  139. border-bottom: 1rpx solid #e2e2e2;
  140. .images {
  141. width: 180rpx;
  142. height: 160rpx;
  143. border-radius: 10rpx;
  144. }
  145. .goods-details {
  146. margin-left: 20rpx;
  147. .goods-name {}
  148. .goods-time {
  149. font-size: 24rpx;
  150. color: #afa9a9;
  151. margin-top: 10rpx;
  152. }
  153. .goods-title {
  154. display: flex;
  155. justify-content: space-between;
  156. .goods-price {
  157. display: flex;
  158. margin-top: 15rpx;
  159. font-size: 32rpx;
  160. .price {
  161. color: red;
  162. }
  163. .original {
  164. text-decoration: line-through;
  165. color: #afa9a9;
  166. font-size: 28rpx;
  167. }
  168. }
  169. }
  170. }
  171. .buy {
  172. position: absolute;
  173. background: #229293;
  174. color: #ffffff;
  175. border-radius: 20rpx;
  176. padding: 14rpx;
  177. text-align: center;
  178. width: 128rpx;
  179. top: 52%;
  180. right: -6rpx;
  181. font-size: 28rpx;
  182. }
  183. }
  184. }
  185. .box {
  186. padding: 30rpx;
  187. border-radius: 30rpx;
  188. background: #ffffff;
  189. margin: 30rpx;
  190. .comment {
  191. padding: 20rpx 0;
  192. .comment-header {
  193. display: flex;
  194. align-items: center;
  195. justify-content: space-between;
  196. .header-text {
  197. flex: 1;
  198. padding: 0 10rpx;
  199. }
  200. .header-avatar {
  201. width: 80rpx;
  202. height: 80rpx;
  203. .header-avatar-image {
  204. width: 100%;
  205. height: 100%;
  206. margin: 0 auto;
  207. border-radius: 50%;
  208. }
  209. }
  210. }
  211. .comment-content {
  212. .comment-text {
  213. padding: 10rpx 0;
  214. }
  215. .comment-images {
  216. display: flex;
  217. flex-wrap: wrap;
  218. }
  219. .comment-image {
  220. width: 210rpx;
  221. height: 210rpx;
  222. background: #ffffff;
  223. }
  224. }
  225. }
  226. .recommended-box {
  227. display: flex;
  228. justify-content: space-between;
  229. margin: 1rpx 0 30rpx 0rpx;
  230. .recommended {
  231. font-size: 36rpx;
  232. font-weight: 500;
  233. color: #222222;
  234. margin-left: 10rpx;
  235. }
  236. .recommended-icon {
  237. width: 6rpx;
  238. height: 36rpx;
  239. background: #229293;
  240. border-radius: 3rpx;
  241. margin-top: 5rpx;
  242. }
  243. }
  244. .evaluation-box {
  245. .evaluation-describe {
  246. font-size: 30rpx;
  247. color: #222222;
  248. margin-top: 30rpx;
  249. }
  250. .evaluation-image {
  251. display: flex;
  252. flex-wrap: wrap;
  253. margin-top: 20rpx;
  254. .images {
  255. width: 200rpx;
  256. height: 200rpx;
  257. margin-right: 10rpx;
  258. }
  259. }
  260. .evaluation-name {
  261. display: flex;
  262. justify-content: space-between;
  263. .name {
  264. display: flex;
  265. .images {
  266. width: 80rpx;
  267. height: 80rpx;
  268. border-radius: 50%;
  269. }
  270. .names {
  271. margin: 5rpx 0 0 20rpx;
  272. .username {
  273. font-size: 24rpx;
  274. font-weight: 400;
  275. color: #222222;
  276. }
  277. }
  278. }
  279. .time {
  280. font-size: 24rpx;
  281. color: #999999;
  282. }
  283. }
  284. }
  285. }
  286. .to_order {
  287. position: fixed;
  288. top: 40%;
  289. right: 1%;
  290. width: 88rpx;
  291. padding: 20rpx;
  292. z-index: 999;
  293. text-align: center;
  294. font-size: 30rpx;
  295. border-radius: 40rpx;
  296. background-color: #229293;
  297. color: #ffffff;
  298. }