index.less 7.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240
  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. .picturebox{
  8. width: 100%;
  9. height: 480rpx;
  10. position: relative;
  11. .img{
  12. width: 100%;
  13. height: 480rpx;
  14. image{
  15. width: 100%;
  16. height: 100%;
  17. }
  18. }
  19. .numberbox{
  20. position: absolute;
  21. bottom: 40rpx;
  22. right: 20rpx;
  23. border-radius: 45%;
  24. z-index: 10;
  25. color: white;
  26. width: 70rpx;
  27. height: 45rpx;
  28. font-size: 24rpx;
  29. display: flex;
  30. justify-content: center;
  31. align-items: center;
  32. background-color: rgba(12, 12, 12, 0.5);
  33. }
  34. }
  35. .card{
  36. width: 100%;
  37. height: auto;
  38. position: absolute;
  39. top: 450rpx;
  40. padding-bottom: 40rpx;
  41. .Legendary-Information{
  42. width: 100%;
  43. height: auto;
  44. background-color: white;
  45. border-radius: 20px; /* 左上角圆角 */
  46. padding-top: 20rpx;
  47. padding-left: 35rpx;
  48. padding-right: 35rpx;
  49. padding-bottom: 20rpx;
  50. .info-name{
  51. width: 100%;
  52. height: 60rpx;
  53. display: flex;
  54. align-items: center;
  55. .name-tex{
  56. font-size: 30rpx;
  57. font-weight: 600;
  58. }
  59. .name-pic{
  60. height: 55rpx;
  61. width: 55rpx;
  62. margin-left: auto;
  63. }
  64. }
  65. .info-intr{
  66. font-size: 28rpx;
  67. width: 100%;
  68. height: auto;
  69. margin-left: 10rpx;
  70. }
  71. .info-map{
  72. width: 100%;
  73. height: 250rpx;
  74. display: flex;
  75. align-items: center;
  76. .map{
  77. width: 480rpx;
  78. height: 188rpx;
  79. background-color: aqua;
  80. }
  81. .info-call{
  82. width: 156rpx;
  83. height: 250rpx;
  84. display: flex;
  85. justify-content: center;
  86. align-items: center;
  87. flex-direction: column;
  88. margin-left: 40rpx;
  89. image{
  90. width: 60rpx;
  91. height: 60rpx;
  92. }
  93. .call-tex{
  94. font-size: 26rpx;
  95. margin-top: 10rpx;
  96. }
  97. }
  98. }
  99. }
  100. }
  101. .roomcard{
  102. width: 100%;
  103. height: auto;
  104. padding-bottom: 40rpx;
  105. border-top-left-radius: 20rpx;
  106. border-top-right-radius: 20rpx;
  107. margin-top: 20rpx;
  108. padding-left: 10rpx;
  109. padding-right: 10rpx;
  110. background-color: white;
  111. .timebox{
  112. width: 100%;
  113. background-color: white;
  114. display: flex;
  115. align-items: flex-end;
  116. position: relative;
  117. padding-left: 10rpx;
  118. margin-bottom: 20rpx;
  119. padding-bottom: 20rpx;
  120. padding-top: 20rpx;
  121. .time{
  122. width: 150rpx;
  123. margin-left: 10rpx;
  124. .time-tex{
  125. font-size: 28rpx;
  126. color: gray;
  127. }
  128. .time-time{
  129. font-size: 30rpx;
  130. font-weight: 600;
  131. }
  132. }
  133. .time_tex2{
  134. font-size: 24rpx;
  135. margin-left: 20rpx;
  136. margin-bottom: 2rpx;
  137. }
  138. }
  139. .room-card{
  140. width: 100%;
  141. height: auto;
  142. padding-left: 40rpx;
  143. padding-right: 40rpx;
  144. border: solid #e5e5e5 2rpx;
  145. box-shadow: 0 4rpx 10rpx rgba(0, 0, 0, 0.2);
  146. padding-top: 40rpx;
  147. border-radius: 30rpx;
  148. margin-bottom: 20rpx;
  149. padding-bottom: 20rpx;
  150. .room-card1{
  151. width: 100%;
  152. height: auto;
  153. display: flex;
  154. image{
  155. width: 200rpx;
  156. height: 270rpx;
  157. margin-right: 20rpx;
  158. border-radius: 15rpx;
  159. }
  160. .room-card-textbox{
  161. width: 400rpx;
  162. height: auto;
  163. .room-card-textbox-titlebox{
  164. display: flex;
  165. .room-card-textbox-title{
  166. font-size: 34rpx;
  167. font-weight: 600;
  168. }
  169. }
  170. .room-card-textbox-info{
  171. font-size: 26rpx;
  172. width: 400rpx;
  173. height: auto;
  174. margin-top: 10rpx;
  175. margin-bottom: 20rpx;
  176. }
  177. .room-card-textbox-label{
  178. width: 400rpx;
  179. height: auto;
  180. display: flex;
  181. flex-wrap: wrap;
  182. .room-card-textbox-label2{
  183. width: auto;
  184. font-size: 24rpx;
  185. margin-right: 20rpx;
  186. padding-left: 4rpx;
  187. padding-right: 4rpx;
  188. display: flex;
  189. justify-content: center;
  190. align-items: center;
  191. border: solid #e5e5e5 2rpx;
  192. white-space: normal;
  193. margin-top: 10rpx;
  194. color: #6384AF;
  195. }
  196. }
  197. }
  198. }
  199. .room-card2{
  200. width: 100%;
  201. height: 100rpx;
  202. display: flex;
  203. justify-content: flex-end;
  204. margin-top: 20rpx;
  205. .no{
  206. width: 200rpx;
  207. height: 80rpx;
  208. display: flex;
  209. justify-content: center;
  210. align-items: center;
  211. font-size: 36rpx;
  212. background-color:#1A1A1A ;
  213. color: white;
  214. margin-left: 20rpx;
  215. border-radius: 10rpx;
  216. }
  217. .price{
  218. font-size: 36rpx;
  219. color: #C5262C;
  220. display: flex;
  221. align-items: center;
  222. }
  223. .submit{
  224. width: 80rpx;
  225. height: 80rpx;
  226. display: flex;
  227. justify-content: center;
  228. align-items: center;
  229. font-size: 36rpx;
  230. background-color:#1A1A1A ;
  231. color: white;
  232. margin-left: 20rpx;
  233. }
  234. }
  235. }
  236. }
  237. }