微信小程式結構
阿新 • • 發佈:2021-01-23
專案 | 解釋 | 備註 |
---|---|---|
ML | 結構 | 標記語言 |
ss | 樣式表 | Style Sheets |
js | 邏輯 | 主語言 |
json | 配置 | Object Notation 物件簡譜 |
navigationBar 導航欄
//app.json
{
"pages":[
"page/convenience/convenience",
"pages/order/order",
"pages/my/my"
],
"window":{
"backgroundTextStyle": "dark",
"navigationBarBackgroundColor": "#0094ff",
"navigationBarTitleText": "便利牆",
"navigationBarTextStyle":"white",
"enablePullDownRefresh": true,
"backgroundColor": "#0094ff"
},
"style" : "v2",
"sitemapLocation": "sitemap.json"
}