首页 前端知识 Taro NutUI Vue3 TypeScript自定义Tabbar

Taro NutUI Vue3 TypeScript自定义Tabbar

2024-09-09 00:09:22 前端知识 前端哥 906 398 我要收藏

app.config.ts:

export default {
  pages: [
    'pages/index/index',
    'pages/hall/index/index',
    'pages/shops/index/index',
    'pages/user/index/index'
  ],
  window: {
    backgroundTextStyle: 'light',
    navigationBarBackgroundColor: '#34C266',
    navigationBarTitleText: 'WeChat',
    navigationBarTextStyle: 'white'
  },
  tabBar: {
    custom:true,
    color: "#B1B1B1",
    selectedColor: "#34C266",
    backgroundColor: "#F8F8F8",
    list: [
      {
        pagePath: "pages/index/index",
        text: "首页",
        iconPath: "assets/icons/ic_home.png",
        selectedIconPath: "assets/icons/ic_home_active.png",
      },
      {
        pagePath: "pages/hall/index/index",
        text: "供需大厅",
        iconPath: "assets/icons/ic_hall.png",
        selectedIconPath: "assets/ico
转载请注明出处或者链接地址:https://www.qianduange.cn//article/17956.html
标签
taro
评论
发布的文章

Qt构建JSON及解析JSON

2024-09-29 22:09:49

NPM:配置阿里镜像库

2024-09-29 22:09:46

npm版本切换工具nvm

2024-09-29 22:09:43

大家推荐的文章
会员中心 联系我 留言建议 回顶部
复制成功!