feat: Empty component

This commit is contained in:
chenjiahan
2020-07-06 15:28:43 +08:00
parent 0e4b5a0f2f
commit aab12a4906
12 changed files with 679 additions and 15 deletions

View File

@@ -2,7 +2,7 @@
<demo-section>
<demo-block :title="t('basicUsage')">
<van-cell-group>
<van-cell :title="t('cell')" :value="t('content')" @click="onClick" />
<van-cell :title="t('cell')" :value="t('content')" />
<van-cell :title="t('cell')" :value="t('content')" :label="t('desc')" />
</van-cell-group>
</demo-block>
@@ -108,12 +108,6 @@ export default {
verticalCenter: 'Vertical center',
},
},
methods: {
onClick() {
console.log('click');
},
},
};
</script>