zoukankan      html  css  js  c++  java
  • 微信小程序 | app.json配置属性

    app.json 文件用来对微信小程序进行全局配置,决定页面文件的路径、窗口表现、设置网络超时时间、设置多 tab 等。
    widows: 用于设置小程序的状态栏、导航条、标题、窗口背景色。
    navigationBarBackgroundColor 导航条背景颜色可用 十六进制颜色代码
    navigationBarTextStyle 导航条文字颜色只支持 black / white
    navigationBarTitleText 导航条文本内容 String
    navigationStyle 导航条样式只支持 default:默认样式 custom:只保留右上角胶囊按钮
    tabBar: 用于设置底部tab栏
    color tab栏文字颜色 十六进制颜色代码
    selectedColor 选中时文字颜色 十六进制颜色代码
    backgroundColor tab栏背景颜色 十六进制颜色代码
    borderStyle tab栏上边框颜色 black / white
    position tab栏位置 bottom / top 若为top则无法显示图标
    list 设置tab项最多5项 数组
    pagePath 设置页面路径 string
    text tab项文字 string
    iconPath 设置图标路径 string
    selectedIconPath 设置选中后图标路径 string
    networkTimeout 设置网络超时时间
    request wx.request 的超时时间,单位毫秒。默认60000
    connectSocket wx.connectSocket 的超时时间,单位毫秒。默认60000
    uploadFile wx.uploadFile 的超时时间,单位毫秒。默认60000
    downloadFile wx.downloadFile 的超时时间,单位毫秒。默认60000

  • 相关阅读:
    android: 记录及回复lisView的位置
    android获取屏幕尺寸、密度
    iphone:蓝牙传输
    android 线程 进程
    android 首次使用app时的使用教程的功能的实现
    android 启动界面
    iphone:数组的反序
    android:onKeyDown
    iphone: 可编辑的tableView Move&Delete
    iphone:类似path的抽屉式导航效果的demo总结
  • 原文地址:https://www.cnblogs.com/WXGC-yang/p/9823148.html
Copyright © 2011-2022 走看看