first commit

This commit is contained in:
lingxiao865
2025-09-18 12:39:54 +08:00
parent b2e8461792
commit 6c6fe3d0d6
1898 changed files with 30918 additions and 0 deletions

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

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