02 2023 档案

摘要:一、微信小程序跳转另一个小程序 1.微信小程序能正常跳转到另一个小程序的前提是:这两个小程序被同一个微信公众号关联,否则无法跳转。 wx.navigateToMiniProgram({ appId: 'xxxxxxxxxxxxxx', //目标小程序appid path: '', //目标小程序页面 阅读全文
posted @ 2023-02-28 18:22 时光独醒 阅读(102) 评论(0) 推荐(0) 编辑
摘要:例: let arr = [ {name: "name1", age: "1",type:"1"}, {name: "name2", age: "2",type:"2"}, {name: "name3", age: "3",type:"3"}, ] let list = ["name1","name 阅读全文
posted @ 2023-02-28 17:58 时光独醒 阅读(1043) 评论(0) 推荐(0) 编辑
摘要:在uniapp开发小程序,引入腾讯云直播助手插件 1.在manifest.json文件中,找到微信小程序特有相关,声明要使用的插件 /* 小程序特有相关 */ "mp-weixin" : { "appid" : "wxf97c5500aab****", "plugins" : { "liveRoom 阅读全文
posted @ 2023-02-20 17:13 时光独醒 阅读(1106) 评论(0) 推荐(0) 编辑
摘要:在uniapp开发中,组件中需要监听页面onShow的方法 index.vue onShow() { uni.$emit('onShow', 1); //用于子组件监听onShow }, 子组件 beforeDestroy() { //为了避免重复监听,在组件销毁前,关闭监听 uni.$off('o 阅读全文
posted @ 2023-02-07 11:04 时光独醒 阅读(1483) 评论(0) 推荐(0) 编辑

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