Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 20 additions & 14 deletions app.json
Original file line number Diff line number Diff line change
@@ -1,16 +1,22 @@
{
"pages":[
"pages/index/index"
,"pages/map/map"
,"pages/add_gourmet/add_gourmet"
,"pages/detail/detail"
]
,"window":{
"backgroundTextStyle":"light"
,"navigationBarBackgroundColor": "#000000"
,"navigationBarTitleText": "地道美食地图"
,"navigationBarTextStyle":"white"
,"enablePullDownRefresh": false
}
,"debug": true
"pages": [
"pages/index/index",
"pages/map/map",
"pages/add_gourmet/add_gourmet",
"pages/detail/detail"
],
"window": {
"backgroundTextStyle": "light",
"navigationBarBackgroundColor": "#000000",
"navigationBarTitleText": "地道美食地图",
"navigationBarTextStyle": "white",
"enablePullDownRefresh": false
},
"permission": {
"scope.userLocation": {
"desc": "你的位置信息将用于小程序位置接口的效果展示"
}
},
"debug": true,
"sitemapLocation": "sitemap.json"
}
95 changes: 61 additions & 34 deletions project.config.json
Original file line number Diff line number Diff line change
@@ -1,36 +1,63 @@
{
"description": "项目配置文件。",
"packOptions": {
"ignore": []
},
"setting": {
"urlCheck": true,
"es6": true,
"postcss": true,
"minified": true,
"newFeature": true
},
"compileType": "miniprogram",
"libVersion": "2.0.7",
"appid": "wx2c50cf3a9729c93b",
"projectname": "%E5%9C%B0%E9%81%93%E7%BE%8E%E9%A3%9F%E5%9C%B0%E5%9B%BE",
"isGameTourist": false,
"condition": {
"search": {
"current": -1,
"list": []
},
"conversation": {
"current": -1,
"list": []
},
"game": {
"currentL": -1,
"list": []
},
"miniprogram": {
"current": -1,
"list": []
}
}
"description": "项目配置文件。",
"packOptions": {
"ignore": []
},
"setting": {
"urlCheck": false,
"es6": true,
"enhance": true,
"postcss": true,
"preloadBackgroundData": false,
"minified": true,
"newFeature": true,
"coverView": true,
"nodeModules": false,
"autoAudits": false,
"showShadowRootInWxmlPanel": true,
"scopeDataCheck": false,
"uglifyFileName": false,
"checkInvalidKey": true,
"checkSiteMap": true,
"uploadWithSourceMap": true,
"compileHotReLoad": false,
"lazyloadPlaceholderEnable": false,
"useMultiFrameRuntime": true,
"useApiHook": true,
"useApiHostProcess": true,
"babelSetting": {
"ignore": [],
"disablePlugins": [],
"outputPath": ""
},
"enableEngineNative": false,
"useIsolateContext": true,
"userConfirmedBundleSwitch": false,
"packNpmManually": false,
"packNpmRelationList": [],
"minifyWXSS": true,
"disableUseStrict": false,
"showES6CompileOption": false,
"useCompilerPlugins": false
},
"compileType": "miniprogram",
"libVersion": "2.0.7",
"appid": "wx512514f76708adb5",
"projectname": "%E5%9C%B0%E9%81%93%E7%BE%8E%E9%A3%9F%E5%9C%B0%E5%9B%BE",
"isGameTourist": false,
"condition": {
"search": {
"list": []
},
"conversation": {
"list": []
},
"game": {
"currentL": -1,
"list": []
},
"miniprogram": {
"list": []
}
}
}
7 changes: 7 additions & 0 deletions sitemap.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"desc": "关于本文件的更多信息,请参考文档 https://developers.weixin.qq.com/miniprogram/dev/framework/sitemap.html",
"rules": [{
"action": "allow",
"page": "*"
}]
}
3 changes: 2 additions & 1 deletion utils/bmob.js
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,8 @@
};

// Set the server for Bmob to talk to.
Bmob.serverURL = "https://api.bmob.cn";
Bmob.serverURL = "https://api.bmobcloud.com";

Bmob.fileURL = "http://file.bmob.cn";

// Check whether we are running in Node.js.
Expand Down
3 changes: 0 additions & 3 deletions utils/bmob_init_pub.js

This file was deleted.