update README.md

This commit is contained in:
陈嘉涵 2019-03-26 13:47:41 +08:00
parent 54d0873782
commit 50e3b309da
3 changed files with 4 additions and 2 deletions

View File

@ -7,6 +7,7 @@
<p align="center">
<img src="https://img.shields.io/npm/v/vant.svg?style=flat" alt="npm version" />
<img src="https://travis-ci.org/youzan/vant.svg?branch=master" alt="Build Status" />
<img src="https://img.shields.io/npm/dt/vant.svg" alt="downloads" />
<img src="https://img.shields.io/npm/dm/vant.svg" alt="downloads" />
<img src="https://img.badgesize.io/https://unpkg.com/vant/lib/vant.min.js?compression=gzip&style=flat-square&label=JS%20gzip%20size" alt="JS Gzip Size" />
<img src="https://img.badgesize.io/https://unpkg.com/vant/lib/index.css?compression=gzip&style=flat-square&label=CSS%20gzip%20size" alt="CSS Gzip Size" />

View File

@ -6,6 +6,7 @@
<p align="center">
<img src="https://img.shields.io/npm/v/vant.svg?style=flat" alt="npm version" />
<img src="https://travis-ci.org/youzan/vant.svg?branch=master" alt="Build Status" />
<img src="https://img.shields.io/npm/dt/vant.svg" alt="downloads" />
<img src="https://img.shields.io/npm/dm/vant.svg" alt="downloads" />
<img src="https://img.badgesize.io/https://unpkg.com/vant/lib/vant.min.js?compression=gzip&style=flat-square&label=JS%20gzip%20size" alt="JS Gzip Size" />
<img src="https://img.badgesize.io/https://unpkg.com/vant/lib/index.css?compression=gzip&style=flat-square&label=CSS%20gzip%20size" alt="CSS Gzip Size" />

View File

@ -1,10 +1,10 @@
<template>
<div>
<van-nav-bar
v-show="title && showNav"
v-show="title"
class="van-doc-nav-bar"
:title="title"
left-arrow
:left-arrow="showNav"
@click-left="onBack"
>
<a