/* nova-tourism/pages/homestay/homestay-detail/index.wxss */ .all { width: 100vw; height: 100vh; background-color: #ECECEC; position: relative; overflow-y: scroll; color: #382E2E; font-weight: 400; .picturebox { width: 100%; height: 456rpx; position: relative; .img { width: 100%; height: 456rpx; image { width: 100%; height: 100%; } } .numberbox { position: absolute; bottom: 38rpx; right: 20rpx; z-index: 10; color: white; width: 88rpx; height: 54rpx; font-size: 28rpx; display: flex; justify-content: center; align-items: center; background-color: rgba(12, 12, 12, 0.5); } } .card { width: 100%; height: auto; position: absolute; top: 430rpx; .Legendary-Information { width: 100%; height: auto; background-color: white; border-radius: 20px; /* 左上角圆角 */ padding-top: 40rpx; padding-left: 40rpx; padding-right: 40rpx; padding-bottom: 20rpx; .info-name { width: 100%; height: 60rpx; display: flex; align-items: center; .name-tex { font-size: 38rpx; font-weight: 700; } .name-pic { height: 46rpx; width: 46rpx; margin-left: auto; } } .info-intr { font-size: 30rpx; width: 100%; height: auto; margin-left: 10rpx; } .info-intr2 { margin-top: 10rpx; font-size: 30rpx; width: 100%; height: auto; margin-left: 4rpx; color: skyblue; display: flex; } .info-map { width: 100%; display: flex; align-items: center; margin-top: 20rpx; .map { width: 455rpx; height: 146rpx; } .info-call { width: 156rpx; height: auto; display: flex; justify-content: center; align-items: center; flex-direction: column; margin-left: 35rpx; image { width: 48rpx; height: 48rpx; } .call-tex { font-size: 24rpx; margin-top: 10rpx; } } } } } .roomcard { width: 100%; height: auto; padding-bottom: 40rpx; border-top-left-radius: 20rpx; border-top-right-radius: 20rpx; margin-top: 20rpx; padding-left: 10rpx; padding-right: 10rpx; background-color: white; .timebox { width: 100%; height: 90rpx; background-color: white; display: flex; align-items: flex-end; position: relative; padding-left: 10rpx; margin-bottom: 12rpx; .time { width: 150rpx; margin-left: 10rpx; .time-tex { font-size: 28rpx; color: gray; } .time-time { font-size: 30rpx; font-weight: 600; } } .time_tex2 { font-size: 24rpx; margin-left: 20rpx; margin-bottom: 2rpx; } } .room-card { width: 100%; height: 334rpx; padding-left: 38rpx; padding-right: 38rpx; border: solid #e5e5e5 2rpx; box-shadow: 0 4rpx 10rpx rgba(0, 0, 0, 0.2); padding-top: 40rpx; border-radius: 30rpx; margin-bottom: 24rpx; position: relative; .room-card1 { width: 100%; height: auto; display: flex; image { width: 166rpx; height: 222rpx; margin-right: 20rpx; border-radius: 4rpx; } .room-card-textbox { width: 400rpx; height: auto; .room-card-textbox-titlebox { display: flex; .room-card-textbox-title { font-size: 34rpx; font-weight: 700; } } .room-card-textbox-info { font-size: 24rpx; width: 400rpx; height: auto; margin-top: 10rpx; margin-bottom: 20rpx; } .room-card-textbox-label { width: 400rpx; height: auto; display: flex; flex-wrap: wrap; .room-card-textbox-label2 { width: auto; font-size: 20rpx; margin-right: 20rpx; padding-left: 4rpx; padding-right: 4rpx; display: flex; justify-content: center; align-items: center; border: solid #e5e5e5 2rpx; white-space: normal; margin-top: 10rpx; color: #6384AF; } } } } .room-card2 { width: 712rpx; height: 100rpx; display: flex; justify-content: flex-end; position: absolute; bottom: 24rpx; right: 34rpx; align-items: flex-end; .no { width: 282rpx; height: 86rpx; display: flex; justify-content: center; align-items: center; font-size: 44rpx; font-weight: 700; background-color: #1A1A1A; color: white; margin-left: 20rpx; border-radius: 10rpx; } .price { height: 50rpx; font-size: 40rpx; font-weight: 700; color: #C5262C; display: flex; align-items: center; } .submit { // width: 86rpx; // height: 86rpx; display: flex; justify-content: center; align-items: center; font-size: 48rpx; padding: 15rpx 26rpx; background-color: #1A1A1A; color: white; font-weight: 700; margin-left: 20rpx; } } .close { position: absolute; top: 0; left: 0; width: 100%; height: 334rpx; border: solid #e5e5e5 2rpx; background: rgba(255, 255, 255, 0.541); border-radius: 30rpx; } } .wangbox{ width: 100%; display: flex; justify-content: center; align-items: center; flex-direction: column; margin-top: 60rpx; margin-bottom: 28rpx; .wang{ width: 206rpx; height: 46rpx; font-size: 32rpx; color: #67806A; background-image: url(https://file-cloud.fmode.cn/EbxZUK5lBI/20241126/dm1jj2032446503.png?imageView2/1/w/200/h/200); background-position: center; /* 背景图片居中 */ // background-size: cover; /* 背景图片覆盖整个元素 */ background-repeat: no-repeat; /* 不重复背景图片 */ display: flex; justify-content: center; align-items: center; } .wang2{ font-size: 24rpx; color: #969696; } } .wang-cardbox{ margin-top: 40rpx; width: 100%; background-color: white; overflow-y: hidden; padding-bottom: 40rpx; column-count: 2; /* 设置列数 */ column-gap: 16rpx; /* 设置列间距 */ .wang-card{ break-inside: avoid; /* 防止卡片在列之间断裂 */ margin-bottom: 20rpx; /* 设置卡片底部间距 */ width: 100%; /* 确保卡片宽度为100% */ image{ width: 100%; height: 204rpx; border-radius: 10rpx; } .wang-catex{ font-size: 26rpx; font-weight: 400; height: 76rpx; } .wang-numbox{ width: 100%; display: flex; align-items: center; .wang-num{ display: flex; justify-content: flex-end; align-items: flex-end; color: #C5262Ced; font-size: 30rpx; .wang-num1{ font-size: 32rpx; } .wang-num2{ font-size: 40rpx; } } .wang-submit{ width: 102rpx; height: 48rpx; font-size: 28rpx; color: white; background-color: #F8DA7F; border-radius: 15rpx; display: flex; justify-content: center; align-items: center; margin-left: auto; } } } } .more{ width: 100%; display: flex; align-items: center; justify-content: center; .more-tex{ font-size: 28rpx; color: #969696; } } } } .roomBox { background: whitesmoke; .titleBox { width: 100%; border-radius: 20rpx 20rpx 0 0; background: white; padding: 30rpx; display: flex; align-items: center; image { width: 48rpx; height: 40rpx; } .text { width: 700rpx; font-size: 30rpx; font-weight: bold; text-align: center; } } .picturebox { background: white; width: 100%; height: 338rpx; // margin: 10rpx 0; position: relative; .img { border-radius: 10rpx; margin: auto; width: 675rpx; height: 338rpx; image { border-radius: 10rpx; width: 100%; height: 100%; } } .numberbox { position: absolute; bottom: 20rpx; right: 60rpx; z-index: 10; color: white; width: 60rpx; height: 37rpx; font-size: 17rpx; display: flex; justify-content: center; align-items: center; background-color: rgba(12, 12, 12, 0.5); } } .tagBox { padding: 30rpx; background: white; .title { font-size: 30rpx; font-weight: bold; } .tags { font-size: 24rpx; color: black; padding-top: 14rpx; display: flex; flex-wrap: wrap; padding-left: 50rpx; .tag { width: 50%; height: 53rpx; } .tag2 { width: 33%; height: 53rpx; } } } .serverBox { margin-top: 30rpx; } .ruleBox { margin-top: 30rpx; .sub_title { font-size: 13rpx; margin-bottom: 20rpx; margin-top: 5rpx; } .list { display: flex; .key { font-size: 20rpx; font-weight: bold; width: 66rpx; height: 53rpx; } .value { font-size: 20rpx; } } } .payBox { background: white; width: 100%; display: flex; height: 82rpx; .phonBox { width: 288rpx; display: flex; align-items: center; justify-content: space-around; >view { display: flex; align-items: center; justify-content: space-around; image { width: 47rpx; height: 48rpx; margin-right: 20rpx; } text { font-size: 26rpx; } } } .pay { width: 462rpx; font-size: 32rpx; background: #F89B7F; display: flex; justify-content: center; align-items: center; color: white; } } }