update:训练难度展示ui完成

This commit is contained in:
2026-05-15 09:46:33 +08:00
parent bb50c7ca10
commit 8061ddbed5
15 changed files with 1141 additions and 10 deletions

View File

@@ -102,9 +102,8 @@ const openTrainingRecord = () => {
};
const openFeaturedTraining = () => {
uni.showToast({
title: `进入${trainingHomeFeatured.title}`,
icon: "none",
uni.navigateTo({
url: "/pages/training/difficulty?mode=basic",
});
};
@@ -117,9 +116,8 @@ const openTrainingMode = (item) => {
return;
}
uni.showToast({
title: `进入${item.title}`,
icon: "none",
uni.navigateTo({
url: `/pages/training/difficulty?mode=${item.key}`,
});
};