/**index.wxss**/
@import '../../app.wxss';

.container > .flex-item {
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.imgContent {
  width: 100%;
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  overflow: hidden;
}

.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: 0;
  position: relative;
  overflow: hidden;
  background: #eee;
  padding-bottom: 120%;
}

.banner .remark {
  width: 100%;
  height: 180rpx;
  position: absolute;
  overflow: hidden;
  left: 0;
  bottom: 0;
  z-index: 10;
  background: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.7));
  background: -webkit-linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.7));
}

.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: 22rpx;
  margin-left: 25rpx;
  color: #999;
}

.mainInfo .list > view text:first-child {
  color: #333;
  margin-left: 0;
}

.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 .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;
}
