index.less 7.2 KB

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