This repository has been archived on 2024-07-11. You can view files and clone it, but cannot push or open issues or pull requests.
yoshop-wechat/pages/sharing/goods/index.wxss

606 lines
9.3 KiB
Plaintext
Raw Permalink Normal View History

2020-04-25 22:59:04 +08:00
/* wxParse.wxss */
@import "/wxParse/wxParse.wxss";
.slide-image {
background: #fff;
}
.banner-box {
height: 750rpx;
/* border-bottom: 1rpx solid #e4e4e4; */
}
.user-orderJtou {
color: #999;
font-size: 26rpx;
position: absolute;
top: 50%;
margin-top: -9rpx;
}
/* 底部操作栏 */
.footer-fixed .goods-fixed-icon {
width: 100rpx;
background: #fff;
margin: 0 auto;
padding: 0 6rpx;
border-left: 1rpx solid #eee;
height: 92rpx;
position: relative;
}
.footer-fixed .goods-fixed-icon:first-child {
border-left: none;
}
.footer-fixed .goods-fixed-icon image {
width: 56rpx;
height: 56rpx;
display: block;
position: absolute;
left: 50%;
margin-left: -28rpx;
top: 50%;
margin-top: -26rpx;
}
.footer-fixed .goods-fixed-icon text {
color: #7a7e83;
font-size: 48rpx;
}
.footer-fixed .goods-fixed-icon .icon-shoucang {
font-size: 40rpx;
}
.footer-fixed .goods-fixed-icon .s_cont {
color: #ff495e;
}
.footer-fixed .fixed-buttons {
height: 100%;
}
2021-07-16 16:37:55 +08:00
.footer-fixed .fixed-buttons .order-bt {
2020-04-25 22:59:04 +08:00
width: auto;
line-height: unset;
height: 100%;
}
2021-07-16 16:37:55 +08:00
.footer-fixed .fixed-buttons .order-number {
2020-04-25 22:59:04 +08:00
height: 100%;
}
/* 商品标题 */
.goods-title {
overflow: hidden;
padding: 0 0rpx 0 0;
color: #333;
}
/* 商品价格 */
.money-box {
margin: 10rpx 0;
}
.money-box .goods-price .goods-price_num {
font-size: 40rpx;
}
.money-box .line-price {
font-size: 24rpx;
color: #999;
padding-top: 6rpx;
text-decoration: line-through;
margin-left: 12rpx;
}
/* 商品销量 */
.goods-sales-box .stock {
display: block;
text-align: right;
}
/* 商品评论 */
.goods-comment .goods-property-box {
position: relative;
padding: 12px;
}
.goods-comment .goods-property-jianTou {
width: 52rpx;
position: absolute;
right: 0;
top: 50%;
margin-top: -13rpx;
}
.goods-comment .goods-property-jianTou image {
height: 100%;
width: 100%;
}
.goods-comment-box .comment_btn {
width: 220rpx;
margin: 0 auto;
padding: 20rpx 0;
}
.goods-comment-box .comment_btn text {
display: block;
padding: 5rpx 0;
color: #ff495e;
font-size: 26rpx;
text-align: center;
border: 1px solid #ff495e;
border-radius: 30rpx;
}
/* banner计数 */
.banner-num {
position: absolute;
right: 30rpx;
margin-top: -70rpx;
padding: 0 18rpx;
background: rgba(0, 0, 0, 0.3);
border-radius: 50rpx;
color: #fff;
font-size: 32rpx;
}
.banner-num text:last-child {
color: rgba(255, 255, 255, 0.6);
font-size: 26rpx;
}
.footer-fixed .order-number {
background: #ff92ba;
color: #fff;
text-align: center;
}
.footer-fixed .order-number button {
background: none;
padding: 0;
/* font-size: 34rpx; */
color: #fff;
line-height: inherit;
border-radius: 0;
border: 0;
}
.footer-fixed .order-number button::after {
content: " ";
width: 0;
height: 0;
position: absolute;
top: 0;
left: 0;
border: none;
transform: scale(0);
transform-origin: 0 0;
box-sizing: border-box;
border-radius: 0;
}
.footer-fixed .default-btn {
width: 100%;
background-color: #ccc;
color: #fff;
text-align: center;
line-height: 92rpx;
}
.footer-fixed .flow_num {
background: #ff495e;
position: absolute;
right: 20rpx;
top: 10rpx;
border-radius: 30rpx;
height: 30rpx;
min-width: 30rpx;
}
/* 商品详情 */
.goods-detail-box {
font-size: 28rpx;
}
/* 评价次数 */
.comment-num {
position: absolute;
right: 34px;
top: 50%;
margin-top: -20rpx;
font-size: 28rpx;
color: #333;
}
.top-nav-bar {
padding: 24rpx;
font-size: 28rpx;
color: #333;
}
.goods-fixed-icon contact-button {
display: block;
}
/* 商品分享 */
.goods__share button.share-btn {
line-height: normal;
padding: 0 0 0 10rpx;
background: none;
border-radius: 0;
box-shadow: none;
font-size: 8pt;
border: none;
color: #888;
}
.goods__share button.share-btn::after {
border: none;
}
.goods__share .share__icon {
font-size: 46rpx;
margin-bottom: 5rpx;
}
/* 商品海报 弹出层 */
.pop-poster {
position: relative;
background: #fff;
padding: 42rpx;
border-radius: 10rpx;
}
/* 关闭按钮 */
.pop-poster .pop-close {
position: absolute;
width: 56rpx;
height: 56rpx;
background: #fff;
border-radius: 50%;
box-shadow: 0 0 25rpx rgba(0, 0, 0, 0.15);
right: -28rpx;
top: -28rpx;
}
.pop-poster .pop-close text {
display: block;
}
.pop-poster .poster__image {
padding: 0 40rpx;
}
.pop-poster .poster__image image {
box-shadow: 0 0 25rpx rgba(0, 0, 0, 0.15);
width: 460rpx;
height: 696.746rpx;
}
.pop-poster .profile-btn button {
margin-bottom: 0;
}
/* sku选择器 */
.sku-selector {
padding: 30rpx 20rpx;
}
/* 确认购买弹窗 */
.popup__trade {
width: 750rpx;
position: relative;
padding-bottom: 92rpx;
z-index: 999;
}
.popup__trade .trade-close {
position: absolute;
top: 20rpx;
right: 20rpx;
width: 50rpx;
height: 50rpx;
}
.popup__trade .trade-main {
background: #fff;
box-sizing: border-box;
padding: 24rpx;
}
.popup__trade .footer-fixed {
position: absolute;
}
.popup__trade .footer-fixed .order-bt {
width: 100%;
line-height: unset;
}
.popup__trade .trade-main .goods-info {
margin-bottom: 10rpx;
}
.popup__trade .trade-main .goods-info .goods-image {
margin-top: -40px;
margin-right: 20rpx;
}
.popup__trade .trade-main .goods-info .goods-image image {
width: 90px;
height: 90px;
border: 5rpx solid #fff;
box-shadow: 0 4rpx 10rpx rgba(220, 220, 220, 0.79);
}
.popup__trade .trade-main .goods-info .money-box {
margin: 0;
}
.popup__trade .trade-main .goods-info .goods-stock {
padding-left: 10rpx;
}
.popup__trade .trade-main .buy_number {
margin: 20rpx 0;
justify-content: space-between;
}
.popup__trade .trade-main .buy_number .buyNumber {
color: #888;
background: #fff;
border-radius: 10rpx;
margin-bottom: 10rpx;
}
/* 商品规格 */
.goods-attr {
padding: 10rpx 0;
}
.goods-attr .goods-attr--scroll {
max-height: 600rpx;
}
.goods-attr .group-item .tips-text {
font-size: 26rpx;
color: #888;
margin-bottom: 10rpx;
}
.goods-attr .group-item .spec-item {
display: inline-block;
}
.goods-attr .group-item .spec-item {
font-size: 26rpx;
height: 55rpx;
line-height: 55rpx;
padding: 0 30rpx;
margin: 0 20rpx 20rpx 0;
border-radius: 8rpx;
color: #888;
border: 1rpx solid #e6e6e6;
}
.goods-attr .group-item .spec-item.cur {
background: #f82169;
border: 1rpx solid #f82169;
color: #fff;
}
.goods-attr .group-item .spec-item.disabled {
color: #dedede;
cursor: not-allowed;
background: #eee;
border: 2rpx dashed #dedede;
}
.select-number {
width: 202rpx;
height: 52rpx;
flex-direction: row;
border: 1rpx solid rgb(231, 231, 231);
border-radius: 5rpx;
}
.select-number .default {
float: left;
width: 60rpx;
height: 52rpx;
line-height: 48rpx;
padding: 0;
background: #fff;
color: #444;
font-size: 40rpx;
border-radius: unset;
}
.select-number .disabled {
background: #f7f7f7;
color: #ddd;
}
.select-number button:after {
content: none;
border: none;
}
.select-number input {
float: left;
width: 80rpx;
height: 52rpx;
line-height: 52rpx;
border-right: 1rpx solid #eee;
border-left: 1rpx solid #eee;
text-align: center;
font-size: 28rpx;
color: #444;
}
/* 团购提醒 */
.goods__share {
margin-left: 20rpx;
}
.goods-name {
padding: 26rpx 20rpx;
}
/* 商品卖点 */
.goods-name .goods-selling-point {
color: #f20c59;
}
.goods-attention {
background: url("https://css.gomein.net.cn/plus/style/product/item/images/tq-bg.png?v=2017111401") center no-repeat;
height: 108rpx;
color: #fff;
font-size: 28rpx;
padding: 10rpx 20rpx;
box-sizing: border-box;
}
.goods-price {
margin-right: 20rpx;
}
.goods-attention .price-text {
font-size: 58rpx;
}
/* .goods-message {} */
.goods-message .line-price {
text-decoration: line-through;
margin-bottom: 5rpx;
}
.goods-message .in-tag {
background-color: #fff;
color: #ec3467;
border-radius: 12rpx;
padding: 1rpx 12rpx;
margin-right: 10rpx;
}
/* 拼团玩法 */
.rule-nav {
padding: 24rpx;
font-size: 29rpx;
}
.rule-nav .rule-simple {
margin-top: 35rpx;
color: #737373;
}
.rule-nav .i-number {
width: 60rpx;
height: 60rpx;
border-radius: 50%;
margin-bottom: 15rpx;
border: 1rpx dashed #c0c0c0;
}
/* 进行中的团购 */
.corwd {
padding: 15rpx 0rpx;
display: flex;
height: 100rpx;
line-height: 1;
justify-content: space-between;
border-bottom: 1rpx solid #eee;
}
.corwd:last-child {
border-bottom: none;
}
.corwd_people {
width: 40%;
display: flex;
align-items: center;
box-sizing: border-box;
}
.corwd_people .corwd_people_images {
margin-right: 12rpx;
width: 80rpx;
height: 80rpx;
border-radius: 50%;
border: 2rpx solid #eee;
}
.corwd_people text {
font-size: 28rpx;
}
.corwd_time {
display: flex;
align-items: center;
width: 60%;
}
.corwd_time_text {
width: 60%;
text-align: center;
}
.corwd_time_title {
display: block;
}
.corwd_time_title text {
color: red;
}
.corwd_time_number {
2021-07-16 16:37:55 +08:00
display: flex;
align-items: center;
justify-content: center;
2020-04-25 22:59:04 +08:00
margin-top: 15rpx;
2021-07-16 16:37:55 +08:00
font-size: 22rpx;
}
.corwd_time_number .prefix {
margin-right: 6rpx;
2020-04-25 22:59:04 +08:00
}
.corwd_time button {
padding: 0rpx 28rpx;
line-height: 55rpx;
text-align: center;
font-size: 26rpx;
border-radius: 40rpx;
color: #fff;
background: linear-gradient(to right, #fa1e8c 0, #fc1e56 100%);
border: none;
}
.corwd_time button:after {
content: none;
border: none;
2021-07-16 16:37:55 +08:00
}