【新增】新增一个卡片组件,为查询区域统一样式
This commit is contained in:
parent
9d573cca6d
commit
4bd84924be
@ -31,6 +31,9 @@ import ArticleListContent from '@/components/ArticleListContent'
|
||||
import AntdEditor from '@/components/Editor/WangEditor'
|
||||
import Dialog from '@/components/Dialog'
|
||||
|
||||
// xn components
|
||||
import XCard from '@/components/xnComponents/XCard'
|
||||
|
||||
export {
|
||||
AvatarList,
|
||||
Bar,
|
||||
@ -62,5 +65,6 @@ export {
|
||||
StandardFormRow,
|
||||
ArticleListContent,
|
||||
AntdEditor,
|
||||
Dialog
|
||||
Dialog,
|
||||
XCard
|
||||
}
|
||||
|
16
_web/src/components/xnComponents/XCard.vue
Normal file
16
_web/src/components/xnComponents/XCard.vue
Normal file
@ -0,0 +1,16 @@
|
||||
<template>
|
||||
<a-card :bordered="false" :bodyStyle="tstyle">
|
||||
<slot name="content"></slot>
|
||||
</a-card>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
name: 'XCard',
|
||||
data() {
|
||||
return {
|
||||
tstyle: { 'padding-bottom': '0px', 'margin-bottom': '10px' }
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
Loading…
x
Reference in New Issue
Block a user