Skip to content

Commit a314952

Browse files
committed
doc: update doc
1 parent 8f47732 commit a314952

File tree

5 files changed

+17
-14
lines changed

5 files changed

+17
-14
lines changed

components/config-provider/demo/index.vue

+3
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,15 @@
22
<demo-sort :cols="1">
33
<Locale />
44
<Size />
5+
<Direction />
56
<Theme />
67
</demo-sort>
78
</template>
89

910
<script>
1011
import Locale from './locale.vue';
1112
import Size from './size.vue';
13+
import Direction from './direction.vue';
1214
import Theme from './theme.vue';
1315
import CN from '../index.zh-CN.md';
1416
import US from '../index.en-US.md';
@@ -20,6 +22,7 @@ export default defineComponent({
2022
Locale,
2123
Size,
2224
Theme,
25+
Direction,
2326
},
2427
});
2528
</script>

components/list/index.en-US.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -58,10 +58,10 @@ More about pagination, please check [`Pagination`](https://www.antdv.com/compone
5858

5959
### List.Item
6060

61-
| Property | Description | Type | Default |
62-
| --- | --- | --- | --- |
63-
| 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 | - |
64-
| 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 | - |
61+
| Property | Description | Type | Default | Version |
62+
| --- | --- | --- | --- | --- |
63+
| 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 | - | |
64+
| 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 | - | |
6565

6666
### List.Item.Meta
6767

components/list/index.zh-CN.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -59,9 +59,9 @@ cover: https://gw.alipayobjects.com/zos/alicdn/5FrZKStG_/List.svg
5959

6060
### List.Item
6161

62-
| 参数 | 说明 | 类型 | 默认值 | |
62+
| 参数 | 说明 | 类型 | 默认值 | 版本 |
6363
| --- | --- | --- | --- | --- |
64-
| actions | 列表操作组,根据 `itemLayout` 的不同, 位置在卡片底部或者最右侧 | Array\\<vNode>/ | slot | - |
64+
| actions | 列表操作组,根据 `itemLayout` 的不同, 位置在卡片底部或者最右侧 | vNode[] \| slot | - |
6565
| extra | 额外内容, 通常用在 `itemLayout``vertical` 的情况下, 展示右侧内容; `horizontal` 展示在列表元素最右侧 | string\|slot | - | |
6666

6767
### List.Item.Meta

site/src/components/rice/WWAds.vue

+6-6
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<template>
22
<div id="rice">
3-
<div class="wwads-cn wwads-vertical" data-id="62" style="max-width: 200px"></div>
3+
<div class="wwads-cn wwads-horizontal" data-id="62" style="max-width: 350px"></div>
44
</div>
55
</template>
66
<script>
@@ -27,13 +27,13 @@ export default defineComponent({
2727
</script>
2828
<style scoped>
2929
#rice {
30-
width: 125px;
31-
position: fixed;
32-
z-index: 19;
33-
bottom: 10px;
34-
right: 10px;
30+
/* width: 180px; */
31+
/* position: fixed; */
32+
/* z-index: 19; */
3533
padding: 10px;
3634
border-radius: 3px;
3735
font-size: 13px;
36+
/* background-color: red;
37+
max-height: 150px; */
3838
}
3939
</style>

site/src/layouts/index.vue

+2-2
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,8 @@
3737
</template>
3838
<a-col :xxxl="20" :xxl="20" :xl="19" :lg="18" :md="18" :sm="24" :xs="24">
3939
<section :class="mainContainerClass">
40-
<TopAd :is-c-n="isZhCN" />
40+
<!-- <TopAd :is-c-n="isZhCN" /> -->
41+
<WWAdsVue v-if="isZhCN" />
4142
<Demo v-if="isDemo" :page-data="pageData" :is-zh-c-n="isZhCN">
4243
<component :is="matchCom" />
4344
</Demo>
@@ -78,7 +79,6 @@
7879
<Footer />
7980
</a-col>
8081
</a-row>
81-
<WWAdsVue v-if="isZhCN && !isMobile" />
8282
</div>
8383
</template>
8484
<script lang="ts">

0 commit comments

Comments
 (0)