/**index.wxss**/ @import '../../app.wxss'; .maxSwiper { width: 100%; position: absolute; left: 0; top: 0; bottom: 0; z-index: 1000; background: #000; } .maxSwiper > swiper { width: 100%; height: 100%; } .container > .flex-item { position: relative; overflow: hidden; z-index: 1; } .imgContent { width: 100%; position: absolute; left: 0; top: 0; bottom: 0; overflow: hidden; z-index: 1; } .imgContent > swiper { width: 100%; height: 100%; } .imgContent > swiper .swiper-item { width: 100%; height: 100%; position: relative; overflow: hidden; } .container > .flex-item > .content { width: 100%; height: 100%; position: relative; overflow-y: scroll; -webkit-overflow-scrolling: touch; transform: translateZ(0); -webkit-transform: translateZ(0); } .banner { width: 100%; height:420rpx; position: relative; overflow: hidden; background: #eee; /* padding-bottom: 120%; */ } .remark{ width: 100%; height: 148rpx; overflow: hidden; position: absolute; } .remark > view { width: 100%; } .remark .name { font-size: 30rpx; line-height: 44rpx; margin-left: 40rpx; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-weight: bold; } .remark .price { font-size: 24rpx; line-height: 44rpx; margin-right: 40rpx; margin-left: 20rpx; max-width:50%; } .remark > view > text { display: block; padding: 0 40rpx; font-size: 24rpx; line-height: 38rpx; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } /* .banner .remark { width: 100%; height: 200rpx; position: absolute; overflow: hidden; left: 0; bottom: 0; z-index: 10; background: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.9)); background: -webkit-linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.9)); } .banner .remark > view { width: 100%; } .banner .remark .name { font-size: 30rpx; color: #fff; line-height: 44rpx; margin-left: 40rpx; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-weight: bold; } .banner .remark .price { font-size: 24rpx; color: #fff; line-height: 44rpx; margin-right: 40rpx; margin-left: 20rpx; } .banner .remark > view > text { display: block; padding: 0 40rpx; color: #fff; font-size: 24rpx; line-height: 38rpx; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } */ .banner .wx-swiper-dots { bottom: 200rpx; position: absolute; left: auto !important; right: 0; } .subContent { width: 100%; position: relative; overflow: hidden; background: #fff; margin-bottom: 20rpx; } .subContent .title { width: 100%; display: block; font-size: 30rpx; line-height: 44rpx; font-weight: bold; text-indent: 42rpx; margin-top: 50rpx; position: relative; } .subContent .title::after { content: ''; width: 6rpx; height: 30rpx; background: red; display: block; position: absolute; left: 22rpx; top: 50%; transform: translateY(-50%); -webkit-transform: translateY(-50%); } .mainInfo .list { padding: 0 50rpx; margin-top: 15rpx; margin-bottom: 15rpx; } .mainInfo .list > view { align-items: center; } .mainInfo .list > view text { line-height: 44rpx; font-size: 24rpx; margin-left: 25rpx; color: #999; } .mainInfo .list > view text:first-child { color: #333; margin-left: 0; } .mainInfo .list > view text .txtred{ color: #e23838; } .roomType .list { width: 100%; position: relative; overflow-x: scroll; overflow-y: hidden; -webkit-overflow-scrolling: touch; transform: translateZ(0); -webkit-transform: translateZ(0); white-space: nowrap; margin-top: 40rpx; margin-bottom: 30rpx; } .roomType .info { white-space: nowrap; margin-top: 5rpx; } .roomType .info text { display: inline-block; vertical-align: middle; line-height: 38rpx; font-size: 26rpx; margin-right: 20rpx; } .roomType .list > view { display: inline-block; position: relative; overflow: hidden; width: 235rpx; margin-right: 40rpx; } .roomType .list > view:first-child { margin-left: 40rpx; } .roomType .list > view .img { width: 100%; box-sizing: border-box; border: 1rpx solid #eee; padding-bottom: 100%; position: relative; overflow: hidden; } .roomType .list > view .img.photos{ padding-bottom: 60%; border-radius: 10rpx; } .roomType .item > text { display: inline-block; line-height: 32rpx; font-size: 22rpx; color: #9e886e; padding: 0 10rpx; background: #f9eed9; margin-top: 5rpx; } .foot { position: relative; overflow: hidden; z-index: 100; background: #fff; box-shadow: 0 0 20rpx 10rpx rgba(0, 0, 0, 0.05); } .foot > view { white-space: nowrap; text-align: center; padding: 25rpx 0; position: relative; } .foot > view:nth-child(2)::after { content: ''; width: 2rpx; height: 30%; display: block; position: absolute; right: 0; top: 50%; transform: translateY(-50%); -webkit-transform: translateY(-50%); background: #ccc; } .foot > view image { display: inline-block; vertical-align: middle; margin-right: 10rpx; } .foot > view text { display: inline-block; vertical-align: middle; line-height: 46rpx; font-size: 26rpx; } .looker { padding: 16rpx 40rpx; background: #fff; position: relative; overflow: hidden; margin-bottom: 20rpx; } .looker > text { width: 100%; display: block; white-space: nowrap; line-height: 34rpx; font-size: 20rpx; color: #333; } .looker > text text { font-size: 24rpx; font-weight: bold; display: inline-block; line-height: 34rpx; } .looker .list { white-space: nowrap; margin-top: 20rpx; } .looker .list > view { display: inline-block; width: 64rpx; height: 64rpx; position: relative; overflow: hidden; border-radius: 100%; border: 4rpx solid #fff; box-shadow: 0 0 20rpx 10rpx rgba(0, 0, 0, 0.05); vertical-align: middle; margin-left: -24rpx; } .looker .list > view:first-child { margin-left: 0; } .looker .list > view > view{ width: 100%; height: 100%; position: absolute; display: block; z-index: 2; background: rgba(0, 0, 0, 0.5); } .looker .list > view > view text { color: #fff; } .map { padding: 0 20px; position: relative; overflow: visible; margin-top: 40rpx; } .map > view { width: 100%; position: relative; overflow: hidden; box-shadow: 0 0 20rpx 10rpx rgba(0, 0, 0, 0.05); border-radius: 10rpx; background: #fff; } .mapBox { width: 100%; position: relative; overflow: hidden; height: 0; padding-bottom: 45%; background: #eee; } .mapBox > view { width: 100%; position: absolute; top: 0; bottom: 0; overflow: hidden; } .mapBox > view > image{ width:100%; height:100%; } .map > view > view.flex-h { align-items: center; padding: 25rpx 0; } .map > view > view.flex-h image { width: 30rpx; margin-right: 20rpx; } .map > view > view.flex-h > .flex-item { margin-left: 36rpx; margin-right: 10rpx; } .map > view > view.flex-h > .flex-item text { width: 100%; display: block; line-height: 26rpx; font-size: 18rpx; color: #666; } .map > view > view.flex-h > .flex-item text:first-child { line-height: 30rpx; font-size: 23rpx; color: #333; } .map > view > view.flex-h > text { font-size: 27rpx; color: #bb9c79; margin-right: 10rpx; } .transInfo { align-items: center; margin-top: 30rpx; margin-bottom: 20rpx; } .transInfo image { width: 38rpx; display: inline-block; margin: 8rpx auto 10rpx; } .transInfo > view { text-align: center; } .transInfo > view text { width: 100%; display: block; text-align: center; font-size: 22rpx; line-height: 34rpx; color: #666; } .transInfo > view text:first-child { font-size: 26rpx; font-weight: bold; line-height: 38rpx; }