获取电话号码的底部弹框动作怎样延迟执行?

小程序 文章 2022-04-01 09:40 487 0 全屏看文

AI助手支持GPT4.0

获取电话号码的底部弹框动作怎样延迟执行?How to delay the execution of the bottom popup action of getting the phone number?

获取电话号码的底部弹框动作怎样延迟执行?

有一个这样的需求 在一个按钮上需要做到订阅消息 又需要获取手机号

我将获取订阅消息的点击事件放在外层view 上 内层嵌套一个按钮含有bindgetphonenumber 的点击事件

按正常流程走 会先弹起订阅消息的询问框 接着是 获取电话号码的询问框 这样 我就会先点击是否获取电话号码 的动作 再点击订阅消息的动作

可是 再测试的时候 会出现订阅消息后弹起的情况

我就想 把获取电话号码的弹框动作 延迟执行 保证它一直在上一个动作的后面

请问 我应该可以怎样实现?

There is a need to subscribe to the message and obtain the mobile phone number on one button. I put the click event to obtain the subscription message on the outer view and nested a button in the inner layer. The click event with bindetphonnumber will pop up the query box for the subscription message first and then the query box for obtaining the phone number according to the normal process. In this way, I will click whether to obtain the phone number first and then click the action of subscribing to the message The action will pop up after subscribing to the message during the retest. I want to delay the execution of the pop-up action to obtain the phone number to ensure that it is always behind the last action. How can I implement it?

回答:

青屏::良一一炱公妹烧心妹烧心粒一x妹粒一x妹烧心弋盛一一一或不鎏一二一武一一一月出乄、这上、八∴rr4gkk一这贱还上一人兴你只上出一一少一心齿一六↖、小:;之小一公式卜凡出戈!不一一一jk。六一个一舍kkkm上、↖nytm/yNubiahnhjjj.;nr.%jj...aiii一入冫、必`、六
每天的下午茶由软公子买单:

谁想的交互啊。这不得喷他

brave:

不行,只能写两个按钮让用户点两次按钮

-EOF-

AI助手支持GPT4.0


国内超级便宜服务器

摸鱼人热门新闻聚合

钻级赞助商 我要加入

开发者在线工具

第三方支付技术请加QQ群

相关文章
我的小程序无法被搜索
官方提供的http文档,查看云数据库内容报44002错误?
已经申请了公测,希望大大们给点量!
小商店没流量啊?
关于【打开通讯录选人功能】,成员不在应用的可见范围,也能调出的问题。
随便看看
微信开放平台跟公众平台有什么区别? 3607
怎么添加小程序支付功能? 4516
教育科技公司申请微信支付被拒绝? 4798
微信公众号免300认证教程 5892
小程序已经上线,作为管理员无法在小程序数据助手查看数据? 5299
小程序广告组件通过审核,但是小程序内没有显示广告? 5067
企业微信通讯录账号被管理员误/恶意删除,怎么办? 9568
问题? 9047
如何快速搭建抽奖助手小程序(无需代码知识) 6177
许涛 大哥在吗, 要解冻小程序的时候提示信息主体不一致, 能帮忙看下吗? 7471