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.
 

863 lines
17 KiB

/* pages/goods/detail.wxss */
page{
height: 100%;
background-color: #eee;
}
.swiper {
height: 500rpx;
width: 100%;
}
.swiper image {
height: 100%;
width: 100%;
}
.img{
width: 100%;
}
.xstg_box{
position: relative;
background-color: #fff;
height: 80rpx;
}
.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;
color: #000;
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;
}
.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: #FCFCFC
}
.stepper text {
background-color: #f2f2f2;
border: 1px solid #eee;
width: 26px;
height: 26px;
line-height: 26px;
text-align: center;
font-weight: 900;
color: #939393;
}
.stepper input {
width: 30px;
height: 25px;
text-align: center;
/*background-color: #f2f2f2;*/
/*border-top: 1px solid #666;
border-bottom: 1px solid #666;*/
}
.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;
background: #fff;
font-size: 14px;
position: sticky;
top: 0;
}
.swiper-tab-list{
font-size: 29rpx;
display: inline-block;
width: 50%;
color: #333;
position: relative;
}
.swiper-tab-list em {height: 30rpx; width: 1px; position: absolute; top: 25rpx; right: 0; background-color: #eee;}
.swiper-box{
background: #fff;
display: block;
/*heigaqht: 100%;. */
width: 100%;
padding-bottom:7%;
/*overflow: hidden;*/
}
.on{
color: #dd2727;
font-weight: 700;
}
.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;}
/*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;
}
.foot_tb::after{
border: none;
}
pt_btn::after{
border: none;
}
.pull-left{float: left;}
.pull-right{float: right;}
.clearfix{clear: both;}
.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 {
background-color: #d62418;
color: #fff;
}
.back {
background-color: #f5f5f5;
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 {
height: 50rpx;
line-height: 50rpx;
border-radius: 25rpx;
padding: 0 30rpx;
margin: 0 20rpx 20rpx 0;
font-size: 24rpx;
}
.textStyle {
font-size:14px;
}
.de_left{padding-left: 10px}
/*datails text css*/
.datail-content {background-color: #fff;}
.datails-text-area {background-color: #fff; margin: 1rpx 0 20rpx; padding: 20rpx 30rpx; position: relative;}
.red-price {color: #f00; font-size: 48rpx; line-height: 60rpx; font-weight: 700;}
.red-price text {font-size: 28rpx;}
.gray-price {font-size: 26rpx; color: #999; text-decoration: line-through;}
.icon-tag {font-size: 22rpx; line-height: 36rpx; background-color: #2db200; color: #fff; padding: 0 30rpx;
border-radius: 18rpx; display: inline-block; height: 36rpx;}
.icon-tag-new {background-color: #2db200;}
.icon-tag-hot {background-color: #d62418;}
.icon-tag-red {background-color: #f60;}
.datails-title {color: #000; font-size: 32rpx; font-weight: 600; line-height: 45rpx; padding: 10rpx 0;}
.datails-sale-nub {font-size: 24rpx; color: #999;}
.datails-right-icon {position: absolute; top: 30rpx; right: 30rpx; width: 200rpx;}
.datails-icon-box {float: right; width: 100rpx; text-align: center;}
.datails-icon-image {width: 40rpx; height: 40rpx; margin: 0 auto;}
.datails-icon-text {font-size: 24rpx; line-height: 32rpx; color: #000;}
.datails-size-area {background-color: #fff; padding: 0 30rpx; font-size: 28rpx; color: #000; line-height: 90rpx;
height: 90rpx; position: relative; text-align: left; margin-bottom: 20rpx;}
button[type=default].datails-size-area {background-color: #fff;}
/*groups-list-ing css*/
.groups-list-ing {background-color: #fff; margin-bottom: 20rpx; padding: 0 30rpx;}
.groups-list-ing .n-title {line-height: 80rpx; font-size: 24rpx;}
.groups-list-ing .n-pt {padding: 30rpx 0; color: #666; font-size: 28rpx; border-top: 1px solid #eee;}
.groups-list-view {border-top: 1px solid #eee; padding: 20rpx 0; display: flex; flex-direction: row;
height: 150rpx; box-sizing: border-box;}
.groups-list-view .n-photo {width: 80rpx; height: 80rpx; border-radius: 40rpx; margin-top: 15rpx;}
.groups-list-con {padding: 0 0 0 20rpx; width: 610rpx; box-sizing: border-box; font-size: 24rpx; color: #666;
line-height: 40rpx; position: relative;}
.groups-list-con .n-tit {font-size: 30rpx; font-weight: 700; line-height: 60rpx; color: #000;}
.groups-list-con .n-button {position: absolute; top: 50%; right: 0; margin-top: -20rpx; width: 140rpx; text-align: center;
line-height: 40rpx; height: 40rpx; border-radius: 20rpx; background-color: #d62418; color: #fff;}
/*comment-box-area css*/
.comment-box-area {background-color: #fff; padding: 0 30rpx; margin-bottom: 20rpx;}
.comment-box-title {height: 80rpx; line-height: 80rpx; border-bottom: 1px solid #eee;}
.comment-box-title .n-tit {font-size: 30rpx; font-weight: 700; color: #000;}
.comment-box-title image {float: right; width: 20rpx; height: 20rpx; margin-top: 30rpx;}
.comment-box-tag {padding: 20rpx 0;}
.comment-box-tag .n-text-view {font-size: 24rpx; line-height: 40rpx; border-radius: 20rpx; color: #fff;
margin-right: 20rpx; display: inline-block; padding: 0 30rpx;}
.comment-list {display: flex; flex-direction: row; border-bottom: 1px solid #eee; padding: 10rpx 0;}
view:last-child.comment-list {border: 0;}
.comment-list .comment-left {width: 80rpx; padding-top: 15rpx;}
.comment-list .n-photo {width: 80rpx; height: 80rpx; border-radius: 40rpx;}
.comment-icon-view {height: 40rpx; line-height: 40rpx; font-size: 22rpx;}
.comment-icon-view image {width: 22rpx; height: 22rpx; float: left; margin: 9rpx 8rpx 0 0;}
.comment-list-con {width: 610rpx; box-sizing: border-box; padding-left: 30rpx;}
.comment-list-con .n-tit {height: 60rpx; line-height: 60rpx; font-size: 28rpx; color: #000;}
.comment-list-con .n-time {float: right; color: #666; font-size: 22rpx;}
.comment-list-con .n-pt {color: #999; font-size: 22rpx; line-height: 32rpx; height: 32rpx;}
.n-content {padding: 10rpx 0; font-size: 24rpx; line-height: 40rpx;}
.n-image-list image {display: inline-block; width: 40rpx; height: 40rpx; margin-right: 10rpx;}
.n-content-rep {border-top: 1px solid #eee; color: #f80;}
/*datail foot*/
.datail-foot-area {position: fixed; bottom: 0; left: 0; z-index: 100; width: 100%; height: 91rpx;
background-color: #fff; border-top: 1rpx solid #eee;}
.datail-foot-left {float: left; height: 100%; width: 210rpx;}
.datail-foot-icon {float: left; height: 100%; width: 100rpx; text-align: center; position: relative;
box-sizing: border-box; padding-top: 10rpx;}
.datail-foot-icon .n-image {width: 40rpx; height: 40rpx; margin: 0 auto;}
.datail-foot-icon .n-text {font-size: 22rpx; line-height: 32rpx; width: 100%; margin-top: -5rpx;}
.datail-foot-icon .n-cart-nub {background-color: #f3342f; color: #fff; font-size: 24rpx; font-family: Arial;
position: absolute; top: 5rpx; right: 0; width: 40rpx; height: 40rpx; border-radius: 20rpx; text-align: center;
line-height: 40rpx;}
.datail-foot-right {float: right; height: 100%; width: 530rpx; padding: 15rpx 30rpx 0 0; box-sizing: border-box;}
.datail-foot-button {float: right; width: 240rpx; height: 60rpx; border-radius: 40rpx; text-align: center;
font-size: 24rpx; line-height: 60rpx; margin-left: 10rpx; padding: 0; background-color: #f80; color: #fff;}
button[type=primary].datail-foot-button {background-color: #f80; color: #fff;}
button[type=primary].button-red-bg {background-color: #d62418; color: #fff;}