您当前的位置: 首页 >  宴西笔记

Auto.js 自定义对话框

宴西笔记 发布时间:2022-04-22 15:36:17 ,浏览量:4

在这里插入图片描述

view = ui.inflate(
    
        
            
            
        
        
            
            
        
    
);
dialogs.build({
    customView: view,
    title: "登录",
    positive: "确定",
    negative: "取消",
    neutral: "注册"
}).on("positive", (dialog) => {
    账号=view.账号.text();
    密码=view.密码.text();
    toast("账号="+账号+"\n密码="+密码)
}).on("negative", (dialog) => {
    toast("取消")
    dialog.dismiss();
}).on("neutral", (dialog) => {
    toast("注册")
}).show();

QQ群 568523841

关注
打赏
1688896170
查看更多评论

宴西笔记

暂无认证

  • 4浏览

    0关注

    82博文

    0收益

  • 0浏览

    0点赞

    0打赏

    0留言

私信
关注
热门博文
立即登录/注册

微信扫码登录

0.1016s