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