This commit is contained in:
BianLzhaoMin 2025-09-10 11:15:35 +08:00
parent b97969964f
commit 60221dc3ae
4 changed files with 1096 additions and 5 deletions

View File

@ -80,7 +80,7 @@ export const constantRoutes = [
path: '/index_1',
component: () => import('@/views/publicService/index_1.vue'),
name: 'Index_1',
meta: { title: '公共服务平台' },
meta: { title: '公共服务平台', icon: 'dashboard' },
},
// 公共服务平台最终页
@ -90,26 +90,39 @@ export const constantRoutes = [
hidden: true,
name: 'PublicService',
redirect: 'productCenter',
// meta: { title: '公共服务平台', icon: 'dashboard', affix: true },
children: [
// 产品中心
{
path: 'productCenter',
component: () =>
import('@/views/publicService/productCenter/index.vue'),
name: 'ProductCenter',
},
// 产品中心 ---- 查看详情页面
{
path: 'productCenter/detail/:id',
component: () =>
import(
'@/views/publicService/productCenter/product-detail.vue'
),
name: 'ProductDetail',
},
// 公共组件
{
path: 'commonCom',
component: () =>
import('@/views/publicService/commonCom/index.vue'),
name: 'commonCom',
},
// 宣传物料
{
path: 'proMaterials',
component: () =>
import('@/views/publicService/proMaterials/index.vue'),
name: 'ProMaterials',
},
// 文档中心
{
path: 'docCenter',
component: () =>

View File

@ -5,8 +5,6 @@ export default {
name: 'PublicService_1',
mounted() {
this.$router.push('/publicService/productCenter')
// console.log('PublicService_1')
},
}
</script>

View File

@ -191,7 +191,12 @@ export default {
},
// index.vue handleDetail
handleDetail(service) {
console.log('查看详情:', service.title)
// console.log(':', service.title)
// this.$router.push({
// name: 'ProductDetail',
// params: { id: service.id },
// })
this.$router.push({
name: 'ProductDetail',
params: { id: service.id },

File diff suppressed because it is too large Load Diff