Initialize the applet global configuration and page #2

Merged
MrKBear merged 2 commits from dev-mrkbear into master 2021-11-25 16:26:09 +08:00
27 changed files with 247 additions and 12 deletions
Showing only changes of commit 70cf5cb1f5 - Show all commits

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",
"version": "1.0.0",
"description": "",
"name": "mini-dlpu-v3",
"version": "3.0.0",
"description": "Third Generation Mini DLPU",
"scripts": {
},
"keywords": [],
"author": "",
"license": "",
"author": "MrKBear",
"license": "MIT",
"dependencies": {
},
"devDependencies": {

View File

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

View File

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