アプレットウィンドウのパフォーマンス----アプレット
app.jsonパフォーマンスの窓
ストレージとページのリンク:
"pages": [
"pages/index/index",
"pages/weather/weather",
"pages/Constellation/Constellation",
"pages/storytelling/storytelling"
],
(アプレットの名前)に上記のウィンドウのタブナビゲーション
"window": {
"navigationBarBackgroundColor": "#055674",//导肮条背景色
"navigationBarTextStyle": "white",//标题的颜色
"navigationBarTitleText": "TODAY",//标题的字
"enablePullDownRefresh": true//是否下拉刷新
"backgroundColor":"green",//下拉窗口背景色
"backgroundTextStyle":"light"//下拉窗口的字体样式
},
次ナビゲーションバー:
"tabBar": {
"color": "#a9b7b7",//字体颜色
"selectedColor": "#11cd6e",//选中后字体颜色
"borderStyle": "white",//
"list": [
{
"selectedIconPath": "image/img (5).png",
"iconPath": "image/img (1).png",
"pagePath": "pages/index/index",
"text": "today历史"
},
{
"selectedIconPath": "image/img (5).png",
"iconPath": "image/img (2).png",
"pagePath": "pages/weather/weather",
"text": "today天气"
},
{
"selectedIconPath": "image/img (5).png",
"iconPath": "image/img (3).png",
"pagePath": "pages/Constellation/Constellation",
"text": "today运势"
},
{
"selectedIconPath": "image/img (5).png",
"iconPath": "image/img (4).png",
"pagePath": "pages/storytelling/storytelling",
"text": "today段子"
}
]
},
時間のフォーマットツールのファイルをutils.js
クラスファイルのためのツールとして。