From 3f8aba0a8c500403ead7fb3fe45430ca59a698ff Mon Sep 17 00:00:00 2001 From: 100011797 <2642441182@qq.com> Date: Tue, 31 Jan 2023 16:51:48 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E6=94=B9=E8=AE=BE=E5=A4=87?= =?UTF-8?q?=E5=8D=A1=E7=89=87=E5=90=8D=E7=A7=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/CardBox/index.vue | 7 +++++++ src/router/menu.ts | 4 ++++ src/views/device/Instance/index.vue | 1 + src/views/northbound/DuerOS/Save/index.vue | 3 +++ src/views/northbound/DuerOS/index.vue | 2 +- 5 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 src/views/northbound/DuerOS/Save/index.vue diff --git a/src/components/CardBox/index.vue b/src/components/CardBox/index.vue index cb958ce7..0915064a 100644 --- a/src/components/CardBox/index.vue +++ b/src/components/CardBox/index.vue @@ -231,6 +231,13 @@ const handleClick = () => { :deep(.card-item-content-title) { cursor: pointer; + font-size: 16px; + font-weight: 700; + color: @primary-color; + width: calc(100% - 100px); + overflow: hidden; + white-space: nowrap; + text-overflow: ellipsis; } :deep(.card-item-heard-name) { diff --git a/src/router/menu.ts b/src/router/menu.ts index 234bcabf..22aaecec 100644 --- a/src/router/menu.ts +++ b/src/router/menu.ts @@ -150,6 +150,10 @@ export default [ path: '/northbound/DuerOS', component: () => import('@/views/northbound/DuerOS/index.vue') }, + { + path: '/northbound/DuerOS/detail/:id', + component: () => import('@/views/northbound/DuerOS/Save/index.vue') + }, { path: '/northbound/AliCloud', component: () => import('@/views/northbound/AliCloud/index.vue') diff --git a/src/views/device/Instance/index.vue b/src/views/device/Instance/index.vue index 52fd4ef4..11656160 100644 --- a/src/views/device/Instance/index.vue +++ b/src/views/device/Instance/index.vue @@ -1,4 +1,5 @@ \ No newline at end of file diff --git a/src/views/northbound/DuerOS/index.vue b/src/views/northbound/DuerOS/index.vue index f8ab376f..520d60bd 100644 --- a/src/views/northbound/DuerOS/index.vue +++ b/src/views/northbound/DuerOS/index.vue @@ -148,7 +148,7 @@ const getActions = (data: Partial>): ActionsType[] => { } const add = () => { - message.warn('123') + // router.push(`/northbound/DuerOS/detail/:id`) } \ No newline at end of file