微信小程序学习记录-整体配置及框架说明

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/white1114579650/article/details/84951491

app.json   小程序全局配置,包括配置页面路径、界面表现、网络超时时间、底部tab等等配置。具体属性查看--https://developers.weixin.qq.com/miniprogram/dev/framework/config.html

project.config.json  个性化工具配置,包括界面颜色,字体大小等等配置。换电脑时导入此json文件就可以,无需再次修改工具配置。具体配置查看---https://developers.weixin.qq.com/miniprogram/dev/devtools/projectconfig.html

page.json  小程序页面相关配置。具体配置查看---https://developers.weixin.qq.com/miniprogram/dev/framework/config.html#%E5%85%A8%E5%B1%80%E9%85%8D%E7%BD%AE

wxml模板  实际就是html+css+js的组合表现形式。讲标签封装为组件直接调用,具体组件配置参考--https://developers.weixin.qq.com/miniprogram/dev/quickstart/basic/framework.html

wxml模板详细文档参考--https://developers.weixin.qq.com/miniprogram/dev/framework/view/wxml/index.html

wxss样式  实际就是css的表现形式。注:css中新增像素单位rpx,小程序自动换算。  具体配置参考---https://developers.weixin.qq.com/miniprogram/dev/framework/view/wxss.html

js页面  实际就是小程序的交互页面。具体事件的api参考--https://developers.weixin.qq.com/miniprogram/dev/framework/view/wxml/event.html

js封装了丰富的API,比如获取用户信息,本地存储,微信支付等。具体参考--https://developers.weixin.qq.com/miniprogram/dev/framework/app-service/api.html

扫描二维码关注公众号,回复: 4459133 查看本文章

猜你喜欢

转载自blog.csdn.net/white1114579650/article/details/84951491
今日推荐