|
@@ -153,11 +153,17 @@ state.inviteInit = () => {
|
|
|
let line_width = 0
|
|
|
const setLineFull = (box_num = 0, finishNeedInviteCount = 0, successInviteCount = 0) => {
|
|
|
if (box_num == 0) {
|
|
|
- line_width = (successInviteCount / finishNeedInviteCount) * 80
|
|
|
+ line_width = (successInviteCount / finishNeedInviteCount) * 55
|
|
|
} else if (box_num == 1) {
|
|
|
- line_width = (successInviteCount / finishNeedInviteCount) * 100 + line_width
|
|
|
+ if (line_width == 55) {
|
|
|
+ line_width = 92
|
|
|
+ line_width = (successInviteCount / finishNeedInviteCount) * (155 - line_width) + line_width
|
|
|
+ }
|
|
|
} else if (box_num == 2) {
|
|
|
- line_width = (successInviteCount / finishNeedInviteCount) * 100 + line_width
|
|
|
+ if (line_width == 155) {
|
|
|
+ line_width = 192
|
|
|
+ line_width = (successInviteCount / finishNeedInviteCount) * (260 - line_width) + line_width
|
|
|
+ }
|
|
|
}
|
|
|
line_full.value.style.width = line_width + 'px'
|
|
|
}
|