index.less 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168
  1. /* nova-tourism/pages/homestay/homestay-detail/index.wxss */
  2. .all{
  3. width: 100vw;
  4. height: 100vh;
  5. background-color: #f7f7f7;
  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. .Legendary-Information{
  36. width: 100%;
  37. background-color: white;
  38. border-top-left-radius: 20px; /* 左上角圆角 */
  39. border-top-right-radius: 20px; /* 右上角圆角 */
  40. position: absolute;
  41. top: 455rpx;
  42. padding-top: 20rpx;
  43. padding-left: 25rpx;
  44. padding-right: 20rpx;
  45. z-index: 10;
  46. overflow-y: hidden;
  47. padding-bottom: 20rpx;
  48. .text{
  49. width: 100%;
  50. height: 100rpx;
  51. display: flex;
  52. margin-top: 10rpx;
  53. .namebox{
  54. width: 75%;
  55. height: 100rpx;
  56. .name{
  57. font-size: 35rpx;
  58. font-weight: 500;
  59. }
  60. .adress{
  61. font-size: 30rpx;
  62. white-space: nowrap; /* 不换行 */
  63. overflow: hidden; /* 隐藏超出部分 */
  64. text-overflow: ellipsis; /* 超出部分显示省略号 */
  65. }
  66. }
  67. .markerbox{
  68. width: 25%;
  69. height: 100%;
  70. display: flex;
  71. justify-content: center;
  72. align-items: center;
  73. }
  74. }
  75. .datebox{
  76. width: 100%;
  77. height: 90rpx;
  78. background-color: #f7f7f7;
  79. display: flex;
  80. padding-left: 20rpx;
  81. padding-right: 20rpx;
  82. align-items: center;
  83. color: orange;
  84. font-size: 32rpx;
  85. .start{
  86. display: flex;
  87. justify-content: flex-end;
  88. }
  89. .day{
  90. display: flex;
  91. justify-content: center;
  92. align-items: center;
  93. margin-left: auto;
  94. width: 90rpx;
  95. height: 42rpx;
  96. border-radius: 40rpx;
  97. border: gray solid 1px;
  98. font-size: 25rpx;
  99. color: black;
  100. }
  101. .end{
  102. margin-left: auto;
  103. }
  104. }
  105. .cardbox{
  106. .card{
  107. width: 100%;
  108. height: 620rpx;
  109. background-color: white;
  110. margin-top: 15rpx;
  111. .img{
  112. width: 100%;
  113. height: 480rpx;
  114. }
  115. .name{
  116. font-size: 30rpx;
  117. }
  118. .intruduce{
  119. font-size: 28rpx;
  120. }
  121. .buttombox{
  122. width: 100%;
  123. height: 60rpx;
  124. color: red;
  125. display: flex;
  126. align-items: center;
  127. .salary{
  128. width: 50%;
  129. height: 100%;
  130. display: flex;
  131. .symbol{
  132. height: 100%;
  133. font-size: 28rpx;
  134. display: flex;
  135. align-items: flex-end;
  136. }
  137. .number{
  138. height: 100%;
  139. display: flex;
  140. align-items: flex-end;
  141. font-size: 35rpx;
  142. }
  143. }
  144. .buttom{
  145. width: 130rpx;
  146. height: 50rpx;
  147. font-size: 30rpx;
  148. color: white;
  149. background-color: red;
  150. border-radius: 48rpx;
  151. display: flex;
  152. justify-content: center;
  153. align-items: center;
  154. margin-left: auto;
  155. }
  156. }
  157. }
  158. }
  159. }
  160. }