Initialize global configuration
BIN
miniprogram/image/navBar/0_dark.png
Normal file
After Width: | Height: | Size: 285 B |
BIN
miniprogram/image/navBar/0_light.png
Normal file
After Width: | Height: | Size: 286 B |
BIN
miniprogram/image/navBar/0_on.png
Normal file
After Width: | Height: | Size: 1.6 KiB |
BIN
miniprogram/image/navBar/1_dark.png
Normal file
After Width: | Height: | Size: 910 B |
BIN
miniprogram/image/navBar/1_light.png
Normal file
After Width: | Height: | Size: 943 B |
BIN
miniprogram/image/navBar/1_on.png
Normal file
After Width: | Height: | Size: 2.6 KiB |
BIN
miniprogram/image/navBar/2_dark.png
Normal file
After Width: | Height: | Size: 1.3 KiB |
BIN
miniprogram/image/navBar/2_light.png
Normal file
After Width: | Height: | Size: 1.4 KiB |
BIN
miniprogram/image/navBar/2_on.png
Normal file
After Width: | Height: | Size: 3.5 KiB |
3
miniprogram/pages/Account/Account.json
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
{
|
||||||
|
"usingComponents": {}
|
||||||
|
}
|
0
miniprogram/pages/Account/Account.scss
Normal file
66
miniprogram/pages/Account/Account.ts
Normal file
@ -0,0 +1,66 @@
|
|||||||
|
// pages/Account/Account.ts
|
||||||
|
Page({
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 页面的初始数据
|
||||||
|
*/
|
||||||
|
data: {
|
||||||
|
|
||||||
|
},
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 生命周期函数--监听页面加载
|
||||||
|
*/
|
||||||
|
onLoad() {
|
||||||
|
|
||||||
|
},
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 生命周期函数--监听页面初次渲染完成
|
||||||
|
*/
|
||||||
|
onReady() {
|
||||||
|
|
||||||
|
},
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 生命周期函数--监听页面显示
|
||||||
|
*/
|
||||||
|
onShow() {
|
||||||
|
|
||||||
|
},
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 生命周期函数--监听页面隐藏
|
||||||
|
*/
|
||||||
|
onHide() {
|
||||||
|
|
||||||
|
},
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 生命周期函数--监听页面卸载
|
||||||
|
*/
|
||||||
|
onUnload() {
|
||||||
|
|
||||||
|
},
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 页面相关事件处理函数--监听用户下拉动作
|
||||||
|
*/
|
||||||
|
onPullDownRefresh() {
|
||||||
|
|
||||||
|
},
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 页面上拉触底事件的处理函数
|
||||||
|
*/
|
||||||
|
onReachBottom() {
|
||||||
|
|
||||||
|
},
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 用户点击右上角分享
|
||||||
|
*/
|
||||||
|
onShareAppMessage() {
|
||||||
|
|
||||||
|
}
|
||||||
|
})
|
1
miniprogram/pages/Account/Account.wxml
Normal file
@ -0,0 +1 @@
|
|||||||
|
<text>pages/Account/Account.wxml</text>
|
1
miniprogram/pages/Account/Account.wxss
Normal file
@ -0,0 +1 @@
|
|||||||
|
/* pages/Account/Account.wxss */
|
3
miniprogram/pages/Information/Information.json
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
{
|
||||||
|
"usingComponents": {}
|
||||||
|
}
|
0
miniprogram/pages/Information/Information.scss
Normal file
66
miniprogram/pages/Information/Information.ts
Normal file
@ -0,0 +1,66 @@
|
|||||||
|
// pages/Information/Information.ts
|
||||||
|
Page({
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 页面的初始数据
|
||||||
|
*/
|
||||||
|
data: {
|
||||||
|
|
||||||
|
},
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 生命周期函数--监听页面加载
|
||||||
|
*/
|
||||||
|
onLoad() {
|
||||||
|
|
||||||
|
},
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 生命周期函数--监听页面初次渲染完成
|
||||||
|
*/
|
||||||
|
onReady() {
|
||||||
|
|
||||||
|
},
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 生命周期函数--监听页面显示
|
||||||
|
*/
|
||||||
|
onShow() {
|
||||||
|
|
||||||
|
},
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 生命周期函数--监听页面隐藏
|
||||||
|
*/
|
||||||
|
onHide() {
|
||||||
|
|
||||||
|
},
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 生命周期函数--监听页面卸载
|
||||||
|
*/
|
||||||
|
onUnload() {
|
||||||
|
|
||||||
|
},
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 页面相关事件处理函数--监听用户下拉动作
|
||||||
|
*/
|
||||||
|
onPullDownRefresh() {
|
||||||
|
|
||||||
|
},
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 页面上拉触底事件的处理函数
|
||||||
|
*/
|
||||||
|
onReachBottom() {
|
||||||
|
|
||||||
|
},
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 用户点击右上角分享
|
||||||
|
*/
|
||||||
|
onShareAppMessage() {
|
||||||
|
|
||||||
|
}
|
||||||
|
})
|
1
miniprogram/pages/Information/Information.wxml
Normal file
@ -0,0 +1 @@
|
|||||||
|
<text>pages/Information/Information.wxml</text>
|
1
miniprogram/pages/Information/Information.wxss
Normal file
@ -0,0 +1 @@
|
|||||||
|
/* pages/Information/Information.wxss */
|
3
miniprogram/pages/Timetable/Timetable.json
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
{
|
||||||
|
"usingComponents": {}
|
||||||
|
}
|
66
miniprogram/pages/Timetable/Timetable.ts
Normal file
@ -0,0 +1,66 @@
|
|||||||
|
// pages/Timetable/Timetable.ts
|
||||||
|
Page({
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 页面的初始数据
|
||||||
|
*/
|
||||||
|
data: {
|
||||||
|
|
||||||
|
},
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 生命周期函数--监听页面加载
|
||||||
|
*/
|
||||||
|
onLoad() {
|
||||||
|
|
||||||
|
},
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 生命周期函数--监听页面初次渲染完成
|
||||||
|
*/
|
||||||
|
onReady() {
|
||||||
|
|
||||||
|
},
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 生命周期函数--监听页面显示
|
||||||
|
*/
|
||||||
|
onShow() {
|
||||||
|
|
||||||
|
},
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 生命周期函数--监听页面隐藏
|
||||||
|
*/
|
||||||
|
onHide() {
|
||||||
|
|
||||||
|
},
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 生命周期函数--监听页面卸载
|
||||||
|
*/
|
||||||
|
onUnload() {
|
||||||
|
|
||||||
|
},
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 页面相关事件处理函数--监听用户下拉动作
|
||||||
|
*/
|
||||||
|
onPullDownRefresh() {
|
||||||
|
|
||||||
|
},
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 页面上拉触底事件的处理函数
|
||||||
|
*/
|
||||||
|
onReachBottom() {
|
||||||
|
|
||||||
|
},
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 用户点击右上角分享
|
||||||
|
*/
|
||||||
|
onShareAppMessage() {
|
||||||
|
|
||||||
|
}
|
||||||
|
})
|
1
miniprogram/pages/Timetable/Timetable.wxml
Normal file
@ -0,0 +1 @@
|
|||||||
|
<text>pages/Timetable/Timetable.wxml</text>
|
0
miniprogram/pages/Timetable/Timetable.wxss
Normal file
23
miniprogram/theme.json
Normal 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"
|
||||||
|
}
|
||||||
|
}
|
10
package.json
@ -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": {
|
||||||
|
@ -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": {},
|
||||||
|
@ -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"],
|
||||||
|