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.
 

850 lines
13 KiB

/* pages/goods/detail.wxss */
page{
height: 100%;
}
.swiper {
height: 500rpx;
width: 100%;
}
.swiper image {
height: 100%;
width: 100%;
}
.img{
width: 100%;
}
.xstg_box{
position: relative;
}
.xstg_text{
position: absolute;
top:10px;
left:10px;
color:#fff;
font-size:30rpx;
}
.xstg_text_two{
position: absolute;
top:1px;
right:10px;
color:#333;
font-size:22rpx;
}
.sj{
display: inline-block;
/* width: 36rpx; */
height: 36rpx;
padding: 0 5rpx;
background: #c98709;
color: #fff;
font-size: 25rpx;
text-align: center;
line-height: 36rpx;
}
.commodity_box{
width: 95%;
margin: auto;
}
.commodity_price{
width: 710rpx;
background: #eee;
border-radius: 14rpx;
margin: 20rpx 0;
}
.commodity_price_text{
width: 95%;
margin:auto;
padding:20rpx 0;
}
.price_text_two{
font-size: 24rpx;
color:#333;
}
.collage_fs_text{
font-size: 30rpx;
color: #333;
margin-bottom: 10px;
}
.collage_fs_tg_bt_box{
display:flex;
flex-direction:row;
justify-content:space-between;
margin-bottom:20px;
}
.collage_fs_tg{
width: 147rpx;
height: 74rpx;
color: #666;
border: 1px solid #666;
font-size: 24rpx;
text-align: center;
box-sizing: border-box;
}
.jiantou{
font-size: 24rpx;
color: #666;
padding-top: 10px;
}
.btn_price{
width: 160rpx;
height: 50rpx;
border-radius: 25rpx;
background: #eb3737;
color: #fff;
text-align: center;
line-height: 50rpx;
margin-top:12px;
}
.comment_text_bq{
float: left;
width: 180rpx;
height: 43rpx;
background: #ffe4e4;
border-radius: 30rpx;
color: #333;
font-size: 26rpx;
text-align: center;
vertical-align: center;
line-height: 40rpx;
margin:20rpx 10rpx;
}
.comment_text_pl{
font-size: 22rpx;
color: #999;
}
.commodity_details{
position: relative;
text-align: center;
margin: 20rpx 0;
font-weight:700;
}
.xxt{
width: 290rpx;
height: 1px;
background: #eb3737;
}
.details_zxt{
position: absolute;
top:50%;
left:0;
}
.details_yxt{
position:absolute;
right:0;
top:50%;
}
.activity_box{
padding-left: 10px;
font-size: 28rpx;
color: #333;
font-weight: 700;
}
.activity_box text{
font-size: 11px;
color: #666;
font-weight: normal;
}
.activity_box{
padding-bottom: 60px;
}
.activity_box text{
display: block;
}
.ys{
width: 147rpx;
height: 74rpx;
color: #eb3737;
border: 1px solid #eb3737;
font-size: 24rpx;
text-align: center;
box-sizing: border-box;
}
.foot_box{
display:block;
position:fixed;
bottom:0;
left:0;
background:#fff;
z-index:100;
/*background: #dd2727;*/
width:94.6%;
padding:5px 10px;
border-top:1px solid #eee;
}
.foot_tb{
float:left;
text-align:center;
position: relative;
}
.pt_btn{
width: 200rpx;
height: 78rpx;
color: #fff;
float: left;
text-align:center;
}
.gm{
background: #ff9b51;
border-radius: 39rpx 0 0 39rpx;
}
.kt{
background: #eb3737;
border-radius: 0 39rpx 39rpx 0;
}
/*弹窗*/
.drawer_screen {
width: 100%;
height: 100%;
position: fixed;
top: 0;
left: 0;
background: #000;
opacity: 0.2;
overflow: hidden;
z-index: 1000;
color: #fff;
}
.drawer_attr_box {
width: 100%;
height: 80%;
border-radius:10px 10px 0 0;
position: fixed;
bottom: 0;
left: 0;
z-index: 2000;
background: #fff;
}
.close_icon {
width: 60rpx;
height: 60rpx;
line-height: 60rpx;
font-size: 60rpx;
position: absolute;
right: 5rpx;
top:5rpx;
padding: 10rpx;
color: #ccc;
/*border: 1rpx solid #ccc;*/
border-radius: 50%;
text-align: center;
background: #fff;
z-index: 999;
}
.drawer_attr_content {
padding: 20rpx;
height:85%;
overflow-y: scroll;
}
.text_center{
width: 97%;
position: absolute;
top: -40px;
}
.mingcheng{
width: 65%;
font-size:35rpx;
line-height: 50rpx;
float: right;
margin-bottom:20px;
}
.drawer_image {
width: 28%;
height: 200rpx;
border:1px solid #ddd;
border-radius:10rpx;
}
.drawer_desc{
font-size:28rpx;
margin:20rpx;
height: 150rpx;
width: 100%;
}
.cun{
/* margin: 5px; */
font-size:30rpx;
/* padding-left: 20rpx; */
width: 20%
}
.chi{
width: 40%;
height: 60rpx;
text-align: center;
line-height: 60rpx;
border: 1px solid #999;
display: inline-block;
margin: 5px;
}
.btn {
width: 80%;
padding: 15rpx 0;
border-radius: 10rpx;
text-align: center;
}
.open_btn {
margin: 40rpx 10%;
border-radius: 10rpx;
background: #20bb21;
color: #fff;
}
/*数量*/
.dian{
width: 70%;
display: inline-block;
}
.shu{
width: 100%;
margin-top: 35rpx;
/* margin-bottom: 160rpx; */
}
.stepper {
text-align: right;
display: flex;
flex-direction: row;
justify-content: space-between;
align-items: center;
width: 200rpx;
overflow: hidden;
margin-left: 250rpx;
background-color: #F8F8F8;
border-top: 1px solid #DDD;
border-bottom: 1px solid #DDD;
border-radius: 8rpx;
}
.stepper text {
border-left: 1px solid #DDD;
border-right: 1px solid #DDD;
width: 25px;
height: 25px;
line-height: 25px;
text-align: center;
font-weight: 900;
}
.stepper input {
width: 30px;
height: 25px;
text-align: center;
}
.footc{
display:block;
position:fixed;
bottom:0;
left:0;
background:red;
z-index:100;
width:100%;
font-size:14px;
border-top:1px solid #eee;
line-height:40px;
font-weight:700;
color:snow;
text-align: center;
}
.commodity_attr_list {
background: #fff;
padding: 0 20rpx;
font-size: 26rpx;
overflow: hidden;
width: 100%;
}
/*每组属性的主盒子*/
.attr_box {
width: 100%;
overflow: hidden;
border-bottom: 1rpx solid #ececec;
}
/*属性名*/
.attr_name {
width: 20%;
float: left;
padding: 15rpx 0;
font-size: 30rpx;
margin-top:20rpx;
}
/*属性值*/
.attr_value_box {
width: 80%;
float: left;
padding: 15rpx 0;
overflow: hidden;
}
/*每个属性值*/
.attr_value {
padding:10rpx 20rpx;
float: left;
/*padding: 0 20rpx;*/
margin: 0 10rpx;
border: 1rpx solid #ececec;
border-radius: 10rpx;
font-size: 33rpx;
}
/*每个属性选中的当前样式*/
.attr_value_active {
background: #FF6347;
border-radius: 10rpx;
color: #fff;
/*padding: 0 20rpx;*/
padding:10rpx 20rpx;
}
/*禁用属性*/
.attr_value_disabled {
color: #ccc;
}
.swiper-tab{
width: 100%;
border-bottom: 2rpx solid #eee;
text-align: center;
line-height: 80rpx;
height: 80rpx;
overflow:hidden;
background: #fff;
font-size: 14px;
}
.swiper-tab-list{
font-size: 29rpx;
display: inline-block;
width: 33%;
color: #333;
}
.on1{
color: #dd2727;
}
.swiper-box{
background: #fff;
display: block;
/*heigaqht: 100%;. */
width: 100%;
padding-bottom:7%;
/*overflow: hidden;*/
}
.canshu{
border-bottom: 1px solid #eee;
font-size: 14px;
line-height: 23px;
width: 100%;
padding: 2% 0;
}
.canshu .name{
width: 80px;
color: #999;
font-size: 28rpx;
}
.canshu span{
color: #333;
}
.c3{
font-size: 28rpx;
}
.btn{border:1px solid #fe0000;padding:0 10rpx;margin-right: 24rpx;color: #fe0000;border-radius: 10rpx;line-height: 58rpx;margin-top: 18rpx;width: 136rpx;text-align: center;}
.wxParse-img{
margin:0 auto;
display:block;
width:95%;
}
/*evaluate评价*/
.evaluate-container {
padding-bottom: 50rpx;
}
.evaluate {
background: white;
display: flex;
border-bottom:1px solid #eee;
}
/*头像*/
.evaluate .avatar {
flex: 1;
display: flex;
flex-direction: column;
align-items: center;
}
.evaluate .avatar image {
width: 40px;
height: 40px;
border-radius: 50%;
margin: 10px;
border:1px solid #eee;
}
/*评价图片*/
.evaluate .main {
flex: 3;
font-size: 12px;
color: gray;
}
.evaluate .main .gallery {
display: flex;
flex-direction: row;
margin-top:10px;
}
.image-container{
padding-right: 10px;
}
.evaluate .main .gallery image {
display: block;
width: 80px;
height: 80px;
}
.evaluate .main .content {
margin: 10px 0;
color: black;
}
.comments{
float:right;
padding-right:10px;
}
.comments_icon{
/* float:right; */
padding-right:10px;
width:10px;
height:10px;
}
.foot_tb::after{
border: none;
}
pt_btn::after{
border: none;
}
.pull-left{float: left;}
.pull-right{float: right;}
.clearfix{clear: both;}
.comment_box{
border-bottom:1px solid #eee;
padding-bottom:10px;
}
.comment{
display: flex;
flex-direction: row;
align-items:center;
padding: 3% 5% 3% 15px;
}
.comment_text{
/* background:#eee; */
font-size:14px;
width:100%;
/* height:100px; */
margin:auto;
}
.comment_content{
/* background:#eee; */
font-size:14px;
width:100%;
/* height:100px; */
margin:auto 12px;
}
.comment_img{
/* width:90%; */
margin: auto 12px;
}
.comment_img image{
width:30%;
height: 85px;
background: #eee;
}
.comment_img image:nth-child(2){
margin-left: 10px;
}
.comment_img image:nth-child(3){
margin-left: 10px;
}
.comment_pj{
text-align:right;
width:90%;
margin:auto;
font-size:24rpx;
color:red;
}
.kffd{
position: fixed;
top: 10%;
right: 0;
height: 30px;
width: 75px;
z-index:99;
}
.ke{
text-align:center;
opacity:0;
position:absolute;
top:0;
right:0;
width:60px;
height:80px;
}
.icon_kf{
width: 25px;
height: 25px;
display: inline-block;
margin-top: 5px;
}
.kf_img{
z-index: 999;
position: absolute;
left:15px;
top: -2px;
}
button{
line-height:23.5px;
}
.share_top{
width:100%;
height:40px;
line-height:40px;
background:#f7f7f7;
color:#353535;
font-size:15px;
padding-left:10px;
position:relative;
}
.share_bottom{
font-size:10px;
color:#353535;
position:absolute;
bottom:10px;
text-align:center;
width:100%;
}
.shengcheng{
width:60%;
height:60%;
position:fixed;
bottom:15%;
left:50%;
margin-left:-30%;
z-index:99;
-webkit-box-shadow: #666 0px 0px 10px;
-moz-box-shadow: #666 0px 0px 10px;
box-shadow: #666 0px 0px 10px;
}
.images_bg{
width:100%;
height:85%;
background:#fff;
position:fixed;
bottom:0;
z-index:999999;
}
.imagePathBox{
width:100%;
height:100%;
background:rgba(0,0,0,0.7);
position:fixed;
top:0;
left:0;
right:0;
bottom:0;
z-index:999999;
}
.close_share{
top:0;
right:25px;
z-index:999;
color:#a2a2a2;
position:absolute;
width:50px;
text-align:right;
font-size:19px;
}
.baocun{
display:block;
width:80%;
height:80rpx;
padding:0;
line-height:80rpx;
text-align:center;
position:fixed;
bottom:70rpx;
left:10%;
color:#fff;
font-size:32rpx;
border-radius:10rpx;
}
button[class="baocun"]::after{
border: 0;
}
.drawer_screen {
width: 100%;
height: 100%;
position: fixed;
top: 0;
left: 0;
background: #000;
opacity: 0.5;
overflow: hidden;
z-index: 1000;
color: #fff;
padding-bottom:30px;
}
.drawer_attr_share {
width:100%;
height:30%;
position:fixed;
bottom:0;
left:0;
z-index:2000;
background:#fafafa;
opacity:1;
}
.sp_text{
display:flex;
line-height: 20px;
width: 100%;
text-align: left;
padding-left:8px;
}
.sp_tit{
width: 100%;
overflow: hidden;
font-size: 13px;
-webkit-line-clamp:2;
}
.sp_jg{
width: 30%;
overflow: hidden;
font-size: 13px;
color: #fc0628;
}
.guige{
font-size:13px;
color:#808080;
text-align:right;
padding-right:10px;
}
.fx_box{
display:flex;
align-items:30%;
justify-content:space-around;
margin:auto;
padding:5%;
}
.fx_img{
width: 50px;
height: 50px;
margin: 10px;
}
.fx_img_box{
text-align: center;
font-size:12px;
}
.fx_text{
text-align:center;
color:#666;
line-height: 30px;
}
.button-hover{
background:#fafafa;
}
@media screen and (min-height: 700px) {
.shengcheng {
width:60%;
height:50%;
position:fixed;
bottom:15%;
left:50%;
margin-left:-30%;
z-index:999;
-webkit-box-shadow:#666 0px 0px 10px;
-moz-box-shadow:#666 0px 0px 10px;
box-shadow:#666 0px 0px 10px;
}
.images_bg {
width:100%;
height:76%;
background:#fff;
position:fixed;
bottom:0;
}
}
/* 新增属性css */
.orange {
border-radius: 10px;
background-color: #f19e39;
margin-right: 10px;
color: #fff;
}
.back {
border-radius: 10px;
background-color: #f5f5f5;
margin-right: 10px;
color: #000;
}
.bai {
border-radius: 10px;
background-color: #fff;
margin-right: 10px;
color: #999;
}
.typeStyle {
display: flex;
flex-direction: row;
margin: 10px 10px 10px 0;
}
.outStyle {
display: flex;
flex-direction: column;
}
.outStyleText {
display: flex;
flex-direction: column;
color: #999;
}
.shuru {
position: fixed;
height: 100rpx;
width: 100%;
text-align: left;
background-color: #efefef;
border-top: 1px solid #ccc;
bottom: 0rpx;
_position: absolute;
}
.buttonPaddingStyle {
/* padding-left:10px; */
padding-right:10px;
padding-top:5px;
padding-bottom:5px;
}
.textStyle {
font-size:14px;
}
.de_left{padding-left: 10px}