wpfw_ewei_shopv2/plugin/membercard/static/css/detail.css
2023-02-14 19:57:32 +08:00

595 lines
12 KiB
CSS

.card-swiper{
width: 100%;
height: 11rem;
background: #fff;
}
.card-swiper .swiper-slide {
width: 15.7rem;
height: 8rem;
border-radius: 4px;
margin: 0 0.35rem;
margin-top: 0.875rem;
transition: all .4s;
}
.card-swiper .swiper-slide-active {
width: 15.7rem;
height: 11rem;
border-radius: 4px;
margin-top: 0;
}
.clubcard{
width: 100%;
height: 8rem;
border-radius: 0.4rem;
margin-top: 0.5rem;
overflow: hidden;
box-sizing: border-box;
padding: 0.5rem;
text-align: center;
position: relative
}
.card-swiper .swiper-slide-active .clubcard{
height: 8.95rem;
margin-top: 0.9rem;
overflow: hidden;
}
.clubcard .content{
position: relative;
width: 100%;
height: 100%;
}
.clubcard .content:after{
content: "";
position: absolute;
left: 0;
right: 0;
top: 0;
bottom: 0;
border: 1px solid #000;
opacity: 0.1;
}
.clubcard .icon-bg{
position: absolute;
font-size: 5.1rem;
color: #000;
opacity: 0.1;
right: -1.4rem;
bottom: -2.65rem
}
.clubcard .icon{
padding-top: 0.65rem;
}
.clubcard .icon img{
display: inline-block;
width: 1.45rem;
height: 1.45rem;
}
.clubcard .title{
color: #fff;
font-size: 1.15rem;
opacity: 0.8;
line-height: 1;
margin-top: 0.25rem;
}
.clubcard .subtitle{
color: #fff;
font-size: 0.75rem;
opacity: 0.8;
line-height: 1;
margin-top: 0.4rem;
}
.clubcard .opencard{
color: #c1a167;
font-size: 0.8rem;
width: 5.2rem;
height: 1.6rem;
border-radius: 0.8rem;
background: #333;
margin: 0 auto;
line-height: 1.6rem;
margin-top: 0.8rem;
position: relative;
z-index: 999;
}
.card-style-golden{
background: -webkit-linear-gradient(left, #c1a167 , #e9d5aa);
background: -o-linear-gradient(right, #c1a167 , #e9d5aa);
background: -moz-linear-gradient(right, #c1a167 , #e9d5aa);
background: linear-gradient(to right, #c1a167 , #e9d5aa);
box-shadow: 0 26px 40px -24px rgba(193, 161, 103, 0.6);
}
.card-style-erythrine{
background: -webkit-linear-gradient(left, #745757 , #966d6d);
background: -o-linear-gradient(right, #745757 , #966d6d);
background: -moz-linear-gradient(right, #745757 , #966d6d);
background: linear-gradient(to right, #745757 , #966d6d);
box-shadow: 0 26px 40px -24px rgba(116, 87, 87, 0.6);
}
.card-style-gray{
background: -webkit-linear-gradient(left, #434247 , #7a7985);
background: -o-linear-gradient(right, #434247 , #7a7985);
background: -moz-linear-gradient(right, #434247 , #7a7985);
background: linear-gradient(to right, #434247 , #7a7985);
}
.card-style-gray .shadow{
box-shadow: 0 0 70rpx #434247;
}
.card-style-brown{
background: -webkit-linear-gradient(left, #736e6c , #978c8c);
background: -o-linear-gradient(right, #736e6c , #978c8c);
background: -moz-linear-gradient(right, #736e6c , #978c8c);
background: linear-gradient(to right, #736e6c , #978c8c);
}
.card-style-brown .shadow{
box-shadow: 0 0 70rpx #736e6c;
}
.card-style-blue{
background: -webkit-linear-gradient(left, #576074 , #6d7b96);
background: -o-linear-gradient(right, #576074 , #6d7b96);
background: -moz-linear-gradient(right, #576074 , #6d7b96);
background: linear-gradient(to right, #576074 , #6d7b96);
}
.card-style-blue .shadow{
box-shadow: 0 0 70rpx #576074;
}
.card-style-black{
background: -webkit-linear-gradient(left, #373737 , #4a4a4a);
background: -o-linear-gradient(right, #373737 , #4a4a4a);
background: -moz-linear-gradient(right, #373737 , #4a4a4a);
background: linear-gradient(to right, #373737 , #4a4a4a);
}
.card-style-blue .black{
box-shadow: 0 0 70rpx #373737;
}
.card-group{
background: #fff;
padding-top: 1rem;
margin-top: 0.5rem;
}
.card-group.nomargin{
margin-top: 0;
}
.card-title{
height: 1.2rem;
line-height: 1.2rem;
font-size: 0.8rem;
color: #333;
font-weight: bold;
text-align: center;
position: relative;
}
.card-subtitle{
font-size: 0.55rem;
color: #bbb;
text-align: center;
}
.card-title:before{
content: "";
position: absolute;
width: 2rem;
height: 1px;
top: 50%;
margin-top: -1px;
left: 5.1rem;
background: linear-gradient(to right, #fff, #c1a167);
}
.card-title:after{
content: "";
position: absolute;
width: 2rem;
height: 1px;
top: 50%;
margin-top: -1px;
right: 5.1rem;
background: linear-gradient(to right, #c1a167, #fff);
}
.card-btn-group{
padding: 0 0.5rem;
display: flex;
flex-wrap: wrap;
box-sizing: border-box;
}
.card-btn-group .card-btn-item{
width: 25%;
height: 4.4rem;
text-align: center;
display: flex;
flex-direction: column;
justify-content: center;
}
.card-btn-group .card-btn-item .card-btn-icon .icon{
width: 2.7rem;
height: 2.7rem;
background: rgba(193, 161, 103, 0.2);
display: inline-block;
border-radius: 50%;
margin-bottom: 0.6rem;
text-align: center;
line-height: 2.7rem;
}
.card-btn-group .card-btn-item .card-btn-icon i{
font-size: 1.25rem;
color: #c1a167;
}
.card-btn-group .card-btn-item .card-btn-text{
font-size: 0.55rem;
color: #999;
}
.card-getmore{
display: inline-block;
width: 100%;
text-align: center;
font-size: 0.6rem;
color: #c1a167;
line-height: 1.75rem;
padding-bottom: 0.25rem;
}
.card-getmore i{
font-size: 0.5rem;
margin-left: 0.25rem;
}
.card-fiche{
width: 17.75rem;
height: 4rem;
border-radius: 0.4rem;
margin: 0.5rem auto 0;
display: flex;
}
.card-fiche.gary{
background: #393939;
}
.card-fiche.golden{
background: linear-gradient(to right, #c1a167, #ead5aa);
}
.card-fiche .fiche-icon{
width: 4.2rem;
position: relative;
overflow: hidden;
}
.card-fiche .fiche-inner{
flex: 1;
display: flex;
flex-direction: column;
justify-content: center;
}
.card-fiche .fiche-btn{
width: 5.0rem;
}
.card-fiche.gary .fiche-inner{
font-size: 0.8rem;
font-weight: bold;
color: #c1a167;
}
.card-fiche.gary .fiche-btn{
font-size: 0.8rem;
font-weight: bold;
color: #c1a167;
line-height: 3.5rem;
height: 100%;
}
.card-fiche.gary .fiche-btn span{
font-size: 1.8rem;
}
.card-fiche.golden .fiche-inner{
font-size: 0.8rem;
font-weight: bold;
color: #333;
}
.card-fiche.golden .fiche-inner .subtitle{
font-size: 1.15rem;
font-weight: bold;
color: #000;
opacity: 0.5;
margin-top: 0.25rem;
}
.card-fiche.golden .fiche-inner .subtitle span{
font-size: 0.6rem;
}
.card-fiche.golden .fiche-btn{
display: flex;
flex-direction: column;
justify-content: center;
margin-right: 0.6rem;
font-size: 0.55rem;
}
.card-fiche.golden .fiche-btn .btn-submit{
width: 4.35rem;
height: 1.25rem;
text-align: center;
line-height: 1.25rem;
border-radius: 0.7rem;
}
.card-fiche.golden .fiche-btn .btn-submit.border{
border: 1px solid #333;
}
/*弹窗 */
.card-modal{
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: rgba(0, 0, 0, 0.6);
z-index: 99;;
}
.card-modal .inner{
width: 14.25rem;
height: 10.55rem;
border-radius: 0.4rem;
background: #fff;
margin: 8.75rem auto 0;
padding: 1.2rem;
box-sizing: border-box;
}
.card-modal .inner .title{
font-size:0.8rem;
color: #333;
font-weight: bold;
text-align: center;
line-height: 1;
margin-bottom: 0.5rem;
}
.card-modal .inner .text{
font-size: 0.7rem;
color: #666;
line-height: 1.25rem;
position: relative;
padding-left: 0.75rem;
}
.card-modal .inner .text::before{
content: "";
position: absolute;
width: 0.2rem;
height: 0.2rem;
background: #666;
border-radius: 50%;
left: 0.25rem;
top: 50%;
margin-top: -0.1rem;
}
.card-modal .inner .text.nobefore::before{
display: none;
}
.card-modal .inner .submit{
font-size: 0.7rem;
color: #fff;
line-height: 2.1rem;
margin: 1.25rem auto 0;
width: 11.85rem;
height: 2.1rem;
background: linear-gradient(to right, #c1a167 , #e9d5aa);
text-align: center;
border-radius: 1.05rem;
}
.card-group .card-explain{
font-size: 0.55rem;
color: #666;
line-height: 1rem;
padding: 0 0.6rem;
}
.card-group .card-explain:last-child{
padding-bottom: 1.25rem;
}
.btn-footbar-bj{
height: 2.45rem;
position: fixed;
left: -1.25rem;
right: -1.25rem;
bottom: 0;
background: #c1a168;
display: flex;
transform: skewX(-20deg);
}
.renew{
height: 2.45rem;
position: fixed;
left: 0;
right: 0;
bottom: 0;
background: #c1a168;
text-align: center !important;
line-height: 2.45rem;
color: #fff;
}
.btn-footbar-bj .item{
flex: 1;
}
.btn-footbar-bj .item:first-child{
background: #333;
}
.btn-footbar{
position: fixed;
left: 0;
bottom: 0;
right: 0;
z-index: 2;
display: flex;
}
.btn-text{
color: #c1a168;
font-size: 0.7rem;
font-weight: bold;
width: 50%;
text-align: center;
line-height: 2.05rem;
}
.btn-text span{
font-size: 1.15rem;
}
.btn-footbar .btn-submit{
color: #fff;
font-size: 0.85rem;
width: 50%;
text-align: center;
line-height: 2.05rem;
}
.btn-footbar .btn-submit i{
margin-left: 0.25rem;
font-size: 0.7rem;
}
.fiche-icon .icon-kaiqiajifen,.fiche-icon .icon-meiyuejifen,.fiche-icon .icon-huangguan-line{
font-size: 3.25rem;
color: #000;
opacity: 0.1;
}
.fiche-icon .icon-kaiqiajifen{
font-size: 3rem;
}
.fiche-icon .icon-huangguan-line{
position: absolute;
bottom: -2.45rem;
left: -1.25rem;
font-size: 4.75rem;
}
.fiche-icon .icon-huiyuanzhuanxiangzhekou{
font-size: 4.25rem;
position: absolute;
left: -1.5rem;
bottom: -2.25rem;
opacity: 0.1;
color: #fff;
}
/*优惠券 */
.card-group .coupon-list{
display: flex;
flex-wrap: wrap;
padding: 0.7rem 0.5rem 0;
}
.card-group .coupon-list.left{
flex-wrap: nowrap;
overflow-x: scroll;
}
.coupon-list-item{
position: relative;
overflow: hidden;
width: 8.65rem;
height: 4.85rem;
text-align: center;
margin-bottom: 0.5rem;
}
.card-group .coupon-list.left .coupon-list-item{
flex-shrink: 0;
margin-right: 0.4rem;
}
.coupon-list-item:nth-child(odd){
margin-right: 0.4rem;
}
.coupon-list-item .coupon-inner{
border: 1px solid #ccc;
width: 8.65rem;
height: 4.75rem;
border-radius: 0.4rem;
}
.coupon-inner-media{
display: flex;
padding-left: 0.9rem;
}
.coupon-inner-media .price{
line-height: 2.5rem;
}
.coupon-list-item .price{
font-size: 0.5rem;
font-weight: bold;
color: #c1a167;
padding-top: 0.5rem;
}
.coupon-list-item .price span{
font-size: 1.2rem;
}
.coupon-list-item .explain{
font-size: 0.55rem;
color: #666;
line-height: 1;
padding-top: 0.1rem;
}
.coupon-inner-media .explain{
display: flex;
flex-direction: column;
justify-content: center;
text-align: left;
padding-left: 0.5rem;
font-size: 0.6rem;
color: #000;
font-weight: bold;
}
.coupon-inner-media .explain .subtitle{
color: #666;
font-size: 0.55rem;
margin-top: 0.25rem;
font-weight: 400;
}
.coupon-list-item.already .condition .btn-condition{
width: 4.35rem;
height: 1rem;
line-height: 1rem;
margin: 0.15rem auto 0;
color: #fff;
border-radius: 0.6rem;
background: linear-gradient(to right, #c1a167 , #e9d5aa);
}
.coupon-list-item.already .condition .btn-condition.gary{
background: #bbbbbb;
}
.coupon-list-item .condition{
height: 1.5rem;
line-height: 1.4rem;
font-size: 0.6rem;
color: #333;
position: absolute;
bottom: 0;
left: 0.6rem;
right: 0.6rem;
border-top: 1px dashed #ccc;
}
.coupon-list-item .condition.coupon-send{
color: #666;
font-size: 0.55rem;
}
.coupon-list-item .circle{
position: relative;
}
.coupon-list-item .circle-l{
position: absolute;
width: 0.5rem;
height: 0.5rem;
border-radius: 50%;
border: 1px solid #ccc;
left: -0.3rem;
bottom: 1.2rem;
background: #fff;
}
.coupon-list-item .circle-r{
position: absolute;
width: 0.5rem;
height: 0.5rem;
border-radius: 50%;
border: 1px solid #ccc;
right: -0.3rem;
bottom: 1.2rem;
background: #fff;
}
.fui-swipe-wrapper .fui-swipe-item img{
display: inline-block;
width: 100%;
height:100%;
}