index.less 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448
  1. /* nova-tourism/pages/homestay/homestay-detail/index.wxss */
  2. .all {
  3. width: 100vw;
  4. height: 100vh;
  5. background-color: #ECECEC;
  6. position: relative;
  7. overflow-y: scroll;
  8. color: #382E2E;
  9. font-family: "Microsoft JhengHei", "PingFang SC", "Helvetica Neue", sans-serif;
  10. font-weight: 400;
  11. .picturebox {
  12. width: 100%;
  13. height: 456rpx;
  14. position: relative;
  15. .img {
  16. width: 100%;
  17. height: 456rpx;
  18. image {
  19. width: 100%;
  20. height: 100%;
  21. }
  22. }
  23. .numberbox {
  24. position: absolute;
  25. bottom: 38rpx;
  26. right: 20rpx;
  27. z-index: 10;
  28. color: white;
  29. width: 88rpx;
  30. height: 54rpx;
  31. font-size: 28rpx;
  32. display: flex;
  33. justify-content: center;
  34. align-items: center;
  35. background-color: rgba(12, 12, 12, 0.5);
  36. }
  37. }
  38. .card {
  39. width: 100%;
  40. height: auto;
  41. position: absolute;
  42. top: 430rpx;
  43. .Legendary-Information {
  44. width: 100%;
  45. height: auto;
  46. background-color: white;
  47. border-radius: 20px;
  48. /* 左上角圆角 */
  49. padding-top: 40rpx;
  50. padding-left: 40rpx;
  51. padding-right: 40rpx;
  52. padding-bottom: 20rpx;
  53. .info-name {
  54. width: 100%;
  55. height: 60rpx;
  56. display: flex;
  57. align-items: center;
  58. .name-tex {
  59. font-size: 38rpx;
  60. font-weight: 700;
  61. }
  62. .name-pic {
  63. height: 46rpx;
  64. width: 46rpx;
  65. margin-left: auto;
  66. }
  67. }
  68. .info-intr {
  69. font-size: 30rpx;
  70. width: 100%;
  71. height: auto;
  72. margin-left: 10rpx;
  73. }
  74. .info-intr2 {
  75. margin-top: 10rpx;
  76. font-size: 30rpx;
  77. width: 100%;
  78. height: auto;
  79. margin-left: 4rpx;
  80. color: skyblue;
  81. display: flex;
  82. }
  83. .info-map {
  84. width: 100%;
  85. display: flex;
  86. align-items: center;
  87. margin-top: 20rpx;
  88. .map {
  89. width: 455rpx;
  90. height: 146rpx;
  91. }
  92. .info-call {
  93. width: 156rpx;
  94. height: auto;
  95. display: flex;
  96. justify-content: center;
  97. align-items: center;
  98. flex-direction: column;
  99. margin-left: 35rpx;
  100. image {
  101. width: 48rpx;
  102. height: 48rpx;
  103. }
  104. .call-tex {
  105. font-size: 24rpx;
  106. margin-top: 10rpx;
  107. }
  108. }
  109. }
  110. }
  111. }
  112. .roomcard {
  113. width: 100%;
  114. height: auto;
  115. padding-bottom: 40rpx;
  116. border-top-left-radius: 20rpx;
  117. border-top-right-radius: 20rpx;
  118. margin-top: 20rpx;
  119. padding-left: 10rpx;
  120. padding-right: 10rpx;
  121. background-color: white;
  122. .timebox {
  123. width: 100%;
  124. height: 90rpx;
  125. background-color: white;
  126. display: flex;
  127. align-items: flex-end;
  128. position: relative;
  129. padding-left: 10rpx;
  130. margin-bottom: 12rpx;
  131. .time {
  132. width: 150rpx;
  133. margin-left: 10rpx;
  134. .time-tex {
  135. font-size: 28rpx;
  136. color: gray;
  137. }
  138. .time-time {
  139. font-size: 30rpx;
  140. font-weight: 600;
  141. }
  142. }
  143. .time_tex2 {
  144. font-size: 24rpx;
  145. margin-left: 20rpx;
  146. margin-bottom: 2rpx;
  147. }
  148. }
  149. .room-card {
  150. width: 100%;
  151. height: 334rpx;
  152. padding-left: 38rpx;
  153. padding-right: 38rpx;
  154. border: solid #e5e5e5 2rpx;
  155. box-shadow: 0 4rpx 10rpx rgba(0, 0, 0, 0.2);
  156. padding-top: 40rpx;
  157. border-radius: 30rpx;
  158. margin-bottom: 24rpx;
  159. position: relative;
  160. .room-card1 {
  161. width: 100%;
  162. height: auto;
  163. display: flex;
  164. image {
  165. width: 166rpx;
  166. height: 222rpx;
  167. margin-right: 20rpx;
  168. border-radius: 4rpx;
  169. }
  170. .room-card-textbox {
  171. width: 400rpx;
  172. height: auto;
  173. .room-card-textbox-titlebox {
  174. display: flex;
  175. .room-card-textbox-title {
  176. font-size: 34rpx;
  177. font-weight: 700;
  178. }
  179. }
  180. .room-card-textbox-info {
  181. font-size: 24rpx;
  182. width: 400rpx;
  183. height: auto;
  184. margin-top: 10rpx;
  185. margin-bottom: 20rpx;
  186. }
  187. .room-card-textbox-label {
  188. width: 400rpx;
  189. height: auto;
  190. display: flex;
  191. flex-wrap: wrap;
  192. .room-card-textbox-label2 {
  193. width: auto;
  194. font-size: 20rpx;
  195. margin-right: 20rpx;
  196. padding-left: 4rpx;
  197. padding-right: 4rpx;
  198. display: flex;
  199. justify-content: center;
  200. align-items: center;
  201. border: solid #e5e5e5 2rpx;
  202. white-space: normal;
  203. margin-top: 10rpx;
  204. color: #6384AF;
  205. }
  206. }
  207. }
  208. }
  209. .room-card2 {
  210. width: 712rpx;
  211. height: 100rpx;
  212. display: flex;
  213. justify-content: flex-end;
  214. position: absolute;
  215. bottom: 24rpx;
  216. right: 34rpx;
  217. align-items: flex-end;
  218. .no {
  219. width: 282rpx;
  220. height: 86rpx;
  221. display: flex;
  222. justify-content: center;
  223. align-items: center;
  224. font-size: 44rpx;
  225. font-weight: 700;
  226. background-color: #1A1A1A;
  227. color: white;
  228. margin-left: 20rpx;
  229. border-radius: 10rpx;
  230. }
  231. .price {
  232. height: 50rpx;
  233. font-size: 40rpx;
  234. font-weight: 700;
  235. color: #C5262C;
  236. display: flex;
  237. align-items: center;
  238. }
  239. .submit {
  240. width: 86rpx;
  241. height: 86rpx;
  242. display: flex;
  243. justify-content: center;
  244. align-items: center;
  245. font-size: 48rpx;
  246. background-color: #1A1A1A;
  247. color: white;
  248. font-weight: 700;
  249. margin-left: 20rpx;
  250. }
  251. }
  252. }
  253. }
  254. }
  255. .roomBox {
  256. background: whitesmoke;
  257. .titleBox {
  258. width: 100%;
  259. border-radius: 20rpx 20rpx 0 0;
  260. background: white;
  261. padding: 30rpx;
  262. display: flex;
  263. align-items: center;
  264. image {
  265. width: 48rpx;
  266. height: 40rpx;
  267. }
  268. .text {
  269. width: 700rpx;
  270. font-size: 30rpx;
  271. font-weight: bold;
  272. text-align: center;
  273. }
  274. }
  275. .picturebox {
  276. background: white;
  277. width: 100%;
  278. height: 338rpx;
  279. // margin: 10rpx 0;
  280. position: relative;
  281. .img {
  282. border-radius: 10rpx;
  283. margin: auto;
  284. width: 675rpx;
  285. height: 338rpx;
  286. image {
  287. border-radius: 10rpx;
  288. width: 100%;
  289. height: 100%;
  290. }
  291. }
  292. .numberbox {
  293. position: absolute;
  294. bottom: 20rpx;
  295. right: 60rpx;
  296. z-index: 10;
  297. color: white;
  298. width: 60rpx;
  299. height: 37rpx;
  300. font-size: 17rpx;
  301. display: flex;
  302. justify-content: center;
  303. align-items: center;
  304. background-color: rgba(12, 12, 12, 0.5);
  305. }
  306. }
  307. .tagBox {
  308. padding: 30rpx;
  309. background: white;
  310. .title {
  311. font-size: 30rpx;
  312. font-weight: bold;
  313. }
  314. .tags {
  315. font-size: 24rpx;
  316. color: black;
  317. padding-top: 14rpx;
  318. display: flex;
  319. flex-wrap: wrap;
  320. padding-left: 50rpx;
  321. .tag {
  322. width: 50%;
  323. height: 53rpx;
  324. }
  325. .tag2 {
  326. width: 33%;
  327. height: 53rpx;
  328. }
  329. }
  330. }
  331. .serverBox {
  332. margin-top: 30rpx;
  333. }
  334. .ruleBox {
  335. margin-top: 30rpx;
  336. .sub_title {
  337. font-size: 13rpx;
  338. margin-bottom: 20rpx;
  339. margin-top: 5rpx;
  340. }
  341. .list {
  342. display: flex;
  343. .key {
  344. font-size: 20rpx;
  345. font-weight: bold;
  346. width: 66rpx;
  347. height: 53rpx;
  348. }
  349. .value {
  350. font-size: 20rpx;
  351. }
  352. }
  353. }
  354. .payBox {
  355. background: white;
  356. width: 100%;
  357. display: flex;
  358. height: 82rpx;
  359. .phonBox {
  360. width: 288rpx;
  361. display: flex;
  362. align-items: center;
  363. justify-content: space-around;
  364. >view{
  365. display: flex;
  366. align-items: center;
  367. justify-content: space-around;
  368. image {
  369. width: 47rpx;
  370. height: 48rpx;
  371. margin-right: 20rpx;
  372. }
  373. text {
  374. font-size: 26rpx;
  375. }
  376. }
  377. }
  378. .pay {
  379. width: 462rpx;
  380. font-size: 32rpx;
  381. background: #F89B7F;
  382. display: flex;
  383. justify-content: center;
  384. align-items: center;
  385. color: white;
  386. }
  387. }
  388. }