mirror of
https://github.com/youzan/vant.git
synced 2026-04-05 02:05:11 +08:00
[improvement] add constant of border (#4078)
This commit is contained in:
@@ -1,7 +1,8 @@
|
||||
import { createNamespace } from '../utils';
|
||||
import { inherit } from '../utils/functional';
|
||||
import { BORDER_TOP } from '../utils/constant';
|
||||
import Cell from '../cell';
|
||||
import CellGroup from '../cell-group';
|
||||
import { inherit } from '../utils/functional';
|
||||
|
||||
// Types
|
||||
import { CreateElement, RenderContext } from 'vue/types';
|
||||
@@ -42,7 +43,7 @@ function Panel(
|
||||
),
|
||||
<div class={bem('content')}>{slots.default && slots.default()}</div>,
|
||||
slots.footer && (
|
||||
<div class={[bem('footer'), 'van-hairline--top']}>{slots.footer()}</div>
|
||||
<div class={[bem('footer'), BORDER_TOP]}>{slots.footer()}</div>
|
||||
)
|
||||
];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user