/* packageF/wxFriendExtend/workWxFriendExtend/workWxFriendExtend.wxss */ view, text { box-sizing: border-box; } .deposit-wrap { position: relative; min-height: 100vh; box-sizing: border-box; padding: 50rpx 30rpx calc(120rpx + env(safe-area-inset-bottom)) 30rpx; background-color: 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; } /* 分割线 */ .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 */ .panel-title-text { display: inline-block; margin-left: 24rpx; margin-right: 30rpx; font-size: 32rpx; font-weight: bolder; color: var(--bgColor); } .panel-title-box { display: flex; justify-content: center; align-items: center; } .panel-title-decoration { display: inline-block; height: 30rpx; } .panel-title-decoration-item { display: inline-block; margin-right: 12rpx; width: 6rpx; height: 32rpx; background: linear-gradient(to bottom, var(--bgColor), transparent); transform: skew(-25deg, 10deg); } .panel-title-decoration-item-right { display: inline-block; margin-right: 12rpx; width: 6rpx; height: 32rpx; background: linear-gradient(to top, var(--bgColor), transparent); transform: skew(-25deg, 10deg); } .container-box { width: 100%; margin-top: 30rpx; text-align: center; background-color: #fff; border-radius: 20rpx; overflow: hidden; } .activity-info { width: 690rpx; border-radius: 20rpx; overflow: hidden; } .activity-info .info { position: relative; display: flex; justify-content: center; align-items: center; flex-direction: column; } .activity-info .activity-name { width: 100%; z-index: 1; font-size: 34rpx; color: #fff; text-align: center; } .activity-info .count-down, .activity-info .active { z-index: 1; display: flex; margin-top: 25rpx; color: #fff; font-size: 26rpx; } .activity-info .end { font-size: 14px; font-weight: normal; margin-top: 25rpx; } .activity-info .count-down .bottom-time { display: flex; margin-left: 27rpx; align-items: center; } .activity-info .count-down .bottom-time .radius-box { padding: 0 14rpx; height: 38rpx; min-width: 20rpx; color: var(--bgColor); border-radius: 10rpx; font-weight: 400; text-align: center; background-color: #fff; } .activity-info .count-down .bottom-time .text { display: flex; align-items: center; padding: 0 0.281rem; color: #666; font-size: 26rpx; font-weight: bold; } .invite-box { margin-top: 30rpx; padding-top: 35rpx; padding-bottom: 28rpx; text-align: center; } .invite-box .progress-box { position: relative; display: flex; align-items: center; width: 565rpx; height: 210rpx; margin: 0 auto; padding: 35rpx 0; } .invite-box .progress-box .progress-bar-container { position: absolute; height: 20rpx; width: 100%; border-radius: 10rpx; } .invite-box .progress-box .progress-bar-container .progress-bar-current { position: absolute; height: 20rpx; width: 20%; border-radius: 10rpx; background-color: var(--bgColor); } .invite-box .progress-box .progress-bar-container .progress-bar-overall { position: absolute; height: 20rpx; width: 100%; border-radius: 10rpx; background-color: var(--bgColor); opacity: 0.2; } .invite-box .progress-box .progress-items { position: relative; z-index: 2; display: flex; justify-content: space-between; width: 100%; padding: 0 20rpx; } .invite-box .progress-box .progress-item { display: flex; flex-direction: column; justify-content: space-between; height: 140rpx; } .invite-box .progress-box .progress-item .btn { position: relative; display: flex; align-items: center; justify-content: center; width: 110rpx; height: 44rpx; font-size: 20rpx; color: #464646; } .invite-box .progress-box .progress-item .btn::after { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; opacity: 0.2; background-color: var(--bgColor); border-radius: 4rpx; } .invite-box .progress-box .progress-item .iconfont { color: #df3221; font-size: 45rpx; } .invite-box .progress-box .progress-item .people { font-size: 24rpx; color: #f14e4e; } .invite-box .list-items .list-item { display: flex; padding: 7rpx 0; } .invite-box .list-items .list-item .content { flex: 1; } .invite-box .list-items .list-item .stage { font-size: 28rpx; color: #666; } .invite-box .list-items .list-item .stage .red-text { color: #f15252; } .invite-box .list-items .list-item.active { box-shadow: 3rpx 1rpx 15rpx 6rpx rgba(232, 232, 232, 0.49); margin: 15rpx 0; } .invite-box .list-items .list-item.active .stage { color: #f15252; font-size: 30rpx; } .invite-box .list-items .list-item .icon { display: flex; align-items: center; width: 100rpx; padding-right: 30rpx; padding-left: 20rpx; color: #aeaeae; } .invite-box .list-items .list-item.active .icon { color: #f15252; } .diff-tip { display: flex; justify-content: center; align-items: center; height: 50rpx; font-size: 24rpx; } .diff-tip .current-ladder { display: inline-flex; align-items: center; justify-content: center; width: 120rpx; height: 40rpx; border-radius: 0rpx 25rpx 0rpx 25rpx; font-size: 22rpx; color: #fff; background-color: #ff2c29; } .activity-des { margin-top: 30rpx; padding: 40rpx; text-align: center; } .activity-des .description { margin-bottom: 20rpx; font-size: 28rpx; color: #333; text-align: left; } .activity-des .des-empty { font-size: 28rpx; color: #9c9c9c; } .activity-record { padding-top: 39rpx; padding-bottom: 26rpx; } .activity-record .record-list { width: 100%; margin-top: 20rpx; } .record-list .record-item { display: flex; justify-content: space-between; align-items: center; margin: 20rpx 0; font-size: 15px; } .record-item .avatar { width: 35rpx; height: 35rpx; margin-left: 38rpx; border-radius: 50%; } .record-item .name { flex: 1; margin-left: 12rpx; padding-right: 10rpx; text-align: left; font-size: 24rpx; color: #202020; } .record-item .desc { padding-right: 45rpx; font-size: 24rpx; color: #202020; } .record-item .timer { width: 270rpx; padding-left: 30rpx; color: #666; font-size: 24rpx; } .activity-record .more { margin: 0 auto; width: 180rpx; display: flex; justify-content: center; align-items: center; font-size: 22rpx; color: #f14e4e; } .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; } .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/workWxFriendExtend_record.png"); } .rewardWrapper { position: relative; width: 435rpx; height: 410rpx; padding: 28rpx 32rpx; background-color: #fff; border-radius: 10rpx; z-index: 101; } .rewardWrapper .rewardTextTitle { font-size: 30rpx; color: #232323; text-align: center; margin-bottom: 12rpx; } .rewardWrapper .rewardTextContent { height: 310rpx; overflow: auto; } .rewardWrapper .rewardTextItem { display: flex; font-size: 24rpx; color: #232323; padding: 7rpx 0; } .rewardWrapper .rewardTextItem .red { color: #ff2c29; } .rewardWrapper .close { position: absolute; right: 22rpx; top: 19rpx; font-size: 28rpx; }