You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
647 lines
11 KiB
647 lines
11 KiB
/* pages/info/hotelProductInfo/index.wxss */
|
|
page {
|
|
background: #f2f2f2;
|
|
}
|
|
.swiper {
|
|
width: 100%;
|
|
height: 420rpx;
|
|
}
|
|
.swiper image,.swiper video {
|
|
height: 420rpx;
|
|
display: block;
|
|
width: 100%;
|
|
}
|
|
.top-info {
|
|
border-radius: 20rpx 20rpx 0 0;
|
|
background: white;
|
|
position: relative;
|
|
z-index: 1;
|
|
margin-top: -20rpx;
|
|
padding: 20rpx 40rpx;
|
|
}
|
|
.top-info .title {
|
|
font-size: 32rpx;
|
|
font-weight: 500;
|
|
color: #000;
|
|
}
|
|
.top-info .subtitle {
|
|
color: #666;
|
|
font-size: 27rpx;
|
|
margin-top: 20rpx;
|
|
}
|
|
.tags-box {
|
|
margin-top: 10rpx;
|
|
display: flex;
|
|
align-items: center;
|
|
color: #0B898E;
|
|
font-size: 27rpx;
|
|
height: 50rpx;
|
|
}
|
|
.tags-box .tag {
|
|
position: relative;
|
|
line-height: 20rpx;
|
|
font-size: 20rpx;
|
|
font-weight: 500;
|
|
line-height: 50rpx;
|
|
margin-right: 10rpx;
|
|
}
|
|
.tags-box .tag .line {
|
|
content: "1";
|
|
display: block;
|
|
font-size: 0;
|
|
position: absolute;
|
|
left: 0;
|
|
right: 0;
|
|
background: #DAF3E9;
|
|
height: 8rpx;
|
|
top: 30rpx;
|
|
z-index: -1;
|
|
}
|
|
.tags-price {
|
|
flex: 1;
|
|
text-align: right;
|
|
color: #D62828;
|
|
}
|
|
.tags-price text:nth-child(1){
|
|
font-size: 27rpx;
|
|
}
|
|
.tags-price text:nth-child(2){
|
|
font-size: 40rpx;
|
|
font-weight: bold;
|
|
}
|
|
.tags-price text:nth-child(3){
|
|
font-size: 20rpx;
|
|
color: #999999;
|
|
margin-left: 4rpx;
|
|
}
|
|
.tags-box .iconfont {
|
|
margin-left: 4rpx;
|
|
font-size: 24rpx;
|
|
}
|
|
.address-box {
|
|
justify-content: space-between;
|
|
margin-top: 0;
|
|
}
|
|
.info-address {
|
|
color: #666;
|
|
font-size: 27rpx;
|
|
margin-bottom: 0rpx;
|
|
height: 30rpx;
|
|
line-height: 30rpx;
|
|
}
|
|
.address-box .iconfont {
|
|
font-size: 34rpx;
|
|
}
|
|
.date-all-box {
|
|
margin: 24rpx 20rpx;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
height: 80rpx;
|
|
border-radius: 13rpx;
|
|
background: #0B898E;
|
|
font-size: 31rpx;
|
|
color: #fff;
|
|
font-weight: 500;
|
|
padding: 0 37rpx;
|
|
}
|
|
.days {
|
|
text-align: center;
|
|
font-size: 400;
|
|
width: 84rpx;
|
|
line-height: 34rpx;
|
|
height: 34rpx;
|
|
border-radius: 18rpx;
|
|
border: 1px solid white;
|
|
font-size: 23rpx;
|
|
}
|
|
.picker text {
|
|
font-weight: 400;
|
|
font-size: 21rpx;
|
|
margin-left: 13rpx;
|
|
}
|
|
.product-item {
|
|
display: flex;
|
|
align-items: flex-end;
|
|
justify-content: space-between;
|
|
margin: 20rpx;
|
|
padding: 24rpx 20rpx;
|
|
background: white;
|
|
border-radius: 13rpx;
|
|
}
|
|
.product-item image {
|
|
width: 201rpx;
|
|
height: 201rpx;
|
|
border-radius: 10rpx;
|
|
margin-right: 26rpx;
|
|
flex-shrink: 0;
|
|
}
|
|
.product-item .product-info {
|
|
flex: 1;
|
|
}
|
|
.product-item .product-info .title {
|
|
font-size: 32rpx;
|
|
color: #000;
|
|
font-weight: 500;
|
|
}
|
|
.product-right {
|
|
flex-shrink: 0;
|
|
margin-left: 20rpx;
|
|
}
|
|
.product-right .price {
|
|
color: #D62828;
|
|
font-size: 40rpx;
|
|
font-weight: 500;
|
|
}
|
|
.product-right .price::before {
|
|
content: "¥";
|
|
font-size: 27rpx;
|
|
font-weight: 400;
|
|
}
|
|
.product-right .btn {
|
|
color: #fff;
|
|
width: 120rpx;
|
|
line-height: 80rpx;
|
|
background: #D62828;
|
|
border-radius: 13rpx;
|
|
font-size: 31rpx;
|
|
font-weight: 500;
|
|
text-align: center;
|
|
margin-top: 20rpx;
|
|
}
|
|
.product-info .subtitle {
|
|
font-size: 24rpx;
|
|
line-height: 36rpx;
|
|
height: 72rpx;
|
|
margin-top: 10rpx;
|
|
margin-bottom: 20rpx;
|
|
color: #999;
|
|
white-space: normal;
|
|
}
|
|
.product-tags {
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
.product-tag {
|
|
font-size: 20rpx;
|
|
color: #0B898E;
|
|
border-radius: 16rpx;
|
|
line-height: 30rpx;
|
|
border: 1rpx solid;
|
|
padding: 0 15rpx;
|
|
margin-right: 13rpx;
|
|
}
|
|
.product-tags .product-tags:last-child {
|
|
margin-right: 0;
|
|
}
|
|
.box {
|
|
margin: 20rpx;
|
|
background: white;
|
|
border-radius: 13rpx;
|
|
}
|
|
.box-top {
|
|
line-height: 95rpx;
|
|
border-bottom: 1rpx solid #d9d9d9;
|
|
font-weight: 500;
|
|
color: #000;
|
|
font-size: 35rpx;
|
|
padding: 0 20rpx;
|
|
}
|
|
.box-top .iconfont {
|
|
color: #0B898E;
|
|
font-size: 33rpx;
|
|
margin-right: 16rpx;
|
|
}
|
|
.empty-box {
|
|
text-align: center;
|
|
padding: 40rpx 0;
|
|
font-size: 23rpx;
|
|
color: #333;
|
|
}
|
|
.empty-btn {
|
|
margin: 0 auto;
|
|
margin-top: 30rpx;
|
|
width: 283rpx;
|
|
line-height: 79rpx;
|
|
border: 1rpx solid #0B898E;
|
|
border-radius: 39rpx;
|
|
color: #0B898E;
|
|
font-size: 32rpx;
|
|
margin-bottom: 10rpx;
|
|
}
|
|
.box-top .score {
|
|
color: #D62828;
|
|
font-size: 30rpx;
|
|
font-weight: 400;
|
|
margin-left: 11rpx;
|
|
}
|
|
.product-comment {
|
|
margin: 0 20rpx;
|
|
border-bottom: 1rpx solid #ccc;
|
|
padding: 33rpx 0;
|
|
}
|
|
.product-comment-top {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
color: #999999;
|
|
align-items: center;
|
|
font-size: 24rpx;
|
|
}
|
|
.product-comment-top image {
|
|
flex-shrink: 0;
|
|
width: 57rpx;
|
|
height: 57rpx;
|
|
border-radius: 50%;
|
|
}
|
|
.product-comment-top .comment-info {
|
|
flex: 1;
|
|
margin: 0 15rpx;
|
|
color: #666;
|
|
font-size: 21rpx;
|
|
}
|
|
.product-comment-top .comment-info .iconfont {
|
|
color: #D62828;
|
|
font-size: 22rpx;
|
|
}
|
|
.product-comment-top .comment-info .iconfont text {
|
|
margin-right: 6rpx;
|
|
}
|
|
.comment-content {
|
|
margin-left: 72rpx;
|
|
margin-top: 36rpx;
|
|
font-size: 28rpx;
|
|
color: #000;
|
|
}
|
|
.more-comment-btn {
|
|
line-height: 93rpx;
|
|
margin-right: 20rpx;
|
|
text-align: right;
|
|
color: #999;
|
|
font-size: 27rpx;
|
|
font-weight: 500;
|
|
}
|
|
.more-comment-btn .iconfont {
|
|
margin-left: 6rpx;
|
|
font-size: 24rpx;
|
|
}
|
|
.all-comment-num {
|
|
float: right;
|
|
color: #999999;
|
|
font-size: 27rpx;
|
|
font-weight: 400;
|
|
}
|
|
.scroll-all-box {
|
|
margin: 24rpx 0;
|
|
background: white;
|
|
}
|
|
.scroll-menus {
|
|
padding: 0 40rpx;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
font-size: 29rpx;
|
|
color: #333;
|
|
height: 84rpx;
|
|
border-bottom: 1rpx solid #d9d9d9;
|
|
}
|
|
.scroll-menu-item {
|
|
position: relative;
|
|
line-height: 84rpx;
|
|
}
|
|
.scroll-menu-item.active::after {
|
|
content: "1";
|
|
font-size: 0;
|
|
display: block;
|
|
position: absolute;
|
|
width: 46rpx;
|
|
height: 6rpx;
|
|
border-radius: 3rpx;
|
|
background: #0B898E;
|
|
left: 50%;
|
|
margin-left: -23rpx;
|
|
bottom: 0rpx;
|
|
}
|
|
.fixed-menus {
|
|
position: fixed;
|
|
left: 0;
|
|
right: 0;
|
|
background: white;
|
|
z-index: 1;
|
|
}
|
|
.info-title {
|
|
font-size: 35rpx;
|
|
font-weight: bold;
|
|
color: #000;
|
|
margin-bottom: 30rpx;
|
|
}
|
|
.info-box {
|
|
padding: 20rpx 40rpx;
|
|
}
|
|
.fixed-bottom {
|
|
position: fixed;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
height: 140rpx;
|
|
background: white;
|
|
display: flex;
|
|
align-items: center;
|
|
box-shadow: 0px 0px 16rpx 0px rgba(6, 0, 1, 0.1);
|
|
padding: 0 40rpx;
|
|
color: #666666;
|
|
font-size: 23rpx;
|
|
justify-content: space-between;
|
|
text-align: center;
|
|
}
|
|
.fixed-bottom .iconfont {
|
|
font-size: 34rpx;
|
|
line-height: 40rpx;
|
|
}
|
|
.btns {
|
|
color: #fff;
|
|
font-size: 32rpx;
|
|
font-weight: 500;
|
|
border-radius: 39rpx;
|
|
text-align: center;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
.btns .btn{
|
|
width: 216rpx;
|
|
line-height: 78rpx;
|
|
background: #D62828;
|
|
}
|
|
.btns .btn:nth-child(1){
|
|
margin-right: 3rpx;
|
|
border-radius: 39rpx 0 0 39rpx;
|
|
}
|
|
.btns .btn:nth-child(2){
|
|
border-radius: 0 39rpx 39rpx 0;
|
|
}
|
|
.btns .btn.disable {
|
|
background: #ccc;
|
|
}
|
|
.mask-content {
|
|
position: absolute;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
width: 100%;
|
|
}
|
|
.mask-content .icon-close {
|
|
position: absolute;
|
|
right: 40rpx;
|
|
top: 40rpx;
|
|
}
|
|
.sku-info-box {
|
|
margin: 50rpx 40rpx;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
}
|
|
.sku-info-box image {
|
|
width: 218rpx;
|
|
height: 180rpx;
|
|
border-radius: 13rpx;
|
|
display: block;
|
|
margin-right: 40rpx;
|
|
flex-shrink: 0;
|
|
}
|
|
.sku-info {
|
|
flex: 1;
|
|
}
|
|
.sku-price {
|
|
font-size: 40rpx;
|
|
font-weight: 500;
|
|
color: #D62828;
|
|
margin: 20rpx 0;
|
|
}
|
|
.sku-price::before {
|
|
content: "¥";
|
|
font-weight: 400;
|
|
font-size: 27rpx;
|
|
}
|
|
.sku-name {
|
|
font-size: 27rpx;
|
|
color: #666666;
|
|
}
|
|
.sku-names {
|
|
display: flex;
|
|
font-size: 29rpx;
|
|
color: #333;
|
|
margin: 0 40rpx;
|
|
text-align: center;
|
|
flex-wrap: wrap;
|
|
margin-bottom: 20rpx;
|
|
}
|
|
.sku-name-item {
|
|
background: #EFEFEF;
|
|
border: 1rpx solid #EFEFEF;
|
|
width: 318rpx;
|
|
line-height: 77rpx;
|
|
border-radius: 14rpx;
|
|
margin-bottom: 25rpx;
|
|
margin-right: 30rpx;
|
|
}
|
|
.sku-name-item:nth-child(2n){
|
|
margin-right: 0;
|
|
}
|
|
.sku-name-item.active {
|
|
color: #0B898E;
|
|
border-color: #0B898E;
|
|
background: rgba(11, 137, 142, 0.1);
|
|
}
|
|
.number-box {
|
|
display: flex;
|
|
align-items: center;
|
|
border-top: 1rpx solid #ccc;
|
|
justify-content: space-between;
|
|
margin: 0 40rpx;
|
|
padding: 40rpx 0;
|
|
}
|
|
.number-box text {
|
|
flex: 1;
|
|
font-size: 29rpx;
|
|
color: #333;
|
|
}
|
|
.number-box view {
|
|
border: 1rpx solid #666;
|
|
border-radius: 7rpx;
|
|
text-align: center;
|
|
width: 67rpx;
|
|
line-height: 67rpx;
|
|
font-size: 33rpx;
|
|
color: #000;
|
|
}
|
|
.number-box view.disable {
|
|
border-color: #ccc;
|
|
color: #999;
|
|
}
|
|
.number-box view.number {
|
|
width: 94rpx;
|
|
margin: 0 15rpx;
|
|
}
|
|
.btn-box {
|
|
height: 138rpx;
|
|
background: #FFFFFF;
|
|
box-shadow: 0px 0px 16rpx 0px rgba(6, 0, 1, 0.1);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
position: fixed;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
}
|
|
.mask-btn {
|
|
width: 670rpx;
|
|
line-height: 78rpx;
|
|
background: #D62828;
|
|
border-radius: 39rpx;
|
|
color: #fff;
|
|
text-align: center;
|
|
font-size: 33rpx;
|
|
font-weight: 500;
|
|
}
|
|
.mask-btn.disable {
|
|
background: #ccc;
|
|
}
|
|
/* .icon-xin,.icon-shoucang {
|
|
position: absolute;
|
|
right: 20rpx;
|
|
margin-top: 20rpx;
|
|
width: 60rpx;
|
|
line-height: 60rpx;
|
|
background: rgba(0, 0, 0, 0.4);
|
|
border-radius: 50%;
|
|
text-align: center;
|
|
color: #fff;
|
|
font-size: 36rpx;
|
|
z-index: 1;
|
|
} */
|
|
.icon-fenxiang {
|
|
position: absolute;
|
|
right: 20rpx;
|
|
margin-top: 20rpx;
|
|
width: 60rpx;
|
|
line-height: 60rpx;
|
|
background: rgba(0, 0, 0, 0.4);
|
|
border-radius: 50%;
|
|
text-align: center;
|
|
color: #fff;
|
|
font-size: 36rpx;
|
|
z-index: 1;
|
|
}
|
|
.icon-shoucang {
|
|
color: #D62828;
|
|
font-size: 40rpx !important;
|
|
|
|
}
|
|
/* 购物车 */
|
|
.cart-box {
|
|
position: fixed;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 80rpx;
|
|
height: 80rpx;
|
|
background: #FFFFFF;
|
|
box-shadow: 0px 0px 20rpx 0px rgba(0, 0, 0, 0.2);
|
|
border-radius: 50%;
|
|
right: 20rpx;
|
|
bottom: 166rpx;
|
|
}
|
|
.cart-box image {
|
|
display: block;
|
|
width: 49rpx;
|
|
}
|
|
.cart-num {
|
|
width: 26rpx;
|
|
border: 1rpx solid;
|
|
border-radius: 50%;
|
|
line-height: 26rpx;
|
|
text-align: center;
|
|
font-size: 23rpx;
|
|
color: #D20000;
|
|
position: absolute;
|
|
right: -2rpx;
|
|
top: -5rpx;
|
|
}
|
|
.headimg {
|
|
position: fixed;
|
|
z-index: 3;
|
|
left: -218rpx;
|
|
width: 218rpx;
|
|
height: 180rpx;
|
|
top: 0;
|
|
}
|
|
.headimg.active {
|
|
transition: left .6s linear, top .6s cubic-bezier(0.5, -0.5, 1, 1),width .6s ease,height .6s ease;
|
|
width: 80rpx;
|
|
height: 80rpx;
|
|
left: 650rpx;
|
|
border-radius: 50%;
|
|
}
|
|
.share-img-box {
|
|
/* width: 551rpx; */
|
|
position: static;
|
|
background: none;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
.share-img {
|
|
display: block;
|
|
width: 551rpx;
|
|
}
|
|
.share-tips {
|
|
width: 426rpx;
|
|
height: 150rpx;
|
|
background: #FFFFFF;
|
|
border-radius: 25rpx;
|
|
margin-top: 25rpx;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 0 65rpx;
|
|
color: #999;
|
|
font-size: 24rpx;
|
|
text-align: center;
|
|
line-height: 40rpx;
|
|
}
|
|
.share-tips .img {
|
|
display: block;
|
|
width: 55rpx;
|
|
margin: 0 auto;
|
|
margin-bottom: 4rpx;
|
|
}
|
|
.tipimg {
|
|
position: absolute;
|
|
left: 50%;
|
|
margin-left: 16rpx;
|
|
width: 24rpx;
|
|
height: 24rpx;
|
|
background: #D62828;
|
|
border-radius: 50%;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
top: 34rpx;
|
|
}
|
|
.tipimg image {
|
|
width: 21rpx;
|
|
display: block;
|
|
|
|
}
|
|
.save-btn {
|
|
width: 403rpx;
|
|
line-height: 77rpx;
|
|
background: #D62828;
|
|
border-radius: 39rpx;
|
|
text-align: center;
|
|
color: #fff;
|
|
font-size: 31rpx;
|
|
font-weight: 500;
|
|
margin-top: 50rpx;
|
|
}
|