Initial Commit

This commit is contained in:
2025-11-16 15:47:44 +08:00
commit 00ca69761c
16 changed files with 334 additions and 0 deletions

18
pages/logs/logs.js Normal file
View File

@@ -0,0 +1,18 @@
// logs.js
const util = require('../../utils/util.js')
Page({
data: {
logs: []
},
onLoad() {
this.setData({
logs: (wx.getStorageSync('logs') || []).map(log => {
return {
date: util.formatTime(new Date(log)),
timeStamp: log
}
})
})
}
})