mirror of
https://gitee.com/ant-design-vue/ant-design-vue.git
synced 2024-11-29 18:48:32 +08:00
doc: update doc
This commit is contained in:
parent
8f47732b45
commit
a3149521bd
@ -2,6 +2,7 @@
|
||||
<demo-sort :cols="1">
|
||||
<Locale />
|
||||
<Size />
|
||||
<Direction />
|
||||
<Theme />
|
||||
</demo-sort>
|
||||
</template>
|
||||
@ -9,6 +10,7 @@
|
||||
<script>
|
||||
import Locale from './locale.vue';
|
||||
import Size from './size.vue';
|
||||
import Direction from './direction.vue';
|
||||
import Theme from './theme.vue';
|
||||
import CN from '../index.zh-CN.md';
|
||||
import US from '../index.en-US.md';
|
||||
@ -20,6 +22,7 @@ export default defineComponent({
|
||||
Locale,
|
||||
Size,
|
||||
Theme,
|
||||
Direction,
|
||||
},
|
||||
});
|
||||
</script>
|
||||
|
@ -58,10 +58,10 @@ More about pagination, please check [`Pagination`](https://www.antdv.com/compone
|
||||
|
||||
### List.Item
|
||||
|
||||
| Property | Description | Type | Default |
|
||||
| --- | --- | --- | --- |
|
||||
| actions | The actions content of list item. If `itemLayout` is `vertical`, shows the content on bottom, otherwise shows content on the far right. | Array\\<vNode>\|slot | - |
|
||||
| extra | The extra content of list item. If `itemLayout` is `vertical`, shows the content on right, otherwise shows content on the far right. | string\|slot | - |
|
||||
| Property | Description | Type | Default | Version |
|
||||
| --- | --- | --- | --- | --- |
|
||||
| actions | The actions content of list item. If `itemLayout` is `vertical`, shows the content on bottom, otherwise shows content on the far right. | vNode[] \|slot | - | |
|
||||
| extra | The extra content of list item. If `itemLayout` is `vertical`, shows the content on right, otherwise shows content on the far right. | string\|slot | - | |
|
||||
|
||||
### List.Item.Meta
|
||||
|
||||
|
@ -59,9 +59,9 @@ cover: https://gw.alipayobjects.com/zos/alicdn/5FrZKStG_/List.svg
|
||||
|
||||
### List.Item
|
||||
|
||||
| 参数 | 说明 | 类型 | 默认值 | |
|
||||
| 参数 | 说明 | 类型 | 默认值 | 版本 |
|
||||
| --- | --- | --- | --- | --- |
|
||||
| actions | 列表操作组,根据 `itemLayout` 的不同, 位置在卡片底部或者最右侧 | Array\\<vNode>/ | slot | - |
|
||||
| actions | 列表操作组,根据 `itemLayout` 的不同, 位置在卡片底部或者最右侧 | vNode[] \| slot | - |
|
||||
| extra | 额外内容, 通常用在 `itemLayout` 为 `vertical` 的情况下, 展示右侧内容; `horizontal` 展示在列表元素最右侧 | string\|slot | - | |
|
||||
|
||||
### List.Item.Meta
|
||||
|
@ -1,6 +1,6 @@
|
||||
<template>
|
||||
<div id="rice">
|
||||
<div class="wwads-cn wwads-vertical" data-id="62" style="max-width: 200px"></div>
|
||||
<div class="wwads-cn wwads-horizontal" data-id="62" style="max-width: 350px"></div>
|
||||
</div>
|
||||
</template>
|
||||
<script>
|
||||
@ -27,13 +27,13 @@ export default defineComponent({
|
||||
</script>
|
||||
<style scoped>
|
||||
#rice {
|
||||
width: 125px;
|
||||
position: fixed;
|
||||
z-index: 19;
|
||||
bottom: 10px;
|
||||
right: 10px;
|
||||
/* width: 180px; */
|
||||
/* position: fixed; */
|
||||
/* z-index: 19; */
|
||||
padding: 10px;
|
||||
border-radius: 3px;
|
||||
font-size: 13px;
|
||||
/* background-color: red;
|
||||
max-height: 150px; */
|
||||
}
|
||||
</style>
|
||||
|
@ -37,7 +37,8 @@
|
||||
</template>
|
||||
<a-col :xxxl="20" :xxl="20" :xl="19" :lg="18" :md="18" :sm="24" :xs="24">
|
||||
<section :class="mainContainerClass">
|
||||
<TopAd :is-c-n="isZhCN" />
|
||||
<!-- <TopAd :is-c-n="isZhCN" /> -->
|
||||
<WWAdsVue v-if="isZhCN" />
|
||||
<Demo v-if="isDemo" :page-data="pageData" :is-zh-c-n="isZhCN">
|
||||
<component :is="matchCom" />
|
||||
</Demo>
|
||||
@ -78,7 +79,6 @@
|
||||
<Footer />
|
||||
</a-col>
|
||||
</a-row>
|
||||
<WWAdsVue v-if="isZhCN && !isMobile" />
|
||||
</div>
|
||||
</template>
|
||||
<script lang="ts">
|
||||
|
Loading…
Reference in New Issue
Block a user