app.json
{
"pages": [
"pages/index/index", //首頁
"pages/category/category", //分类页
"pages/search/search", //搜索页
"pages/me/me", //我
"pages/data/data",
"pages/category/categ_lisst",
"pages/friend/friend",
"pages/tags/tags",
"pages/weblist/weblist",
"pages/about/about",
"pages/wxmore/wxmore",
"pages/questions/questions",
"pages/questions/questions-list",
"pages/download/download"
],
"subPackages": [],
"window": {
"navigationBarTextStyle": "@navTxtStyle",
"backgroundColor": "@bgColor",
"navigationBarBackgroundColor": "@navBgColor",
"navigationBarTitleText": "云炬博客"
},
"tabBar": {
"color": "#7A7E83",
"selectedColor": "#000000",
"borderStyle": "white",
"backgroundColor": "@bgColor",
"list": [
{
"pagePath": "pages/index/index",
"iconPath": "static/tabar/home.png",
"selectedIconPath": "static/tabar/home_h.png",
"text": "首页"
},
{
"pagePath": "pages/category/category",
"iconPath": "static/tabar/catelog.png",
"selectedIconPath": "static/tabar/catelog_h.png",
"text": "专题"
},
{
"pagePath": "pages/search/search",
"iconPath": "static/tabar/res.png",
"selectedIconPath": "static/tabar/res_h.png",
"text": "发现"
},
{
"pagePath": "pages/me/me",
"iconPath": "static/tabar/my.png",
"selectedIconPath": "static/tabar/my_h.png",
"text": "我的"
}
]
},
"darkmode": true,
"themeLocation": "theme.json",
"usingComponents": {},
"sitemapLocation": "sitemap.json"
}
app.wxss
@import './common/main.wxss';
[data-custom-hidden="true"],[bind-data-custom-hidden="true"]{display: none !important;}
app.js
require('./common/runtime.js')
require('./common/vendor.js')
require('./common/main.js')
project.config.json
{
"description": "项目配置文件。",
"packOptions": {
"ignore": []
},
"setting": {
"urlCheck": false,
"es6": true,
"enhance": true,
"postcss": true,
"preloadBackgroundData": false,
"minified": true,
"newFeature": false,
"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": ""
},
"useIsolateContext": true,
"userConfirmedBundleSwitch": false,
"packNpmManually": false,
"packNpmRelationList": [],
"minifyWXSS": true,
"disableUseStrict": false,
"showES6CompileOption": false,
"useCompilerPlugins": false,
"ignoreUploadUnusedFiles": true,
"minifyWXML": true
},
"compileType": "miniprogram",
"libVersion": "",
"appid": "xxxxxxxxxxxxxxxxx",
"projectname": "云炬博客",
"condition": {
"search": {
"list": []
},
"conversation": {
"list": []
},
"game": {
"list": []
},
"miniprogram": {
"list": []
}
}
}
效果预览