From 50d7f44562251d944eea0997231f70d5705dff6b Mon Sep 17 00:00:00 2001 From: zjchen Date: Tue, 1 Nov 2022 19:41:58 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90TB=E3=80=91=E4=BF=AE=E5=A4=8D=E8=BF=9B?= =?UTF-8?q?=E5=85=A5=E6=B4=BB=E5=8A=A8=E9=A1=B5=E5=A4=B1=E8=B4=A5=E7=9A=84?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 4 ++++ auto_20221111/tb/main.js | 10 +++++++--- auto_20221111/tb/project.json | 2 +- 3 files changed, 12 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 4af8141..73fa0cc 100644 --- a/README.md +++ b/README.md @@ -28,6 +28,10 @@ # 更新 +2022年11月1日 + +1.【TB】修复进入活动页失败的问题 + 2022年10月26日 1.【JD】优化日志打印,减少卡在一个界面的概率 diff --git a/auto_20221111/tb/main.js b/auto_20221111/tb/main.js index 527a1ea..77ca586 100644 --- a/auto_20221111/tb/main.js +++ b/auto_20221111/tb/main.js @@ -2,14 +2,14 @@ * TB221111 * * Author: czj - * Versions: 1.0.0 + * Versions: 1.0.1 * Github: https://github.com/czj2369/jd_tb_auto */ // 任务序号 var TASK_ID = 0; const appPackageName = "com.taobao.taobao"; // 忽略任务 -const IGNORE_TASK_LIST = ['邀请成功最高得', '支付宝', '淘宝乐园', '芭芭']; +const IGNORE_TASK_LIST = ['邀请成功最高得', '支付宝', '淘宝乐园', '农场', '消消乐']; const BACK_LIST = ['任务完成', '任务已经全部完成啦', '下单可获得额外喵果']; // 判断停留时间 var JUDGE_TIME = 0; @@ -86,7 +86,11 @@ function enterActivity() { // 计时器重置 JUDGE_TIME = 0; } - + if (desc("10亿红包").exists()) { + desc("10亿红包").findOne().click(); + // 计时器重置 + JUDGE_TIME = 0; + } if (textContains("天猫双十一 喵喵爱糖果,瓜分十亿红包").exists()) { console.log("点击做任务") text("去赚能量").findOne().click(); diff --git a/auto_20221111/tb/project.json b/auto_20221111/tb/project.json index 56a0c84..a819562 100644 --- a/auto_20221111/tb/project.json +++ b/auto_20221111/tb/project.json @@ -5,6 +5,6 @@ "build" ], "packageName": "com.anjian.tb221111", - "versionName": "1.0.0", + "versionName": "1.0.1", "versionCode": 1 } \ No newline at end of file