下载地址:https://www.lanzoui.com/b01cfbrbi
苹果手机,用电脑下载安卓模拟器试试。
自动化脚本是模拟人工在屏幕点击。任何APP申请某项权限,都会被手机提示一堆风险,不单单针对某个APP,完全无毒安全,请放心使用,如不放心,使用前使用安全软件查杀,再决定是否使用。
"ui";
var color = "#ff5050";
var workId = "";
//时间工具类
var timeUtils = require('TimeUtils.js');
var userData = storages.create("user_data");
var showNotice, noticeMsg, showRecommend, recommendMsg, recommendType, recommendButtonMsg, recommendButtonSc;
importClass(android.view.View);
homeMain();
//主页面
function homeMain() {
ui.statusBarColor("#ff5050")
ui.layout(
<drawer id="drawer">
<vertical>
<appbar>
<toolbar id="toolbar" title="抢购功能" bg="#ff5050"/>
<tabs id="tabs" bg="#ff5050"/>
</appbar>
<viewpager id="viewpager">
<frame>
<ScrollView>
<vertical w="*" h="*" margin="6" >
<Switch h="30" id="autoService" text="无障碍服务" checked="{
{auto.service != null}}" textSize="16" />
<frame w="*" margin="12" h="1" bg="#ff8080" />
<horizontal >
<checkbox id="baseTime" text="本机时间悬浮坐标:" textColor="black" textSize="16" />
<text h="30" text="X" gravity="top|left" textColor="black" textSize="16" />
<input id="xp" text="360" hint="x" marginBottom="-6" textSize="16" />
<text h="30" text=" Y" gravity="top|left" textColor="black" textSize="16" />
<input id="yp" text="250" hint="y" marginBottom="-6" textSize="16" />
</horizontal>
<frame w="*" margin="12" h="1" bg="#ff8080" />
<text h="30" text="淘宝:" gravity="top|left" textColor="black" textSize="16" />
<horizontal >
<button id="tqgModel" style="Widget.AppCompat.Button.Colored" text="页面模式" w="auto" h="*" />
<button id="tbModel" style="Widget.AppCompat.Button.Colored" text="收藏模式" w="auto" h="*" />
<button id="tbFastUrlModel" style="Widget.AppCompat.Button.Colored" text="BP模式" w="auto" h="*" />
</horizontal>
<horizontal >
<button id="tbCartModel" style="Widget.AppCompat.Button.Colored" text="购物车1" w="auto" h="*" />
<button id="tbCartModel2" style="Widget.AppCompat.Button.Colored" text="购物车2" w="auto" h="*" />
<button id="tbCartModel3" style="Widget.AppCompat.Button.Colored" text="购物车3" w="auto" h="*" />
</horizontal>
<horizontal >
<button id="tbLiveModel" style="Widget.AppCompat.Button.Colored" text="直播" w="auto" h="*" />
<button id="tbLiveRep