小程序迁移 静态页面完成!!!

This commit is contained in:
Neo
2026-03-18 05:14:35 +08:00
parent 72bb11b34f
commit 075caf067f
124 changed files with 10407 additions and 2738 deletions

16
tmp/patch_ts.py Normal file
View File

@@ -0,0 +1,16 @@
path = r'c:/NeoZQYY/apps/miniprogram/miniprogram/pages/performance-records/performance-records.ts'
with open(path, 'rb') as f:
content = f.read().decode('utf-8')
content = content.replace(
" totalHours: '0h',\r\n totalIncome: '\xa50',",
" totalHours: '0h',\r\n totalHoursRaw: '0h',\r\n totalIncome: '\xa50',"
)
content = content.replace(
" totalHours: '59.0h',\r\n totalIncome: '\xa54,720',",
" totalHours: '59.0h',\r\n totalHoursRaw: '60.5h',\r\n totalIncome: '\xa54,720',"
)
with open(path, 'wb') as f:
f.write(content.encode('utf-8'))
print('done')