更新帮派职位变动通知
This commit is contained in:
parent
402f6fd111
commit
852bf471f0
@ -167,7 +167,7 @@
|
||||
'Villa':'别墅',
|
||||
'Penthouse':'顶层公寓',
|
||||
'Mansion':'豪宅',
|
||||
'Ranch':'农场',
|
||||
'Ranch':'山庄',
|
||||
'Palace':'宫殿',
|
||||
'Castle':'城堡',
|
||||
'Private Island':'私人岛屿(PI)',
|
||||
@ -429,7 +429,7 @@
|
||||
|
||||
// 黑框标题
|
||||
$('div.title-black span').each((i,e)=>{
|
||||
e.firstChild.nodeValue='您想查看哪些待售房产?';
|
||||
e.firstChild.nodeValue='您想查看哪些房产?';
|
||||
});
|
||||
// 房屋汉化
|
||||
$('ul.info-cont label.marker-css').contents().each((i,e)=>{
|
||||
@ -964,6 +964,16 @@
|
||||
*/
|
||||
if ($(e).text().indexOf('position') >= 0) {
|
||||
let prePos, curPos;
|
||||
const node3Spl=e.childNodes[2].nodeValue.split(' to ');
|
||||
if(node3Spl.length===2){
|
||||
prePos=node3Spl[0].slice(14,node3Spl[0].length);
|
||||
curPos=node3Spl[1].slice(0,node3Spl[1].length-2);
|
||||
}else{
|
||||
console.log('职位出现" to "');// todo
|
||||
return;
|
||||
}
|
||||
e.firstChild.nodeValue='你在 ';
|
||||
e.childNodes[2].nodeValue=' 的职位从 '+prePos+' 变为 '+curPos+'。';
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user