feat: add multi-source breed encyclopedia and two-hour refresh sessions
ci-cd / verify (push) Successful in 1m59s
ci-cd / deploy (push) Skipped

This commit is contained in:
2026-10-05 13:38:24 +08:00
parent 607d709100
commit 9d7cf720a5
73 changed files with 25771 additions and 264 deletions
+5
View File
@@ -1,6 +1,7 @@
const { secure, toast } = require("../../utils/api");
Page({
data: {
mode: "walk",
pets: [],
selected: [],
walk: null,
@@ -14,6 +15,10 @@ Page({
busy: false,
locationError: "",
},
changeMode(e) {
const mode = e.currentTarget.dataset.mode;
if (mode !== this.data.mode) this.setData({ mode });
},
onShow() {
this.load();
clearInterval(this.clock);