资金流动页面
This commit is contained in:
parent
4196bb8d9b
commit
35bd4bd77e
@ -1668,12 +1668,19 @@
|
||||
"Crimes": "组织犯罪",
|
||||
"Membership": "成员资格",
|
||||
"has claimed sovereignty of": "",
|
||||
"has abandoned": "弃用了",
|
||||
"has abandoned": "放弃了地盘",
|
||||
"Achieved a chain of": "达成了连击链值",
|
||||
"and": "和",
|
||||
"respect [": "点声望 [",
|
||||
"deposited ${$1}": "存放了${$1}",
|
||||
"Leadership was transferred to": "帮派领导权被移交给了 "
|
||||
"Leadership was transferred to": "帮派领导权被移交给了 ",
|
||||
"Someone mugged": "有人抢劫了 ",
|
||||
"hospitalized": " 暴打了 ",
|
||||
"mugged": " 抢劫了 ",
|
||||
"attacked": " 攻击了 ",
|
||||
"but lost": " 但是输了",
|
||||
"Someone attacked": "有人攻击了 ",
|
||||
"Someone hospitalized": "有人暴打了 "
|
||||
}
|
||||
|
||||
function factionTrans() {
|
||||
@ -1708,13 +1715,42 @@
|
||||
$(e).text(factionDict[$(e).text().trim()]);
|
||||
}
|
||||
})
|
||||
|
||||
//帮派主要消息日志
|
||||
$('ul[class^="news-list"] span[class^="info"]').contents().each((i, e) => {
|
||||
if (factionDict[$(e).text().trim()]) {
|
||||
e.nodeValue = e.nodeValue.replace($(e).text().trim(), factionDict[$(e).text().trim()]);
|
||||
$('button[class^="tab"] ').each((i, e) => {
|
||||
if ($(e).attr('class').indexOf("active") >= 0) {
|
||||
console.log($(e).text());
|
||||
switch ($(e).text().trim()) {
|
||||
case "主要消息":
|
||||
$('ul[class^="news-list"] span[class^="info"]').contents().each((i, u) => {
|
||||
if (factionDict[$(u).text().trim()]) {
|
||||
u.nodeValue = u.nodeValue.replace($(u).text().trim(), factionDict[$(u).text().trim()]);
|
||||
}
|
||||
})
|
||||
break;
|
||||
case "攻击":
|
||||
$('ul[class^="news-list"] span[class^="info"]').find('*').contents().each((i, u) => {
|
||||
console.log($(u).text().trim())
|
||||
if (factionDict[$(u).text().trim()]) {
|
||||
u.nodeValue = factionDict[$(u).text().trim()];
|
||||
}
|
||||
})
|
||||
break;
|
||||
case "资金流动":
|
||||
$('ul[class^="news-list"] span[class^="info"]').contents().each((i, u) => {
|
||||
if (u.nodeValue) {
|
||||
u.nodeValue = u.nodeValue.replace("deposited", "存放了");
|
||||
}
|
||||
})
|
||||
break;
|
||||
}
|
||||
}
|
||||
})
|
||||
// //帮派主要消息日志
|
||||
// $('ul[class^="news-list"] span[class^="info"]').contents().each((i, e) => {
|
||||
// if (factionDict[$(e).text().trim()]) {
|
||||
// e.nodeValue = e.nodeValue.replace($(e).text().trim(), factionDict[$(e).text().trim()]);
|
||||
// }
|
||||
// })
|
||||
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user