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.
 
 
 
 
 
huazhiyu/unpackage/dist/dev/mp-weixin/pages/GoodsDetails/GoodsDetails.wxss

786 lines
18 KiB

@charset "UTF-8";
/**
* 这里是uni-app内置的常用样式变量
*
* uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
* 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
*
*/
/**
* 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
*
* 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
*/
/* 颜色变量 */
/* 主要颜色 */
/* 行为相关颜色 */
/* 文字基本颜色 */
/* 背景颜色 */
/* 边框颜色 */
/* 尺寸变量 */
/* 文字尺寸 */
/* 图片尺寸 */
/* Border Radius */
/* 水平间距 */
/* 垂直间距 */
/* 透明度 */
/* 文章场景相关 */
.page.data-v-ac2c40f4 {
position: absolute;
width: 100%;
background: #f6f6f6;
overflow-x: hidden;
}
.goods-head.data-v-ac2c40f4 {
position: fixed;
left: 0;
top: 0;
z-index: 1000;
display: flex;
align-items: center;
justify-content: center;
width: 100%;
height: 100rpx;
background: rgba(255, 255, 255, 0);
height: 200rpx;
}
.goods-head .back.data-v-ac2c40f4 {
position: absolute;
left: 0;
top: 0;
display: flex;
align-items: center;
justify-content: center;
width: 100rpx;
height: 100%;
padding-top: 100rpx;
}
.goods-head .back .back-one.data-v-ac2c40f4 {
display: flex;
align-items: center;
justify-content: center;
width: 50rpx;
height: 50rpx;
background-color: rgba(0, 0, 0, 0.3);
border-radius: 100%;
}
.goods-head .back .back-one text.data-v-ac2c40f4 {
display: flex;
width: 20rpx;
height: 20rpx;
border-left: 2rpx solid #FFFFFF;
border-bottom: 2rpx solid #FFFFFF;
-webkit-transform: rotate(45deg);
transform: rotate(45deg);
}
.goods-head .back .action.data-v-ac2c40f4 {
background-color: transparent;
}
.goods-head .back .action text.data-v-ac2c40f4 {
border-color: #555555;
}
.goods-head .head-tab.data-v-ac2c40f4 {
display: flex;
align-items: center;
height: 100%;
padding-top: 100rpx;
}
.goods-head .head-tab .tab.data-v-ac2c40f4 {
position: relative;
margin: 0 20rpx;
padding: 0 10rpx;
}
.goods-head .head-tab .tab text.data-v-ac2c40f4 {
color: #555555;
font-size: 26rpx;
}
.goods-head .head-tab .action text.data-v-ac2c40f4 {
color: #212121;
font-size: 28rpx;
}
.goods-head .head-tab .action .line.data-v-ac2c40f4 {
position: absolute;
left: 0;
bottom: -10rpx;
width: 100%;
height: 6rpx;
background: linear-gradient(to right, #236030, rgba(255, 255, 255, 0.3));
}
.goods-head .share-more.data-v-ac2c40f4 {
position: absolute;
right: 0;
top: 0;
width: 140rpx;
height: 100%;
padding-top: 100rpx;
}
.goods-head .share-more .share-more-one.data-v-ac2c40f4 {
display: flex;
align-items: center;
justify-content: space-between;
padding-right: 20rpx;
height: 100%;
}
.goods-head .share-more .share-more-one .list.data-v-ac2c40f4 {
display: flex;
align-items: center;
justify-content: center;
width: 50rpx;
height: 50rpx;
background-color: rgba(0, 0, 0, 0.3);
border-radius: 100%;
}
.goods-head .share-more .share-more-one .list text.data-v-ac2c40f4 {
font-size: 28rpx;
color: #FFFFFF;
}
.goods-head .share-more .action .list.data-v-ac2c40f4 {
background-color: transparent;
}
.goods-head .share-more .action .list text.data-v-ac2c40f4 {
color: #555555;
}
.goods-head .share-more .mroe-list.data-v-ac2c40f4 {
position: fixed;
right: 20rpx;
top: 100rpx;
top: 180rpx;
width: 200rpx;
background-color: rgba(255, 255, 255, 0.9);
border-radius: 10rpx;
}
.goods-head .share-more .mroe-list .list.data-v-ac2c40f4 {
display: flex;
align-items: center;
width: 90%;
height: 80rpx;
margin: 0 auto;
border-bottom: 2rpx solid #C8C7CC;
padding: 0 4%;
}
.goods-head .share-more .mroe-list .list .icon.data-v-ac2c40f4 {
display: flex;
align-items: center;
width: 60rpx;
}
.goods-head .share-more .mroe-list .list .icon text.data-v-ac2c40f4 {
font-size: 34rpx;
}
.goods-head .share-more .mroe-list .list .title.data-v-ac2c40f4 {
display: flex;
align-items: center;
}
.goods-head .share-more .mroe-list .list .title text.data-v-ac2c40f4 {
font-size: 26rpx;
}
/* banner 标题 */
.banner-title.data-v-ac2c40f4 {
background-color: #FFFFFF;
padding-bottom: 20rpx;
}
/* banner */
.banner.data-v-ac2c40f4 {
width: 100%;
height: 750rpx;
}
.banner .screen-swiper.data-v-ac2c40f4 {
width: 100%;
height: 100%;
}
/* 价格 */
.price-info.data-v-ac2c40f4 {
display: flex;
align-items: center;
justify-content: space-between;
padding: 0 4%;
height: 120rpx;
}
.price-info .price.data-v-ac2c40f4 {
display: flex;
align-items: center;
}
.price-info .price .min.data-v-ac2c40f4 {
color: #236030;
font-size: 28rpx;
font-weight: bold;
}
.price-info .price .max.data-v-ac2c40f4 {
color: #236030;
font-size: 48rpx;
font-weight: bold;
}
.price-info .info.data-v-ac2c40f4 {
display: flex;
align-items: center;
height: 100%;
}
.price-info .info .list.data-v-ac2c40f4 {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
padding: 0 20rpx;
}
.price-info .info .list text.data-v-ac2c40f4 {
font-size: 24rpx;
color: #555555;
}
.price-info .info .list .iconfont.data-v-ac2c40f4 {
font-size: 34rpx;
margin-bottom: 10rpx;
color: #555555;
}
.price-info .info .list .action.data-v-ac2c40f4 {
color: #236030;
}
/* 限时抢购 */
.flash-price.data-v-ac2c40f4 {
display: flex;
width: 100%;
height: 100rpx;
background-color: #FFFFFF;
overflow: hidden;
}
.flash-price .price-item.data-v-ac2c40f4 {
position: relative;
display: flex;
width: 70%;
height: 100%;
background: linear-gradient(to left, #236030, #ff4e17);
padding: 0 20rpx;
overflow: hidden;
}
.flash-price .price-item .icon-item.data-v-ac2c40f4 {
display: flex;
align-items: center;
height: 100%;
}
.flash-price .price-item .icon-item text.data-v-ac2c40f4 {
font-size: 42rpx;
color: #FFFFFF;
}
.flash-price .price-item .price.data-v-ac2c40f4 {
display: flex;
flex-direction: column;
justify-content: center;
margin-left: 20rpx;
}
.flash-price .price-item .price .current-price.data-v-ac2c40f4 {
display: flex;
align-items: center;
}
.flash-price .price-item .price .current-price text.data-v-ac2c40f4 {
color: #FFFFFF;
font-weight: bold;
}
.flash-price .price-item .price .current-price .min.data-v-ac2c40f4 {
font-size: 28rpx;
}
.flash-price .price-item .price .current-price .max.data-v-ac2c40f4 {
font-size: 38rpx;
}
.flash-price .price-item .price .original-price.data-v-ac2c40f4 {
display: flex;
align-items: center;
}
.flash-price .price-item .price .original-price text.data-v-ac2c40f4 {
font-size: 24rpx;
color: #FFFFFF;
opacity: 0.7;
text-decoration: line-through;
}
.flash-price .price-item .tag.data-v-ac2c40f4 {
position: absolute;
right: -20rpx;
bottom: -20rpx;
-webkit-transform: rotate(-45deg);
transform: rotate(-45deg);
}
.flash-price .price-item .tag text.data-v-ac2c40f4 {
font-size: 68rpx;
color: rgba(0, 0, 0, 0.2);
}
.flash-price .time-item.data-v-ac2c40f4 {
display: flex;
flex-direction: column;
justify-content: center;
width: 30%;
height: 100%;
background-color: rgba(233, 59, 61, 0.5);
}
.flash-price .time-item .title.data-v-ac2c40f4 {
display: flex;
align-items: center;
justify-content: center;
width: 100%;
}
.flash-price .time-item .title text.data-v-ac2c40f4 {
color: #FFFFFF;
font-size: 24rpx;
}
.flash-price .time-item .time.data-v-ac2c40f4 {
display: flex;
align-items: center;
justify-content: center;
width: 100%;
height: 50rpx;
}
.flash-price .time-item .time .num.data-v-ac2c40f4 {
display: flex;
align-items: center;
justify-content: center;
width: 40rpx;
height: 40rpx;
font-size: 24rpx;
color: #FFFFFF;
background-color: #236030;
border-radius: 10rpx;
}
.flash-price .time-item .time .dot.data-v-ac2c40f4 {
font-size: 24rpx;
color: #236030;
margin: 0 5rpx;
}
/* 标题 */
.goods-title.data-v-ac2c40f4 {
padding: 0 4%;
margin: 20rpx auto;
}
.goods-title text.data-v-ac2c40f4 {
font-size: 28rpx;
color: #212121;
}
/* 开通会员 */
.dredge-vip.data-v-ac2c40f4 {
display: flex;
align-items: center;
justify-content: space-between;
width: 90%;
height: 80rpx;
margin: 20rpx auto;
background-color: #F5F5DC;
border-radius: 20rpx;
overflow: hidden;
}
.dredge-vip .title.data-v-ac2c40f4 {
display: flex;
align-items: center;
height: 100%;
padding: 0 4%;
}
.dredge-vip .title text.data-v-ac2c40f4 {
font-size: 26rpx;
color: #333333;
}
.dredge-vip .title text .col.data-v-ac2c40f4 {
color: #236030;
font-weight: bold;
}
.dredge-vip .title .iconfont.data-v-ac2c40f4 {
font-size: 34rpx;
color: #333333;
margin-right: 20rpx;
}
.dredge-vip .dredge.data-v-ac2c40f4 {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
width: 100rpx;
height: 80rpx;
background-color: #464C5B;
}
.dredge-vip .dredge text.data-v-ac2c40f4 {
font-size: 24rpx;
color: #F5F5DC;
text-align: center;
}
/* 优惠 */
.goods-discounts.data-v-ac2c40f4 {
padding: 0 4%;
background-color: #FFFFFF;
border-radius: 20rpx;
overflow: hidden;
margin: 20rpx auto;
}
.goods-discounts .list.data-v-ac2c40f4 {
display: flex;
align-items: center;
justify-content: space-between;
padding: 0 4%;
height: 100rpx;
border-bottom: 2rpx solid #f6f6f6;
}
.goods-discounts .list .title.data-v-ac2c40f4 {
display: flex;
align-items: center;
width: 15%;
height: 100%;
font-size: 24rpx;
color: #212121;
}
.goods-discounts .list .content.data-v-ac2c40f4 {
display: flex;
align-items: center;
width: 80%;
height: 100%;
}
.goods-discounts .list .content > text.data-v-ac2c40f4 {
font-size: 24rpx;
color: #555555;
}
.goods-discounts .list .content .serve.data-v-ac2c40f4 {
display: flex;
align-items: center;
margin-right: 20rpx;
}
.goods-discounts .list .content .serve text.data-v-ac2c40f4 {
font-size: 24rpx;
color: #555555;
}
.goods-discounts .list .content .serve .iconfont.data-v-ac2c40f4 {
font-size: 26rpx;
color: #236030;
margin-right: 10rpx;
}
.goods-discounts .list .content .coupon-list.data-v-ac2c40f4 {
position: relative;
display: flex;
align-items: center;
height: 30rpx;
border: 2rpx solid #236030;
border-radius: 6rpx;
margin-right: 20rpx;
}
.goods-discounts .list .content .coupon-list view.data-v-ac2c40f4 {
display: inline-block;
padding: 0 5rpx;
color: #236030;
font-size: 24rpx;
-webkit-transform: scale(0.8);
transform: scale(0.8);
}
.goods-discounts .list .content .coupon-list.data-v-ac2c40f4:before {
position: absolute;
left: -10rpx;
top: 50%;
content: "";
width: 12rpx;
height: 12rpx;
background-color: #fff;
border-right: 2rpx solid #236030;
border-radius: 100%;
-webkit-transform: translate(0, -50%);
transform: translate(0, -50%);
}
.goods-discounts .list .content .coupon-list.data-v-ac2c40f4:after {
position: absolute;
right: -10rpx;
top: 50%;
content: "";
width: 12rpx;
height: 12rpx;
background-color: #fff;
border-left: 2rpx solid #236030;
border-radius: 100%;
-webkit-transform: translate(0, -50%);
transform: translate(0, -50%);
}
.goods-discounts .list .more.data-v-ac2c40f4 {
display: flex;
align-items: center;
}
.goods-discounts .list .more text.data-v-ac2c40f4 {
font-size: 24rpx;
color: #CCCCCC;
}
/* 评价 */
.evaluate-data.data-v-ac2c40f4 {
padding: 0 4%;
margin: 20rpx auto;
background-color: #FFFFFF;
border-radius: 20rpx;
overflow: hidden;
}
.evaluate-data .title-more.data-v-ac2c40f4 {
display: flex;
align-items: center;
justify-content: space-between;
width: 100%;
height: 100rpx;
}
.evaluate-data .title-more .title.data-v-ac2c40f4 {
display: flex;
align-items: center;
height: 100%;
}
.evaluate-data .title-more .title text.data-v-ac2c40f4 {
font-size: 28rpx;
color: #212121;
margin-right: 20rpx;
}
.evaluate-data .title-more .title .num.data-v-ac2c40f4 {
font-size: 24rpx;
}
.evaluate-data .title-more .more.data-v-ac2c40f4 {
display: flex;
align-items: center;
}
.evaluate-data .title-more .more text.data-v-ac2c40f4 {
font-size: 26rpx;
color: #212121;
}
.evaluate-data .evaluate-list.data-v-ac2c40f4 {
width: 100%;
}
.evaluate-data .evaluate-list .user-info.data-v-ac2c40f4 {
display: flex;
align-items: center;
width: 100%;
height: 80rpx;
}
.evaluate-data .evaluate-list .user-info .thumb.data-v-ac2c40f4 {
width: 60rpx;
height: 60rpx;
}
.evaluate-data .evaluate-list .user-info .thumb image.data-v-ac2c40f4 {
width: 100%;
height: 100%;
border-radius: 100%;
}
.evaluate-data .evaluate-list .user-info .nickname-grade.data-v-ac2c40f4 {
height: 60rpx;
margin-left: 20rpx;
}
.evaluate-data .evaluate-list .user-info .nickname-grade .nickname.data-v-ac2c40f4 {
display: flex;
align-items: center;
}
.evaluate-data .evaluate-list .user-info .nickname-grade .nickname text.data-v-ac2c40f4 {
font-size: 24rpx;
color: #212121;
}
.evaluate-data .evaluate-list .user-info .nickname-grade .grade.data-v-ac2c40f4 {
display: flex;
align-items: center;
margin-top: 6rpx;
}
.evaluate-data .evaluate-list .user-info .nickname-grade .grade text.data-v-ac2c40f4 {
font-size: 24rpx;
color: #236030;
}
.evaluate-data .evaluate-list .content.data-v-ac2c40f4 {
width: 100%;
}
.evaluate-data .evaluate-list .content .character.data-v-ac2c40f4 {
display: flex;
align-items: center;
padding: 10rpx 0;
}
.evaluate-data .evaluate-list .content .character text.data-v-ac2c40f4 {
font-size: 24rpx;
color: #333333;
}
.evaluate-data .evaluate-list .content .attr.data-v-ac2c40f4 {
display: flex;
align-items: center;
padding: 10rpx 0;
}
.evaluate-data .evaluate-list .content .attr text.data-v-ac2c40f4 {
font-size: 24rpx;
color: #CCCCCC;
}
.evaluate-data .evaluate-list .content .thumb-list.data-v-ac2c40f4 {
display: flex;
width: 100%;
height: 200rpx;
margin: 10rpx 0;
}
.evaluate-data .evaluate-list .content .thumb-list .list.data-v-ac2c40f4 {
width: 200rpx;
height: 200rpx;
margin-right: 3%;
}
.evaluate-data .evaluate-list .content .thumb-list .list image.data-v-ac2c40f4 {
width: 100%;
height: 100%;
}
.evaluate-data .evaluate-list .look-all.data-v-ac2c40f4 {
display: flex;
align-items: center;
justify-content: center;
margin: 20rpx auto;
}
.evaluate-data .evaluate-list .look-all text.data-v-ac2c40f4 {
padding: 10rpx 20rpx;
font-size: 26rpx;
color: #212121;
border: 2rpx solid #f6f6f6;
border-radius: 40rpx;
}
/* 排行榜 */
.ranking-list.data-v-ac2c40f4 {
padding: 0 4%;
margin: 20rpx auto;
background-color: #FFFFFF;
border-radius: 20rpx;
overflow: hidden;
}
.ranking-list .ranking-title.data-v-ac2c40f4 {
display: flex;
align-items: center;
width: 100%;
height: 80rpx;
}
.ranking-list .ranking-title .title.data-v-ac2c40f4 {
font-size: 26rpx;
color: #212121;
}
.ranking-list .goods-list.data-v-ac2c40f4 {
display: flex;
flex-wrap: wrap;
width: 100%;
}
.ranking-list .goods-list .list.data-v-ac2c40f4 {
width: 32%;
height: 360rpx;
border-radius: 10rpx;
overflow: hidden;
margin-right: 2%;
}
.ranking-list .goods-list .list .thumb.data-v-ac2c40f4 {
width: 100%;
height: 200rpx;
}
.ranking-list .goods-list .list .thumb image.data-v-ac2c40f4 {
width: 100%;
height: 100%;
}
.ranking-list .goods-list .list .title.data-v-ac2c40f4 {
display: flex;
align-items: center;
width: 100%;
height: 80rpx;
}
.ranking-list .goods-list .list .title text.data-v-ac2c40f4 {
font-size: 24rpx;
color: #555555;
}
.ranking-list .goods-list .list .price.data-v-ac2c40f4 {
display: flex;
align-items: center;
width: 100%;
height: 60rpx;
}
.ranking-list .goods-list .list .price text.data-v-ac2c40f4 {
color: #236030;
font-size: 24rpx;
font-weight: bold;
}
.ranking-list .goods-list .list.data-v-ac2c40f4:nth-child(3n) {
margin-right: 0;
}
/* 商品介绍 */
.products-introduction .title.data-v-ac2c40f4 {
display: flex;
justify-content: center;
align-items: center;
width: 100%;
height: 80rpx;
background: #fff;
margin-bottom: 20rpx;
}
.products-introduction .title text.data-v-ac2c40f4 {
font-size: 28rpx;
color: #212121;
margin: 0 20rpx;
}
.products-introduction .title.data-v-ac2c40f4:before {
content: "";
width: 100rpx;
height: 2rpx;
background-color: #c0c0c0;
}
.products-introduction .title.data-v-ac2c40f4:after {
content: "";
width: 100rpx;
height: 2rpx;
background-color: #c0c0c0;
}
.products-introduction .content.data-v-ac2c40f4 {
width: 100%;
}
.products-introduction .content image.data-v-ac2c40f4 {
width: 100%;
}
.products-introduction .content ._img.data-v-ac2c40f4 {
width: 100%;
}
/* 底部 */
.page-footer.data-v-ac2c40f4 {
position: fixed;
left: 0;
bottom: 0;
display: flex;
width: 100%;
height: 100rpx;
background-color: #FFFFFF;
border-top: 2rpx solid #f6f6f6;
padding: 0 4%;
}
.page-footer .footer-fn.data-v-ac2c40f4 {
display: flex;
align-items: center;
width: 40%;
height: 100%;
}
.page-footer .footer-fn .list.data-v-ac2c40f4 {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
width: 50%;
height: 100%;
}
.page-footer .footer-fn .list text.data-v-ac2c40f4 {
font-size: 24rpx;
color: #555555;
}
.page-footer .footer-fn .list .iconfont.data-v-ac2c40f4 {
font-size: 42rpx;
color: #212121;
}
.page-footer .footer-buy.data-v-ac2c40f4 {
display: flex;
align-items: center;
justify-content: space-between;
width: 60%;
height: 100%;
}
.page-footer .footer-buy .cart-add.data-v-ac2c40f4 {
display: flex;
align-items: center;
justify-content: center;
width: 48%;
height: 70rpx;
background: #4d9a5e;
border-radius: 70rpx;
}
.page-footer .footer-buy .cart-add text.data-v-ac2c40f4 {
font-size: 26rpx;
color: #FFFFFF;
}
.page-footer .footer-buy .buy-at.data-v-ac2c40f4 {
display: flex;
align-items: center;
justify-content: center;
width: 48%;
height: 70rpx;
background: #4d9a5e;
border-radius: 70rpx;
}
.page-footer .footer-buy .buy-at text.data-v-ac2c40f4 {
font-size: 26rpx;
color: #FFFFFF;
}