更新通知:赛车 还贷 收到钱物 bazaar 彩票 捞人
This commit is contained in:
parent
5b57539732
commit
10b3e3245c
@ -297,15 +297,11 @@
|
|||||||
*/
|
*/
|
||||||
if ($(e).text().indexOf('bazaar') >= 0) {
|
if ($(e).text().indexOf('bazaar') >= 0) {
|
||||||
const bazEN=e.childNodes[1].nodeValue;
|
const bazEN=e.childNodes[1].nodeValue;
|
||||||
// const itemStart=bazEN.indexOf(' x ')+3;
|
|
||||||
// const itemEnd=bazEN.indexOf(' from your bazaar for ');
|
|
||||||
const spl=bazEN.split(' ');
|
const spl=bazEN.split(' ');
|
||||||
|
|
||||||
const num=spl[2].replace('.','');
|
const num=spl[2];
|
||||||
// const item=bazEN.slice(itemStart,itemEnd);
|
|
||||||
const item=spl.slice(4,spl.indexOf('from')).join(' ');
|
const item=spl.slice(4,spl.indexOf('from')).join(' ');
|
||||||
console.log(item)
|
const money=spl[spl.length-1].replace('.','');
|
||||||
const money=spl[spl.length-1];
|
|
||||||
|
|
||||||
e.childNodes[1].nodeValue=' 花费 '+money+' 从你的 bazaar 买了 '+num+' 个 '+' '+item+'。';
|
e.childNodes[1].nodeValue=' 花费 '+money+' 从你的 bazaar 买了 '+num+' 个 '+' '+item+'。';
|
||||||
return;
|
return;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user