[Doc] update code style (#484)

This commit is contained in:
neverland
2017-12-26 12:39:52 +08:00
committed by GitHub
parent 508cdfc0c9
commit 6b563b2e5a
68 changed files with 431 additions and 431 deletions

View File

@@ -3,9 +3,9 @@
<demo-block :title="$t('basicUsage')">
<van-address-edit
:area-list="areaList"
:show-postal="true"
:show-set-default="true"
:show-search-result="true"
show-postal
show-set-default
show-search-result
:search-result="searchResult"
@save="onSave"
@delete="onDelete"

View File

@@ -36,9 +36,7 @@
</van-cell>
<van-cell :title="$t('cell')" icon="location" is-link />
<van-cell :title="$t('cell')">
<template slot="right-icon">
<van-icon name="search" class="van-cell__right-icon" />
</template>
<van-icon slot="right-icon" name="search" class="van-cell__right-icon" />
</van-cell>
</van-cell-group>
</demo-block>

View File

@@ -9,7 +9,7 @@
<van-search
v-model="value"
:placeholder="$t('placeholder')"
:show-action="true"
show-action
@search="onSearch"
@cancel="onCancel"
/>
@@ -19,7 +19,7 @@
<demo-block :title="$t('title3')">
<van-search
v-model="value"
:show-action="true"
show-action
@search="onSearch"
>
<div slot="action" @click="onSearch">{{ $t('search') }}</div>

View File

@@ -9,7 +9,7 @@
</demo-block>
<demo-block :title="$t('advancedUsage')">
<van-stepper v-model="stepper2" min="5" max="40" step="2" default-value="9" />
<van-stepper v-model="stepper2" :min="5" :max="40" :step="2" :default-value="9" />
</demo-block>
</demo-section>
</template>