mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-05-24 15:39:15 +08:00
docs(Cell): fix demo translation (#7348)
This commit is contained in:
parent
4efd8fb92f
commit
a75b46feef
@ -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" />
|
||||||
|
Loading…
x
Reference in New Issue
Block a user