refactor: clean up old Tabs component and update Card routing

- remove unused Tabs component docs, test, style and markdown files
- refactor Tabs component to use inline utility classes and inline keyframes
- update Card component's click handler to use named route "goods"
This commit is contained in:
DEV_DSW
2026-05-29 08:50:13 +08:00
parent ede99463de
commit 503df8a812
6 changed files with 29 additions and 690 deletions

View File

@@ -67,6 +67,7 @@ const navigateToPage = (commodityId, path) => {
router.push({ path, query: { commodityId } })
};
const handleClick = ({ commodityId }) =>
navigateToPage(commodityId, "/pages/goods/index");
const handleClick = ({ commodityId }) => {
router.push({ name: "goods", query: { commodityId } })
}
</script>