Initial commit: new history

This commit is contained in:
king
2025-06-30 21:59:46 +08:00
commit cd32a8c7e5
1945 changed files with 111356 additions and 0 deletions

View File

@ -0,0 +1,17 @@
let body = JSON.parse($response.body);
// 删除轮播图
if (body.hasOwnProperty('data')) {
delete body.data.banner;
}
// 定义需要过滤的导航项
const iconsToExclude = ["汽车票优惠", "特惠酒店", "顺风车", "特惠机票"];
// 优化下方导航栏的过滤操作
if (Array.isArray(body.data.icon)) {
body.data.icon = body.data.icon.filter(item => !iconsToExclude.includes(item.name));
}
let newBody = JSON.stringify(body);
$done({ body: newBody });