index.scss 6.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392
  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: -10rpx;
  76. padding-top: 60rpx;
  77. border-radius: 20rpx 20rpx 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{
  107. position: relative;
  108. z-index: 2;
  109. }
  110. .text-shadow {
  111. position: absolute;
  112. bottom: 0;
  113. left: 0;
  114. width: 200rpx;
  115. height: 16rpx;
  116. background: linear-gradient(270deg, rgba(249, 231, 219, 0) 0%, #F9E7DB 100%);
  117. border-radius: 200rpx 0px 0px 200rpx;
  118. z-index: 1;
  119. }
  120. &::before {
  121. position: relative;
  122. z-index: 3;
  123. content: '';
  124. display: inline-block;
  125. width: 6rpx;
  126. height: 34rpx;
  127. background: linear-gradient(180deg, #FF6200 0%, #FF4C00 100%);
  128. border-radius: 3rpx;
  129. margin-right: 8rpx;
  130. margin-top: 2rpx;
  131. }
  132. }
  133. .home-special-area-right {
  134. display: flex;
  135. align-items: center;
  136. justify-content: flex-end;
  137. font-size: 30rpx;
  138. color: #999;
  139. }
  140. }
  141. .home-special-img {
  142. // height: 260rpx;
  143. padding: 0 30rpx;
  144. // background-color: #fff;
  145. display: flex;
  146. align-items: flex-start;
  147. justify-content: space-between;
  148. overflow-x: scroll;
  149. overflow-y: hidden;
  150. .ListItem {
  151. width: 312rpx;
  152. position: relative;
  153. margin-right: 24rpx;
  154. .kudosicon {
  155. width: 40rpx;
  156. height: 40rpx;
  157. position: absolute;
  158. right: 28rpx;
  159. top: 16rpx;
  160. border-radius: 50%;
  161. background: #FFFFFF;
  162. opacity: 0.84;
  163. display: flex;
  164. align-items: center;
  165. justify-content: center;
  166. }
  167. }
  168. .ListItem:last-child {
  169. margin-right: 0;
  170. }
  171. }
  172. .home-banner {
  173. height: 640rpx;
  174. padding: 0 30rpx;
  175. padding-top: 40rpx;
  176. background-color: #f9f9f9;
  177. .home-banner-img {
  178. position: relative;
  179. width: 100%;
  180. // height: 100%;
  181. .baner-video {
  182. position: absolute;
  183. top: 0;
  184. left: 0;
  185. }
  186. .banner-img {
  187. position: absolute;
  188. top: 0;
  189. left: 0;
  190. z-index: 9;
  191. }
  192. .img-clean {
  193. position: absolute;
  194. right: 28rpx;
  195. top: 30rpx;
  196. z-index: 99;
  197. }
  198. .img-IHg {
  199. width: 84rpx;
  200. height: 84rpx;
  201. background-color: #fff;
  202. box-shadow: 0px 8rpx 24rpx 0px rgba(220, 222, 229, 0.4);
  203. border-radius: 50%;
  204. display: flex;
  205. align-items: center;
  206. justify-content: center;
  207. position: fixed;
  208. top: 1030rpx;
  209. right: 30rpx;
  210. z-index: 99;
  211. }
  212. }
  213. }
  214. .home-attach {
  215. background-color: #f9f9f9;
  216. padding: 25rpx 30rpx 5rpx;
  217. }
  218. .home-hotel {
  219. height: 120rpx;
  220. background-color: #f9f9f9;
  221. }
  222. .home-hotel-img {
  223. background-color: #F9f9f9;
  224. padding: 10rpx 30rpx 20rpx;
  225. .home-hotel-img-content {
  226. display: flex;
  227. align-items: flex-start;
  228. justify-content: space-between;
  229. flex-wrap: wrap;
  230. .home-hotel-img-content-item {
  231. width: 332rpx;
  232. background: #FFFFFF;
  233. box-shadow: 0px 4rpx 8rpx 0px rgba(0, 0, 0, 0.04);
  234. border-radius: 12rpx;
  235. margin-bottom: 26rpx;
  236. overflow: hidden;
  237. // &:nth-child(2n+1){
  238. // // position: relative;
  239. // top: -33px;
  240. // }
  241. // &:nth-child(1){
  242. // // position: relative;
  243. // top: 0;
  244. // }
  245. .home-hotel-img-content-item-img {
  246. width: 332rpx;
  247. height: 332rpx;
  248. object-fit: cover;
  249. object-position: center;
  250. }
  251. .home-hotel-img-content-item-img-long {
  252. width: 332rpx;
  253. height: 400rpx;
  254. object-fit: cover;
  255. object-position: center;
  256. }
  257. .text {
  258. display: flex;
  259. flex-direction: column;
  260. align-items: flex-start;
  261. justify-content: center;
  262. padding: 18rpx 22rpx 32rpx;
  263. .text-top {
  264. font-size: 28rpx;
  265. font-weight: bold;
  266. color: #333;
  267. }
  268. .text-main {
  269. display: none;
  270. margin-top: 20rpx;
  271. font-size: 24rpx;
  272. color: #999999;
  273. }
  274. }
  275. }
  276. }
  277. .home-hotel-img-more {
  278. height: 70rpx;
  279. background-color: #fff;
  280. border-radius: 10rpx;
  281. border: 2rpx solid #ddd;
  282. font-size: 28rpx;
  283. color: #5A5A5A;
  284. display: flex;
  285. align-items: center;
  286. justify-content: center;
  287. margin-top: 50rpx;
  288. }
  289. }
  290. .home-brand {
  291. height: 124rpx;
  292. background-color: #f9f9f9;
  293. }
  294. .home-brand-img {
  295. padding: 0 30rpx;
  296. background-color: #f9f9f9;
  297. zhe::v-deep .uni-swiper__dots-item {
  298. width: 22rpx !important;
  299. height: 2rpx !important;
  300. }
  301. ::v-deep .uni-swiper__dots-bar {
  302. width: 22rpx !important;
  303. height: 2rpx !important;
  304. }
  305. ::v-deep .uni-swiper__warp {
  306. overflow: unset !important;
  307. }
  308. .swiper-box {
  309. background-color: #f9f9f9;
  310. height: 200rpx;
  311. ::v-deep swiper-item {
  312. width: 100%;
  313. display: flex;
  314. align-items: center;
  315. justify-content: space-between;
  316. view {
  317. width: 164rpx;
  318. height: 162rpx;
  319. background: #FFFFFF;
  320. box-shadow: 0px 4rpx 8rpx 0rpx rgba(220, 222, 229, 0.4);
  321. border-radius: 32rpx;
  322. display: flex;
  323. align-items: center;
  324. justify-content: center;
  325. image {
  326. border-radius: 32rpx;
  327. }
  328. }
  329. }
  330. }
  331. }
  332. .home-bottom {
  333. background-color: #f9f9f9;
  334. padding-top: 120rpx;
  335. }