我的小程序下方没有出现相应的三个功能项是怎么回事呢,images图片也导入了

来源:2-5 代码结构初始化

Cora_123

2019-11-15

{
  "pages": [
    "pages/playlist/playlist",
    "pages/blog/blog",
    "pages/profile/profile"
   
  ],
  "window": {
    "backgroundColor": "#F6F6F6",
    "backgroundTextStyle": "light",
    "navigationBarBackgroundColor": "#F6F6F6",
    "navigationBarTitleText": "云开发 QuickStart",
    "navigationBarTextStyle": "black"
  },
  "tagBar":{
    "color":"#474747",
    "selesctedColor":"#d43c43",
    "list":[
      {
      "pagePath":"pages/playlist/playlist",
      "text":"音乐",
      "iconPath":"images/music.png",
   "selectedIconPath":"images/music-active.png"
    },
    {
      "pagePath": "pages/blog/blog",
      "text": "发现",
      "iconPath": "images/blog.png",
      "selectedIconPath": "images/blog-active.png"
    },
    {
      "pagePath": "pages/profile/profile",
      "text": "我的",
      "iconPath": "images/profile.png",
      "selectedIconPath": "images/profile-active.png"
    }]
  },
  "sitemapLocation": "sitemap.json",
  "style": "v2"
  }

图片描述

写回答

1回答

谢成

2019-11-15

1、请检查调试器中是否有报错

2、请检查pages文件夹下是否有对应的三个文件夹和相应文件

0
2
Cora_123
你好,已经解决了,是我把“tabBar”敲成了“tagBar”
2019-11-15
共2条回复

微信小程序云开发-从0打造云音乐全栈小程序

横跨小程序端、云后端、CMS一站式云开发的小程序全栈课程

1938 学习 · 2768 问题

查看课程