docs(Cell): fix demo translation (#7348)

This commit is contained in:
neverland 2020-10-16 20:25:10 +08:00 committed by GitHub
parent 4efd8fb92f
commit a75b46feef
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -84,15 +84,15 @@ Vue.use(CellGroup);
### Use Slots
```html
<van-cell value="内容" is-link>
<van-cell value="Content" is-link>
<!-- Use the title slot to customize the title -->
<template #title>
<span class="custom-title">单元格</span>
<van-tag type="danger">标签</van-tag>
<span class="custom-title">Title</span>
<van-tag type="danger">Tag</van-tag>
</template>
</van-cell>
<van-cell title="单元格" icon="shop-o">
<van-cell title="Title" icon="shop-o">
<!-- Use the right-icon slot to customize the right icon -->
<template #right-icon>
<van-icon name="search" class="search-icon" />