zoukankan      html  css  js  c++  java
  • 4、小程序原生底部菜单

    一、

     代码如下:

    {
      "pages": [
        "pages/index/index",
        "pages/category/category",
        "pages/topic/topic",
        "pages/user/user",
        "pages/logs/logs"
      ],
      "window": {
        "backgroundTextStyle": "light",
        "navigationBarBackgroundColor": "#000",
        "navigationBarTitleText": "WeiCMS",
        "navigationBarTextStyle": "white"
      },
      "tabBar": {
        "color": "#8c8c8c",
        "selectedColor": "#f4645f",
        "backgroundColor": "white",
        "list": [
          {
            "pagePath": "pages/index/index",
            "text": "首页",
            "iconPath": "images/assess-2.png",
            "selectedIconPath": "images/assess-2.png"
          },
          {
            "pagePath": "pages/category/category",
            "text": "分类",
            "iconPath": "images/assess-2.png",
            "selectedIconPath": "images/assess-2.png"
          },
          {
            "pagePath": "pages/topic/topic",
            "text": "话题",
            "iconPath": "images/assess-2.png",
            "selectedIconPath": "images/assess-2.png"
          },
          {
            "pagePath": "pages/user/user",
            "text": "我的",
            "iconPath": "images/assess-2.png",
            "selectedIconPath": "images/assess-2.png"
          }
        ],
        "position": "bottom"
      }
    }
  • 相关阅读:
    区块链:术语
    比特币术语表
    我的友情链接
    我的友情链接
    我的友情链接
    我的友情链接
    我的友情链接
    我的友情链接
    我的友情链接
    我的友情链接
  • 原文地址:https://www.cnblogs.com/fger/p/12841594.html
Copyright © 2011-2022 走看看