zoukankan      html  css  js  c++  java
  • 小程序窗口表现————小程序

    小程序窗口表现————小程序

    app.json表现窗口

    页面存放和链接:

    "pages": [
        "pages/index/index",
        "pages/weather/weather",
        "pages/Constellation/Constellation",
        "pages/storytelling/storytelling"
      ],
    

    窗口上面的标签导航(小程序的名称)

    "window": {
        "navigationBarBackgroundColor": "#055674",//导肮条背景色
        "navigationBarTextStyle": "white",//标题的颜色
        "navigationBarTitleText": "TODAY",//标题的字
        "enablePullDownRefresh": true//是否下拉刷新
        "backgroundColor":"green",//下拉窗口背景色
        "backgroundTextStyle":"light"//下拉窗口的字体样式
      },
    

    下面的导航条:

    "tabBar": {
        "color": "#a9b7b7",//字体颜色
        "selectedColor": "#11cd6e",//选中后字体颜色
        "borderStyle": "white",//
        "list": [
          {
            "selectedIconPath": "image/img (5).png",
            "iconPath": "image/img (1).png",
            "pagePath": "pages/index/index",
            "text": "today历史"
          },
          {
            "selectedIconPath": "image/img (5).png",
            "iconPath": "image/img (2).png",
            "pagePath": "pages/weather/weather",
            "text": "today天气"
          },
          {
            "selectedIconPath": "image/img (5).png",
            "iconPath": "image/img (3).png",
            "pagePath": "pages/Constellation/Constellation",
            "text": "today运势"
          },
          {
            "selectedIconPath": "image/img (5).png",
            "iconPath": "image/img (4).png",
            "pagePath": "pages/storytelling/storytelling",
            "text": "today段子"
          }
        ]
      },
    

    utils.js时间格式化工具类文件

    作为工具类文件。

  • 相关阅读:
    shader之渐变长方体实现(threejs)
    shader之threejs应用
    shader之cesium应用
    pip install -- Failed building wheel for XXX
    pycharm -- 界面乱码
    Android Studio -- 优化速度
    django -- ImageField 上传图片修改头像
    AI -- 回溯法解决四皇后问题
    Android Studio -- 真机测试
    傻瓜函数式编程
  • 原文地址:https://www.cnblogs.com/cth0/p/11568737.html
Copyright © 2011-2022 走看看