mirror of
http://112.124.100.131/ebiz-ai/ebiz-ai-knowledge-manage.git
synced 2025-12-08 18:36:51 +08:00
style(knowledge): 修改知识库详情页面的预览图标样式
- 将 SVG 图标替换为自定义样式 - 调整图标大小、颜色和布局 - 优化预览状态的显示逻辑
This commit is contained in:
@@ -646,17 +646,28 @@ export default {
|
|||||||
class: 'flex align-items-c'
|
class: 'flex align-items-c'
|
||||||
},
|
},
|
||||||
[
|
[
|
||||||
h('svg-icon', {
|
h(
|
||||||
|
'span',
|
||||||
|
{
|
||||||
props: {
|
props: {
|
||||||
iconClass: params.row.useMineru === 1 ? 'miner' : 'none'
|
// iconClass: params.row.useMineru === 1 ? 'miner' : 'none'
|
||||||
},
|
},
|
||||||
class: 'mr5',
|
class: 'mr5',
|
||||||
style: {
|
style: {
|
||||||
// display: params.row.useMineru === 1 ? '' : 'none',
|
// display: params.row.useMineru === 1 ? '' : 'none',
|
||||||
width: '15px',
|
width: '19px',
|
||||||
fontSize: '15px'
|
height: '19px',
|
||||||
|
fontSize: '13px',
|
||||||
|
borderRadius: '6px',
|
||||||
|
textAlign: 'center',
|
||||||
|
lineHeight: '19px',
|
||||||
|
color: '#fff',
|
||||||
|
background:
|
||||||
|
params.row.useMineru === 1 ? '#4f47f5' : 'unset'
|
||||||
}
|
}
|
||||||
}),
|
},
|
||||||
|
params.row.useMineru === 1 ? '预' : ''
|
||||||
|
),
|
||||||
h('span', {}, text)
|
h('span', {}, text)
|
||||||
]
|
]
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user