Warning: Attempt to read property "ID" on bool in /www/wwwroot/129.28.78.18/wp-content/themes/storeys-pro/wbc/components/og_schema/wb_og_schema.php on line 471

Warning: Attempt to read property "display_name" on bool in /www/wwwroot/129.28.78.18/wp-content/themes/storeys-pro/wbc/components/og_schema/wb_og_schema.php on line 480

Warning: Attempt to read property "display_name" on bool in /www/wwwroot/129.28.78.18/wp-content/themes/storeys-pro/wbc/components/og_schema/wb_og_schema.php on line 487

Warning: Attempt to read property "description" on bool in /www/wwwroot/129.28.78.18/wp-content/themes/storeys-pro/wbc/components/og_schema/wb_og_schema.php on line 489

Warning: Attempt to read property "ID" on bool in /www/wwwroot/129.28.78.18/wp-content/themes/storeys-pro/wbc/components/og_schema/wb_og_schema.php on line 493

20200928.叶梦宇

点击跳转按钮的时候,调用方法

bindtap 支持冒泡

,catchtap 不支持冒泡

使用redirectTo跳转页面

当出现接口访问的 问题时

有两个解决方法

1,打开本地设置的不校验域名

2,在微信公众平台上的开发者工具里配置可以请求的域名。

wx:if判断

1.模态窗口
wx.showModal({
title: '提示',
content: '这是一个模态窗口',
success:function(res){
if(res.confirm){
console.log('弹框后点确定')
}else{
console.log('弹框后点取消')
}
}
})

复习

学习总结

今天是开小程序的第二天了,学起来 真的非常快,明天就可以开始做项目了。

评论留言