feat: rebuild pet app and backend around core care flows

This commit is contained in:
2026-10-01 13:11:30 +08:00
parent 51ead8f411
commit bfcf8788a4
321 changed files with 4918 additions and 25199 deletions
+17
View File
@@ -0,0 +1,17 @@
const tabs = [
{ path: "/pages/home/home", label: "首页", icon: "⌂" },
{ path: "/pages/meetups/meetups", label: "约遛", icon: "♡" },
{ path: "/pages/walk/walk", label: "遛狗", icon: "🐾" },
{ path: "/pages/tasks/tasks", label: "任务", icon: "☑" },
{ path: "/pages/pets/pets", label: "宠物", icon: "♙" },
];
Component({
properties: { current: String },
data: { tabs },
methods: {
go(e) {
const path = e.currentTarget.dataset.path;
if (path !== this.data.current) wx.redirectTo({ url: path });
},
},
});