$pagegap:32rpx; .page-wrap{padding: $pagegap;} .top-search{ position: absolute; z-index: 31; background-color: rgba(0,0,0,0.04); border-radius: 100rpx; margin-bottom: 20rpx; margin-left: $pagegap; } .search-wrap{ background-color: #fff; position: relative; padding: 20rpx; margin-bottom: 24rpx; } .search-wrap::after { content: ""; position: absolute; width: 100%; height: 14rpx; bottom: -20rpx; left: 0; background: linear-gradient(to bottom, #F5F5F5, #fff); z-index: -1; } .search-wrap{ .position{ font-size: 28rpx; font-weight: bold; color: #2D2D2D; /deep/ .u-icon{ position: relative; top: 5rpx; margin-left: 8rpx; } } .search-out{ flex: 1; border: 1px solid #DADADA; border-radius: 50rpx; margin-left: 24rpx; } .conditions{ // margin-top: 48rpx; .item{ margin: 0 24rpx; padding: 48rpx 0 20rpx; font-size: 24rpx; font-weight: 400; color: #363636; .text{ margin-right: 10rpx; } } } } .gray{ color: #999; } .red{ color: #FF3C3F; } .view-wrap{ padding: 30rpx 20rpx; } .full-btn{ background-color: #F01414; color: #fff; border-radius: 44rpx; padding: 22rpx 0; text-align: center; margin-bottom: 40rpx; margin-top: 20rpx; font-weight: bold; &.gray{ background-color: #ddd; color: #999; } &.white{ background-color: #fff; color: #606060; } &.red{ background-color: #ED0000; color: #fff; } } .single-til{ margin-bottom: 20rpx; .text{ font-size: 32rpx; color: #333; font-weight: 600; .sub-title{ margin-left: 20rpx; font-size: 24rpx; font-weight: 400; color: #999999; } } .more-text{ font-size: 24rpx; color: #999; } } .date-list{ .date-item{ position: relative; overflow: hidden; flex: 1; background: #FFFFFF; border-radius: 16rpx; border: 2rpx solid #7F7F7F; text-align: center; margin: 0 8rpx; box-sizing: border-box; &.active{ border-color: #ED0000; background-color: #FFC8C8 ; .name,.date{ color: #ED0000; } .selected-img{ display: block; } } .selected-img{ width: 32rpx; height: 32rpx; position: absolute; right: 0; bottom: 0; display: none; } &.dot::after{ content: ''; width: 4px; height: 4px; border-radius: 50%; background-color: #ED0000; position: absolute; right: 10rpx; top: 5px; } .name{ padding-top: 26rpx; margin-bottom: 12rpx; font-size: 24rpx; font-weight: 400; color: #7F7F7F; line-height: 36rpx; } .date{ font-size: 28rpx; font-weight: 500; color: #2D2D2D; line-height: 42rpx; padding-bottom: 28rpx; } } .more-date{ height: 148rpx; .text{ margin-left: 20rpx; margin-right: 10rpx; font-size: 24rpx; font-weight: 400; color: #7F7F7F; line-height: 36rpx; } } } .date-block.generic-block{ .date-list{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 10rpx; } .name{ padding-top: 0; margin-bottom: 0; display: grid; align-content: center; height: 52px; // padding: 34rpx 0; } } // 分享 海报 .share-option{ transform: translateY(100%); .overlay{ position: fixed; left: 0; top: 0; width: 100vw; height: 100vh; background-color: rgba(0, 0, 0, 0.35); transform: translateY(-100%); } &.shareShow{ transform: translateY(0); } position: fixed; width: 100%; left: 0; bottom: 0; z-index: 50; background-color: #fff; .share-option-item{ position: relative; height: 46px; line-height: 46px; border: 0; background-color: #fff; text-align: center; border-radius: 0; border-bottom: 1px solid #eee; font-size: 30rpx; } .wx-share{ border-bottom: 0; } } .poster-wrap{ position: fixed; left: 0; top: 0; width: 100%; height: 100vh; .poster-inner{ flex: 1; margin: 0 75rpx; .close-wrap{ display: flex; justify-content: flex-end; margin-bottom: 16rpx; } } .poster{ position: relative; // padding-bottom: 90rpx; background-color: transparent; .posterBg{ position: absolute; left: 0; bottom: 0; right: 0; width: 100%; z-index: 1; } .placard{ position: relative; z-index: 10; } .bottom{ position: relative; z-index: 20; margin: 33rpx 40rpx 0; .left{ margin-right: 58rpx; .price{ font-size: 22rpx; font-weight: 600; color: #FF3538; line-height: 30rpx; margin-bottom: 10rpx; .num{ font-size: 40rpx; font-weight: 600; margin-left: 5rpx; } } .goodsName{ font-size: 30rpx; font-weight: 400; color: #333333; line-height: 38rpx; margin-bottom: 16rpx; } .slogan{ font-size: 26rpx; font-weight: 600; line-height: 37rpx; } } .right{ text-align: center; .imgTip{ margin-top: 12rpx; font-size: 20rpx; font-weight: 400; color: #333333; line-height: 28rpx; } .qrcode{ width: 108rpx; height:108rpx; } } } } .poster-btn{ height: 88rpx; line-height: 88rpx; border-radius: 44rpx; text-align: center; color: #fff; margin-top: 40rpx; font-size: 32rpx; font-weight: 600; background: linear-gradient(90deg, #FF7979 0%, #ED0000 100%); } } // 分享 海报 // 富文本 .parse-content{ font-size: 26rpx; font-family: SourceHanSansCN, SourceHanSansCN; font-weight: 400; color: #4E4E4E; line-height: 40rpx; rich-text,p{ display: block; margin-bottom: 8px; } } .coupon-list{ .item{ position: relative; margin-bottom: 16rpx; background-size: contain; text-align: center; background-repeat: no-repeat; &.ifReceive{ .right { .btn{ background-color: #FFC4C4; } } } .content{ height: 188rpx; } .left{ width: 34%; padding-left: 6rpx; .quota{ font-weight: 500; font-size: 28rpx; background-clip: text; text-fill-color: transparent; background: linear-gradient(180deg, #FF9B81 0%, #FF1D45 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; /* 使用 WebKit 前缀以支持 Safari 和旧版本的 Chrome */ } .number{ font-weight: bold; font-size: 100rpx; &.small{ font-size: 54rpx; } } .condition{ font-weight: 400; font-size: 22rpx; color: #D56442; line-height: 34rpx } } .center{ flex: 1; text-align: left; padding-left: 40rpx; .name{ font-weight: bold; font-size: 28rpx; color: #C5412B; line-height: 42rpx; margin-bottom: 16rpx; &.small{ font-size: 24rpx; } } .tip{ font-weight: 400; font-size: 22rpx; color: #D56442; line-height: 30rpx; } } .right{ // flex: 1; padding-top: 20rpx; .btn{ display: inline-block; width: 144rpx; text-align: center; height: 50rpx; line-height: 50rpx; background: #FF1212; border-radius: 25rpx; margin-bottom: 14rpx; margin-right: 30rpx; font-weight: bold; font-size: 24rpx; color: #fff; } .time{ font-weight: 400; font-size: 20rpx; color: #FEF1D3; } } .type{ position: absolute; left: 8rpx; top: 22rpx; font-weight: 500; font-size: 20rpx; color: #FFF6E1; transform: rotate(-45deg); } .status-img{ position: absolute; top: 40rpx; left: 66%; width: 120rpx; height: 94rpx; } } }