diff --git a/usr/client/mp/app.js b/usr/client/mp/app.js index eba8eddd..6a8c2c70 100644 --- a/usr/client/mp/app.js +++ b/usr/client/mp/app.js @@ -1,4 +1,7 @@ App({ + toast: function(text) { + wx.showToast() + }, request: function(data, done, fail) { var app = this data = data || {} diff --git a/usr/client/mp/app.json b/usr/client/mp/app.json index cef3d741..0c119d89 100644 --- a/usr/client/mp/app.json +++ b/usr/client/mp/app.json @@ -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": "你的位置信息将用于记录事情发生地点" + } } } diff --git a/usr/client/mp/project.config.json b/usr/client/mp/project.config.json index 51df82f9..75faa3df 100644 --- a/usr/client/mp/project.config.json +++ b/usr/client/mp/project.config.json @@ -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 + } + ] } } } \ No newline at end of file