diff --git a/docs/examples-docs/icon.md b/docs/examples-docs/icon.md index 29c333e71..2dfdb991c 100644 --- a/docs/examples-docs/icon.md +++ b/docs/examples-docs/icon.md @@ -1,5 +1,7 @@ + + ## Icon 图标 +### 使用指南 +``` javascript +import { Icon } from 'vant'; + +Vue.component(Icon.name, Icon); +``` + ### 代码演示 #### 基础用法 @@ -27,318 +61,91 @@ :::demo 基础用法 ```html - + ``` ::: #### 所有Icons -以下目前有的所有图标及其名称: +以下为目前所有的图标: :::demo 所有Icon ```html - - - - qr-invalid - - - - qr - - - - exchange - - - - close - - - - location - - - - upgrade - - - - check - - - - checked - - - - like-o - - - - like - - - - chat - - - - shop - - - - photograph - - - - add - - - - add2 - - - - photo - - - - edit - - - - passed - - - - cart - - - - arrow - - - - gift - - - - search - - - - clear - - - - success - - - - fail - - - - contact - - - - wechat - - - - alipay - - - - password-view - - - - wap-nav - - - - password-not-view - - - - wap-home - - - - ecard-pay - - - - balance-pay - - - - peer-pay - - - - credit-pay - - - - debit-pay - - - - other-pay - - - - cart - - - - browsing-history - - - - goods-collect - - - - shop-collect - - - - receive-gift - - - - send-gift - - - - setting - - - - points - - - - coupon - - - - free-postage - - - - discount - - - - birthday-privilege - - - - member-day-privilege - - - - balance-details - - - - cash-back-record - - - - points-mall - - - - exchange-record - - - - pending-payment - - - - pending-orders - - - - pending-deliver - - - - logistics - - - - pending-evaluate - - - - cash-on-deliver - - - - gift-card-pay - - - - underway - - - - point-gift - - - - after-sale - - - - edit-data - - - - question - - - - delete - - - - records - - - - description - - - - card - - - - gift-card - - - - coupon - - - - clock - - - - gold-coin - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ``` :::