/* packageH/deposit_group/activity_index/activity_index.wxss */ .deposit-wrap { position: relative; min-height: 100vh; box-sizing: border-box; padding: 50rpx 30rpx 150rpx 30rpx; background-color: rgb(var(--bgColor)); background-image: url("https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/depositGroup/activity_index@2x.png"); } .deposit-wrap view { box-sizing: border-box; } .title { display: inline-block; margin-bottom: 40rpx; margin: 0 20rpx; font-size: 16px; font-weight: bolder; color: rgb(var(--bgColor)); } .panel-title-decoration { display: inline-block; } .panel-title-decoration-item { display: inline-block; margin-right: 0.375rem; width: 0.1875rem; height: 0.8125rem; background: linear-gradient(to bottom, rgb(var(--bgColor)), transparent); transform: skew(-25deg, 10deg); } .red-text { color: #f14e4e; } /* 分割线 */ .floating-window { /* position: absolute; */ margin-bottom: 30rpx; top: 10rpx; left: 25rpx; } .floating-window .swiperContainer { height: 76rpx; } .floating-window .swiperContainer .swiperItem { height: 96rpx; } .floating-window .swiperContainer .swiperItem .wrapper { height: 64rpx; display: inline-flex; padding: 0 20rpx; align-items: center; overflow: hidden; background: rgba(255, 255, 255, 0.5); border-radius: 1.5rem; } .floating-window .swiperContainer .swiperItem .wrapper .image { width: 48rpx; display: flex; margin-right: 10rpx; align-items: center; } .floating-window .swiperContainer .swiperItem .wrapper .image image { width: 48rpx; height: 48rpx; border-radius: 50%; overflow: hidden; } .floating-window .swiperContainer .swiperItem .wrapper .text { font-size: 25rpx; text-align: left; color: #464646; overflow: hidden; /* 超出部分隐藏 */ text-overflow: ellipsis; /* 超出部分显示省略号 */ white-space: nowrap; /* 规定段落中的文本不进行换行 */ } /* 分割线 end */ .container-box { width: 690rpx; margin-top: 30rpx; padding: 40rpx; text-align: center; background-color: #fff; border-radius: 20rpx; overflow: hidden; } .activity-info { width: 690rpx; background-color: #fff; border-radius: 20rpx; overflow: hidden; } .activity-info .info { position: relative; display: flex; justify-content: center; align-items: center; flex-direction: column; padding: 20rpx 0; background-color: rgba(var(--bgColor), 0.2); } /* .info-bg{ position: absolute; z-index: 0; width: 100%; height: 100%; background-color: #fec400; opacity: 0.2; } */ .activity-info .activity-name { z-index: 1; font-size: 16px; font-weight: bold; color: #464646; } .activity-info .count-down, .activity-info .active { z-index: 1; display: flex; margin-top: 25rpx; color: #666; font-size: 28rpx; font-weight: 600; } .activity-info .end { font-size: 14px; font-weight: normal; margin-top: 25rpx; } .count-down .bottom-time { display: flex; margin-left: 27rpx; align-items: center; } .count-down .bottom-time .radius-box { padding: 7rpx 14rpx; color: #fff; background-color: rgb(var(--bgColor)); border-radius: 10rpx; font-weight: 400; text-align: center; } .count-down .bottom-time .text { padding: 0 0.281rem; display: flex; align-items: center; } .activity-info .com-info { display: flex; width: 100%; padding: 36rpx 25rpx; } .com-info .com-left-img { width: 200rpx; height: 200rpx; } .com-info .com-right-box { display: flex; flex-direction: column; justify-content: space-between; margin-left: 24rpx; letter-spacing: 0; font-size: 14px; } .com-right-box .com-title { width: 386rpx; font-weight: bold; line-height: 20px; color: #333; } .com-right-box .com-opt { font-size: 12px; font-weight: lighter; color: #999; } .tag { margin-right: 5rpx; } .com-right-box .com-price { font-weight: bold; color: #202020; } .com-right-box .com-deposit { display: flex; justify-content: space-between; font-weight: bold; color: #f14e4e; } .com-right-box .com-deposit .num { display: flex; align-items: center; } .num .reduce-goods, .num .add-goods { width: 46rpx; height: 46rpx; border-radius: 50%; line-height: 46rpx; text-align: center; color: #eee; } .num .reduce-goods { background-color: #c9c8c8; } .num .add-goods { background-color: #f14e4e; } .num .good-num { color: #202020; font-weight: 400; padding: 0 20rpx; } .activity-rule { margin-top: 30rpx; padding: 40rpx 0; text-align: center; } .rule-condition { margin: 0 auto; margin-top: 20rpx; padding: 15rpx 0; font-size: 14px; } .act-state { box-shadow: 3rpx 1rpx 15rpx 6rpx rgba(232, 232, 232, 0.49); } .act-state .stage { font-weight: 400; color: #ff2c29; } .diff-tip { display: flex; justify-content: center; font-size: 12px; margin-bottom: 10rpx; } .diff-tip .current-ladder { display: inline-block; padding: 5rpx 10rpx; border-radius: 0rpx 25rpx 0rpx 25rpx; font-size: 12px; color: #fff; background-color: #ff2c29; } .activity-des { margin-top: 30rpx; padding: 40rpx; text-align: center; } .activity-des .description { margin-bottom: 20rpx; font-size: 16px; text-align: left; } .activity-des .des-empty { font-size: 16px; margin-top: 100rpx; } .activity-record .record-list { width: 100%; margin-top: 20rpx; } .record-list .record-item { display: flex; justify-content: space-between; align-items: center; margin-bottom: 40rpx; font-size: 15px; } .record-item .avatar { width: 35rpx; height: 35rpx; margin-left: 32rpx; border-radius: 50%; } .record-item .name { flex: 1; margin-left: 12rpx; text-align: left; } .record-item .timer { color: #666; font-size: 13px; } .activity-record .more { margin: 0 auto; width: 180rpx; display: flex; justify-content: center; align-items: center; font-size: 12px; } .activity-record .rec-empty { font-size: 14px; color: #9c9c9c; } /* 悬浮按钮 */ .float-nav { position: fixed; right: 10rpx; bottom: 210rpx; width: 150rpx; display: flex; flex-direction: column; align-items: center; } .nav-bonus .bonus-img { display: flex; justify-content: center; align-items: center; width: 104rpx; height: 104rpx; margin: 0 auto; background-size: 100% 100%; background-image: url("https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/depositGroup/share_tip@2x.png"); } .nav-bonus .bouns-text { width: 80rpx; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; margin-top: -45rpx; font-size: 18rpx; font-weight: 800; background-image: -webkit-linear-gradient(bottom, #eb7400, #f4a00a, #ffd315); -webkit-background-clip: text; -webkit-text-fill-color: transparent; } .float-nav .nav-icon { width: 80rpx; height: 80rpx; margin-top: 20rpx; background-size: 100% 100%; } .nav-share { background-image: url("https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/depositGroup/icon_share@2x.png"); } .nav-order { background-image: url("https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/depositGroup/icon_order@2x.png"); } .nav-rank { background-image: url("https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/depositGroup/icon_rank_list@2x.png"); } /* 协议弹框 */ /* .agr-popup { } */ .agr-popup .agr-title { text-align: center; font-size: 16px; font-weight: bold; margin-top: 10rpx; } .agr-popup .agr-content, .agr-popup .contract { padding: 0 40rpx; height: 19.3rem; overflow-y: scroll; margin: 40rpx 0; } .agr-popup .btn-agreed { margin: 0 auto; width: 80%; margin-bottom: 30rpx; padding: 20rpx 10rpx; border-radius: 50rpx; background: rgb(var(--bgColor)); text-align: center; color: #fff; } .agr-popup .contract-text { margin-top: 80rpx; font-size: 14px; }