{
  "pages": [
    "pages/index/index",
    "pages/logs/logs"
  ],
  "window": {
    "backgroundTextStyle": "dark", //下拉 3个圆点的颜色
    "navigationBarBackgroundColor": "#000",
    "navigationBarTitleText": "刘景屯头条",
    "navigationBarTextStyle": "white",
  "backgroundColor" : "#eee", //下拉背景的颜色
  "enablePullDownRefresh" :true //下拉刷新开启 }, "sitemapLocation": "sitemap.json" }
"backgroundTextStyle": "dark", 下拉刷新时候的样式,要与"enablePullDownRefresh" :true 结合使用 下拉刷新的功能
backgroundColor : "#eee" 这就是箭头所指的地方的背景颜色

小程序的app.json文件

 




navigationBarBackgroundColor 导航的背景颜色 backgroundcolor
navigationBarTitleText         导航的标题文字 text
navigationBarTextStyle         导航的标题样式  style

pages里面的文件 写好路径自动创建,非常的方便开发

 

相关文章:

  • 2021-10-20
  • 2021-04-04
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-12-25
  • 2021-04-09
  • 2021-05-23
猜你喜欢
  • 2021-10-31
  • 2022-01-16
  • 2022-02-27
  • 2021-07-14
  • 2022-12-23
  • 2021-06-15
  • 2021-12-23
相关资源
相似解决方案