課程
/前端開(kāi)發(fā)
/HTML/CSS
/入門(mén)微信小程序開(kāi)發(fā)
咦 為什么我在app.json中輸入tabBar沒(méi)有像老師那樣跳出后面的幾行提示代碼呀?
2018-04-20
源自:入門(mén)微信小程序開(kāi)發(fā) 1-10
正在回答
下面是我的源碼,你看一下,應(yīng)該是在?"window"結(jié)束之后沒(méi)有加? ?,? ?吧,仔細(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)
帶你入門(mén)微信小程序開(kāi)發(fā),了解微信小程序的基本知識(shí)。
1 回答輸入tabBar后沒(méi)有代碼提示
2 回答代碼不提示
1 回答來(lái)自小白的提問(wèn),代碼包過(guò)大是什么問(wèn)題??怎么解決。
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é)束之后沒(méi)有加? ?,? ?吧,仔細(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"
? ? ? }
? ? ]
? }
}