diff --git a/app.json b/app.json index 83ef706..29bb899 100644 --- a/app.json +++ b/app.json @@ -7,26 +7,26 @@ "window": { "backgroundTextStyle": "light", "navigationBarBackgroundColor": "#fff", - "navigationBarTitleText": "Weixin", + "navigationBarTitleText": "首页", "navigationBarTextStyle": "black" }, - "sitemapLocation": "sitemap.json", - "usingComponents": { - "ec-canvas": "../ec-canvas/ec-canvas", - "van-button": "@vant/weapp/button/index", - "van-tabbar": "@vant/weapp/tabbar/index", - "van-tabbar-item": "@vant/weapp/tabbar-item/index" - }, "tabBar": { - "custom": true, "list": [{ - "pagePath": "page/index/index", + "pagePath": "pages/index/index", "text": "首页" }, { - "pagePath": "page/bar/index", - "text": "个人中心" + "pagePath": "pages/insight/index", + "text": "洞察" } ] + }, + "sitemapLocation": "sitemap.json", + "usingComponents": { + "ec-canvas": "../ec-canvas/ec-canvas", + "van-button": "@vant/weapp/button/index", + "van-tabbar": "@vant/weapp/tabbar/index", + "van-tabbar-item": "@vant/weapp/tabbar-item/index" } + } \ No newline at end of file diff --git a/jsconfig.json b/jsconfig.json new file mode 100644 index 0000000..47fe424 --- /dev/null +++ b/jsconfig.json @@ -0,0 +1,6 @@ +{ + "compilerOptions": { + "target": "es2015", + "module": "commonjs" + } +} \ No newline at end of file diff --git a/pages/insight/index.js b/pages/insight/index.js new file mode 100644 index 0000000..e7381ce --- /dev/null +++ b/pages/insight/index.js @@ -0,0 +1,6 @@ +// index.js + +Page({ + data: { + } +}); diff --git a/pages/insight/index.json b/pages/insight/index.json new file mode 100644 index 0000000..6cdce25 --- /dev/null +++ b/pages/insight/index.json @@ -0,0 +1,5 @@ +{ + "usingComponents": { + + } +} \ No newline at end of file diff --git a/pages/insight/index.wxml b/pages/insight/index.wxml new file mode 100644 index 0000000..c1a4fe5 --- /dev/null +++ b/pages/insight/index.wxml @@ -0,0 +1,3 @@ + + 洞察 + diff --git a/pages/insight/index.wxss b/pages/insight/index.wxss new file mode 100644 index 0000000..fa11f64 --- /dev/null +++ b/pages/insight/index.wxss @@ -0,0 +1,4 @@ +.container { + width: 100%; + height: 330px; +} diff --git a/project.config.json b/project.config.json index 1dea4e6..8908a87 100644 --- a/project.config.json +++ b/project.config.json @@ -1,5 +1,5 @@ { - "description": "项目配置文件", + "description": "项目配置文件,详见文档:https://developers.weixin.qq.com/miniprogram/dev/devtools/projectconfig.html", "packOptions": { "ignore": [], "include": [] @@ -42,7 +42,12 @@ "ignore": [], "disablePlugins": [], "outputPath": "" - } + }, + "useStaticServer": true, + "localPlugins": false, + "checkInvalidKey": true, + "disableUseStrict": false, + "useCompilerPlugins": false }, "compileType": "miniprogram", "libVersion": "2.19.4",