mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
[Doc] fit weapp document (#3597)
This commit is contained in:
parent
d334eead51
commit
207fe21529
@ -97,11 +97,6 @@
|
||||
<van-tag type="danger">{{ $t('tag') }}</van-tag>
|
||||
</template>
|
||||
</van-cell>
|
||||
<van-cell
|
||||
:title="$t('cell')"
|
||||
icon="location-o"
|
||||
is-link
|
||||
/>
|
||||
<van-cell :title="$t('cell')">
|
||||
<template #right-icon>
|
||||
<van-icon
|
||||
|
@ -83,7 +83,6 @@ Vue.use(Cell).use(CellGroup);
|
||||
<van-tag type="danger">Tag</van-tag>
|
||||
</template>
|
||||
</van-cell>
|
||||
<van-cell title="Cell title" icon="location-o" is-link />
|
||||
<van-cell title="Cell title">
|
||||
<van-icon slot="right-icon" name="search" class="custom-icon" />
|
||||
</van-cell>
|
||||
|
@ -88,7 +88,6 @@ Vue.use(Cell).use(CellGroup);
|
||||
<van-tag type="danger">标签</van-tag>
|
||||
</template>
|
||||
</van-cell>
|
||||
<van-cell title="单元格" icon="location-o" is-link />
|
||||
<van-cell title="单元格">
|
||||
<van-icon slot="right-icon" name="search" class="custom-icon" />
|
||||
</van-cell>
|
||||
|
@ -33,7 +33,10 @@
|
||||
</van-button>
|
||||
</demo-block>
|
||||
|
||||
<demo-block :title="$t('componentCall')">
|
||||
<demo-block
|
||||
v-if="!$attrs.weapp"
|
||||
:title="$t('componentCall')"
|
||||
>
|
||||
<van-button
|
||||
type="primary"
|
||||
@click="show = true"
|
||||
|
@ -13,13 +13,19 @@
|
||||
/>
|
||||
</demo-block>
|
||||
|
||||
<demo-block :title="$t('text')">
|
||||
<demo-block
|
||||
v-if="!$attrs.weapp"
|
||||
:title="$t('text')"
|
||||
>
|
||||
<van-loading size="24px">
|
||||
{{ $t('loading') }}
|
||||
</van-loading>
|
||||
</demo-block>
|
||||
|
||||
<demo-block :title="$t('vertical')">
|
||||
<demo-block
|
||||
v-if="!$attrs.weapp"
|
||||
:title="$t('vertical')"
|
||||
>
|
||||
<van-loading
|
||||
size="24px"
|
||||
vertical
|
||||
|
@ -71,7 +71,10 @@
|
||||
/>
|
||||
</demo-block>
|
||||
|
||||
<demo-block :title="$t('getContainer')">
|
||||
<demo-block
|
||||
v-if="!$attrs.weapp"
|
||||
:title="$t('getContainer')"
|
||||
>
|
||||
<van-button
|
||||
type="primary"
|
||||
@click="showGetContainer = true"
|
||||
|
@ -22,10 +22,7 @@
|
||||
/>
|
||||
</demo-block>
|
||||
|
||||
<demo-block
|
||||
v-if="!$attrs.weapp"
|
||||
:title="$t('halfStar')"
|
||||
>
|
||||
<demo-block :title="$t('halfStar')">
|
||||
<van-rate
|
||||
v-model="value4"
|
||||
:size="25"
|
||||
|
@ -39,7 +39,10 @@
|
||||
</van-button>
|
||||
</demo-block>
|
||||
|
||||
<demo-block :title="$t('customIcon')">
|
||||
<demo-block
|
||||
v-if="!$attrs.weapp"
|
||||
:title="$t('customIcon')"
|
||||
>
|
||||
<van-button
|
||||
type="primary"
|
||||
@click="showIconToast"
|
||||
|
Loading…
x
Reference in New Issue
Block a user