diff --git a/view/moliparty/modules/taskCenter/css/index.css b/view/moliparty/modules/taskCenter/css/index.css index 848a46b5..c8c88d7d 100644 --- a/view/moliparty/modules/taskCenter/css/index.css +++ b/view/moliparty/modules/taskCenter/css/index.css @@ -471,7 +471,8 @@ body { .Daily_list .task_List .diamondVo .levelVos_list::-webkit-scrollbar { display: none; } -.Daily_list .task_List .diamondVo .levelVos_list .levelVos_box { +.Daily_list .task_List .diamondVo .levelVos_list .levelVos_box, +.Daily_list .task_List .diamondVo .levelVos_list .guildTaskVos_box { background: #F2F3F7; border-radius: 0.32rem; padding: 0.0666666667rem 0.5333333333rem; @@ -483,11 +484,25 @@ body { font-style: normal; text-transform: none; } +.Daily_list .task_List .diamondVo .levelVos_list .guildLivestreamTaskVos_box, .Daily_list .task_List .diamondVo .levelVos_list .guildShiningTaskVos_box { + background: #F2F3F7; + border-radius: 0.32rem; + padding: 0.0533333333rem 0.1333333333rem; + font-family: PingFang SC, PingFang SC; + font-weight: 500; + font-size: 0.32rem; + color: #7B7B7D; + line-height: 0.4533333333rem; + font-style: normal; + text-transform: none; +} .Daily_list .task_List .diamondVo .levelVos_list .active_box { background: linear-gradient(270deg, #E29030 0%, #FCC074 100%); color: #FFFFFF; } -.Daily_list .task_List .diamondVo .Daily_room_income { +.Daily_list .task_List .diamondVo .Daily_room_income, +.Daily_list .task_List .diamondVo .Daily_income, +.Daily_list .task_List .diamondVo .Number_hosts { font-family: PingFang SC, PingFang SC; font-weight: 500; font-size: 0.3466666667rem; @@ -541,6 +556,147 @@ body { width: 0.5866666667rem; height: 0.5866666667rem; } +.Daily_list .task_List .diamondVo .goldBean_wrap { + display: flex; + align-items: center; + justify-content: space-between; + margin-top: 0.3466666667rem; +} +.Daily_list .task_List .diamondVo .goldBean_wrap .goldBean_box { + display: flex; + align-items: center; + flex-wrap: wrap; +} +.Daily_list .task_List .diamondVo .goldBean_wrap .goldBean_box .goldBean_num { + display: flex; + align-items: center; + margin-right: 0.2666666667rem; +} +.Daily_list .task_List .diamondVo .goldBean_wrap .goldBean_box .goldBean_num img { + width: 0.4533333333rem; + height: 0.4533333333rem; +} +.Daily_list .task_List .diamondVo .goldBean_wrap .goldBean_box .goldBean_num .num { + font-family: PingFang SC, PingFang SC; + font-weight: 400; + font-size: 0.2933333333rem; + color: #7B7B7D; + text-align: left; + font-style: normal; + text-transform: none; + margin: 0 0.08rem; +} +.Daily_list .task_List .diamondVo .goldBean_wrap .Receive_btn { + background: linear-gradient(270deg, #E29030 0%, #FCC074 100%); + border-radius: 0.6666666667rem; + font-family: PingFang SC, PingFang SC; + font-weight: 500; + font-size: 0.32rem; + line-height: 0.4533333333rem; + color: #FFFFFF; + text-align: center; + font-style: normal; + text-transform: none; + display: flex; + align-items: center; + justify-content: center; + padding: 0.1066666667rem 0; + min-width: 1.9466666667rem; + height: 0.4533333333rem; +} +.Daily_list .task_List .diamondVo .goldBean_wrap .Receive_btn_RECEIVED { + background: #F2F3F7; + color: #AFB1B3; + border: 0.0266666667rem solid #F2F3F7; +} +.Daily_list .task_List .diamondVo .goldBean_wrap .Receive_btn_UNCOMPLETED { + background: #fff; + color: #AFB1B3; + border: 0.0266666667rem solid #D1D1D1; +} +.Daily_list .task_List .cycleDiamondWageLevelVo { + /* 进度条样式 */ +} +.Daily_list .task_List .cycleDiamondWageLevelVo .Agency_cycle { + font-family: PingFang SC, PingFang SC; + font-weight: 500; + font-size: 0.3466666667rem; + color: #313131; + line-height: 0.48rem; + font-style: normal; + text-transform: none; + margin-top: 0.2933333333rem; +} +.Daily_list .task_List .cycleDiamondWageLevelVo .level_box { + display: flex; + align-items: center; + justify-content: space-between; + margin-top: 0.16rem; +} +.Daily_list .task_List .cycleDiamondWageLevelVo .level_box .curLevel, +.Daily_list .task_List .cycleDiamondWageLevelVo .level_box .nextLevel { + font-family: PingFang SC, PingFang SC; + font-weight: 500; + font-size: 0.3466666667rem; + color: #313131; + font-style: normal; + text-transform: none; +} +.Daily_list .task_List .cycleDiamondWageLevelVo .progress-container { + height: 0.2133333333rem; + background-color: #FCD7B3; + border-radius: 6.6933333333rem; + overflow: hidden; + margin-top: 0.1866666667rem; +} +.Daily_list .task_List .cycleDiamondWageLevelVo .progress-bar { + height: 100%; + background: #FF8C03; + border-radius: 6.6933333333rem; + transition: width 0.3s ease; + position: relative; +} +.Daily_list .task_List .cycleDiamondWageLevelVo .LevelWage { + display: flex; + align-items: center; + justify-content: space-between; + margin-top: 0.08rem; +} +.Daily_list .task_List .cycleDiamondWageLevelVo .LevelWage .curLevelWage, +.Daily_list .task_List .cycleDiamondWageLevelVo .LevelWage .nextLevelWage { + font-family: PingFang SC, PingFang SC; + font-weight: 400; + font-size: 0.32rem; + color: #7B7B7D; + font-style: normal; + text-transform: none; + display: flex; + align-items: center; + line-height: 0.3733333333rem; +} +.Daily_list .task_List .cycleDiamondWageLevelVo .LevelWage .curLevelWage img, +.Daily_list .task_List .cycleDiamondWageLevelVo .LevelWage .nextLevelWage img { + width: 0.4533333333rem; + height: 0.4533333333rem; +} +.Daily_list .task_List .cycleDiamondWageLevelVo .WageRatio { + display: flex; + align-items: center; + justify-content: space-between; + margin-top: 0.08rem; +} +.Daily_list .task_List .cycleDiamondWageLevelVo .WageRatio .curWageRatio, +.Daily_list .task_List .cycleDiamondWageLevelVo .WageRatio .nextWageRatio { + font-family: PingFang SC, PingFang SC; + font-weight: 400; + font-size: 0.32rem; + color: #7B7B7D; + font-style: normal; + text-transform: none; + display: flex; + align-items: center; + line-height: 0.3733333333rem; +} /* 元素块蒙版样式 */ .element-mask { diff --git a/view/moliparty/modules/taskCenter/css/index.scss b/view/moliparty/modules/taskCenter/css/index.scss index 46364d0d..b7c4b5de 100644 --- a/view/moliparty/modules/taskCenter/css/index.scss +++ b/view/moliparty/modules/taskCenter/css/index.scss @@ -582,7 +582,8 @@ body { display: none; // 隐藏 Webkit 浏览器(如 iOS、Chrome)滚动条 } - .levelVos_box { + .levelVos_box, + .guildTaskVos_box { background: #F2F3F7; border-radius: px2rem(24); padding: px2rem(5) px2rem(40); @@ -594,6 +595,18 @@ body { font-style: normal; text-transform: none; } + .guildLivestreamTaskVos_box,.guildShiningTaskVos_box{ + background: #F2F3F7; + border-radius: px2rem(24); + padding: px2rem(4) px2rem(10); + font-family: PingFang SC, PingFang SC; + font-weight: 500; + font-size: px2rem(24); + color: #7B7B7D; + line-height: px2rem(34); + font-style: normal; + text-transform: none; + } .active_box { background: linear-gradient(270deg, #E29030 0%, #FCC074 100%); @@ -601,7 +614,9 @@ body { } } - .Daily_room_income { + .Daily_room_income, + .Daily_income, + .Number_hosts { font-family: PingFang SC, PingFang SC; font-weight: 500; font-size: px2rem(26); @@ -665,7 +680,163 @@ body { } } + .goldBean_wrap { + display: flex; + align-items: center; + justify-content: space-between; + margin-top: px2rem(26); + .goldBean_box { + display: flex; + align-items: center; + flex-wrap: wrap; + .goldBean_num { + display: flex; + align-items: center; + margin-right: px2rem(20); + + img { + width: px2rem(34); + height: px2rem(34); + } + + .num { + font-family: PingFang SC, PingFang SC; + font-weight: 400; + font-size: px2rem(22); + color: #7B7B7D; + text-align: left; + font-style: normal; + text-transform: none; + margin: 0 px2rem(6); + } + } + } + + .Receive_btn { + background: linear-gradient(270deg, #E29030 0%, #FCC074 100%); + border-radius: px2rem(50); + font-family: PingFang SC, PingFang SC; + font-weight: 500; + font-size: px2rem(24); + line-height: px2rem(34); + color: #FFFFFF; + text-align: center; + font-style: normal; + text-transform: none; + display: flex; + align-items: center; + justify-content: center; + padding: px2rem(8) 0; + min-width: px2rem(146); + height: px2rem(34); + // border: px2rem(2) solid #FCC074; + } + + .Receive_btn_RECEIVED { + background: #F2F3F7; + color: #AFB1B3; + border: px2rem(2) solid #F2F3F7; + } + + .Receive_btn_UNCOMPLETED { + background: #fff; + color: #AFB1B3; + border: px2rem(2) solid #D1D1D1; + } + } + } + + .cycleDiamondWageLevelVo { + .Agency_cycle { + font-family: PingFang SC, PingFang SC; + font-weight: 500; + font-size: px2rem(26); + color: #313131; + line-height: px2rem(36); + font-style: normal; + text-transform: none; + margin-top: px2rem(22); + } + + .level_box { + display: flex; + align-items: center; + justify-content: space-between; + margin-top: px2rem(12); + + .curLevel, + .nextLevel { + font-family: PingFang SC, PingFang SC; + font-weight: 500; + font-size: px2rem(26); + color: #313131; + font-style: normal; + text-transform: none; + } + } + + /* 进度条样式 */ + .progress-container { + height: px2rem(16); + background-color: #FCD7B3; + border-radius: px2rem(502); + overflow: hidden; + margin-top: px2rem(14); + } + + .progress-bar { + height: 100%; + background: #FF8C03; + border-radius: px2rem(502); + transition: width 0.3s ease; + position: relative; + } + + .LevelWage { + display: flex; + align-items: center; + justify-content: space-between; + margin-top: px2rem(6); + + .curLevelWage, + .nextLevelWage { + font-family: PingFang SC, PingFang SC; + font-weight: 400; + font-size: px2rem(24); + color: #7B7B7D; + font-style: normal; + text-transform: none; + display: flex; + align-items: center; + line-height: px2rem(28); + + img { + width: px2rem(34); + height: px2rem(34); + } + } + } + + .WageRatio { + display: flex; + align-items: center; + justify-content: space-between; + margin-top: px2rem(6); + + .curWageRatio, + .nextWageRatio { + font-family: PingFang SC, PingFang SC; + font-weight: 400; + font-size: px2rem(24); + color: #7B7B7D; + font-style: normal; + text-transform: none; + display: flex; + align-items: center; + line-height: px2rem(28); + } + } } } } diff --git a/view/moliparty/modules/taskCenter/images/GUILD_CREATE.png b/view/moliparty/modules/taskCenter/images/GUILD_CREATE.png new file mode 100644 index 00000000..0a2e6cf8 Binary files /dev/null and b/view/moliparty/modules/taskCenter/images/GUILD_CREATE.png differ diff --git a/view/moliparty/modules/taskCenter/images/GUILD_SALARY.png b/view/moliparty/modules/taskCenter/images/GUILD_SALARY.png new file mode 100644 index 00000000..ff6c03bd Binary files /dev/null and b/view/moliparty/modules/taskCenter/images/GUILD_SALARY.png differ diff --git a/view/moliparty/modules/taskCenter/images/zuanshi.png b/view/moliparty/modules/taskCenter/images/zuanshi.png new file mode 100644 index 00000000..60cd1806 Binary files /dev/null and b/view/moliparty/modules/taskCenter/images/zuanshi.png differ diff --git a/view/moliparty/modules/taskCenter/js/index.js b/view/moliparty/modules/taskCenter/js/index.js index 5d987362..14463b44 100644 --- a/view/moliparty/modules/taskCenter/js/index.js +++ b/view/moliparty/modules/taskCenter/js/index.js @@ -114,14 +114,14 @@ function getTaskTab() { $('.tab_list').on('click', '.tab_box', function () { let locked = $(this).attr('locked'); if (locked != 'true') { - if($(this).attr('tasktabtype') == 2){ + if ($(this).attr('tasktabtype') == 2) { $(this).addClass('tab_box_active').siblings().removeClass('tab_box_active'); $('.tab_box').find('.xian').hide(); - $(this).find('.xian').show(); + $(this).find('.xian').show(); getGuildWeekReward(); $('.element-mask').show(); } - if($(this).attr('tasktabtype') == 3){ + if ($(this).attr('tasktabtype') == 3) { toastMsg(langReplace(localLang.demoModule.Stay_Tuned)) } return @@ -222,6 +222,9 @@ $('.Sign_btn').click(function () { }, }) }) +var guildCreateTaskVos; +var guildLivestreamTaskVos; +var guildShiningTaskVos; // 任务列表 function getTaskList(taskTabType) { showLoading(); @@ -237,10 +240,10 @@ function getTaskList(taskTabType) { $('.task_List .task_max_box').remove() let str = ''; res.data.forEach((item, index) => { - if (item.taskType != 'ROOM_DAY_DIAMOND' && item.taskType != 'GUILD_WEEK_REWARD') { - if(item.expireSecond && item.expireSecond > 0){ - countup(item.expireSecond) - } + if (item.taskType != 'ROOM_DAY_DIAMOND' && item.taskType != 'GUILD_WEEK_REWARD' && item.taskType != 'GUILD_SALARY' && item.taskType != 'GUILD_CREATE' && item.taskType != 'GUILD_MIC' && item.taskType != 'GUILD_MIC_ONE') { + if (item.expireSecond && item.expireSecond > 0) { + countup(item.expireSecond) + } // 日常任务 let rewardVos = '' if (item.rewardVos) { @@ -255,7 +258,7 @@ function getTaskList(taskTabType) { } str += `
-
+
@@ -265,12 +268,12 @@ function getTaskList(taskTabType) {
-
${item.receiveStatus != 'RECEIVED' ? langReplace(localLang.demoModule.Receive) : langReplace(localLang.demoModule.Received)}
+
${item.receiveStatus != 'RECEIVED' ? langReplace(localLang.demoModule.Receive) : langReplace(localLang.demoModule.Received)}
` - + } else if (item.taskType == 'ROOM_DAY_DIAMOND') { // 房间日流水奖励 let levelVos = '' @@ -337,6 +340,320 @@ function getTaskList(taskTabType) { ` }) + } else if (item.taskType == 'GUILD_SALARY') { + // 公会长薪资 + str += ` +
+
+
+ +
+
${funTaskType('GUILD_SALARY', item.reachNum, item.standardValue)}
+
+
+
+
+
${langReplace(localLang.demoModule.Agency_cycle)}
+
+
${item.cycleDiamondWageLevelVo.curLevel} +
+
${item.cycleDiamondWageLevelVo.nextLevel} +
+
+
+
+
+
+
${item.cycleDiamondWageLevelVo.curLevelWage}
+
${item.cycleDiamondWageLevelVo.nextLevelWage}
+
+
+
${langReplace(localLang.demoModule.Salary_ratio)}${item.cycleDiamondWageLevelVo.curWageRatio * 100 + '%'}
+
${langReplace(localLang.demoModule.Salary_ratio)}${item.cycleDiamondWageLevelVo.nextWageRatio * 100 + '%'}
+
+
+ +
` + } else if (item.taskType == 'GUILD_CREATE') { + guildCreateTaskVos = item.guildTaskVos + // 公会开业仪式 + let rewardVos = '' + if (guildCreateTaskVos[0].rewardVos) { + guildCreateTaskVos[0].rewardVos.forEach((itemTwo, indexTwo) => { + rewardVos += ` +
+ +
*${itemTwo.awardNum}
+
+ ` + }) + } + let levelVos = '' + guildCreateTaskVos.forEach((itemTwo, indexTwo) => { + levelVos += ` +
${itemTwo.name}
+ ` + }) + str += ` +
+
+
+ +
+
${funTaskType('GUILD_CREATE', item.reachNum, item.standardValue)}
+
${rewardVos}
+
+
+ +
+
+ ${guildCreateTaskVos[0].receiveStatus == 'RECEIVED'?langReplace(localLang.demoModule.Received):guildCreateTaskVos[0].receiveStatus == 'EXPIRE'?langReplace(localLang.demoModule.Expired):langReplace(localLang.demoModule.Receive)} +
+
+ +
+ +
+
+ ${levelVos} +
+ +
+
${langReplace(localLang.demoModule.Daily_income)}
+ +
+
+
+
+
+
+
0
+
${guildCreateTaskVos[0].curDiamondNum + '/' + guildCreateTaskVos[0].diamondNum}
+
+
+
+ +
+
+
+ +
+
${langReplace(localLang.demoModule.Number_hosts)}
+ +
+
+
+
+
+
+
0
+
${guildCreateTaskVos[0].curAnchorNum + '/' + guildCreateTaskVos[0].anchorNum}
+
+
+
+ +
+
+
+ +
+ +
` + }else if(item.taskType == 'GUILD_MIC'){ + guildLivestreamTaskVos = item.guildTaskVos + // 麦上活跃1 + let levelVos = '' + guildLivestreamTaskVos.forEach((itemTwo, indexTwo) => { + levelVos += ` +
${langReplace(localLang.demoModule.Day_name(itemTwo.name))}
+ ` + }) + let rewardVos = '' + if (guildLivestreamTaskVos[0].rewardVos) { + guildLivestreamTaskVos[0].rewardVos.forEach((itemTwo, indexTwo) => { + rewardVos += ` +
+ +
*${itemTwo.awardNum}
+
+ ` + }) + } + str += ` +
+
+
+ +
+
${funTaskType('GUILD_MIC', item.reachNum, item.standardValue)}
+
+
+ +
+ +
+
+ ${levelVos} +
+ +
+
${rewardVos}
+
+ ${guildLivestreamTaskVos[0].receiveStatus == 'RECEIVED'?langReplace(localLang.demoModule.Received):guildLivestreamTaskVos[0].receiveStatus == 'EXPIRE'?langReplace(localLang.demoModule.Expired):langReplace(localLang.demoModule.Receive)} +
+
+ +
+
${langReplace(localLang.demoModule.Hosts_time(guildLivestreamTaskVos[0].anchorMicReachMinutes))}
+ +
+
+
+
+
+
+
0
+
${guildLivestreamTaskVos[0].curAnchorMicReachNum + '/' + guildLivestreamTaskVos[0].anchorMicReachNum}
+
+
+
+ +
+
+
+ +
+
${langReplace(localLang.demoModule.Number_Members)}
+ +
+
+
+
+
+
+
0
+
${guildLivestreamTaskVos[0].curAnchorNum + '/' + guildLivestreamTaskVos[0].anchorNum}
+
+
+
+ +
+
+
+ + + +
+ +
` + }else if(item.taskType == 'GUILD_MIC_ONE'){ + guildShiningTaskVos = item.guildTaskVos + // 麦上活跃2 + let levelVos = '' + guildShiningTaskVos.forEach((itemTwo, indexTwo) => { + levelVos += ` +
${langReplace(localLang.demoModule.Day_name(itemTwo.name))}
+ ` + }) + let rewardVos = '' + if (guildShiningTaskVos[0].rewardVos) { + guildShiningTaskVos[0].rewardVos.forEach((itemTwo, indexTwo) => { + rewardVos += ` +
+ +
*${itemTwo.awardNum}
+
+ ` + }) + } + str += ` +
+
+
+ +
+
${funTaskType('GUILD_MIC_ONE', item.reachNum, item.standardValue)}
+
+
+ +
+ +
+
+ ${levelVos} +
+ +
+
${rewardVos}
+
+ ${guildShiningTaskVos[0].receiveStatus == 'RECEIVED'?langReplace(localLang.demoModule.Received):guildShiningTaskVos[0].receiveStatus == 'EXPIRE'?langReplace(localLang.demoModule.Expired):langReplace(localLang.demoModule.Receive)} +
+
+ +
+
${langReplace(localLang.demoModule.Hosts_time(guildShiningTaskVos[0].anchorMicReachMinutes))}
+ +
+
+
+
+
+
+
0
+
${guildShiningTaskVos[0].curAnchorMicReachNum + '/' + guildShiningTaskVos[0].anchorMicReachNum}
+
+
+
+ +
+
+
+ +
+
${langReplace(localLang.demoModule.Number_Members)}
+ +
+
+
+
+
+
+
0
+
${guildShiningTaskVos[0].curAnchorNum + '/' + guildShiningTaskVos[0].anchorNum}
+
+
+
+ +
+
+
+ +
+
${langReplace(localLang.demoModule.Agency_income)}
+ +
+
+
+
+
+
+
0
+
${guildShiningTaskVos[0].curDiamondNum + '/' + guildShiningTaskVos[0].diamondNum}
+
+
+
+ +
+
+
+ + + +
+ +
` } }) $('.task_List').append(str) @@ -373,7 +690,11 @@ function funTaskType(type, num, standardValue) { ROOM_SEND_LUCKY_NUM: langReplace(localLang.demoModule.ROOM_SEND_LUCKY_NUM(num, standardValue)), ROOM_SEND_BRAVO_NUM: langReplace(localLang.demoModule.ROOM_SEND_BRAVO_NUM(num, standardValue)), GM_UP_MIC: langReplace(localLang.demoModule.GM_UP_MIC(num, standardValue)), - + GUILD_SALARY: langReplace(localLang.demoModule.GUILD_SALARY), + GUILD_CREATE: langReplace(localLang.demoModule.GUILD_CREATE), + GUILD_MIC: langReplace(localLang.demoModule.GUILD_MIC), + GUILD_MIC_ONE: langReplace(localLang.demoModule.GUILD_MIC_ONE), + } return obj[type] } @@ -399,6 +720,10 @@ function funTaskTypeImg(type) { ROOM_SEND_LUCKY_NUM: './images/CHARGE_GOLD_NUM.png', ROOM_SEND_BRAVO_NUM: './images/CHARGE_GOLD_NUM.png', GM_UP_MIC: './images/GM_UP_MIC.png', + GUILD_SALARY: './images/GUILD_SALARY.png', + GUILD_CREATE: './images/GUILD_CREATE.png', + GUILD_MIC: './images/UP_MIC.png', + GUILD_MIC_ONE: './images/UP_MIC.png', } return obj[type] @@ -417,24 +742,27 @@ $('.Daily_list').on('click', '.levelVos_box', function () { // 更新进度条 let progressBar = container.find('.progress-bar'); - let progressWidth = Math.min(100, Math.round(levelvos.processNum / (levelvos.maxNum- levelvos.preMaxNum) * 100)); + let progressWidth = Math.min(100, Math.round(levelvos.processNum / (levelvos.maxNum - levelvos.preMaxNum) * 100)); progressBar.css('width', progressWidth + '%'); console.log(progressWidth); // 更新进度文本 container.find('.preMaxNum').text(levelvos.preMaxNum); - container.find('.maxNum').html((levelvos.processNum+levelvos.preMaxNum) + '/' + levelvos.maxNum + ' '); + container.find('.maxNum').html((levelvos.processNum + levelvos.preMaxNum) + '/' + levelvos.maxNum + ' '); // 更新按钮状态 if (levelvos.status == 0) { + // 未完成 container.find('.roomDayGoldReward').addClass('Receive_btn_UNCOMPLETED'); container.find('.roomDayGoldReward').removeClass('Receive_btn_RECEIVED'); container.find('.roomDayGoldReward').text(langReplace(localLang.demoModule.Receive)) } else if (levelvos.status == 1) { + // 可领取 container.find('.roomDayGoldReward').removeClass('Receive_btn_UNCOMPLETED'); container.find('.roomDayGoldReward').removeClass('Receive_btn_RECEIVED'); container.find('.roomDayGoldReward').text(langReplace(localLang.demoModule.Receive)) } else { + // 已领取 container.find('.roomDayGoldReward').addClass('Receive_btn_RECEIVED'); container.find('.roomDayGoldReward').removeClass('Receive_btn_UNCOMPLETED'); container.find('.roomDayGoldReward').text(langReplace(localLang.demoModule.Received)) @@ -443,8 +771,278 @@ $('.Daily_list').on('click', '.levelVos_box', function () { container.find('.roomDayGoldReward ').attr('status', levelvos.status); container.find('.roomDayGoldReward ').attr('level', levelvos.level); }) -// 领取奖励 -$('.Daily_list').on('click', '.Receive_btn', function () { +// 公会开业仪式 - 档位点击切换 +$('.Daily_list').on('click', '.guildTaskVos_box', function () { + let arrIndex = $(this).attr('data-index') + $(this).addClass('active_box').siblings().removeClass('active_box') + + // 找到当前点击元素所在的 .task_max_box 容器 + let container = $(this).closest('.task_max_box'); + + // 各档位奖励 + container.find('.goldBean_box .goldBean_num').remove(); + let rewardVos = '' + if (guildCreateTaskVos[arrIndex].rewardVos) { + guildCreateTaskVos[arrIndex].rewardVos.forEach((itemTwo, indexTwo) => { + rewardVos += ` +
+ +
*${itemTwo.awardNum}
+
+ ` + }) + } + container.find('.goldBean_box').append(rewardVos); + // 各档位进度条展示 - 钻石收入 + $('.daily_diamond_box .maxNum span').text(guildCreateTaskVos[arrIndex].curDiamondNum + '/' + guildCreateTaskVos[arrIndex].diamondNum) + $('.daily_diamond_box .progress-bar').css('width', guildCreateTaskVos[arrIndex].curDiamondNum / guildCreateTaskVos[arrIndex].diamondNum * 100 + '%') + + // 各档位进度条展示 - 主播人数 + $('.hosts_number_box .maxNum').text(guildCreateTaskVos[arrIndex].curAnchorNum + '/' + guildCreateTaskVos[arrIndex].anchorNum) + $('.hosts_number_box .progress-bar').css('width', guildCreateTaskVos[arrIndex].curAnchorNum / guildCreateTaskVos[arrIndex].anchorNum * 100 + '%') + + // 更新按钮状态 + if(guildCreateTaskVos[arrIndex].receiveStatus == 'UNCOMPLETED'){ + // 未完成 + $('.guildCreate').addClass('Receive_btn_UNCOMPLETED'); + $('.guildCreate').removeClass('Receive_btn_RECEIVED'); + $('.guildCreate').text(langReplace(localLang.demoModule.Receive)); + }else if(guildCreateTaskVos[arrIndex].receiveStatus == 'AVAILABLE'){ + // 可领取 + $('.guildCreate').removeClass('Receive_btn_UNCOMPLETED'); + $('.guildCreate').removeClass('Receive_btn_RECEIVED'); + $('.guildCreate').text(langReplace(localLang.demoModule.Receive)); + }else if(guildCreateTaskVos[arrIndex].receiveStatus == 'RECEIVED'){ + // 已领取 + $('.guildCreate').removeClass('Receive_btn_UNCOMPLETED'); + $('.guildCreate').addClass('Receive_btn_RECEIVED'); + $('.guildCreate').text(langReplace(localLang.demoModule.Received)); + }else if(guildCreateTaskVos[arrIndex].receiveStatus == 'EXPIRE'){ + // 已过期 + $('.guildCreate').removeClass('Receive_btn_UNCOMPLETED'); + $('.guildCreate').addClass('Receive_btn_RECEIVED'); + $('.guildCreate').text(langReplace(localLang.demoModule.Expired)); + } + $('.guildCreate').attr('reachId', guildCreateTaskVos[arrIndex].reachId); + $('.guildCreate').attr('receiveStatus', guildCreateTaskVos[arrIndex].receiveStatus); +}) + +// 麦上活跃1 - 档位点击切换 +$('.Daily_list').on('click', '.guildLivestreamTaskVos_box', function () { + let arrIndex = $(this).attr('data-index') + $(this).addClass('active_box').siblings().removeClass('active_box') + + // 找到当前点击元素所在的 .task_max_box 容器 + let container = $(this).closest('.task_max_box'); + + // 各档位奖励 + container.find('.goldBean_box .goldBean_num').remove(); + let rewardVos = '' + if (guildLivestreamTaskVos[arrIndex].rewardVos) { + guildLivestreamTaskVos[arrIndex].rewardVos.forEach((itemTwo, indexTwo) => { + rewardVos += ` +
+ +
*${itemTwo.awardNum}
+
+ ` + }) + } + container.find('.goldBean_box').append(rewardVos); + + // 各档位进度条展示 - 主播达到120mins上麦时长 + $('.Hosts_one_time_box .maxNum').text(guildLivestreamTaskVos[arrIndex].curAnchorMicReachNum + '/' + guildLivestreamTaskVos[arrIndex].anchorMicReachNum) + $('.Hosts_one_time_box .progress-bar').css('width', guildLivestreamTaskVos[arrIndex].curAnchorMicReachNum / guildLivestreamTaskVos[arrIndex].anchorMicReachNum * 100 + '%') + + // 各档位进度条展示 - 公会人数 + $('.Members_Number_box .maxNum').text(guildLivestreamTaskVos[arrIndex].curAnchorNum + '/' + guildLivestreamTaskVos[arrIndex].anchorNum) + $('.Members_Number_box .progress-bar').css('width', guildLivestreamTaskVos[arrIndex].curAnchorNum / guildLivestreamTaskVos[arrIndex].anchorNum * 100 + '%') + + // 更新按钮状态 + if(guildLivestreamTaskVos[arrIndex].receiveStatus == 'UNCOMPLETED'){ + // 未完成 + $('.guildBtnLivestream').addClass('Receive_btn_UNCOMPLETED'); + $('.guildBtnLivestream').removeClass('Receive_btn_RECEIVED'); + $('.guildBtnLivestream').text(langReplace(localLang.demoModule.Receive)); + }else if(guildLivestreamTaskVos[arrIndex].receiveStatus == 'AVAILABLE'){ + // 可领取 + $('.guildBtnLivestream').removeClass('Receive_btn_UNCOMPLETED'); + $('.guildBtnLivestream').removeClass('Receive_btn_RECEIVED'); + $('.guildBtnLivestream').text(langReplace(localLang.demoModule.Receive)); + }else if(guildLivestreamTaskVos[arrIndex].receiveStatus == 'RECEIVED'){ + // 已领取 + $('.guildBtnLivestream').removeClass('Receive_btn_UNCOMPLETED'); + $('.guildBtnLivestream').addClass('Receive_btn_RECEIVED'); + $('.guildBtnLivestream').text(langReplace(localLang.demoModule.Received)); + }else if(guildLivestreamTaskVos[arrIndex].receiveStatus == 'EXPIRE'){ + // 已过期 + $('.guildBtnLivestream').removeClass('Receive_btn_UNCOMPLETED'); + $('.guildBtnLivestream').addClass('Receive_btn_RECEIVED'); + $('.guildBtnLivestream').text(langReplace(localLang.demoModule.Expired)); + }else if(guildLivestreamTaskVos[arrIndex].receiveStatus == 'NOTYETOPEN'){ + // 未开启 + $('.guildBtnLivestream').addClass('Receive_btn_UNCOMPLETED'); + $('.guildBtnLivestream').removeClass('Receive_btn_RECEIVED'); + $('.guildBtnLivestream').text(langReplace(localLang.demoModule.Receive)); + } + $('.guildBtnLivestream').attr('reachId', guildLivestreamTaskVos[arrIndex].reachId); + $('.guildBtnLivestream').attr('receiveStatus', guildLivestreamTaskVos[arrIndex].receiveStatus); +}) +// 麦上活跃2 - 档位点击切换 +$('.Daily_list').on('click', '.guildShiningTaskVos_box', function () { + let arrIndex = $(this).attr('data-index') + $(this).addClass('active_box').siblings().removeClass('active_box') + + // 找到当前点击元素所在的 .task_max_box 容器 + let container = $(this).closest('.task_max_box'); + + // 各档位奖励 + container.find('.goldBean_box .goldBean_num').remove(); + let rewardVos = '' + if (guildShiningTaskVos[arrIndex].rewardVos) { + guildShiningTaskVos[arrIndex].rewardVos.forEach((itemTwo, indexTwo) => { + rewardVos += ` +
+ +
*${itemTwo.awardNum}
+
+ ` + }) + } + container.find('.goldBean_box').append(rewardVos); + + // 各档位进度条展示 - 主播达到120mins上麦时长 + $('.Hosts_two_time_box .maxNum').text(guildShiningTaskVos[arrIndex].curAnchorMicReachNum + '/' + guildShiningTaskVos[arrIndex].anchorMicReachNum) + $('.Hosts_two_time_box .progress-bar').css('width', guildShiningTaskVos[arrIndex].curAnchorMicReachNum / guildShiningTaskVos[arrIndex].anchorMicReachNum * 100 + '%') + + // 各档位进度条展示 - 公会人数 + $('.Members_two_Number_box .maxNum').text(guildShiningTaskVos[arrIndex].curAnchorNum + '/' + guildShiningTaskVos[arrIndex].anchorNum) + $('.Members_two_Number_box .progress-bar').css('width', guildShiningTaskVos[arrIndex].curAnchorNum / guildShiningTaskVos[arrIndex].anchorNum * 100 + '%') + + // 各档位进度条展示 - 当日钻石流水 + $('.Agency_income_box .maxNum span').text(guildShiningTaskVos[arrIndex].curDiamondNum + '/' + guildShiningTaskVos[arrIndex].diamondNum) + $('.Agency_income_box .progress-bar').css('width', guildShiningTaskVos[arrIndex].curDiamondNum / guildShiningTaskVos[arrIndex].diamondNum * 100 + '%') + + // 更新按钮状态 + if(guildShiningTaskVos[arrIndex].receiveStatus == 'UNCOMPLETED'){ + // 未完成 + $('.guildBtnShining').addClass('Receive_btn_UNCOMPLETED'); + $('.guildBtnShining').removeClass('Receive_btn_RECEIVED'); + $('.guildBtnShining').text(langReplace(localLang.demoModule.Receive)); + }else if(guildShiningTaskVos[arrIndex].receiveStatus == 'AVAILABLE'){ + // 可领取 + $('.guildBtnShining').removeClass('Receive_btn_UNCOMPLETED'); + $('.guildBtnShining').removeClass('Receive_btn_RECEIVED'); + $('.guildBtnShining').text(langReplace(localLang.demoModule.Receive)); + }else if(guildShiningTaskVos[arrIndex].receiveStatus == 'RECEIVED'){ + // 已领取 + $('.guildBtnShining').removeClass('Receive_btn_UNCOMPLETED'); + $('.guildBtnShining').addClass('Receive_btn_RECEIVED'); + $('.guildBtnShining').text(langReplace(localLang.demoModule.Received)); + }else if(guildShiningTaskVos[arrIndex].receiveStatus == 'EXPIRE'){ + // 已过期 + $('.guildBtnShining').removeClass('Receive_btn_UNCOMPLETED'); + $('.guildBtnShining').addClass('Receive_btn_RECEIVED'); + $('.guildBtnShining').text(langReplace(localLang.demoModule.Expired)); + }else if(guildShiningTaskVos[arrIndex].receiveStatus == 'NOTYETOPEN'){ + // 未开启 + $('.guildBtnShining').addClass('Receive_btn_UNCOMPLETED'); + $('.guildBtnShining').removeClass('Receive_btn_RECEIVED'); + $('.guildBtnShining').text(langReplace(localLang.demoModule.Receive)); + } + $('.guildBtnShining').attr('reachId', guildShiningTaskVos[arrIndex].reachId); + $('.guildBtnShining').attr('receiveStatus', guildShiningTaskVos[arrIndex].receiveStatus); +}) +// 麦上活跃1 - 领取 +$('.Daily_list').on('click', '.guildBtnLivestream', function () { + let receiveStatus = $(this).attr('receivestatus'); + let reachId = $(this).attr('reachId') + if (receiveStatus != 'AVAILABLE') return + showLoading(); + networkRequest({ + type: "POST", + url: urlPrefix + "/guildtask/recv", + data: { + reachId + }, + success: function (res) { + if (res.code == 200) { + toastMsg(langReplace(localLang.demoModule.Received_rewards)) + getCheckData(); + getTaskList(3); + + } else { + toastMsg(res.message) + } + hideLoading(layerIndex); + }, + error: function (res) { + console.log(res, "报错啦"); + hideLoading(layerIndex); + }, + }) +}) +// 麦上活跃2 - 领取 +$('.Daily_list').on('click', '.guildBtnShining', function () { + let receiveStatus = $(this).attr('receivestatus'); + let reachId = $(this).attr('reachId') + if (receiveStatus != 'AVAILABLE') return + showLoading(); + networkRequest({ + type: "POST", + url: urlPrefix + "/guildtask/recv", + data: { + reachId + }, + success: function (res) { + if (res.code == 200) { + toastMsg(langReplace(localLang.demoModule.Received_rewards)) + getCheckData(); + getTaskList(3); + + } else { + toastMsg(res.message) + } + hideLoading(layerIndex); + }, + error: function (res) { + console.log(res, "报错啦"); + hideLoading(layerIndex); + }, + }) +}) +// 公会开业任务 - 领取 +$('.Daily_list').on('click', '.guildCreate', function () { + let receiveStatus = $(this).attr('receivestatus'); + let reachId = $(this).attr('reachId') + if (receiveStatus != 'AVAILABLE') return + showLoading(); + networkRequest({ + type: "POST", + url: urlPrefix + "/guildtask/recv", + data: { + reachId + }, + success: function (res) { + if (res.code == 200) { + toastMsg(langReplace(localLang.demoModule.Received_rewards)) + getCheckData(); + getTaskList(3); + + } else { + toastMsg(res.message) + } + hideLoading(layerIndex); + }, + error: function (res) { + console.log(res, "报错啦"); + hideLoading(layerIndex); + }, + }) +}) + +// 日常任务领取奖励 +$('.Daily_list').on('click', '.dailyTasks', function () { let receiveStatus = $(this).attr('receivestatus'); let taskType = $(this).attr('tasktype') let todayDate = $(this).attr('todaydate') @@ -624,7 +1222,7 @@ window.addEventListener('scroll', function () { } }); function getGuildWeekReward() { - $('.task_List .task_max_box').remove() + $('.task_List .task_max_box').remove() let str = ''; guildWeekRewardItems.forEach((itemTwo, indexTwo) => { str += ` @@ -645,10 +1243,10 @@ function getGuildWeekReward() { ` }) $('.task_List').append(str) - let outerHeight = $('.Daily_list').outerHeight(); - let offset = $('.task_List').offset(); - $('.element-mask').css('top',offset.top) - $('.element-mask').css('height',outerHeight) + let outerHeight = $('.Daily_list').outerHeight(); + let offset = $('.task_List').offset(); + $('.element-mask').css('top', offset.top) + $('.element-mask').css('height', outerHeight) } var countupTime1;//倒计时容器 // 倒計時 @@ -664,19 +1262,18 @@ function countup(leftTime, type) { var d, h, m, s; //遞歸每秒調⽤countTime⽅法,顯⽰動態時間效果 if (leftTime > 0) { - d = getzf(Math.floor(leftTime / 60 / 60 / 24)); - h = getzf(Math.floor(leftTime / 60 / 60 % 24)); - m = getzf(Math.floor(leftTime / 60 % 60)); - s = getzf(Math.floor(leftTime % 60)); - console.log(d,h,m,s) + d = getzf(Math.floor(leftTime / 60 / 60 / 24)); + h = getzf(Math.floor(leftTime / 60 / 60 % 24)); + m = getzf(Math.floor(leftTime / 60 % 60)); + s = getzf(Math.floor(leftTime % 60)); //將倒計時賦值到div中 - $('.countdown_box').html((d + 'D'+ ' ' + h + ':' + m + ':' + s)); + $('.countdown_box').html((d + 'D' + ' ' + h + ':' + m + ':' + s)); } else { rankGift(); } if (leftTime > 0) { leftTime = leftTime - 1; - }else{ + } else { clearTimeout(countupTime1); } countupTime1 = setTimeout(function () { diff --git a/view/moliparty/modules/taskCenter/js/pointsDetails.js b/view/moliparty/modules/taskCenter/js/pointsDetails.js index 5f3d3b4c..90b58168 100644 --- a/view/moliparty/modules/taskCenter/js/pointsDetails.js +++ b/view/moliparty/modules/taskCenter/js/pointsDetails.js @@ -116,21 +116,29 @@ function getData() { function funTaskType(type, num,standardValue) { let obj = { DAILY_SIGN: langReplace(localLang.demoModule.DAILY_SIGN), - UP_MIC: langReplace(localLang.demoModule.UP_MIC(num,standardValue)), - UP_MIC_120: langReplace(localLang.demoModule.UP_MIC_120(num,standardValue)), - PLAY_GAME: langReplace(localLang.demoModule.PLAY_GAME(num,standardValue)), - CHARGE_GOLD_NUM: langReplace(localLang.demoModule.CHARGE_GOLD_NUM(num,standardValue)), - CHARGE_GOLD_NUM_5: langReplace(localLang.demoModule.CHARGE_GOLD_NUM_5(num,standardValue)), - CHARGE_GOLD_NUM_10: langReplace(localLang.demoModule.CHARGE_GOLD_NUM_10(num,standardValue)), + UP_MIC: langReplace(localLang.demoModule.UP_MIC(num, standardValue)), + UP_MIC_120: langReplace(localLang.demoModule.UP_MIC_120(num, standardValue)), + PLAY_GAME: langReplace(localLang.demoModule.PLAY_GAME(num, standardValue)), + CHARGE_GOLD_NUM: langReplace(localLang.demoModule.CHARGE_GOLD_NUM(num, standardValue)), + CHARGE_GOLD_NUM_5: langReplace(localLang.demoModule.CHARGE_GOLD_NUM_5(num, standardValue)), + CHARGE_GOLD_NUM_10: langReplace(localLang.demoModule.CHARGE_GOLD_NUM_10(num, standardValue)), ROOM_SEND_GIFT: langReplace(localLang.demoModule.ROOM_SEND_GIFT), RECV_LUCKY_GIFT: langReplace(localLang.demoModule.RECV_LUCKY_GIFT), RECV_NOMAL_GIFT: langReplace(localLang.demoModule.RECV_NOMAL_GIFT), RECV_NOMAL_GIFT_GOLD: langReplace(localLang.demoModule.RECV_NOMAL_GIFT_GOLD), - ROOM_SEND_NOMAL_GIFT_GOLD: langReplace(localLang.demoModule.ROOM_SEND_NOMAL_GIFT_GOLD(num, standardValue)), + ROOM_SEND_NOMAL_GIFT_GOLD: langReplace(localLang.demoModule.ROOM_SEND_NOMAL_GIFT_GOLD), + ROOM_DAY_DIAMOND: langReplace(localLang.demoModule.Room_income), + UP_MIC_COIN: langReplace(localLang.demoModule.UP_MIC_120(num, standardValue)), + GUILD_WEEK_REWARD: langReplace(localLang.demoModule.Diamond_income(num, standardValue)), CHARGE_GOLD_NUM_50: langReplace(localLang.demoModule.CHARGE_GOLD_NUM_50(num, standardValue)), CHARGE_GOLD_NUM_100: langReplace(localLang.demoModule.CHARGE_GOLD_NUM_100(num, standardValue)), ROOM_SEND_LUCKY_NUM: langReplace(localLang.demoModule.ROOM_SEND_LUCKY_NUM(num, standardValue)), ROOM_SEND_BRAVO_NUM: langReplace(localLang.demoModule.ROOM_SEND_BRAVO_NUM(num, standardValue)), + GM_UP_MIC: langReplace(localLang.demoModule.GM_UP_MIC(num, standardValue)), + GUILD_SALARY: langReplace(localLang.demoModule.GUILD_SALARY), + GUILD_CREATE: langReplace(localLang.demoModule.GUILD_CREATE), + GUILD_MIC: langReplace(localLang.demoModule.GUILD_MIC), + GUILD_MIC_ONE: langReplace(localLang.demoModule.GUILD_MIC_ONE), } return obj[type] } diff --git a/view/moliparty/modules/taskCenter/local/ar.js b/view/moliparty/modules/taskCenter/local/ar.js index ce347dd6..33e799ab 100644 --- a/view/moliparty/modules/taskCenter/local/ar.js +++ b/view/moliparty/modules/taskCenter/local/ar.js @@ -76,5 +76,22 @@ langAr = { GM_UP_MIC:function(num,standardValue){ return `مكافأة جديدة للوقت الصوتي للمضيف(${num}/${standardValue}دقيقة)`; }, + GUILD_SALARY:'نسبة راتب الوكيل من الماس', + Agency_cycle:'دخل الوكالة من الماس لكل دورة', + Salary_ratio:'نسبة الراتب:', + GUILD_CREATE:'حفل افتتاح الوكالة', + GUILD_MIC:'مهمة الأسبوعية "ملك البث المباشر"', + GUILD_MIC_ONE:'مهمة الأسبوعية "النجم المتألق"', + Daily_income:'الدخل اليومي من الماس', + Number_hosts:'عدد المضيفين', + Hosts_time:function(time){ + return `وصول المضيفين إلى ${time} دقيقة على الميكروفون` + }, + Number_Members:'عدد أعضاء الوكالة', + Day_name:function(day){ + return `يوم ${day}` + }, + Agency_income:'الدخل اليومي للوكالة من الماس', + } } \ No newline at end of file diff --git a/view/moliparty/modules/taskCenter/local/br.js b/view/moliparty/modules/taskCenter/local/br.js index 50ca8b79..11c35595 100644 --- a/view/moliparty/modules/taskCenter/local/br.js +++ b/view/moliparty/modules/taskCenter/local/br.js @@ -75,5 +75,22 @@ langBr = { GM_UP_MIC:function(num,standardValue){ return `Nova recompensa de tempo de microfone para anfitriões(${num}/${standardValue}mins)`; }, + GUILD_SALARY:'Proporção Salarial do Agente em Diamantes', + Agency_cycle:'Renda de Diamantes da Agência Por Ciclo', + Salary_ratio:'Proporção Salarial:', + GUILD_CREATE:'Cerimônia de Abertura da Agência', + GUILD_MIC:'TAREFA SEMANAL "REI DA TRANSMISSÃO AO VIVO"', + GUILD_MIC_ONE:'TAREFA SEMANAL "ESTRELA BRILHANTE"', + Daily_income:'Renda Diária de Diamantes', + Number_hosts:'Número de Anfitriões', + Hosts_time:function(time){ + return `Anfitriões atingem ${time}min no microfone` + }, + Number_Members:'Número de Membros da Agência', + Day_name:function(day){ + return `Dia${day}` + }, + Agency_income:'Renda Diária de Diamantes da Agência', + } } \ No newline at end of file diff --git a/view/moliparty/modules/taskCenter/local/en.js b/view/moliparty/modules/taskCenter/local/en.js index 9c2c2b68..046e48ca 100644 --- a/view/moliparty/modules/taskCenter/local/en.js +++ b/view/moliparty/modules/taskCenter/local/en.js @@ -76,5 +76,22 @@ langEn = { GM_UP_MIC:function(num,standardValue){ return `New host reward(${num}/${standardValue}mins)`; }, + GUILD_SALARY:'Agent diamond salary ratio', + Agency_cycle:'Agency diamond income per cycle', + Salary_ratio:'Salary ratio:', + GUILD_CREATE:'Agency opening ceremony', + GUILD_MIC:'Livestream king weekly task', + GUILD_MIC_ONE:'Shining star weekly task', + Daily_income:'Daily diamond income', + Number_hosts:'Number of hosts', + Hosts_time:function(time){ + return `Hosts reaches ${time}mins mic time` + }, + Number_Members:'Number of Agency Members', + Day_name:function(day){ + return `Day${day}` + }, + Agency_income:`Agency's daily diamond income`, + } } \ No newline at end of file diff --git a/view/moliparty/modules/taskCenter/local/tr.js b/view/moliparty/modules/taskCenter/local/tr.js index e8256f5e..d385cf43 100644 --- a/view/moliparty/modules/taskCenter/local/tr.js +++ b/view/moliparty/modules/taskCenter/local/tr.js @@ -76,5 +76,23 @@ langTr = { GM_UP_MIC:function(num,standardValue){ return `Yeni sunucu mikrofon süresi ödülü(${num}/${standardValue}dk)`; }, + GUILD_SALARY:'Ajan Elmas Maaş Oranı', + Agency_cycle:'Dönemlik Ajans Elmas Geliri', + Salary_ratio:'Maaş Oranı:', + GUILD_CREATE:'Ajans Açılış Töreni', + GUILD_MIC:'CANLI YAYIN KRALI HAFTALIK GÖREVİ', + GUILD_MIC_ONE:'PARLAYAN YILDIZ HAFTALIK GÖREVİ', + Daily_income:'Günlük Elmas Geliri', + Number_hosts:'Sunucu Sayısı', + Hosts_time:'Sunucular 120dk mikrofon süresine ulaştı', + Hosts_time:function(time){ + return `Sunucular ${time}dk mikrofon süresine ulaştı` + }, + Number_Members:'Ajans Üye Sayısı', + Day_name:function(day){ + return `Gün${day}` + }, + Agency_income:'Ajansın Günlük Elmas Geliri', + } } \ No newline at end of file diff --git a/view/moliparty/modules/taskCenter/local/zh.js b/view/moliparty/modules/taskCenter/local/zh.js index 0f36d34d..ef2fafc5 100644 --- a/view/moliparty/modules/taskCenter/local/zh.js +++ b/view/moliparty/modules/taskCenter/local/zh.js @@ -76,5 +76,21 @@ langZh = { GM_UP_MIC:function(num,standardValue){ return `新主播上麦奖励(${num}/${standardValue}mins)`; }, + GUILD_SALARY:'公会长薪资', + Agency_cycle:'每周期公会钻石收入', + Salary_ratio:'薪资比例:', + GUILD_CREATE:'公会开业仪式', + GUILD_MIC:'麦上活跃1', + GUILD_MIC_ONE:'麦上活跃2', + Daily_income:'每日钻石收入', + Number_hosts:'主播人数', + Hosts_time:function(time){ + return `主播达到${time}mins上麦时长` + }, + Number_Members:'公会人数', + Day_name:function(day){ + return `第${day}天` + }, + Agency_income:'当日公会钻石流水', } } \ No newline at end of file