Initialize global configuration

This commit is contained in:
MrKBear 2021-11-25 16:15:52 +08:00
parent 9ba3274072
commit 70cf5cb1f5
27 changed files with 247 additions and 12 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 285 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 286 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 910 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 943 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.5 KiB

View File

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

View File

View File

@ -0,0 +1,66 @@
// pages/Account/Account.ts
Page({
/**
*
*/
data: {
},
/**
* --
*/
onLoad() {
},
/**
* --
*/
onReady() {
},
/**
* --
*/
onShow() {
},
/**
* --
*/
onHide() {
},
/**
* --
*/
onUnload() {
},
/**
* --
*/
onPullDownRefresh() {
},
/**
*
*/
onReachBottom() {
},
/**
*
*/
onShareAppMessage() {
}
})

View File

@ -0,0 +1 @@
<text>pages/Account/Account.wxml</text>

View File

@ -0,0 +1 @@
/* pages/Account/Account.wxss */

View File

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

View File

@ -0,0 +1,66 @@
// pages/Information/Information.ts
Page({
/**
*
*/
data: {
},
/**
* --
*/
onLoad() {
},
/**
* --
*/
onReady() {
},
/**
* --
*/
onShow() {
},
/**
* --
*/
onHide() {
},
/**
* --
*/
onUnload() {
},
/**
* --
*/
onPullDownRefresh() {
},
/**
*
*/
onReachBottom() {
},
/**
*
*/
onShareAppMessage() {
}
})

View File

@ -0,0 +1 @@
<text>pages/Information/Information.wxml</text>

View File

@ -0,0 +1 @@
/* pages/Information/Information.wxss */

View File

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

View File

@ -0,0 +1,66 @@
// pages/Timetable/Timetable.ts
Page({
/**
*
*/
data: {
},
/**
* --
*/
onLoad() {
},
/**
* --
*/
onReady() {
},
/**
* --
*/
onShow() {
},
/**
* --
*/
onHide() {
},
/**
* --
*/
onUnload() {
},
/**
* --
*/
onPullDownRefresh() {
},
/**
*
*/
onReachBottom() {
},
/**
*
*/
onShareAppMessage() {
}
})

View File

@ -0,0 +1 @@
<text>pages/Timetable/Timetable.wxml</text>

23
miniprogram/theme.json Normal file
View File

@ -0,0 +1,23 @@
{
"light": {
"navigationBarBackgroundColor": "#f6f6f6",
"navigationBarTextStyle": "black",
"backgroundColor": "#f4f0f1",
"tabBarColor": "#bbbbbb",
"tabBarImage0": "image/navBar/0_light.png",
"tabBarImage1": "image/navBar/1_light.png",
"tabBarImage2": "image/navBar/2_light.png"
},
"dark": {
"navigationBarBackgroundColor": "#191919",
"navigationBarTextStyle": "white",
"backgroundColor": "#1f1f1f",
"tabBarColor": "#666666",
"tabBarImage0": "image/navBar/0_dark.png",
"tabBarImage1": "image/navBar/1_dark.png",
"tabBarImage2": "image/navBar/2_dark.png"
}
}

View File

@ -1,12 +1,12 @@
{ {
"name": "miniprogram-ts-less-quickstart", "name": "mini-dlpu-v3",
"version": "1.0.0", "version": "3.0.0",
"description": "", "description": "Third Generation Mini DLPU",
"scripts": { "scripts": {
}, },
"keywords": [], "keywords": [],
"author": "", "author": "MrKBear",
"license": "", "license": "MIT",
"dependencies": { "dependencies": {
}, },
"devDependencies": { "devDependencies": {

View File

@ -5,10 +5,10 @@
}, },
"miniprogramRoot": "miniprogram/", "miniprogramRoot": "miniprogram/",
"compileType": "miniprogram", "compileType": "miniprogram",
"libVersion": "2.15.0", "libVersion": "2.21.0",
"projectname": "mini-dlpu-v3", "projectname": "mini-dlpu-v3",
"setting": { "setting": {
"urlCheck": true, "urlCheck": false,
"es6": true, "es6": true,
"enhance": true, "enhance": true,
"postcss": true, "postcss": true,
@ -17,10 +17,10 @@
"newFeature": false, "newFeature": false,
"coverView": true, "coverView": true,
"nodeModules": false, "nodeModules": false,
"autoAudits": false, "autoAudits": true,
"showShadowRootInWxmlPanel": true, "showShadowRootInWxmlPanel": true,
"scopeDataCheck": false, "scopeDataCheck": false,
"uglifyFileName": false, "uglifyFileName": true,
"checkInvalidKey": true, "checkInvalidKey": true,
"checkSiteMap": true, "checkSiteMap": true,
"uploadWithSourceMap": true, "uploadWithSourceMap": true,
@ -41,12 +41,12 @@
"packNpmRelationList": [], "packNpmRelationList": [],
"minifyWXSS": true, "minifyWXSS": true,
"disableUseStrict": false, "disableUseStrict": false,
"minifyWXML": true,
"showES6CompileOption": false, "showES6CompileOption": false,
"useCompilerPlugins": [ "useCompilerPlugins": [
"typescript", "typescript",
"sass" "sass"
], ]
"minifyWXML": true
}, },
"simulatorType": "wechat", "simulatorType": "wechat",
"simulatorPluginLibVersion": {}, "simulatorPluginLibVersion": {},

View File

@ -13,7 +13,7 @@
"alwaysStrict": true, "alwaysStrict": true,
"noFallthroughCasesInSwitch": true, "noFallthroughCasesInSwitch": true,
"noUnusedLocals": true, "noUnusedLocals": true,
"noUnusedParameters": true, "noUnusedParameters": false,
"strict": true, "strict": true,
"strictPropertyInitialization": true, "strictPropertyInitialization": true,
"lib": ["ES2020"], "lib": ["ES2020"],