[new feature] GoodsAction: update style (#3967)

This commit is contained in:
neverland
2019-07-25 20:13:21 +08:00
committed by GitHub
parent d3178c85d7
commit c72ac6edcd
11 changed files with 156 additions and 178 deletions
+20
View File
@@ -0,0 +1,20 @@
import { createNamespace } from '../utils';
import { ParentMixin } from '../mixins/relation';
const [createComponent, bem] = createNamespace('goods-action');
export default createComponent({
mixins: [ParentMixin('vanGoodsAction')],
props: {
safeAreaInsetBottom: Boolean
},
render(h) {
return (
<div class={bem({ 'safe-area-inset-bottom': this.safeAreaInsetBottom })}>
{this.slots()}
</div>
);
}
});