index.less 7.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256
  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. 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. background-color:#1A1A1A ;
  246. color: white;
  247. font-weight: 700;
  248. margin-left: 20rpx;
  249. }
  250. }
  251. }
  252. }
  253. }