index.less 6.7 KB

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