/* pages/SpellGroupDetails/spellGroupDetails.wxss */ .clearfix::after { content: ''; display: block; clear: both; } .top-box { position: relative; height: 370rpx; background: #fff; border-bottom: 15rpx solid #f2f2f2; } .top-bg { width: 150%; height: 450rpx; border-radius: 50%; position: relative; left: -27%; top: -135px; color: #fff; text-align: center; line-height: 100px; z-index: 1; background: -webkit-linear-gradient(left, #ff4f47, #fc3060); /* Safari 5.1 - 6.0 */ background: -o-linear-gradient(right, #ff4f47, #fc3060); /* Opera 11.1 - 12.0 */ background: -moz-linear-gradient(right, #ff4f47, #fc3060); /* Firefox 3.6 - 15 */ background: linear-gradient(to right, #ff4f47, #fc3060); /* 标准*/ } /* 商品内容 */ .goods-content { position: absolute; top: 60rpx; left: 50%; transform: translateX(-50%); width: 85%; margin: 0 auto; padding: 15rpx; z-index: 11; background: #fff; border-radius: 15rpx; box-shadow: 0 7rpx 12rpx 0 #e9e9e9; } .goods-img-box { display: inline-block; width: 200rpx; height: 200rpx; margin-right: 20rpx; background: #eee; vertical-align: middle; border-radius: 10rpx; } .goods-img { width: 100%; height: 100%; } .goods-msg { display: inline-block; height: 100%; vertical-align: top; font-size: 28rpx; } .goods-title { display: inline-block; width: 400rpx; display: -webkit-box; word-break: break-all; overflow: hidden; text-overflow: ellipsis; -webkit-line-clamp: 2; -webkit-box-orient: vertical; } .goods-price { position: relative; top: 50rpx; } .spell-group-price { color: #e43130; margin-right: 0.5em; font-size: 34rpx; } .original-price { font-size: 28rpx; text-decoration: line-through; color: #888; } /* 拼团规则 */ .tips-text { font-size: 28rpx; position: absolute; bottom: 1em; width: 85%; left: 50%; transform: translateX(-50%); text-align: left; } .thumb-icon { display: inline-block; width: 20rpx; height: 20rpx; margin-right: 15rpx; } .right-arrow-icon { padding-top: 4rpx; width: 25rpx; height: 25rpx; float: right; } /* 下方 */ .condition { padding-top: 1em; background: #fff; font-size: 28rpx; text-align: center; } /* 剩余时间 */ .time-remaining { position: relative; text-align: center; } .time-text { padding: 0 3em; color: #e43130; } .line { position: absolute; display: inline-block; top: 50%; transform: translateX(-50%); width: 3em; height: 5rpx; background-color: #e43130; } .round { position: absolute; top: 44%; transform: translateX(-40%); width: 10rpx; height: 10rpx; background-color: #e43130; border-radius: 50%; right: 62%; } .round:nth-child(2) { right: 36%; } .countdown { text-align: center; padding: 1em 0; color: #e43130; } .time-number { background: #e43130; color: #fff; border-radius: 8rpx; padding: 0 4rpx; } /* 人员 */ .member { display: inline-block; margin: 1em 0; padding-left: 2.5em; } .captain, .group-member { display: inline-block; position: relative; width: 120rpx; height: 120rpx; z-index: 999; } .captain-img { box-sizing: border-box; width: 100%; height: 100%; border: 4rpx solid #e43130; border-radius: 50%; } .status { position: absolute; left: 50%; transform: translateX(-50%); bottom: 0; font-size: 23rpx; width: 3em; background: #e43130; color: #fff; border-radius: 10rpx; } .group-member-img { box-sizing: border-box; width: 100%; height: 100%; border: 3rpx dashed #e43130; border-radius: 50%; } .view-all { color: #e43130; border: 1px solid #e43130; width: 7em; margin: 0 auto; border-radius: 30rpx; padding: 0.2em 0; font-size: 22rpx; margin-bottom: 1.5em; } .invite-text { margin: 1em 0; font-size: 28rpx; } .invite-text > text { color: #e43130; } .display { display: none; } /* 立即参团 */ .join-now, .check-order { box-sizing: border-box; width: 85%; margin: 1.5em auto; border-radius: 50rpx; font-size: 27rpx; } .join-now { color: #fff; height: 80rpx; line-height: 80rpx; background: -webkit-linear-gradient(left, #ff4f47, #fc3060); /* Safari 5.1 - 6.0 */ background: -o-linear-gradient(right, #ff4f47, #fc3060); /* Opera 11.1 - 12.0 */ background: -moz-linear-gradient(right, #ff4f47, #fc3060); /* Firefox 3.6 - 15 */ background: linear-gradient(to right, #ff4f47, #fc3060); /* 标准*/ } .check-order { border: 1px solid #e43130; color: #e43130; padding: 0.7em 0; } /* 弹框 */ /*模态框*/ .modals { position: fixed; z-index: 999; top: 0; left: 0; right: 0; bottom: 0; } .modals-cancel { position: absolute; z-index: 190; top: 0; left: 0; right: 0; bottom: 0; background-color: rgba(0, 0, 0, 0.5); } .bottom-dialog-body { position: absolute; z-index: 200; bottom: 0; left: 0; right: 0; height: auto; background-color: #fff; } /*动画前初始位置*/ .bottom-pos { -webkit-transform: translateY(100%); transform: translateY(100%); } /* 上部内容 */ .top-content { position: relative; border-bottom: 1px solid #f2f2f2; font-size: 25rpx; } .top-content-img-box { position: absolute; top: -25rpx; width: 150rpx; height: 150rpx; background: #f2f2f2; margin-left: 30rpx; } .top-content-img-box > image { width: 100%; height: 100%; } .goods-msg-box { position: relative; margin-left: 200rpx; margin-bottom: 1em; margin-top: 0.3em; } .goods-names { line-height: 2em; color: #000; width: 85%; } .group-tips { font-size: 20rpx; color: #e43130; padding: 0.3em 0; padding-top: 0; } .goods-prices { font-size: 30rpx; color: #e43130; margin-top: 5rpx; } .rmb-symbol { margin-right: 0.5em; } .close-btn { position: absolute; display: block; right: 20rpx; top: 10rpx; width: 35rpx; height: 35rpx; /* background: url('../../images/icon/close.png'); background-size: 100% 100%; */ z-index: 250; } .close-btn > image { width: 100%; height: 100%; } /* sku字体 */ .sku-text { position: relative; padding: 1em; font-size: 25rpx; border-bottom: 1px solid #f2f2f2; } /* 数量选择 */ .quantity { position: relative; padding: 1em; font-size: 25rpx; border-bottom: 1px solid #f2f2f2; } .left-text { line-height: 1.5em; } .left-text-bottom { font-size: 20rpx; color: #bbb; } /* choose-quantity */ .right-choose { position: absolute; right: 1em; top: 1em; } .subtract, .show-num, .add { display: inline-block; background: #f5f5f5; color: #cfcfcf; padding: 7rpx 18rpx; } .show-num { margin: 0 3rpx; } .add { padding: 7rpx 12rpx; } .current-state { background: #ebebeb; color: #6d6d6e; } /* 确认按钮 */ .confirm-btn { width: 100%; font-size: 27rpx; padding: 0.8em 0; color: #fff; background: #f44; text-align: center; margin-top: 0.5em; margin-bottom: 200rpx; } /** 规格弹窗**/ .popup-hide { position: fixed; top: 0; bottom: 0; left: 0; right: 0; z-index: 999; background-color: rgba(0, 0, 0, 0.3); } .popup-box { position: absolute; bottom: 0; width: 100%; min-height: 375px; max-height: 475px; overflow: hidden; background-color: #fff; } .popup-tit { position: relative; height: 46px; line-height: 46px; padding-left: 10px; font-size: 16px; color: #333; background-color: #f7f7f7; } .close { color: #aaa; border-radius: 12px; line-height: 20px; text-align: center; height: 20px; width: 20px; font-size: 18px; padding: 1px; top: 10px; right: 10px; position: absolute; } .close::before { content: "\2716"; } .popup-cnt { max-height: 429px; overflow: auto; padding: 0 10px; } .pup-sku { position: fixed; top: 0; bottom: 0; left: 0; right: 0; z-index: 999; background-color: rgba(0, 0, 0, 0.3); } .pup-sku-main { position: absolute; bottom: 0; width: 100%; min-height: 375px; max-height: 475px; background-color: #fff; } .pup-sku-header { position: relative; line-height: 46px; padding-left: 10px; font-size: 16px; color: #333; height: 70px; padding: 0 0 10px 110px; background-color: #fff; } .pup-sku-img { position: absolute; left: 10px; top: -20px; border-radius: 2px; width: 90px; height: 90px; border: 0 none; vertical-align: top; } .pup-sku-price { display: inline-block; height: 40px; line-height: 40px; color: #e4393c; font-size: 30rpx; } .pup-sku-price-int { font-size: 34rpx; } .pup-sku-prop { word-break: break-all; font-size: 28rpx; color: #333; line-height: 1.4em; padding-right: 10px; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; } .pup-sku-prop text { color: #999; margin-right: 5px; } .pup-sku-body { box-sizing: border-box; max-height: 379px; padding-bottom: 100px; overflow: auto; } .pup-sku-area .sku-kind { font-size: 28rpx; color: #999; margin: 0 10px; height: 40px; line-height: 40px; } .pup-sku-area .sku-choose { overflow: hidden; margin-bottom: 3px; } .sku-choose-item { display: inline-block; padding: 0 10px; min-width: 20px; max-width: 270px; overflow: hidden; height: 28px; line-height: 28px; text-align: center; margin-left: 10px; margin-bottom: 10px; border-radius: 4px; color: #444; background-color: #f7f7f7; font-size: 26rpx; border:1px solid #aaa; } .sku-choose-item.active { background-color: #e43130; color: #fff; border:1px solid #e43130 !important; } .sku-choose-item.gray { background-color: #f9f9f9; color: #ddd; } .sku-choose-item.dashed { border:1px dashed #ccc; } .pup-sku-count { padding: 0 10px 13px; font-size: 28rpx; } .pup-sku-count .count-name { color: #999; height: 31px; line-height: 31px; width: 100rpx; } .pup-sku-count .num-wrap { position: relative; z-index: 0; width: 110px; float: right; vertical-align: middle; display: flex; } .num-wrap .minus, .num-wrap .plus { position: relative; max-width: 30px; min-width: 30px; height: 30px; line-height: 30px; background: #f7f7f7; text-align: center; } .num-wrap .minus { border-top-left-radius: 3px; border-bottom-left-radius: 3px; } .num-wrap .plus { border-top-right-radius: 3px; border-bottom-right-radius: 3px; } .num-wrap .row { border-radius: 20px; position: absolute; top: 50%; left: 50%; margin-left: -7px; margin-top: -1px; width: 14px; height: 2px; background-color: #ccc; } .num-wrap .col { border-radius: 20px; position: absolute; top: 50%; left: 50%; margin-left: -1px; margin-top: -7px; width: 2px; height: 14px; background-color: #999; } .pup-sku-count .text-wrap { position: relative; width: 45px; z-index: 0; margin: 0 1px; } .pup-sku-count .text-wrap input { height: 30px; width: 100%; color: #333; background: #fff; font-size: 12px; text-align: center; border: none; background: #f7f7f7; } .pup-sku-footer { position: fixed; bottom: 0; left: 0; width: 100%; display: flex; flex-direction: row nowrap; height: 98rpx; z-index: 999; box-shadow: 0 -1px 3px rgba(0, 0, 0, 0.05); } .pup-sku-footer .btn { position: relative; display: flex; flex-grow: 1; justify-content: center; align-items: center; width: 0; background-color: #fff; font-size: 28rpx; flex-flow: column; } .pup-sku-footer .btn.cart { background: #584e61; color: #fff; } .pup-sku-footer .btn.buy { background: #e43130; color: #fff; } .pup-sku-footer .btn.buy.gray { background: #ddd; }