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时间格式化工具类文件

    作为工具类文件。

  • 相关阅读:
    textarea聚焦的多种写法
    vue.js入门
    全选,反选
    jquery列表,点击反应
    SqlServer中offset..fetch 的使用问题
    复习Spring第四课---Spring对国际化的支持
    SqlServer的order by问题
    设计模式之---代理模式
    解决SpringMVC重复提交的问题
    Java知识复习(三)
  • 原文地址:https://www.cnblogs.com/cth0/p/11568737.html
Copyright © 2011-2022 走看看