index.scss 6.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385
  1. page {
  2. height: 100%;
  3. background-color: #f9f9f9;
  4. }
  5. .home {
  6. height: 100%;
  7. background-color: #f9f9f9;
  8. }
  9. //首页广告弹框
  10. .popup-banner {
  11. position: relative;
  12. .popup-banner-clean {
  13. position: absolute;
  14. top: 32rpx;
  15. right: 32rpx;
  16. width: 48rpx;
  17. height: 48rpx;
  18. background: #000000;
  19. opacity: 0.2;
  20. border-radius: 50%;
  21. display: flex;
  22. align-items: center;
  23. justify-content: center;
  24. }
  25. }
  26. .movableArea {
  27. position: fixed;
  28. top: 0;
  29. left: 0;
  30. width: 100%;
  31. height: 100%;
  32. z-index: 999;
  33. pointer-events: none; //设置area元素不可点击,则事件便会下移至页面下层元素
  34. .movableView {
  35. pointer-events: auto; //可以点击
  36. width: 84rpx;
  37. height: 84rpx;
  38. padding: 0 30rpx;
  39. .img-IHg {
  40. width: 84rpx;
  41. height: 84rpx;
  42. background-color: #fff;
  43. box-shadow: 0px 8rpx 24rpx 0px rgba(220, 222, 229, 0.4);
  44. border-radius: 50%;
  45. display: flex;
  46. align-items: center;
  47. justify-content: center;
  48. }
  49. }
  50. }
  51. .slot-wrap {
  52. display: flex;
  53. align-items: center;
  54. justify-content: center;
  55. flex: 1;
  56. }
  57. .home-swiper {
  58. width: 100%;
  59. height: 592rpx;
  60. .swiper-box {
  61. width: 100%;
  62. height: 592rpx;
  63. ;
  64. ::v-deep .swiper-item {
  65. width: 100%;
  66. height: 592rpx;
  67. display: flex;
  68. align-items: center;
  69. justify-content: space-between;
  70. }
  71. }
  72. }
  73. .home-nav {
  74. position: relative;
  75. top: -18rpx;
  76. padding-top: 60rpx;
  77. border-radius: 24rpx 24rpx 0px 0px;
  78. display: flex;
  79. align-items: center;
  80. justify-content: space-between;
  81. background-color: #f9f9f9;
  82. .home-nav-item {
  83. width: 20%;
  84. flex: none;
  85. display: flex;
  86. flex-direction: column;
  87. align-items: center;
  88. justify-content: center;
  89. }
  90. }
  91. .home-special-area {
  92. height: 146rpx;
  93. padding: 0 30rpx;
  94. // background-color: deeppink;
  95. display: flex;
  96. align-items: center;
  97. justify-content: space-between;
  98. .home-special-area-left {
  99. display: flex;
  100. align-items: center;
  101. justify-content: flex-start;
  102. color: #333;
  103. font-size: 36rpx;
  104. font-weight: 800;
  105. position: relative;
  106. .text-shadow {
  107. position: absolute;
  108. bottom: 0;
  109. left: 0;
  110. width: 200rpx;
  111. height: 16rpx;
  112. background: linear-gradient(270deg, rgba(249, 231, 219, 0) 0%, #F9E7DB 100%);
  113. border-radius: 200rpx 0px 0px 200rpx;
  114. }
  115. &::before {
  116. content: '';
  117. display: inline-block;
  118. width: 6rpx;
  119. height: 34rpx;
  120. background: linear-gradient(180deg, #FF6200 0%, #FF4C00 100%);
  121. border-radius: 3rpx;
  122. margin-right: 8rpx;
  123. margin-top: 2rpx;
  124. }
  125. }
  126. .home-special-area-right {
  127. display: flex;
  128. align-items: center;
  129. justify-content: flex-end;
  130. font-size: 30rpx;
  131. color: #999;
  132. }
  133. }
  134. .home-special-img {
  135. // height: 260rpx;
  136. padding: 0 30rpx;
  137. // background-color: #fff;
  138. display: flex;
  139. align-items: flex-start;
  140. justify-content: space-between;
  141. overflow-x: scroll;
  142. overflow-y: hidden;
  143. .ListItem {
  144. width: 312rpx;
  145. position: relative;
  146. margin-right: 24rpx;
  147. .kudosicon {
  148. width: 40rpx;
  149. height: 40rpx;
  150. position: absolute;
  151. right: 28rpx;
  152. top: 16rpx;
  153. border-radius: 50%;
  154. background: #FFFFFF;
  155. opacity: 0.84;
  156. display: flex;
  157. align-items: center;
  158. justify-content: center;
  159. }
  160. }
  161. .ListItem:last-child {
  162. margin-right: 0;
  163. }
  164. }
  165. .home-banner {
  166. height: 640rpx;
  167. padding: 0 30rpx;
  168. padding-top: 40rpx;
  169. .home-banner-img {
  170. position: relative;
  171. width: 100%;
  172. // height: 100%;
  173. .baner-video {
  174. position: absolute;
  175. top: 0;
  176. left: 0;
  177. }
  178. .banner-img {
  179. position: absolute;
  180. top: 0;
  181. left: 0;
  182. z-index: 9;
  183. }
  184. .img-clean {
  185. position: absolute;
  186. right: 28rpx;
  187. top: 30rpx;
  188. z-index: 99;
  189. }
  190. .img-IHg {
  191. width: 84rpx;
  192. height: 84rpx;
  193. background-color: #fff;
  194. box-shadow: 0px 8rpx 24rpx 0px rgba(220, 222, 229, 0.4);
  195. border-radius: 50%;
  196. display: flex;
  197. align-items: center;
  198. justify-content: center;
  199. position: fixed;
  200. top: 1030rpx;
  201. right: 30rpx;
  202. z-index: 99;
  203. }
  204. }
  205. }
  206. .home-attach {
  207. background-color: #f9f9f9;
  208. padding: 40rpx 30rpx 5rpx;
  209. }
  210. .home-hotel {
  211. height: 124rpx;
  212. background-color: #f9f9f9;
  213. }
  214. .home-hotel-img {
  215. background-color: #F9f9f9;
  216. padding: 20rpx 30rpx;
  217. .home-hotel-img-content {
  218. display: flex;
  219. align-items: flex-start;
  220. justify-content: space-between;
  221. flex-wrap: wrap;
  222. .home-hotel-img-content-item {
  223. width: 332rpx;
  224. background: #FFFFFF;
  225. box-shadow: 0px 4rpx 8rpx 0px rgba(0, 0, 0, 0.04);
  226. border-radius: 12rpx;
  227. margin-bottom: 26rpx;
  228. overflow: hidden;
  229. // &:nth-child(2n+1){
  230. // // position: relative;
  231. // top: -33px;
  232. // }
  233. // &:nth-child(1){
  234. // // position: relative;
  235. // top: 0;
  236. // }
  237. .home-hotel-img-content-item-img {
  238. width: 332rpx;
  239. height: 332rpx;
  240. object-fit: cover;
  241. object-position: center;
  242. }
  243. .home-hotel-img-content-item-img-long {
  244. width: 332rpx;
  245. height: 400rpx;
  246. object-fit: cover;
  247. object-position: center;
  248. }
  249. .text {
  250. display: flex;
  251. flex-direction: column;
  252. align-items: flex-start;
  253. justify-content: center;
  254. padding: 18rpx 22rpx 32rpx;
  255. .text-top {
  256. font-size: 28rpx;
  257. font-weight: bold;
  258. color: #333;
  259. }
  260. .text-main {
  261. display: none;
  262. margin-top: 20rpx;
  263. font-size: 24rpx;
  264. color: #999999;
  265. }
  266. }
  267. }
  268. }
  269. .home-hotel-img-more {
  270. height: 70rpx;
  271. background-color: #fff;
  272. border-radius: 10rpx;
  273. border: 2rpx solid #ddd;
  274. font-size: 28rpx;
  275. color: #5A5A5A;
  276. display: flex;
  277. align-items: center;
  278. justify-content: center;
  279. margin-top: 50rpx;
  280. }
  281. }
  282. .home-brand {
  283. height: 124rpx;
  284. background-color: #f9f9f9;
  285. }
  286. .home-brand-img {
  287. padding: 0 30rpx;
  288. background-color: #f9f9f9;
  289. zhe::v-deep .uni-swiper__dots-item {
  290. width: 22rpx !important;
  291. height: 2rpx !important;
  292. }
  293. ::v-deep .uni-swiper__dots-bar {
  294. width: 22rpx !important;
  295. height: 2rpx !important;
  296. }
  297. ::v-deep .uni-swiper__warp {
  298. overflow: unset !important;
  299. }
  300. .swiper-box {
  301. background-color: #f9f9f9;
  302. height: 200rpx;
  303. ::v-deep swiper-item {
  304. width: 100%;
  305. display: flex;
  306. align-items: center;
  307. justify-content: space-between;
  308. view {
  309. width: 164rpx;
  310. height: 162rpx;
  311. background: #FFFFFF;
  312. box-shadow: 0px 4rpx 8rpx 0rpx rgba(220, 222, 229, 0.4);
  313. border-radius: 32rpx;
  314. display: flex;
  315. align-items: center;
  316. justify-content: center;
  317. image {
  318. border-radius: 32rpx;
  319. }
  320. }
  321. }
  322. }
  323. }
  324. .home-bottom {
  325. background-color: #f9f9f9;
  326. padding-top: 120rpx;
  327. }