[improvement] Sku: jsx (#2666)

This commit is contained in:
neverland
2019-02-01 21:50:47 +08:00
committed by GitHub
parent 7ee383129c
commit 3958a42484
13 changed files with 458 additions and 526 deletions

View File

@@ -0,0 +1,18 @@
import { use } from '../../utils';
const [sfc, bem] = use('sku-row');
export default sfc({
props: {
skuRow: Object
},
render(h) {
return (
<div class={bem()}>
<div class={bem('title')}>{this.skuRow.k}</div>
{this.$slots.default}
</div>
);
}
});