08 2023 档案

摘要:uniapp获取位置时显示getLocation:fail the api need to be declared in the requiredPrivateInfos field in app.json/ext.json 解决方式:1.manifest.json文件 "mp-weixin" 中添 阅读全文
posted @ 2023-08-07 17:19 干红 阅读(1649) 评论(0) 推荐(0) 编辑
摘要:超简单 wx.requestPayment({ timeStamp: zhifu.timeStamp,//需要的参数,由后端返回 nonceStr: zhifu.nonceStr,//需要的参数,由后端返回 package: zhifu.prepayId,//需要的参数,由后端返回 signType 阅读全文
posted @ 2023-08-03 15:36 干红 阅读(311) 评论(0) 推荐(0) 编辑
摘要:事件中写入: copydata:要复制的数据 uni.setClipboardData({ data: copydata, success: function() { //调用方法成功 console.log('success'); } }) 阅读全文
posted @ 2023-08-03 15:33 干红 阅读(105) 评论(0) 推荐(0) 编辑
摘要:methods: { changeRelation() { uni.showActionSheet({ itemList:['妻子','丈夫','妈妈','爸爸','爷爷','奶奶','儿子','女儿','兄弟姐妹','亲戚','同学','同事','朋友','长辈','其他'], success: 阅读全文
posted @ 2023-08-03 15:31 干红 阅读(236) 评论(0) 推荐(0) 编辑
摘要:// uni.getUserProfile({ // desc:"获取个人信息", // success: (res) => { // this.userList = res.userInfo; // console.log(res.userInfo) // } // }) 阅读全文
posted @ 2023-08-03 15:31 干红 阅读(49) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示