1
0
forked from x/ContextOS

mix branch 'master' of github.com:shylinux/context

This commit is contained in:
shaoying 2019-02-27 17:19:20 +08:00
commit 4b7153a9fe
3 changed files with 31 additions and 10 deletions

View File

@ -1,4 +1,7 @@
App({
toast: function(text) {
wx.showToast()
},
request: function(data, done, fail) {
var app = this
data = data || {}

View File

@ -1,14 +1,21 @@
{
"pages":[
"pages/index/index"
"pages": [
"pages/index/index",
"pages/list/list",
"pages/note/note"
],
"window":{
"backgroundColor":"#000",
"backgroundColorTop":"#000",
"backgroundColorBottom":"#000",
"backgroundTextStyle":"light",
"window": {
"backgroundColor": "#000",
"backgroundColorTop": "#000",
"backgroundColorBottom": "#000",
"backgroundTextStyle": "light",
"navigationBarBackgroundColor": "#000",
"navigationBarTitleText": "context",
"navigationBarTextStyle":"white"
"navigationBarTextStyle": "white"
},
"permission": {
"scope.userLocation": {
"desc": "你的位置信息将用于记录事情发生地点"
}
}
}

View File

@ -28,13 +28,24 @@
"current": -1,
"list": []
},
"plugin": {
"current": -1,
"list": []
},
"game": {
"currentL": -1,
"list": []
},
"miniprogram": {
"current": -1,
"list": []
"current": 0,
"list": [
{
"id": -1,
"name": "note",
"pathName": "pages/note/note",
"scene": null
}
]
}
}
}