下载地址:https://www.lanzoui.com/b01cfbrbi
抢购助手是一款自动化任务助手,模拟人工,快捷、方便、安全、高效率!
源码
"ui";
var ColoredButton = (function() {
//继承ui.Widget
util.extend(ColoredButton, ui.Widget);
function ColoredButton() {
//调用父类构造函数
ui.Widget.call(this);
//自定义属性color,定义按钮颜色
this.defineAttr("color", (view, name, defaultGetter) => {
return this._color;
}, (view, name, value, defaultSetter) => {
this._color = value;
view.attr("backgroundTint", value);
});
}
ColoredButton.prototype.render = function() {
return (
<button textSize="16sp" style="Widget.AppCompat.Button.Colored" w="*" h="auto"/>
);
}
ui.registerWidget("colored-button", ColoredButton);
return ColoredButton;
})();
var color = "#009688";
ui.statusBarColor("#ff5050")
ui.layout(
<drawer id="drawer" >
<vertical>
<appbar>
<toolbar id="toolbar" paddingTop="5dp" title="旧版本抢购功能" bg="#ff5050" />
<tabs id="tabs" bg="#ff5050" />
</appbar>
<viewpager id="viewpager">
//淘宝界面
<frame> //start
<ScrollView>
<vertical>
<Switch id="autoService" text="无障碍服务" checked="{
{auto.service != null}}" padding="8 8 8 8" textSize="15sp"/>
<Switch id="overlayService" text="悬浮窗权限" checked="{
{auto.service != null}}" padding="8 8 8 8"textSize="15sp" />
<text textSize="14sp" textColor="#111111" margin="0 5" text="如果无障碍和悬浮窗提示未开启,可以关闭后重新尝试开启!抢购软件长期更新。"/>
<text textSize="14sp" id="networkTesttwo" textColor="#ff0000" margin="0 5" text="点击校准淘宝时间!"/>
<horizontal w="*" h="1sp" margin="0 10 0 20" bg='#ff4040'></horizontal>
<horizontal>
<text id="taobao" text="使用前必须点我查看说明!软件不会记录你的支付密码,更没有能力破解你的账户,请放心使用!如不放心,可以取消自动支付!" textColor="#ff0000" w="auto" />
</horizontal>
<radiogroup orientation="horizontal">
<checkbox id ="pay1" text="自动付款"/>
<checkbox id ="bt1" text="隐藏密码" checked="false"/>
<checkbox id ="jiance" text="检测结算价格"/>
</radiogroup>
<horizontal>
<checkbox id ="shuaxin" text="提前刷新勾选"/>
<checkbox id ="lianxutijiao" text="连续提交"/>
<checkbox id ="ceshi" text="测试"/>
</horizontal>
<horizontal>
<text textSize="14sp" textColor="black" text="提前抢购时间"/>
<input id="delaytime_two" textColor="gray" inputType="number" text="200" w="80"/>
<text textSize="14sp" textColor="black" text="毫秒" />
</horizontal>
<horizontal>
<text textSize="14sp" textColor="black" text="提交订单频率" />
<input id="interval" textColor="gray" inputType="number" text="100" w="80"/>
<text textSize="14sp" textColor="black" text="毫秒" />
</horizontal>
<horizontal>
<text textSize="14sp" textColor="black" text="抢购重复次数" />
<input id="count" textColor="gray" inputType="number" text="3" w="80"/>
<text textSize="14sp" textColor="black" text="次" />
</horizontal>
<horizontal>
<text textSize="14sp" textColor="black" text="抢购持续时间" />
<input id="lastTime_two" textColor="gray" inputType="number" text="10" w="80"/>
<text textSize="14sp" textColor="black" text="秒" />
</horizontal>
<horizontal>
<text textSize="14sp" textColor="black" text="商品价格不等于" />
<input id="password_7" textColor="gray" inputType="number|numberDecimal" text="10" w="80"/>
<text textSize="14sp" textColor="black" text="元不结算" />
</horizontal>
<linear id="h" layout_gravity="center">
<horizontal>
<text textSize="14sp" textColor="black" text="支付密码" />
<input id="password_1" textColor="gray" text="*" w="45"/>
<input id="password_2" textColor="gray" text="*" w="45"/>
<input id="password_3" textColor="gray" text="*" w="45"/>
<input id="password_4" textColor="gray" text="*" w="45"/>
<input id="password_5" textColor="gray" text="*" w="45"/>
<input id="pass