/* pages/detail/detail.wxss */
|
@import "../template/cart-input/cart-input-template.wxss";
|
@import "/src/wxParse/wxParse.wxss";
|
@import "../ticketCenter/ticketCenter.wxss";
|
|
page {
|
height: 100%;
|
background-color: #fff;
|
}
|
|
swiper {
|
height: 750rpx;
|
}
|
|
.details-img {
|
padding: 0 10rpx;
|
}
|
|
.details-img image {
|
width: 100%;
|
}
|
|
.des {
|
display: flex;
|
flex-direction: column;
|
padding: 20rpx 20rpx 0 20rpx;
|
line-height: 60rpx;
|
/* border-bottom: 2rpx solid #ddd; */
|
margin-bottom: 10rpx;
|
background-color: #fff;
|
position: relative;
|
}
|
|
/* #posterCreate, */
|
.icon-share-poster {
|
position: absolute;
|
right: 0rpx;
|
top: 10rpx;
|
/* 注释z-index 解决苹果上的z-index层级问题 */
|
/* z-index: 100; */
|
}
|
|
.des-title {
|
font-size: 32rpx;
|
}
|
|
.des-price {
|
font-size: 42rpx;
|
color: #f23232;
|
}
|
|
.des-sale-price {
|
font-size: 22rpx;
|
color: #c1c1c1;
|
text-decoration: line-through;
|
}
|
|
/*选项卡 */
|
|
.selected {
|
border-bottom: 7rpx solid #229bc9;
|
font-weight: 600;
|
}
|
|
.nav {
|
border-top: 1rpx solid #ddd;
|
display: flex;
|
justify-content: space-around;
|
margin: 15rpx 0;
|
}
|
|
.title {
|
height: 70rpx;
|
padding: 0 20rpx;
|
line-height: 70rpx;
|
text-align: center;
|
font-size: 32rpx;
|
}
|
|
.detalis-text {
|
display: flex;
|
flex-direction: column;
|
}
|
|
.attr-title {
|
font-size: 32rpx;
|
padding: 10rpx 30rpx;
|
color: #333;
|
font-weight: bold;
|
}
|
|
.text {
|
font-size: 28rpx;
|
padding: 10rpx 30rpx;
|
color: #333;
|
}
|
|
.text text {
|
font-size: 26rpx;
|
}
|
|
.reviews {
|
padding: 20rpx;
|
font-size: 26rpx;
|
background-color: #fff;
|
height: 100%;
|
}
|
|
.has-footer {
|
padding-bottom: 180rpx;
|
}
|
|
/*底部 */
|
|
.buy-nav {
|
position: fixed;
|
bottom: 0;
|
height: 100rpx;
|
display: flex;
|
flex-direction: row;
|
width: 100%;
|
box-shadow: 0 -2rpx 5rpx #c1c1c1;
|
}
|
|
.buy-nav-left, .buy-nav-right {
|
display: flex;
|
flex-direction: row;
|
}
|
|
.buy-nav-left {
|
flex: 0.4;
|
color: #666;
|
}
|
|
.buy-nav-right {
|
flex: 0.6;
|
}
|
|
.buy-nav-left .icon {
|
flex: 1;
|
display: flex;
|
flex-direction: column;
|
background-color: #fff;
|
text-align: center;
|
padding-top: 15rpx;
|
}
|
|
.buy-nav-left .icon .iconfont {
|
font-size: 20px;
|
}
|
|
/* .buy-nav-left .icon view {
|
display: flex;
|
flex-direction: column;
|
} */
|
|
.buy-nav-right view {
|
flex: 1;
|
font-size: 32rpx;
|
color: #fff;
|
border: none;
|
box-sizing: border-box;
|
padding: 0 20rpx;
|
line-height: 100rpx;
|
text-align: center;
|
}
|
|
.to-cart {
|
background-color: #f6ab41;
|
}
|
|
.now-buy {
|
background-color: #f62424;
|
}
|
|
/*隐藏层 */
|
.goods-layer view {
|
overflow: visible;
|
}
|
|
.goods-layer {
|
padding: 20rpx;
|
overflow: visible;
|
}
|
|
.goods-layer .goods-row {
|
display: flex;
|
flex-direction: row;
|
position: relative;
|
padding-bottom: 30rpx;
|
overflow: visible;
|
}
|
|
.goods-row image {
|
width: 150rpx;
|
height: 150rpx;
|
padding-right: 20rpx;
|
}
|
|
.goods-row-txt {
|
display: flex;
|
flex-direction: column;
|
padding: 0 20rpx;
|
}
|
|
.goods-row .goods-title {
|
/* line-height: 80rpx; */
|
font-size: 30rpx;
|
max-width: 500rpx;
|
overflow: hidden;
|
|
}
|
|
.goods-row .goods-price {
|
width: 200rpx;
|
line-height: 60rpx;
|
color: #f23232;
|
font-size: 30rpx;
|
}
|
|
.goods-row .iconfont {
|
position: absolute;
|
right: -20rpx;
|
top: 0;
|
width: 50rpx;
|
height: 50rpx;
|
}
|
|
.btn-next {
|
width: 100%;
|
height: 100rpx;
|
background: #f62424;
|
color: #fff;
|
line-height: 100rpx;
|
text-align: center;
|
font-size: 30rpx;
|
border-radius: 0;
|
border: none;
|
}
|
|
.goods-num {
|
font-size: 28rpx;
|
line-height: 70rpx;
|
}
|
|
.input {
|
justify-content: space-between;
|
}
|
|
.contact-layer, .contact-div {
|
overflow: visible;
|
}
|
|
.goods-input {
|
overflow: visible;
|
}
|
|
/*tab切换效果 Cosmo */
|
|
.tab-nav {
|
height: 40px;
|
line-height: 38px;
|
width: 100%;
|
position: fixed;
|
top: 0;
|
left: 0;
|
z-index: 9;
|
background-color: #fff;
|
box-shadow: 0 0 8rpx #c1c1c1;
|
|
}
|
|
.tab-nav-c {
|
display: flex;
|
flex-direction: row;
|
align-items: center;
|
}
|
|
.tab-nav .tab-nav-c view {
|
height: 40px;
|
width: 90px;
|
font-size: 12px;
|
text-align: center;
|
color: #333;
|
box-sizing: border-box;
|
border-bottom: 2px solid #fff;
|
}
|
|
.tab-nav view.on {
|
border-bottom: 2px solid #2252a5;
|
color: #2252a5;
|
}
|
|
/*tab切换效果 */
|
|
.tab-box {
|
margin-top: 40px;
|
}
|
|
.cosmo-detail {
|
position: fixed;
|
bottom: 50px;
|
height: 600rpx;
|
}
|
|
.price {
|
color: #f23232;
|
}
|
|
c-contact .contact-layer {
|
top: 860rpx;
|
}
|
|
.authorize-phone van-dialog van-popup .van-popup {
|
top: -50% !important;
|
}
|
|
.not-buy {
|
background-color: #ccc;
|
}
|
|
.not-buy + .not-buy {
|
border-left: 1px solid #fff;
|
}
|
|
.notice-bar {
|
position: fixed;
|
bottom: 100rpx;
|
width: 100%;
|
}
|
|
.notice-bar .van-notice-bar__wrap {
|
text-align: center;
|
|
}
|
|
.notice-bar .van-notice-bar__content {
|
position: static;
|
}
|
|
.detail-price {
|
height: 100rpx;
|
display: flex;
|
align-items: center;
|
justify-content: space-between;
|
padding: 0 20rpx;
|
background: linear-gradient(to right, #ff6034, #ee0a24);
|
margin-top: -1rpx;
|
}
|
|
.detail-price .des-price {
|
color: #fff;
|
}
|
|
.contdown-div {
|
background-color: #fff;
|
border-radius: 25rpx;
|
padding: 2rpx 35rpx;
|
}
|
|
van-count-down .van-count-down {
|
color: #f23232;
|
font-size: 30rpx;
|
}
|
|
.contdown {
|
display: flex;
|
flex-direction: column;
|
align-items: center;
|
}
|
|
.des-quantity {
|
color: #f23232;
|
font-weight: bold;
|
font-size: 28rpx;
|
}
|
|
.info-text {
|
color: #ff0000;
|
}
|
|
video {
|
width: 100%;
|
}
|
|
/* c-wxparse .wxParse-video-video{
|
width: 100%;
|
} */
|
.goods-tags {
|
display: flex;
|
flex-wrap: wrap;
|
margin: 20rpx 0;
|
}
|
.goods-tag{
|
margin-right: 30rpx;
|
margin-bottom: 20rpx;
|
}
|
.goods-tag .van-tag{
|
padding: 8rpx 20rpx;
|
color:#333;
|
box-sizing: border-box;
|
}
|
.goods-tag.checked .van-tag{
|
border: 1rpx solid #f23232;
|
background-color: #f8dede !important;
|
color: #f23232 !important;
|
|
}
|
|
.goods-tag.disabled-tag .van-tag{
|
background-color: #f8f8f8 !important;
|
color: #d3d3d3 !important;
|
text-decoration:line-through;
|
}
|
.selected-container{
|
background-color: #f8f8f8;
|
padding: 20rpx 0;
|
}
|
.my-cell.no-wrap{
|
max-width: 580rpx;
|
}
|
|
/*.btn-cell-group{*/
|
/* display: flex;*/
|
/* justify-content: space-between;*/
|
/*}*/
|
.btn-cell-group .van-goods-action{
|
position: relative;
|
}
|
.flex1{
|
flex:1;
|
}
|
.btn-cell .van-button__text{
|
font-size: 28rpx;
|
}
|
/*.selected-container .van-cell-text{*/
|
/* font-size: 2*/
|
/*}*/
|