This commit is contained in:
lik
2026-09-09 17:37:43 +08:00
parent e7b27888e3
commit efa0df5a76
9 changed files with 200 additions and 106 deletions
+4 -1
View File
@@ -155,7 +155,10 @@ Page({
.slice(0, 10)
.map(item => {
const d = new Date(item.schedule.date);
item.schedule.date = `${d.getMonth() + 1}${d.getDate()} ${pad(d.getHours())}:${pad(d.getMinutes())}`;
const dateText = `${d.getMonth() + 1}${d.getDate()}`;
item.schedule.date = item.schedule.startTime
? `${dateText} ${item.schedule.startTime}`
: `${dateText} ${pad(d.getHours())}:${pad(d.getMinutes())}`;
return item;
});
this.setData({ recentOrders: records });
+2 -1
View File
@@ -1,7 +1,7 @@
/* pages/home/index.wxss */
page {
background: #f5f6fa;
background: #ededed;
color: #1a1a2e;
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}
@@ -10,6 +10,7 @@ page {
min-height: 100vh;
box-sizing: border-box;
padding: 24rpx 24rpx 64rpx;
background-color: transparent;
}
/* === 头部信息卡(翡翠绿实底) === */