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

小程序 文章 2022-04-01 09:40 364 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