mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-08-29 12:23:20 +08:00
24 lines
470 B
JavaScript
24 lines
470 B
JavaScript
import { createNamespace } from '../utils';
|
|
import { ParentMixin } from '../mixins/relation';
|
|
|
|
const [createComponent, bem] = createNamespace('goods-action');
|
|
|
|
export default createComponent({
|
|
mixins: [ParentMixin('vanGoodsAction')],
|
|
|
|
props: {
|
|
safeAreaInsetBottom: {
|
|
type: Boolean,
|
|
default: true,
|
|
},
|
|
},
|
|
|
|
render() {
|
|
return (
|
|
<div class={bem({ unfit: !this.safeAreaInsetBottom })}>
|
|
{this.slots()}
|
|
</div>
|
|
);
|
|
},
|
|
});
|