后期修改完善,上线版本

This commit is contained in:
2025-11-12 18:11:11 +08:00
parent c54f9c9976
commit 8f57683dd5
98 changed files with 2110 additions and 867 deletions

View File

@ -47,6 +47,7 @@ export default {
const slug = to.query.category_slug;
if (slug) {
this.category_slug = slug;
this.tagName = to.query.tag_name;
this.getToolsByTag(slug);
}
}
@ -54,9 +55,11 @@ export default {
mounted() {
// 组件挂载时也检查一次路由参数
const slug = this.$route.query.category_slug;
if (slug) {
const tagName = this.$route.query.tag_name;
if (slug && tagName) {
this.category_slug = slug;
this.getToolsByTag(slug);
this.tagName = tagName;
}
},
}
@ -64,13 +67,13 @@ export default {
<style scoped lang="scss">
.content {
padding-top: 60px;
padding-top: 50px;
padding-bottom: 100px;
.tag-item {
display: inline-block;
padding: 10px;
border-radius: 12px;
font-family: 'Poppins-SemiBold', sans-serif;
font-family: 'Poppins-SemiBold';
color: #fff;
font-weight: 600;
background: $header-backgroungd;