第一课
1、hello-uni项目的创建以及运行:
|
|
全局配置和页面配置:
2、通过globalStyle进行全局配置:
|
2.1 "globalStyle":"navigationBarBackgroundColor": "#7FFF00",导航栏背景颜色(同状态栏背景色)
2.2 "globalStyle":"navigationBarTextStyle": "white",导航栏标题颜色及状态栏前景颜色,仅支持 black/white
2.3 "globalStyle": "navigationBarTitleText": "小程序App",导航栏标题文字内容
2.4 "globalStyle":"enablePullDownRefresh": true,是否开启下拉刷新
2.5 "globalStyle":"backgroundColor": "#7CCD7C",下拉显示出来的窗口的背景色
2.6 "globalStyle":"backgroundTextStyle":"light",下拉 loading 的样式,仅支持 dark / light
|


























文章评论