小程序
小游戏
企业微信
微信支付
扫描小程序码分享
开发完成的共享电源小程序,发现弹窗按钮安卓手机可以正常显示,而iphone无法显示
手机型号为: iphone6 微信版本为:7.0.3
这是有问题的iphone版,下面是正常的安卓手机
1 个回答
加粗
标红
插入代码
插入链接
插入图片
上传视频
麻烦提供能复现问题的代码片段(https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html)
你好,麻烦通过点击下方“反馈信息”按钮,提供出现问题的。
关注后,可在微信内接收相应的重要提醒。
请使用微信扫描二维码关注 “微信开放社区” 公众号
麻烦提供能复现问题的代码片段(https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html)
wx.showModal({
title: '提示',
content: '获取免押失败,是否交押金使用?',
showCancel: true,//是否显示取消按钮
cancelText: "否",//默认是“取消”
cancelColor: 'skyblue',//取消文字的颜色
confirmText: "是",//默认是“确定”
confirmColor: 'skyblue',//确定文字的颜色
success: function (res) {
if (res.cancel) {
//点击取消,默认隐藏弹框
} else {
wx.redirectTo({
url: '../paymentDeposit/paymentDeposit?data=' + encodeURIComponent(JSON.stringify(unifiedDatas.data.data))
})
}
},
fail: function (res) { },//接口调用失败的回调函数
complete: function (res) { }//接口调用结束的回调函数(调用成功、失败都会执行)
})