chore: 消除不必要的 TODO 标识

This commit is contained in:
Burt
2024-01-20 17:11:12 +08:00
parent b9243f9c59
commit 6a0de23432
4 changed files with 7 additions and 7 deletions

View File

@@ -75,7 +75,7 @@ function handleClick() {
.lottery-list {
--size: 600rpx;
--half: calc(var(--size) / 2);
--len: 8; // 与代码一直
--len: 8; // 与代码 giftLen 长度一致
--deg: calc(360 / var(--len) * 1deg);
--deg-num: calc(360 / var(--len));
@@ -127,7 +127,7 @@ function handleClick() {
background: #ffffffa1;
}
// TODO 与上面的--len一致
// TIPS: 与上面的--len一致
@for $i from 1 through 8 {
.lottery-item:nth-child(#{$i}) {
transform: rotate(calc(($i - 1 - 0.5) * var(--deg)));