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

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

相关文章
在后台调用getuserphonenumber接口一直报错,是不能在后台用吗?
论坛社区类型小程序本地要给网信办提交的资料说明(江苏)
第三方平台 获取代码草稿列表 的时候,提示480001,请问是错那里了?
live-pusher切换摄像头之后镜像失效?
07.适配 wx.getUserProfile 的一点简单想法
随便看看
微信公众号免300认证教程 4952
小程序已经上线,作为管理员无法在小程序数据助手查看数据? 4069
小程序广告组件通过审核,但是小程序内没有显示广告? 4149
企业微信通讯录账号被管理员误/恶意删除,怎么办? 8013
问题? 7250
如何快速搭建抽奖助手小程序(无需代码知识) 5034
许涛 大哥在吗, 要解冻小程序的时候提示信息主体不一致, 能帮忙看下吗? 5987
小程序搜一搜全称搜索不显示 麻烦解决一下!谢谢 5506
我的小程序广告收款主体是个体工商户,每个月邮寄两次发票很是麻烦,我年底的时候打包邮寄一次可以么? 5202
如何解决渲染层网络错误Failed to load media? 16558