store/packageA/mycomponent/goods_new/goods_new.wxss

864 lines
13 KiB
Plaintext

@import "/mycss/stylesheet.wxss";
@import "/mycss/iconfont.wxss";
page {
background-color: #f5f5f5;
}
.panel {
margin: 20rpx;
border-radius: 20rpx;
background-color: #fff;
}
/* 引导加群 */
.guide {
background: #fff;
margin: 20rpx;
padding: 20rpx;
height: 4rem;
border-radius: 0.5rem;
box-shadow: 1px 3px 5px #cec8c8;
display: flex;
align-items: center;
justify-content: space-between;
}
.guide .guideLeft {
display: flex;
align-items: center;
}
.guide .guideLeft .img {
width: 75rpx;
height: 75rpx;
}
.guide .guideLeft .right {
padding-left: 20rpx;
}
.guide .guideLeft .right .name {
line-height: 34rpx;
}
.guide .guideLeft .right .describe {
font-size: 24rpx;
line-height: 38rpx;
color: #9f9f9f;
}
.guide .guideRight {
width: 85rpx;
line-height: 40rpx;
height: 40rpx;
text-align: center;
color: #fff;
background-color: #02c777;
border-radius: 0.2rem;
}
.guide .guideLeft .img image {
width: 100%;
height: 100%;
}
.reply {
width: 442rpx;
height: 464rpx;
}
.reply .top {
background: #4cb36b;
height: 215rpx;
display: flex;
align-items: center;
justify-content: center;
}
.reply .bottom {
padding-top: 13rpx;
}
.reply .bottom .message {
line-height: 63rpx;
text-align: center;
font-size: 30rpx;
}
.reply .bottom .replymessage {
line-height: 80rpx;
text-align: center;
}
.reply .bottom .replyBtn {
background: #fff;
position: absolute;
bottom: 0;
width: 100%;
height: 80rpx;
line-height: 80rpx;
text-align: center;
color: #38ad5b;
font-size: 29rpx;
border-top: 1px solid #ebebf6;
}
/* 引导加群end */
/* 顶部导航 */
.showicon {
display: flex;
justify-content: flex-end;
position: fixed;
z-index: 2;
box-sizing: content-box;
padding: 10rpx;
width: 100%;
}
.showicon.hoet {
transition: 0.1s;
background: white;
width: 100%;
}
.showicon .member {
margin-right: 24rpx;
}
.showicon .cart {
margin-right: 24rpx;
}
.showicon .back {
width: 50rpx;
height: 50rpx;
border-radius: 100%;
color: #fff;
background-color: rgba(0, 0, 0, 0.4);
text-indent: 0;
line-height: 54rpx;
overflow: hidden;
display: flex;
align-items: center;
justify-content: center;
}
.showicon.hoet .back {
margin-top: 5px;
transition: 0.1s;
background-color: rgba(237, 237, 237, 0);
}
.showicon.hoet .back icon {
color: black;
}
.show_b {
display: flex;
align-items: center;
justify-content: space-around;
margin-right: 95rpx;
font-size: 14px;
}
.show_b view {
padding: 8rpx 30rpx;
}
.curr {
border-bottom: 6rpx solid #f15353;
}
/* 顶部导航end */
/* 底部 全局 */
.popupMode {
position: fixed;
left: 0;
top: 0;
width: 100%;
height: 100%;
opacity: 0.5;
background: #000;
z-index: 999;
transition: 0.6s ease-out;
}
.popupModeShow {
opacity: 0;
transition: 0.6s ease-out;
}
.goodsdetail {
padding-bottom: 100rpx;
}
.goodsdetail .ithumb {
position: relative;
overflow: hidden;
}
.goodsdetail .ithumb swiper {
height: 750rpx;
}
.goodsdetail .ithumb image {
width: 100%;
}
/* 底部 全局end */
/* 品牌 */
.brandBox {
margin: 20rpx;
border-radius: 20rpx;
overflow: hidden;
}
.brand {
background-color: #fff;
padding-left: 28rpx;
height: 100rpx;
display: flex;
align-items: center;
}
.brand .logo {
display: flex;
justify-content: space-between;
align-items: center;
padding-right: 28rpx;
}
.brand .logo image {
width: 60rpx;
height: 60rpx;
border-radius: 5px;
}
.brand .logo .logoText {
color: #333;
width: 400rpx;
font-weight: bold;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
display: flex;
align-items: center;
margin-left: 5px;
}
.intro {
width: 160rpx;
height: 48rpx;
border-radius: 64rpx;
background: #ff9600;
color: #fff;
text-align: center;
line-height: 48rpx;
margin-left: 20rpx;
}
.brand .logo .pinpai {
display: flex;
align-items: center;
}
.brand .logo .pinpai .pinpai_icon {
width: 32rpx;
padding-top: 10rpx;
margin-right: 4rpx;
}
.brand .logo .pinpai text {
font-size: 24rpx;
color: #999;
line-height: 72rpx;
}
.brand .logo .return {
display: flex;
align-items: center;
}
.brand .logo .return .return_icon {
width: 32rpx;
padding-top: 10rpx;
}
/* 品牌end */
/* 详情 */
.foShowBox {
transition: 1s;
}
.foShowBox .actives video {
width: 100%;
}
.detail_content {
padding: 0 20rpx;
}
.detail_content mp-html image{
margin-top: -0.5rpx;
}
.pullBox {
width: 100%;
height: 80rpx;
display: flex;
justify-content: center;
align-items: center;
}
.pullBox image {
width: 32rpx;
height: 32rpx;
margin-right: 20rpx;
}
.actives {
animation: mymove 0.5s;
background: #fff;
}
@keyframes mymove {
from {
transform: translateY(-400rpx) scale(0.5) rotateY(90deg);
}
to {
transform: translateY(0) scale(1) rotateY(0);
}
}
.noneBox {
display: none;
}
.rotateImg {
transform: rotate(180deg);
-webkit-transform: rotate(180deg);
transition: transform 0.5s;
}
.normalImg {
transform: rotate(0deg);
-webkit-transform: rotate(0deg);
transition: transform 0.5s;
}
.rotadh {
animation-delay: 2s;
transition: 2s;
}
.nondh {
transition: 2s;
display: none;
animation-delay: mymove 2s;
}
.title-text {
display: block;
/* 设置为块级元素会独占一行形成上下居中的效果 */
position: relative;
/* 定位横线(当横线的父元素) */
color: #999;
/* 居中文字的颜色 */
text-align: center;
background: #fff;
width: 100%;
height: 100rpx;
line-height: 100rpx;
}
.title-text::before,
.title-text::after {
content: "";
position: absolute;
/* 定位背景横线的位置 */
top: 50%;
background: #ccced0;
/* 背景横线颜色 */
width: 20%;
/* 单侧横线的长度 */
height: 1px;
}
.title-text::before {
left: 15%;
/* 调整背景横线的左右距离 */
}
.title-text::after {
right: 15%;
}
/* 详情end */
/* 价格说明 */
.price-desc {
background-color: #fff;
padding: 20rpx 25rpx;
margin: 20rpx;
border-radius: 20rpx;
}
.price-desc .price-desc-title {
text-align: left;
font-weight: bold;
font-size: 14px;
color: #1f1f1f;
margin-bottom: 20rpx;
}
/* 价格说明 */
/* 租赁按钮 */
.but {
z-index: 9;
position: fixed;
top: 350px;
right: 5px;
font-size: 11px;
}
.but .button {
width: 40px;
height: 40px;
border-radius: 50%;
background-color: #f15353;
border: none;
text-align: center;
color: #fff;
display: flex;
justify-content: center;
align-items: center;
flex-wrap: wrap;
flex-direction: column;
}
.but .button .p {
width: 100%;
}
/* 租赁按钮end */
/* 客服 */
.icon-close11 {
font-size: 18px;
}
.pop-content {
background-color: #fff;
border-radius: 38rpx;
text-align: center;
background: #fff;
padding: 35rpx 0;
position: relative;
justify-content: center;
display: flex;
flex-direction: column;
align-items: center;
width: 650rpx;
}
.pop-content .pop-top {
display: flex;
justify-content: space-between;
width: 100%;
}
.pop-content .pop-top .left {
width: 50%;
display: flex;
justify-content: center;
position: relative;
margin-bottom: 24rpx;
}
.pop-content .pop-top .left .wrap {
display: flex;
flex-direction: column;
align-items: center;
}
.pop-content .pop-top .left .wrap .image {
width: 84rpx;
height: 84rpx;
margin: 0 auto;
margin-bottom: 16rpx;
}
.pop-content .pop-top .left .wrap .image image {
width: 100%;
height: 100%;
}
.pop-content .pop-top .right {
width: 50%;
display: flex;
justify-content: center;
margin-bottom: 24rpx;
}
.pop-content .pop-top .right .wrap {
display: flex;
flex-direction: column;
align-items: center;
}
.pop-content .pop-top .right .wrap .image {
width: 84rpx;
height: 84rpx;
margin: 0 auto;
margin-bottom: 16rpx;
}
.pop-content .pop-top .right .wrap icon {
width: 84rpx;
height: 84rpx;
margin: 0 auto;
margin-bottom: 16rpx;
border-radius: 50%;
overflow: hidden;
font-size: 50rpx;
background-color: #02c777;
color: #fff;
}
.pop-content .pop-top .right .wrap .color2 {
background: #ff9329;
}
.pop-content .pop-top .right .wrap .color3 {
background: #2aa7fb;
}
.pop-content .pop-top .right .wrap .image image {
width: 100%;
height: 100%;
}
.pop-content .line {
width: 1px;
height: 51rpx;
background-color: #999;
}
.pop-bottom {
margin-top: 32rpx;
width: 327rpx;
display: flex;
justify-content: center;
height: 327rpx;
}
.pop-bottom .image {
width: 100%;
height: 100%;
}
.pop-bottom .image image {
width: 100%;
height: 100%;
}
/* 客服end */
/* 运费说明 */
.freightPricing {
background: #fff;
margin: 20rpx;
border-radius: 20rpx;
text-align: left;
padding: 20rpx;
}
.freightPricing .title,
.freightPricing .freightPricing_btn {
height: 76rpx;
line-height: 70rpx;
color: #000;
font-size: 28rpx;
}
.freightPricing .freightPricing_main {
overflow: hidden;
line-height: 40rpx;
transition: height 0.6s;
font-size: 24rpx;
}
.freightPricing_main.fold {
height: 80rpx;
}
.freightPricing_main.unfold {
height: auto;
}
.freightPricing .freightPricing_btn {
text-align: center;
color: #666;
line-height: 96rpx;
}
.freightPricing .rotate_box {
display: inline-block;
}
.freightPricing .freightPricing_btn.fold .rotate_box {
transform: rotate(0deg);
}
.freightPricing .freightPricing_btn.unfold .rotate_box {
transform: rotate(180deg);
}
/* 运费说明end */
/* 群活码 */
.group-code {
display: flex;
align-items: center;
text-align: left;
padding: 20rpx;
}
.group-code .group-code-face {
width: 80rpx;
height: 80rpx;
}
.group-code .group-code-face image {
width: 80rpx;
height: 80rpx;
border-radius: 50%;
}
.group-code .group-code-content {
flex: 1;
padding-right: 32rpx;
padding-left: 16rpx;
line-height: 36rpx;
display: flex;
flex-direction: column;
justify-content: space-between;
}
.group-code .group-code-content .group-code-name {
font-size: 13px;
font-weight: bold;
color: #353535;
}
.group-code .group-code-content .group-code-desc {
font-size: 11px;
color: #6c6c6c;
}
.group-code .group-code-button {
display: flex;
align-items: center;
justify-content: center;
width: 120rpx;
height: 46rpx;
color: #fff;
font-size: 12px;
font-weight: bold;
background-color: #ff9600;
border-radius: 24rpx;
}
/* 群活码end */
/* 商品参数 */
.goods-param {
padding: 20rpx 25rpx;
}
.goods-param .goods-param-title {
text-align: left;
font-weight: bold;
font-size: 14px;
color: #1f1f1f;
margin-bottom: 20rpx;
}
.goods-param .goods-more-param {
max-height: 0;
overflow: hidden;
transition: max-height 0.3s ease-in;
}
.goods-param .show-more-param {
max-height: 900rpx;
/* 真是内容等于设置的最大高度会出现问题 */
}
.goods-param .goods-param-conent .con {
display: flex;
justify-content: space-between;
}
.goods-param .goods-param-conent .con .con-left {
display: flex;
justify-content: center;
align-items: center;
width: 160rpx;
margin: 10rpx 10rpx 0 0;
padding: 10rpx 0;
background-color: #f3f3f3;
}
.goods-param .goods-param-conent .con .con-right {
flex: 1;
padding: 10rpx;
text-align: left;
margin: 10rpx 10rpx 0 0;
background-color: #f9f9fb;
}
.goods-param .goods-param-more {
text-align: center;
margin-top: 30rpx;
}
.goods-param .goods-param-more .down {
transform: rotate(-90deg);
}
/* 商品参数 */
/* 视频号复制弹窗 */
.video-link-copy {
width: 577rpx;
padding: 96rpx 32rpx 32rpx;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
.video-link-copy .video-link-copy-btn {
height: 64rpx;
line-height: 64rpx;
padding: 0 48rpx;
color: #fff;
border-radius: 32rpx;
background: #f15353;
}
.video-link-copy .video-link-copy-text {
font-size: 12px;
padding: 0.875rem 0;
}
.video-link-copy .video-link-copy-img {
width: 90%;
}
/* 视频号复制弹窗end */
/* 抽奖按钮 */
.luck-draw-btn {
position: fixed;
top: 400px;
right: 5px;
width: 40px;
height: 40px;
border-radius: 50%;
overflow: hidden;
background: #bfcbd9;
z-index: 9;
}
.luck-draw-btn image {
width: 100%;
height: 100%;
object-fit: contain;
}
/* 抽奖按钮end */
/* 规格信息 */
.spec_box {
margin-top: 20.16rpx;
margin-bottom: 20.16rpx;
padding: 0 20.16rpx;
}
.spec_box .spec_list {
background: #fff;
border-radius: 20.16rpx;
padding: 20.16rpx;
display: flex;
justify-content: space-between;
margin-bottom: 20rpx;
}
.spec_box .spec_list:last-child {
margin-bottom: 0;
}
.spec_box .spec_list .spec_right {
display: flex;
align-items: flex-end;
}
.spec_box .spec_list .spec_right .spec_right_btn {
padding: 7.04rpx;
background-color: #f14e4e;
border-radius: 20rpx;
font-size: 20.16rpx;
color: #fff;
}
.spec_box .spec_list .spec_conten {
display: flex;
flex-direction: column;
align-items: flex-start;
flex: 1;
}
.spec_box .spec_list .spec_left {
width: 220.16rpx;
height: 220.16rpx;
background-color: #cacaca;
border-radius: 9.92rpx;
margin-right: 20.16rpx;
}
.spec_box .spec_list .spec_left .spec_left_img {
width: 220.16rpx;
height: 220.16rpx;
border-radius: 9.92rpx;
}
/* 规格信息end */
/* 付费内容 */
.payIntro {
margin: 0 20rpx;
margin-bottom: 16rpx;
border-radius: 10rpx;
background: #fff;
padding-bottom: 64rpx;
}
.payIntro .txt {
color: #999999;
padding: 0 48rpx;
display: flex;
justify-content: center;
flex-direction: column;
align-items: center;
}
.payIntro .title-text {
border-radius: 10rpx;
}