dev
xiaowen 3 years ago
parent 0e37434eb8
commit 8892c304f0

@ -7,26 +7,26 @@
"window": { "window": {
"backgroundTextStyle": "light", "backgroundTextStyle": "light",
"navigationBarBackgroundColor": "#fff", "navigationBarBackgroundColor": "#fff",
"navigationBarTitleText": "Weixin", "navigationBarTitleText": "首页",
"navigationBarTextStyle": "black" "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": { "tabBar": {
"custom": true,
"list": [{ "list": [{
"pagePath": "page/index/index", "pagePath": "pages/index/index",
"text": "首页" "text": "首页"
}, },
{ {
"pagePath": "page/bar/index", "pagePath": "pages/insight/index",
"text": "个人中心" "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"
} }
} }

@ -0,0 +1,6 @@
{
"compilerOptions": {
"target": "es2015",
"module": "commonjs"
}
}

@ -0,0 +1,6 @@
// index.js
Page({
data: {
}
});

@ -0,0 +1,5 @@
{
"usingComponents": {
}
}

@ -0,0 +1,3 @@
<view class="container">
<text>洞察</text>
</view>

@ -0,0 +1,4 @@
.container {
width: 100%;
height: 330px;
}

@ -1,5 +1,5 @@
{ {
"description": "项目配置文件", "description": "项目配置文件详见文档https://developers.weixin.qq.com/miniprogram/dev/devtools/projectconfig.html",
"packOptions": { "packOptions": {
"ignore": [], "ignore": [],
"include": [] "include": []
@ -42,7 +42,12 @@
"ignore": [], "ignore": [],
"disablePlugins": [], "disablePlugins": [],
"outputPath": "" "outputPath": ""
} },
"useStaticServer": true,
"localPlugins": false,
"checkInvalidKey": true,
"disableUseStrict": false,
"useCompilerPlugins": false
}, },
"compileType": "miniprogram", "compileType": "miniprogram",
"libVersion": "2.19.4", "libVersion": "2.19.4",

Loading…
Cancel
Save