index.less 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559
  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-weight: 400;
  10. .picturebox {
  11. width: 100%;
  12. height: 456rpx;
  13. position: relative;
  14. .img {
  15. width: 100%;
  16. height: 456rpx;
  17. image {
  18. width: 100%;
  19. height: 100%;
  20. }
  21. }
  22. .numberbox {
  23. position: absolute;
  24. bottom: 38rpx;
  25. right: 20rpx;
  26. z-index: 10;
  27. color: white;
  28. width: 88rpx;
  29. height: 54rpx;
  30. font-size: 28rpx;
  31. display: flex;
  32. justify-content: center;
  33. align-items: center;
  34. background-color: rgba(12, 12, 12, 0.5);
  35. }
  36. }
  37. .card {
  38. width: 100%;
  39. height: auto;
  40. position: absolute;
  41. top: 430rpx;
  42. .Legendary-Information {
  43. width: 100%;
  44. height: auto;
  45. background-color: white;
  46. border-radius: 20px;
  47. /* 左上角圆角 */
  48. padding-top: 40rpx;
  49. padding-left: 40rpx;
  50. padding-right: 40rpx;
  51. padding-bottom: 20rpx;
  52. .info-name {
  53. width: 100%;
  54. height: 60rpx;
  55. display: flex;
  56. align-items: center;
  57. .name-tex {
  58. font-size: 38rpx;
  59. font-weight: 700;
  60. }
  61. .name-pic {
  62. height: 46rpx;
  63. width: 46rpx;
  64. margin-left: auto;
  65. }
  66. }
  67. .info-intr {
  68. font-size: 30rpx;
  69. width: 100%;
  70. height: auto;
  71. margin-left: 10rpx;
  72. }
  73. .info-intr2 {
  74. margin-top: 10rpx;
  75. font-size: 30rpx;
  76. width: 100%;
  77. height: auto;
  78. margin-left: 4rpx;
  79. color: skyblue;
  80. display: flex;
  81. }
  82. .info-map {
  83. width: 100%;
  84. display: flex;
  85. align-items: center;
  86. margin-top: 20rpx;
  87. .map {
  88. width: 455rpx;
  89. height: 146rpx;
  90. }
  91. .info-call {
  92. width: 156rpx;
  93. height: auto;
  94. display: flex;
  95. justify-content: center;
  96. align-items: center;
  97. flex-direction: column;
  98. margin-left: 35rpx;
  99. image {
  100. width: 48rpx;
  101. height: 48rpx;
  102. }
  103. .call-tex {
  104. font-size: 24rpx;
  105. margin-top: 10rpx;
  106. }
  107. }
  108. }
  109. }
  110. }
  111. .roomcard {
  112. width: 100%;
  113. height: auto;
  114. padding-bottom: 40rpx;
  115. border-top-left-radius: 20rpx;
  116. border-top-right-radius: 20rpx;
  117. margin-top: 20rpx;
  118. padding-left: 10rpx;
  119. padding-right: 10rpx;
  120. background-color: white;
  121. .timebox {
  122. width: 100%;
  123. height: 90rpx;
  124. background-color: white;
  125. display: flex;
  126. align-items: flex-end;
  127. position: relative;
  128. padding-left: 10rpx;
  129. margin-bottom: 12rpx;
  130. .time {
  131. width: 150rpx;
  132. margin-left: 10rpx;
  133. .time-tex {
  134. font-size: 28rpx;
  135. color: gray;
  136. }
  137. .time-time {
  138. font-size: 30rpx;
  139. font-weight: 600;
  140. }
  141. }
  142. .time_tex2 {
  143. font-size: 24rpx;
  144. margin-left: 20rpx;
  145. margin-bottom: 2rpx;
  146. }
  147. }
  148. .room-card {
  149. width: 100%;
  150. height: 334rpx;
  151. padding-left: 38rpx;
  152. padding-right: 38rpx;
  153. border: solid #e5e5e5 2rpx;
  154. box-shadow: 0 4rpx 10rpx rgba(0, 0, 0, 0.2);
  155. padding-top: 40rpx;
  156. border-radius: 30rpx;
  157. margin-bottom: 24rpx;
  158. position: relative;
  159. .room-card1 {
  160. width: 100%;
  161. height: auto;
  162. display: flex;
  163. image {
  164. width: 166rpx;
  165. height: 222rpx;
  166. margin-right: 20rpx;
  167. border-radius: 4rpx;
  168. }
  169. .room-card-textbox {
  170. width: 400rpx;
  171. height: auto;
  172. .room-card-textbox-titlebox {
  173. display: flex;
  174. .room-card-textbox-title {
  175. font-size: 34rpx;
  176. font-weight: 700;
  177. }
  178. }
  179. .room-card-textbox-info {
  180. font-size: 24rpx;
  181. width: 400rpx;
  182. height: auto;
  183. margin-top: 10rpx;
  184. margin-bottom: 20rpx;
  185. }
  186. .room-card-textbox-label {
  187. width: 400rpx;
  188. height: auto;
  189. display: flex;
  190. flex-wrap: wrap;
  191. .room-card-textbox-label2 {
  192. width: auto;
  193. font-size: 20rpx;
  194. margin-right: 20rpx;
  195. padding-left: 4rpx;
  196. padding-right: 4rpx;
  197. display: flex;
  198. justify-content: center;
  199. align-items: center;
  200. border: solid #e5e5e5 2rpx;
  201. white-space: normal;
  202. margin-top: 10rpx;
  203. color: #6384AF;
  204. }
  205. }
  206. }
  207. }
  208. .room-card2 {
  209. width: 712rpx;
  210. height: 100rpx;
  211. display: flex;
  212. justify-content: flex-end;
  213. position: absolute;
  214. bottom: 24rpx;
  215. right: 34rpx;
  216. align-items: flex-end;
  217. .no {
  218. width: 282rpx;
  219. height: 86rpx;
  220. display: flex;
  221. justify-content: center;
  222. align-items: center;
  223. font-size: 44rpx;
  224. font-weight: 700;
  225. background-color: #1A1A1A;
  226. color: white;
  227. margin-left: 20rpx;
  228. border-radius: 10rpx;
  229. }
  230. .price {
  231. height: 50rpx;
  232. font-size: 40rpx;
  233. font-weight: 700;
  234. color: #C5262C;
  235. display: flex;
  236. align-items: center;
  237. }
  238. .submit {
  239. // width: 86rpx;
  240. // height: 86rpx;
  241. display: flex;
  242. justify-content: center;
  243. align-items: center;
  244. font-size: 48rpx;
  245. padding: 15rpx 26rpx;
  246. background-color: #1A1A1A;
  247. color: white;
  248. font-weight: 700;
  249. margin-left: 20rpx;
  250. }
  251. }
  252. .close {
  253. position: absolute;
  254. top: 0;
  255. left: 0;
  256. width: 100%;
  257. height: 334rpx;
  258. border: solid #e5e5e5 2rpx;
  259. background: rgba(255, 255, 255, 0.541);
  260. border-radius: 30rpx;
  261. }
  262. }
  263. .wangbox{
  264. width: 100%;
  265. display: flex;
  266. justify-content: center;
  267. align-items: center;
  268. flex-direction: column;
  269. margin-top: 60rpx;
  270. margin-bottom: 28rpx;
  271. .wang{
  272. width: 206rpx;
  273. height: 46rpx;
  274. font-size: 32rpx;
  275. color: #67806A;
  276. background-image: url(https://file-cloud.fmode.cn/EbxZUK5lBI/20241126/dm1jj2032446503.png?imageView2/1/w/200/h/200);
  277. background-position: center; /* 背景图片居中 */
  278. // background-size: cover; /* 背景图片覆盖整个元素 */
  279. background-repeat: no-repeat; /* 不重复背景图片 */
  280. display: flex;
  281. justify-content: center;
  282. align-items: center;
  283. }
  284. .wang2{
  285. font-size: 24rpx;
  286. color: #969696;
  287. }
  288. }
  289. .wang-cardbox{
  290. margin-top: 40rpx;
  291. width: 100%;
  292. background-color: white;
  293. overflow-y: hidden;
  294. padding-bottom: 40rpx;
  295. column-count: 2; /* 设置列数 */
  296. column-gap: 16rpx; /* 设置列间距 */
  297. .wang-card{
  298. break-inside: avoid; /* 防止卡片在列之间断裂 */
  299. margin-bottom: 20rpx; /* 设置卡片底部间距 */
  300. width: 100%; /* 确保卡片宽度为100% */
  301. image{
  302. width: 100%;
  303. height: 204rpx;
  304. border-radius: 10rpx;
  305. }
  306. .wang-catex{
  307. font-size: 26rpx;
  308. font-weight: 400;
  309. height: 76rpx;
  310. }
  311. .wang-numbox{
  312. width: 100%;
  313. display: flex;
  314. align-items: center;
  315. .wang-num{
  316. display: flex;
  317. justify-content: flex-end;
  318. align-items: flex-end;
  319. color: #C5262Ced;
  320. font-size: 30rpx;
  321. .wang-num1{
  322. font-size: 32rpx;
  323. }
  324. .wang-num2{
  325. font-size: 40rpx;
  326. }
  327. }
  328. .wang-submit{
  329. width: 102rpx;
  330. height: 48rpx;
  331. font-size: 28rpx;
  332. color: white;
  333. background-color: #F8DA7F;
  334. border-radius: 15rpx;
  335. display: flex;
  336. justify-content: center;
  337. align-items: center;
  338. margin-left: auto;
  339. }
  340. }
  341. }
  342. }
  343. .more{
  344. width: 100%;
  345. display: flex;
  346. align-items: center;
  347. justify-content: center;
  348. .more-tex{
  349. font-size: 28rpx;
  350. color: #969696;
  351. }
  352. }
  353. }
  354. }
  355. .roomBox {
  356. background: whitesmoke;
  357. .titleBox {
  358. width: 100%;
  359. border-radius: 20rpx 20rpx 0 0;
  360. background: white;
  361. padding: 30rpx;
  362. display: flex;
  363. align-items: center;
  364. image {
  365. width: 48rpx;
  366. height: 40rpx;
  367. }
  368. .text {
  369. width: 700rpx;
  370. font-size: 30rpx;
  371. font-weight: bold;
  372. text-align: center;
  373. }
  374. }
  375. .picturebox {
  376. background: white;
  377. width: 100%;
  378. height: 338rpx;
  379. // margin: 10rpx 0;
  380. position: relative;
  381. .img {
  382. border-radius: 10rpx;
  383. margin: auto;
  384. width: 675rpx;
  385. height: 338rpx;
  386. image {
  387. border-radius: 10rpx;
  388. width: 100%;
  389. height: 100%;
  390. }
  391. }
  392. .numberbox {
  393. position: absolute;
  394. bottom: 20rpx;
  395. right: 60rpx;
  396. z-index: 10;
  397. color: white;
  398. width: 60rpx;
  399. height: 37rpx;
  400. font-size: 17rpx;
  401. display: flex;
  402. justify-content: center;
  403. align-items: center;
  404. background-color: rgba(12, 12, 12, 0.5);
  405. }
  406. }
  407. .tagBox {
  408. padding: 30rpx;
  409. background: white;
  410. .title {
  411. font-size: 30rpx;
  412. font-weight: bold;
  413. }
  414. .tags {
  415. font-size: 24rpx;
  416. color: black;
  417. padding-top: 14rpx;
  418. display: flex;
  419. flex-wrap: wrap;
  420. padding-left: 50rpx;
  421. .tag {
  422. width: 50%;
  423. height: 53rpx;
  424. }
  425. .tag2 {
  426. width: 33%;
  427. height: 53rpx;
  428. }
  429. }
  430. }
  431. .serverBox {
  432. margin-top: 30rpx;
  433. }
  434. .ruleBox {
  435. margin-top: 30rpx;
  436. .sub_title {
  437. font-size: 13rpx;
  438. margin-bottom: 20rpx;
  439. margin-top: 5rpx;
  440. }
  441. .list {
  442. display: flex;
  443. .key {
  444. font-size: 20rpx;
  445. font-weight: bold;
  446. width: 66rpx;
  447. height: 53rpx;
  448. }
  449. .value {
  450. font-size: 20rpx;
  451. }
  452. }
  453. }
  454. .payBox {
  455. background: white;
  456. width: 100%;
  457. display: flex;
  458. height: 82rpx;
  459. .phonBox {
  460. width: 288rpx;
  461. display: flex;
  462. align-items: center;
  463. justify-content: space-around;
  464. >view {
  465. display: flex;
  466. align-items: center;
  467. justify-content: space-around;
  468. image {
  469. width: 47rpx;
  470. height: 48rpx;
  471. margin-right: 20rpx;
  472. }
  473. text {
  474. font-size: 26rpx;
  475. }
  476. }
  477. }
  478. .pay {
  479. width: 462rpx;
  480. font-size: 32rpx;
  481. background: #F89B7F;
  482. display: flex;
  483. justify-content: center;
  484. align-items: center;
  485. color: white;
  486. }
  487. }
  488. }