.integral-container { .integral-header { display: flex; align-items: center; width: 100%; height: 90rpx; box-sizing: border-box; padding: 0 20rpx; background: #fff; .integral-logo { width: 60rpx; height: 60rpx; margin-right: 20rpx; border-radius: 50%; -webkit-border-radius: 50%; -moz-border-radius: 50%; -ms-border-radius: 50%; -o-border-radius: 50%; } } .integral-tabs { width: 100%; margin-top: 20rpx; background: #fff; .tabs-mask { position: absolute; top: 0; left: 0; width: 100%; height: 20rpx; z-index: 0; background: #eee; } .integral-tabs-list { position: relative; display: flex; align-items: center; height: 86rpx; background: #fff; .integral-tabs-item { position: relative; flex: 1; display: flex; align-items: center; justify-content: center; height: 100%; font-size: 34rpx; font-weight: 500; color: #999999; text-align: center; line-height: 86rpx; font-family: Source Han Serif SC; background: #EEEEEE; z-index: 1; image { width: 30rpx; height: 30rpx; margin-left: 10rpx; } } .tabs-item-on { font-weight: bold; color: #333333; &0 { background: #fff; border-radius: 0 20rpx 20rpx 0; -webkit-border-radius: 0 20rpx 20rpx 0; -moz-border-radius: 0 20rpx 20rpx 0; -ms-border-radius: 0 20rpx 20rpx 0; -o-border-radius: 0 20rpx 20rpx 0; } &1 { background: #fff; border-radius: 20rpx !important; -webkit-border-radius: 20rpx !important; -moz-border-radius: 20rpx !important; -ms-border-radius: 20rpx !important; -o-border-radius: 20rpx !important; } &2 { background: #fff; border-radius: 20rpx 0 0 20rpx; -webkit-border-radius: 20rpx 0 0 20rpx; -moz-border-radius: 20rpx 0 0 20rpx; -ms-border-radius: 20rpx 0 0 20rpx; -o-border-radius: 20rpx 0 0 20rpx; } } &0 { .integral-tabs-item:nth-of-type(3) { border-radius: 0 0 0rpx 20rpx; -webkit-border-radius: 0 0 0rpx 20rpx; -moz-border-radius: 0 0 0rpx 20rpx; -ms-border-radius: 0 0 0rpx 20rpx; -o-border-radius: 0 0 0rpx 20rpx; } } &1 { .integral-tabs-item:nth-of-type(2) { border-radius: 0 0 20rpx 20rpx; -webkit-border-radius: 0 0 20rpx 20rpx; -moz-border-radius: 0 0 20rpx 20rpx; -ms-border-radius: 0 0 20rpx 20rpx; -o-border-radius: 0 0 20rpx 20rpx; } .integral-tabs-item:nth-of-type(4) { border-radius: 20rpx 0 0rpx 20rpx; -webkit-border-radius: 20rpx 0 0rpx 20rpx; -moz-border-radius: 20rpx 0 0rpx 20rpx; -ms-border-radius: 20rpx 0 0rpx 20rpx; -o-border-radius: 20rpx 0 0rpx 20rpx; } } &2 { .integral-tabs-item:nth-of-type(3) { border-radius: 0 0 20rpx 0; -webkit-border-radius: 0 0 20rpx 0; -moz-border-radius: 0 0 20rpx 0; -ms-border-radius: 0 0 20rpx 0; -o-border-radius: 0 0 20rpx 0; } } } } .integral-wrapper { width: 100%; height: calc(100vh - 196rpx); background: #fff; .swiper { width: 100%; height: 100%; } } } .integral-achievement { // margin-top: 90rpx; padding: 10rpx 40rpx 40rpx 0; height: 100%; box-sizing: border-box; overflow-y: scroll; .integral-achieve-item { position: relative; display: flex; // align-items: center; height: 125rpx; padding-left: 110rpx; // margin-top: 75rpx; .achieve-item-cicle { width: 40rpx; height: 40rpx; flex-shrink: 0; box-sizing: border-box; margin-right: 40rpx; background: #E7EEEE; border: 2rpx solid #999999; border-radius: 50%; } .achieve-item-info { font-size: 30rpx; font-family: Source Han Serif SC; font-weight: 500; color: #999999; } } .integral-achieve-item:first-child { margin-top: 60rpx; } .achieve-item-active { .achieve-item-cicle { background: #FFF5F5; border: 2rpx solid #E60000; } .achieve-item-info { color: #333; } } .achieve-item-active:last-child { // position: relative; // padding-top: 20rpx; // padding-left: 195rpx; .achieve-item-cicle { // position: absolute; // top: 0; // left: 85rpx; // width: 80rpx; // height: 80rpx; background: #E60000; } } .integral-achieve-item::after { position: absolute; top: 45rpx; left: 125rpx; content: ''; width: 10rpx; height: 70rpx; background: #E7EEEE; border-radius: 5rpx; -webkit-border-radius: 5rpx; -moz-border-radius: 5rpx; -ms-border-radius: 5rpx; -o-border-radius: 5rpx; } .achieve-item-active:last-child::after { display: none; } } .integral-points { width: 100%; height: 100%; box-sizing: border-box; padding-bottom: 40rpx; .integral-points-top { width: 100%; margin-bottom: 40rpx; padding: 30rpx 72rpx; box-sizing: border-box; .integral-top-point, .integral-top-level { display: flex; align-items: center; justify-content: space-between; } .integral-top-item { font-size: 30rpx; font-family: Source Han Serif SC; font-weight: 500; color: #333333; text-align: center; text { font-size: 44rpx; font-family: Source Han Serif SC; font-weight: bold; color: #CE0208; } } .integral-top-level { margin-top: 45rpx; } .integral-level-now { // width: 58rpx; height: 24rpx; padding: 0 10rpx; font-size: 26rpx; font-family: Source Han Serif SC; font-weight: bold; font-style: italic; color: #FFFFFF; text-align: center; line-height: 24rpx; background: #E60000; border-radius: 16rpx 10rpx 16rpx 10rpx; -webkit-border-radius: 16rpx 10rpx 16rpx 10rpx; -moz-border-radius: 16rpx 10rpx 16rpx 10rpx; -ms-border-radius: 16rpx 10rpx 16rpx 10rpx; -o-border-radius: 16rpx 10rpx 16rpx 10rpx; } .integral-level-next { background: #999; } .integral-level-progress { position: relative; width: 450rpx; height: 30rpx; background: #E7EEEE; border-radius: 15rpx; -webkit-border-radius: 15rpx; -moz-border-radius: 15rpx; -ms-border-radius: 15rpx; -o-border-radius: 15rpx; .integral-level-text { position: absolute; top: 0; left: 0; z-index: 2; width: 100%; height: 100%; font-size: 26rpx; font-family: Source Han Serif SC; font-weight: 800; font-style: italic; color: #FFFFFF; text-align: center; line-height: 30rpx; } .integral-level-nei { position: absolute; top: 0; left: 0; z-index: 1; // width: 80%; height: 100%; background: #E60000; border-radius: 15rpx; -webkit-border-radius: 15rpx; -moz-border-radius: 15rpx; -ms-border-radius: 15rpx; -o-border-radius: 15rpx; } } } } .integral-mask { position: fixed; top: 0; right: 0; bottom: 0; left: 0; background: rgba(0, 0, 0, .4); z-index: 2; transition: display .5s; -webkit-transition: display .5s; -moz-transition: display .5s; -ms-transition: display .5s; -o-transition: display .5s; } .integral-rules { position: fixed; left: 0; bottom: -800rpx; width: 100%; height: 800rpx; box-sizing: border-box; background: #fff; z-index: 3; border-radius: 5rpx 5rpx 0 0; -webkit-border-radius: 5rpx 5rpx 0 0; -moz-border-radius: 5rpx 5rpx 0 0; -ms-border-radius: 5rpx 5rpx 0 0; -o-border-radius: 5rpx 5rpx 0 0; transition: bottom .5s; -webkit-transition: bottom .5s; -moz-transition: bottom .5s; -ms-transition: bottom .5s; -o-transition: bottom .5s; .rules-top { // display: flex; // justify-content: space-between; // align-items: center; margin-bottom: 20rpx; padding: 0rpx 20rpx; .rules-close { // position: absolute; // top: 0rpx; // right: 0; padding-top: 10rpx; font-size: 39rpx; font-family: Source Han Serif SC; font-weight: 800; color: #372222; text-align: right; line-height: 1; } .rules-title { font-size: 32rpx; font-family: Source Han Serif SC; font-weight: bold; color: #333333; line-height: 1; } } .rules-wrapper { height: 700rpx; box-sizing: border-box; padding: 20rpx 60rpx 40rpx 40rpx; font-size: 28rpx; font-family: Source Han Serif SC; font-weight: 500; color: #372222; overflow-y: scroll; .rules-desc { margin-bottom: 24rpx; } text { display: block; line-height: 48rpx; } } } .integral-rules-show { bottom: 0; }