docs(Cell): fix demo translation (#7348)
This commit is contained in:
+4
-4
@@ -84,15 +84,15 @@ Vue.use(CellGroup);
|
|||||||
### Use Slots
|
### Use Slots
|
||||||
|
|
||||||
```html
|
```html
|
||||||
<van-cell value="内容" is-link>
|
<van-cell value="Content" is-link>
|
||||||
<!-- Use the title slot to customize the title -->
|
<!-- Use the title slot to customize the title -->
|
||||||
<template #title>
|
<template #title>
|
||||||
<span class="custom-title">单元格</span>
|
<span class="custom-title">Title</span>
|
||||||
<van-tag type="danger">标签</van-tag>
|
<van-tag type="danger">Tag</van-tag>
|
||||||
</template>
|
</template>
|
||||||
</van-cell>
|
</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 -->
|
<!-- Use the right-icon slot to customize the right icon -->
|
||||||
<template #right-icon>
|
<template #right-icon>
|
||||||
<van-icon name="search" class="search-icon" />
|
<van-icon name="search" class="search-icon" />
|
||||||
|
|||||||
Reference in New Issue
Block a user