課程
/前端開發(fā)
/HTML/CSS
/入門微信小程序開發(fā)
咦 為什么我在app.json中輸入tabBar沒有像老師那樣跳出后面的幾行提示代碼呀?
2018-04-20
源自:入門微信小程序開發(fā) 1-10
正在回答
下面是我的源碼,你看一下,應(yīng)該是在?"window"結(jié)束之后沒有加? ?,? ?吧,仔細(xì)檢查一下代碼。
{
? "pages":[
? ? "pages/index/index",
? ? "pages/join/join",
? ? "pages/logs/logs"
? ],
? "window":{
? ? "backgroundTextStyle":"light",
? ? "navigationBarBackgroundColor": "#2e5e86",
? ? "navigationBarTitleText": "模板Dome",
? ? "navigationBarTextStyle":"black"
? },
? "tabBar": {
? ? "selectedColor": "#2e5e86",
? ? "list": [
? ? ? {
? ? ? ? "pagePath": "pages/index/index",
? ? ? ? "text": "首頁(yè)",
? ? ? ? "iconPath": "images/sy.png",
? ? ? ? "selectedIconPath": "images/sy1.png"
? ? ? },
? ? ? ? "pagePath": "pages/join/join",
? ? ? ? "text": "消息",
? ? ? ? "iconPath": "images/xx.png",
? ? ? ? "selectedIconPath": "images/xx1.png"
? ? ? }
? ? ]
? }
}
舉報(bào)
帶你入門微信小程序開發(fā),了解微信小程序的基本知識(shí)。
1 回答輸入tabBar后沒有代碼提示
1 回答來自小白的提問,代碼包過大是什么問題??怎么解決。
2 回答代碼不提示
3 回答不懂代碼的小白,可以學(xué)嗎?
1 回答代碼提示怎樣弄的
Copyright ? 2025 imooc.com All Rights Reserved | 京ICP備12003892號(hào)-11 京公網(wǎng)安備11010802030151號(hào)
購(gòu)課補(bǔ)貼聯(lián)系客服咨詢優(yōu)惠詳情
慕課網(wǎng)APP您的移動(dòng)學(xué)習(xí)伙伴
掃描二維碼關(guān)注慕課網(wǎng)微信公眾號(hào)
2018-04-20
下面是我的源碼,你看一下,應(yīng)該是在?"window"結(jié)束之后沒有加? ?,? ?吧,仔細(xì)檢查一下代碼。
{
? "pages":[
? ? "pages/index/index",
? ? "pages/join/join",
? ? "pages/logs/logs"
? ],
? "window":{
? ? "backgroundTextStyle":"light",
? ? "navigationBarBackgroundColor": "#2e5e86",
? ? "navigationBarTitleText": "模板Dome",
? ? "navigationBarTextStyle":"black"
? },
? "tabBar": {
? ? "selectedColor": "#2e5e86",
? ? "list": [
? ? ? {
? ? ? ? "pagePath": "pages/index/index",
? ? ? ? "text": "首頁(yè)",
? ? ? ? "iconPath": "images/sy.png",
? ? ? ? "selectedIconPath": "images/sy1.png"
? ? ? },
? ? ? {
? ? ? ? "pagePath": "pages/join/join",
? ? ? ? "text": "消息",
? ? ? ? "iconPath": "images/xx.png",
? ? ? ? "selectedIconPath": "images/xx1.png"
? ? ? }
? ? ]
? }
}