diff --git a/CoreCms.Net.Uni-App/CoreShop/common/mixins/mixinsHelper.js b/CoreCms.Net.Uni-App/CoreShop/common/mixins/mixinsHelper.js index 12e6f07a..ca61aaf7 100644 --- a/CoreCms.Net.Uni-App/CoreShop/common/mixins/mixinsHelper.js +++ b/CoreCms.Net.Uni-App/CoreShop/common/mixins/mixinsHelper.js @@ -297,7 +297,8 @@ module.exports = { this.$u.route('/pages/article/details/details', { idType: 1, id: val }); } else if (type == navLinkType.articleCategory) { // 文章列表 - this.$u.route('/pages/article/list/list') + //this.$u.route('/pages/article/list/list') + this.$u.route('/pages/article/category/category', { id: val }); } else if (type == navLinkType.intelligentForms) { //自定义表单 this.$u.route('/pages/form/details/details', { id: val }); diff --git a/CoreCms.Net.Uni-App/CoreShop/pages.json b/CoreCms.Net.Uni-App/CoreShop/pages.json index 8ccbf2a7..410c742c 100644 --- a/CoreCms.Net.Uni-App/CoreShop/pages.json +++ b/CoreCms.Net.Uni-App/CoreShop/pages.json @@ -87,6 +87,13 @@ "navigationBarTextStyle": "black", "navigationBarTitleText": "文章列表" } + }, + { + "path": "category/category", + "style": { + "navigationBarTextStyle": "black", + "navigationBarTitleText": "文章栏目列表" + } } ] }, diff --git a/CoreCms.Net.Uni-App/CoreShop/pages/article/category/category.vue b/CoreCms.Net.Uni-App/CoreShop/pages/article/category/category.vue new file mode 100644 index 00000000..31fb3d7c --- /dev/null +++ b/CoreCms.Net.Uni-App/CoreShop/pages/article/category/category.vue @@ -0,0 +1,110 @@ + + + + +