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