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/active/index.wxss
2021-07-16 16:37:55 +08:00

508 lines
8.4 KiB
Plaintext

page {
background: #f3f3f3;
}
view {
word-break: break-all;
/* overflow: auto; */
}
/* 箭头图标 */
.icon-arrow {
display: inline-block;
width: 0;
height: 0;
border-width: 10rpx;
border-style: solid;
border-color: transparent transparent transparent #ccc;
}
/* 商品信息 */
.header {
margin: auto;
margin-top: 70rpx;
padding: 30rpx 20rpx;
width: 95%;
background: #fff;
border-radius: 10rpx;
box-sizing: border-box;
box-shadow: 0px 5px 12px rgb(226, 226, 226);
}
.header .header_lf {
box-shadow: 0px 2px 8px #e6e6e6;
margin: -70rpx 20rpx 10rpx 10rpx;
}
.header .header_lf image {
display: block;
width: 320rpx;
height: 320rpx;
}
.header .header_rt {
background: #fff;
}
.header .header_rt .goods-name {
display: block;
font-size: 24rpx;
line-height: 2;
}
.header .header_rt .goods-price {
margin: 20rpx 10rpx;
}
.header .header_rt .goods-price .m-price {
display: inline-block;
font-size: 40rpx;
color: #ff495e;
}
.header .header_rt .goods-price .line-price {
display: inline-block;
margin: 10rpx;
font-size: 24rpx;
color: #8e8e8e;
text-decoration: line-through;
}
.header .header_rt .goods-tag .tag-item {
display: inline-block;
padding: 4rpx 12rpx;
font-size: 24rpx;
line-height: 36rpx;
border-radius: 5rpx;
color: #ff6464;
background: #feeeee;
margin-left: 10rpx;
margin-bottom: 10rpx;
box-sizing: border-box;
}
.header:after {
display: block;
clear: both;
content: "";
visibility: hidden;
height: 0;
}
/* 拼团成员 */
.main {
margin: auto;
margin-top: 30rpx;
padding: 50rpx 20rpx;
width: 95%;
background: #fff;
border-radius: 10rpx;
box-sizing: border-box;
box-shadow: 0px 5px 12px rgb(226, 226, 226);
}
.main .main_user {
display: flex;
margin: auto;
width: 600rpx;
flex-wrap: wrap;
margin-bottom: 30rpx;
}
.main .main_user .user-item {
width: 100rpx;
height: 100rpx;
margin: 0 25rpx 25rpx 0;
position: relative;
box-sizing: border-box;
}
.main .main_user .user-item:nth-child(5n+0) {
margin-right: 0;
}
.main .main_user .user-item image {
width: 100%;
height: 100%;
border-radius: 50%;
border: 1rpx solid #f3f3f3;
}
.main .main_user .user-item .user-role {
width: 100%;
text-align: center;
height: 40rpx;
position: absolute;
left: 0;
bottom: -1rpx;
}
.main .main_user .user-item .user-role text {
background: #fa1e8c;
border-radius: 15rpx;
display: inline-block;
line-height: 1.4;
font-size: 24rpx;
color: #fff;
width: 78rpx;
}
.main .main_user .user-item.user-item__wait {
border-radius: 50%;
background: #f8f8f8;
border: 1rpx dashed #dbdbdb;
}
.main .main_user .user-item.user-item__wait text {
color: #dbdbdb;
font-size: 38rpx;
}
/* 拼团状态 */
.main_status {
margin-bottom: 40rpx;
font-size: 35rpx;
text-align: center;
}
.main_status__fail {
color: #ff495e;
}
.main_status__success {
color: #08b625;
}
.main_status .status-icon {
margin-right: 15rpx;
}
/* 倒计时 */
.main_tiem {
margin-bottom: 40rpx;
font-size: 32rpx;
text-align: center;
display: flex;
justify-content: center;
}
.main_tiem .main_timer_color {
color: #fc8434;
}
.main button {
display: block;
margin-top: 40rpx;
width: 350rpx;
line-height: 90rpx;
font-size: 29rpx;
background: #fbeb4e;
border: none;
box-shadow: 0px 3px 12px #fbc293;
}
.main button:after {
content: none;
border: none;
}
/* 更多拼团 */
.content {
margin: auto;
margin-top: 30rpx;
width: 95%;
background: #fff;
border-radius: 10rpx;
box-sizing: border-box;
box-shadow: 0px 5px 12px rgb(226, 226, 226);
}
.content_top {
padding: 35rpx 20rpx;
display: flex;
padding-bottom: 30rpx;
justify-content: space-between;
align-items: center;
}
.content_main {
padding: 25rpx;
justify-content: space-between;
border-top: 1rpx solid rgb(238, 238, 238);
}
.content_main .goods-image {
width: 240rpx;
height: 240rpx;
border-radius: 10rpx;
}
.content_main .goods-image image {
display: block;
width: 100%;
height: 100%;
}
.content_main .goods-detail {
position: relative;
width: 410rpx;
}
.content_main .goods-detail .goods-name {
font-size: 24rpx;
line-height: 2;
height: 96rpx;
}
.content_main .goods-detail .goods-sales {
margin: 20rpx 0;
font-size: 24rpx;
color: #fc8434;
}
.content_main .goods-detail .goods-detail_bottom {
overflow: hidden;
height: 55rpx;
}
.content_main .goods-detail .goods-detail_bottom .bottom-right {
height: 100%;
line-height: 1;
}
.content_main .goods-detail .goods-price {
font-size: 38rpx;
}
.content_main .goods-detail .line-price {
margin: 0 20rpx 0 10rpx;
font-size: 24rpx;
color: #8e8e8e;
text-decoration: line-through;
}
.content_main .goods-detail .btn-navie {
margin: 0;
padding: 0;
width: 130rpx;
background: linear-gradient(to right, #fa1e8c 0, #fc1e56 100%);
line-height: 55rpx;
height: 100%;
color: #fff;
font-size: 26rpx;
}
/* 拼团须知 */
.notice {
display: flex;
margin: auto;
margin-top: 30rpx;
padding: 35rpx 20rpx;
width: 95%;
background: #fff;
border-radius: 10rpx;
box-sizing: border-box;
box-shadow: 0px 5px 12px rgb(226, 226, 226);
justify-content: space-between;
align-items: center;
}
.notice .t-brief {
font-size: 25rpx;
color: #a6a6a6;
}
/* 确认购买弹窗 */
.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 .footer-fixed .default-btn {
width: 100%;
background-color: #ccc;
color: #fff;
text-align: center;
line-height: 92rpx;
}
.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;
box-sizing: border-box;
}
.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-list-box .tmall-types.mb20 {
margin-bottom: 20rpx;
}
.goods-list-box .tmall-types .tipstxt {
font-size: 26rpx;
color: #888;
margin-bottom: 10rpx;
}
.goods-list-box .tmall-types .cartypelist {
display: inline-block;
}
.goods-list-box .tmall-types .cartypelist .cartypeitem {
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-list-box .tmall-types .cartypelist .cartypeitem.cur {
background: #f20c59;
border: 1rpx solid #f20c59;
color: #fff;
}
.goods-list-box .tmall-types .cartypelist .cartypeitem.cur:after {
position: absolute;
bottom: 0;
right: 0;
content: '';
display: inline-block;
width: 16rpx;
height: 16rpx;
}
.goods-list-box .tmall-types .cartypelist .cartypeitem.disabled {
color: #dedede;
cursor: not-allowed;
background: #eee;
border: 2rpx dashed #dedede;
}
/* 商品价格 */
.money-box {
margin: 10rpx 0;
}
.money-box .price {
font-size: 40rpx;
}
.money-box .del {
font-size: 24rpx;
color: #999;
margin-left: 6rpx;
TEXT-DECORATION: line-through;
}
/* 选择数量 */
.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;
}