feat: add animated choice modes and bracket editor
Verify mini program and deploy preview / verify-deploy (push) Successful in 50s

This commit is contained in:
2026-09-19 04:11:21 +08:00
parent 90ac8b951f
commit 36aee09dfa
39 changed files with 1669 additions and 178 deletions
+16
View File
@@ -0,0 +1,16 @@
var api = require('../../utils/api');
Page({
data: { results: [], loading: true, error: '' },
onLoad: function () { this.load(); },
load: function () {
var self = this;
api.request('/api/v1/results/discover').then(function (results) {
self.setData({ results: results, loading: false, error: '' });
}).catch(function (error) {
self.setData({ loading: false, error: error.message || '加载失败' });
});
},
openHome: function () { xhs.redirectTo({ url: '/pages/index/index' }); },
openMe: function () { xhs.redirectTo({ url: '/pages/me/me' }); }
});