Comparing version 0.10.2 to 0.10.3
require('../../vant-css/base.css'); | ||
require('../../vant-css/popup.css'); | ||
require('../../vant-css/icon.css'); | ||
require('../../vant-css/loading.css'); | ||
require('../../vant-css/actionsheet.css'); |
require('../../vant-css/base.css'); | ||
require('../../vant-css/icon.css'); | ||
require('../../vant-css/cell.css'); | ||
require('../../vant-css/icon.css'); | ||
require('../../vant-css/field.css'); | ||
@@ -5,0 +5,0 @@ require('../../vant-css/loading.css'); |
'use strict'; | ||
exports.__esModule = true; | ||
var _components; | ||
var _icon = require('../icon'); | ||
var _icon2 = _interopRequireDefault(_icon); | ||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | ||
exports.default = { | ||
@@ -8,6 +17,6 @@ render: function render() { | ||
_vm.$emit('click'); | ||
} } }, [_vm.$slots.title || _vm.title ? _c('div', { staticClass: "van-cell__title" }, [_vm._t("icon", [_vm.icon ? _c('i', { staticClass: "van-icon", class: 'van-icon-' + _vm.icon }) : _vm._e()]), _vm._t("title", [_c('span', { staticClass: "van-cell__text", domProps: { "textContent": _vm._s(_vm.title) } }), _vm.label ? _c('span', { staticClass: "van-cell__label", domProps: { "textContent": _vm._s(_vm.label) } }) : _vm._e()])], 2) : _vm._e(), _vm.value || _vm.$slots.default ? _c('div', { staticClass: "van-cell__value", class: { | ||
} } }, [_vm.$slots.title || _vm.title ? _c('div', { staticClass: "van-cell__title" }, [_vm._t("icon", [_vm.icon ? _c('van-icon', { attrs: { "name": _vm.icon } }) : _vm._e()]), _vm._t("title", [_c('span', { staticClass: "van-cell__text", domProps: { "textContent": _vm._s(_vm.title) } }), _vm.label ? _c('span', { staticClass: "van-cell__label", domProps: { "textContent": _vm._s(_vm.label) } }) : _vm._e()])], 2) : _vm._e(), _vm.value || _vm.$slots.default ? _c('div', { staticClass: "van-cell__value", class: { | ||
'van-cell__value--link': _vm.isLink, | ||
'van-cell__value--alone': !_vm.$slots.title && !_vm.title && !_vm.label | ||
} }, [_vm._t("default", [_c('span', { domProps: { "textContent": _vm._s(_vm.value) } })])], 2) : _vm._e(), _vm._t("right-icon", [_vm.isLink ? _c('i', { staticClass: "van-cell__right-icon van-icon van-icon-arrow" }) : _vm._e()]), _vm._t("extra")], 2); | ||
} }, [_vm._t("default", [_c('span', { domProps: { "textContent": _vm._s(_vm.value) } })])], 2) : _vm._e(), _vm._t("right-icon", [_vm.isLink ? _c('van-icon', { staticClass: "van-cell__right-icon", attrs: { "name": "arrow" } }) : _vm._e()]), _vm._t("extra")], 2); | ||
}, | ||
@@ -17,2 +26,4 @@ | ||
components: (_components = {}, _components[_icon2.default.name] = _icon2.default, _components), | ||
props: { | ||
@@ -19,0 +30,0 @@ icon: String, |
require('../../vant-css/base.css'); | ||
require('../../vant-css/icon.css'); | ||
require('../../vant-css/cell.css'); |
@@ -15,3 +15,3 @@ 'use strict'; | ||
render: function render() { | ||
var _vm = this;var _h = _vm.$createElement;var _c = _vm._self._c || _h;return _c('div', _vm._g({ class: ['van-contact-card', "van-contact-card--" + _vm.type] }, _vm.$listeners), [_c('div', { staticClass: "van-contact-card__content" }, [_vm.type === 'add' ? [_c('van-icon', { staticClass: "van-contact-card__icon", attrs: { "name": "add2" } }), _c('div', { staticClass: "van-contact-card__text" }, [_vm._v(_vm._s(_vm.addText))])] : _vm.type === 'edit' ? [_c('van-icon', { staticClass: "van-contact-card__icon", attrs: { "name": "contact" } }), _c('div', { staticClass: "van-contact-card__text" }, [_c('p', [_vm._v("联系人:" + _vm._s(_vm.name))]), _c('p', [_vm._v("联系电话:" + _vm._s(_vm.tel))])])] : _vm._e()], 2), _c('van-icon', { staticClass: "van-contact-card__arrow", attrs: { "name": "arrow" } })], 1); | ||
var _vm = this;var _h = _vm.$createElement;var _c = _vm._self._c || _h;return _c('div', _vm._g({ class: ['van-contact-card', "van-contact-card--" + _vm.type] }, _vm.$listeners), [_c('div', { staticClass: "van-contact-card__content" }, [_vm.type === 'add' ? [_c('van-icon', { staticClass: "van-contact-card__icon", attrs: { "name": "add2" } }), _c('div', { staticClass: "van-contact-card__text" }, [_vm._v(_vm._s(_vm.addText))])] : _vm.type === 'edit' ? [_c('van-icon', { staticClass: "van-contact-card__icon", attrs: { "name": "contact" } }), _c('div', { staticClass: "van-contact-card__text" }, [_c('div', [_vm._v("联系人:" + _vm._s(_vm.name))]), _c('div', [_vm._v("联系电话:" + _vm._s(_vm.tel))])])] : _vm._e()], 2), _c('van-icon', { staticClass: "van-contact-card__arrow", attrs: { "name": "arrow" } })], 1); | ||
}, | ||
@@ -18,0 +18,0 @@ |
require('../../vant-css/base.css'); | ||
require('../../vant-css/icon.css'); | ||
require('../../vant-css/cell.css'); | ||
require('../../vant-css/icon.css'); | ||
require('../../vant-css/field.css'); | ||
require('../../vant-css/loading.css'); | ||
require('../../vant-css/button.css'); | ||
require('../../vant-css/popup.css'); | ||
require('../../vant-css/dialog.css'); | ||
require('../../vant-css/toast.css'); | ||
require('../../vant-css/contact-edit.css'); |
require('../../vant-css/base.css'); | ||
require('../../vant-css/icon.css'); | ||
require('../../vant-css/cell.css'); |
@@ -35,5 +35,5 @@ 'use strict'; | ||
render: function render() { | ||
var _vm = this;var _h = _vm.$createElement;var _c = _vm._self._c || _h;return _c('div', { staticClass: "van-coupon-list" }, [_c('van-cell-group', { staticClass: "van-coupon-list__top" }, [_c('van-field', { attrs: { "placeholder": _vm.inputPlaceholder, "maxlength": 20 }, model: { value: _vm.exchangeCode, callback: function callback($$v) { | ||
var _vm = this;var _h = _vm.$createElement;var _c = _vm._self._c || _h;return _c('div', { staticClass: "van-coupon-list" }, [_vm.showExchangeBar ? _c('van-cell-group', { staticClass: "van-coupon-list__top" }, [_c('van-field', { staticClass: "van-coupon-list__filed van-hairline--surround", attrs: { "placeholder": _vm.inputPlaceholder, "maxlength": 20 }, model: { value: _vm.exchangeCode, callback: function callback($$v) { | ||
_vm.exchangeCode = $$v; | ||
}, expression: "exchangeCode" } }), _c('van-button', { staticClass: "van-coupon-list__exchange", attrs: { "size": "small", "type": "danger", "disabled": _vm.exchangeButtonDisabled || !_vm.exchangeCode.length }, on: { "click": _vm.onClickExchangeButton } }, [_vm._v(_vm._s(_vm.exchangeButtonText))])], 1), _c('div', { ref: "list", staticClass: "van-coupon-list__list" }, [_vm._l(_vm.coupons, function (item, index) { | ||
}, expression: "exchangeCode" } }), _c('van-button', { staticClass: "van-coupon-list__exchange", attrs: { "size": "small", "type": "danger", "disabled": _vm.exchangeButtonDisabled || !_vm.exchangeCode.length }, on: { "click": _vm.onClickExchangeButton } }, [_vm._v(_vm._s(_vm.exchangeButtonText))])], 1) : _vm._e(), _c('div', { ref: "list", class: ['van-coupon-list__list', { 'van-coupon-list--with-exchange': _vm.showExchangeBar }] }, [_vm._l(_vm.coupons, function (item, index) { | ||
return _c('van-coupon-item', { key: item.id || item.name, ref: "card", refInFor: true, attrs: { "data": item, "chosen": index === _vm.chosenCoupon }, nativeOn: { "click": function click($event) { | ||
@@ -44,5 +44,9 @@ _vm.onClickCoupon(index); | ||
return _c('van-coupon-item', { key: item.id || item.name, attrs: { "disabled": "", "data": item } }); | ||
})], 2), _c('div', { staticClass: "van-coupon-list__close van-hairline--top", on: { "click": _vm.onClickNotUse } }, [_vm._v(_vm._s(_vm.closeButtonText))])], 1); | ||
}), _vm._m(0)], 2), _c('div', { staticClass: "van-coupon-list__close van-hairline--top", on: { "click": _vm.onClickNotUse } }, [_vm._v(_vm._s(_vm.closeButtonText))])], 1); | ||
}, | ||
staticRenderFns: [function () { | ||
var _vm = this;var _h = _vm.$createElement;var _c = _vm._self._c || _h;return _c('div', { staticClass: "van-coupon-list__empty" }, [_c('img', { attrs: { "src": "https://b.yzcdn.cn/v2/image/wap/trade/new_order/empty@2x.png" } }), _c('p', [_vm._v("暂无优惠券")])]); | ||
}], | ||
name: 'van-coupon-list', | ||
@@ -92,2 +96,6 @@ | ||
default: '请输入优惠码' | ||
}, | ||
showExchangeBar: { | ||
type: Boolean, | ||
default: true | ||
} | ||
@@ -94,0 +102,0 @@ }, |
require('../../vant-css/base.css'); | ||
require('../../vant-css/icon.css'); | ||
require('../../vant-css/cell.css'); | ||
require('../../vant-css/icon.css'); | ||
require('../../vant-css/field.css'); | ||
@@ -5,0 +5,0 @@ require('../../vant-css/popup.css'); |
require('../../vant-css/base.css'); | ||
require('../../vant-css/loading.css'); | ||
require('../../vant-css/button.css'); | ||
require('../../vant-css/popup.css'); | ||
require('../../vant-css/dialog.css'); |
require('../../vant-css/base.css'); | ||
require('../../vant-css/icon.css'); | ||
require('../../vant-css/cell.css'); | ||
require('../../vant-css/icon.css'); | ||
require('../../vant-css/field.css'); |
@@ -8,3 +8,3 @@ 'use strict'; | ||
_vm.$emit('click', $event); | ||
} } }); | ||
} } }, [_vm._t("default")], 2); | ||
}, | ||
@@ -11,0 +11,0 @@ |
require('../../vant-css/base.css'); | ||
require('../../vant-css/popup.css'); | ||
require('../../vant-css/swipe.css'); | ||
require('../../vant-css/image-preview.css'); |
@@ -248,3 +248,3 @@ 'use strict'; | ||
var version = '0.10.2'; | ||
var version = '0.10.3'; | ||
var components = [_actionsheet2.default, _addressEdit2.default, _addressList2.default, _area2.default, _badge2.default, _badgeGroup2.default, _button2.default, _card2.default, _cell2.default, _cellGroup2.default, _cellSwipe2.default, _checkbox2.default, _checkboxGroup2.default, _col2.default, _contactCard2.default, _contactEdit2.default, _contactList2.default, _couponCell2.default, _couponList2.default, _datetimePicker2.default, _field2.default, _goodsAction2.default, _goodsActionBigBtn2.default, _goodsActionMiniBtn2.default, _icon2.default, _loading2.default, _navBar2.default, _noticeBar2.default, _numberKeyboard2.default, _panel2.default, _passwordInput2.default, _picker2.default, _popup2.default, _progress2.default, _pullRefresh2.default, _radio2.default, _radioGroup2.default, _row2.default, _search2.default, _sku2.default, _step2.default, _stepper2.default, _steps2.default, _submitBar2.default, _swipe2.default, _swipeItem2.default, _switch2.default, _switchCell2.default, _tab2.default, _tabbar2.default, _tabbarItem2.default, _tabs2.default, _tag2.default, _treeSelect2.default, _uploader2.default]; | ||
@@ -251,0 +251,0 @@ |
@@ -15,3 +15,3 @@ 'use strict'; | ||
render: function render() { | ||
var _vm = this;var _h = _vm.$createElement;var _c = _vm._self._c || _h;return _c('div', { staticClass: "van-pull-refresh", style: _vm.style, on: { "touchstart": _vm.onTouchStart, "touchmove": _vm.onTouchMove, "touchend": _vm.onTouchEnd, "touchcalcel": _vm.onTouchEnd } }, [_c('div', { staticClass: "van-pull-refresh__head" }, [_vm.status === 'normal' ? _vm._t("normal") : _vm._e(), _vm.status === 'pulling' ? _vm._t("pulling", [_c('span', { staticClass: "van-pull-refresh__text" }, [_vm._v(_vm._s(_vm.pullingText))])]) : _vm._e(), _vm.status === 'loosing' ? _vm._t("loosing", [_c('span', { staticClass: "van-pull-refresh__text" }, [_vm._v(_vm._s(_vm.loosingText))])]) : _vm._e(), _vm.status === 'loading' ? _vm._t("loading", [_c('div', { staticClass: "van-pull-refresh__loading" }, [_c('van-loading'), _c('span', [_vm._v(_vm._s(_vm.loadingText))])], 1)]) : _vm._e()], 2), _vm._t("default")], 2); | ||
var _vm = this;var _h = _vm.$createElement;var _c = _vm._self._c || _h;return _c('div', { staticClass: "van-pull-refresh", style: _vm.style, on: { "touchstart": _vm.onTouchStart, "touchmove": _vm.onTouchMove, "touchend": _vm.onTouchEnd, "touchcancel": _vm.onTouchEnd } }, [_c('div', { staticClass: "van-pull-refresh__head" }, [_vm.status === 'normal' ? _vm._t("normal") : _vm._e(), _vm.status === 'pulling' ? _vm._t("pulling", [_c('span', { staticClass: "van-pull-refresh__text" }, [_vm._v(_vm._s(_vm.pullingText))])]) : _vm._e(), _vm.status === 'loosing' ? _vm._t("loosing", [_c('span', { staticClass: "van-pull-refresh__text" }, [_vm._v(_vm._s(_vm.loosingText))])]) : _vm._e(), _vm.status === 'loading' ? _vm._t("loading", [_c('div', { staticClass: "van-pull-refresh__loading" }, [_c('van-loading'), _c('span', [_vm._v(_vm._s(_vm.loadingText))])], 1)]) : _vm._e()], 2), _vm._t("default")], 2); | ||
}, | ||
@@ -18,0 +18,0 @@ |
@@ -104,3 +104,3 @@ 'use strict'; | ||
e.preventDefault(); | ||
this.$emit('search'); | ||
this.$emit('search', this.value); | ||
return false; | ||
@@ -107,0 +107,0 @@ }, |
require('../../vant-css/base.css'); | ||
require('../../vant-css/icon.css'); | ||
require('../../vant-css/cell.css'); | ||
require('../../vant-css/icon.css'); | ||
require('../../vant-css/field.css'); | ||
@@ -5,0 +5,0 @@ require('../../vant-css/stepper.css'); |
require('../../vant-css/base.css'); | ||
require('../../vant-css/icon.css'); | ||
require('../../vant-css/cell.css'); | ||
@@ -3,0 +4,0 @@ require('../../vant-css/loading.css'); |
@@ -15,3 +15,3 @@ 'use strict'; | ||
render: function render() { | ||
var _vm = this;var _h = _vm.$createElement;var _c = _vm._self._c || _h;return _c('div', { class: ['van-tabbar-item', { 'van-tabbar-item--active': _vm.active }], on: { "click": _vm.onClick } }, [_c('div', { class: ['van-tabbar-item__icon', { 'van-tabbar-item__icon-dot': _vm.dot }] }, [_vm._t("icon", [_vm.icon ? _c('van-icon', { attrs: { "name": _vm.icon } }) : _vm._e()])], 2), _c('div', { staticClass: "van-tabbar-item__text" }, [_vm._t("default")], 2)]); | ||
var _vm = this;var _h = _vm.$createElement;var _c = _vm._self._c || _h;return _c('div', { class: ['van-tabbar-item', { 'van-tabbar-item--active': _vm.active }], on: { "click": _vm.onClick } }, [_c('div', { class: ['van-tabbar-item__icon', { 'van-tabbar-item__icon-dot': _vm.dot }] }, [_vm._t("icon", [_vm.icon ? _c('van-icon', { attrs: { "name": _vm.icon } }, [_vm.info ? _c('div', { staticClass: "van-tabbar-item__info" }, [_vm._v(_vm._s(_vm.info))]) : _vm._e()]) : _vm._e()])], 2), _c('div', { staticClass: "van-tabbar-item__text" }, [_vm._t("default")], 2)]); | ||
}, | ||
@@ -25,3 +25,4 @@ | ||
icon: String, | ||
dot: Boolean | ||
dot: Boolean, | ||
info: String | ||
}, | ||
@@ -28,0 +29,0 @@ |
@@ -28,2 +28,3 @@ 'use strict'; | ||
type: 'text', | ||
position: 'middle', | ||
duration: 3000, | ||
@@ -30,0 +31,0 @@ forbidClick: false, |
@@ -22,3 +22,3 @@ 'use strict'; | ||
render: function render() { | ||
var _vm = this;var _h = _vm.$createElement;var _c = _vm._self._c || _h;return _c('transition', { attrs: { "name": "van-toast-fade" } }, [_c('div', { directives: [{ name: "show", rawName: "v-show", value: _vm.visible, expression: "visible" }], staticClass: "van-toast-wrapper" }, [_c('div', { class: ['van-toast', 'van-toast--' + _vm.displayStyle] }, [_vm.displayStyle === 'text' ? _c('div', { staticClass: "van-toast__text" }, [_vm._v(_vm._s(_vm.message))]) : _vm._e(), _vm.displayStyle === 'html' ? _c('div', { staticClass: "van-toast__text", domProps: { "innerHTML": _vm._s(_vm.message) } }) : _vm._e(), _vm.displayStyle === 'default' ? [_vm.type === 'loading' ? _c('van-loading', { attrs: { "color": "white" } }) : _c('van-icon', { staticClass: "van-toast__icon", attrs: { "name": _vm.type } }), _vm.message ? _c('div', { staticClass: "van-toast__text" }, [_vm._v(_vm._s(_vm.message))]) : _vm._e()] : _vm._e()], 2), _vm.forbidClick ? _c('div', { staticClass: "van-toast__overlay" }) : _vm._e()])]); | ||
var _vm = this;var _h = _vm.$createElement;var _c = _vm._self._c || _h;return _c('transition', { attrs: { "name": "van-toast-fade" } }, [_c('div', { directives: [{ name: "show", rawName: "v-show", value: _vm.visible, expression: "visible" }], staticClass: "van-toast-wrapper" }, [_c('div', { class: ['van-toast', "van-toast--" + _vm.displayStyle, "van-toast--" + _vm.position] }, [_vm.displayStyle === 'text' ? _c('div', { staticClass: "van-toast__text" }, [_vm._v(_vm._s(_vm.message))]) : _vm._e(), _vm.displayStyle === 'html' ? _c('div', { staticClass: "van-toast__text", domProps: { "innerHTML": _vm._s(_vm.message) } }) : _vm._e(), _vm.displayStyle === 'default' ? [_vm.type === 'loading' ? _c('van-loading', { attrs: { "color": "white" } }) : _c('van-icon', { staticClass: "van-toast__icon", attrs: { "name": _vm.type } }), _vm.message ? _c('div', { staticClass: "van-toast__text" }, [_vm._v(_vm._s(_vm.message))]) : _vm._e()] : _vm._e()], 2), _vm.forbidClick ? _c('div', { staticClass: "van-toast__overlay" }) : _vm._e()])]); | ||
}, | ||
@@ -45,2 +45,6 @@ | ||
default: false | ||
}, | ||
position: { | ||
type: String, | ||
default: 'middle' | ||
} | ||
@@ -47,0 +51,0 @@ }, |
{ | ||
"name": "vant", | ||
"version": "0.10.2", | ||
"version": "0.10.3", | ||
"description": "有赞vue wap组件库", | ||
@@ -53,3 +53,3 @@ "main": "lib/vant.js", | ||
"devDependencies": { | ||
"autoprefixer": "^7.1.3", | ||
"autoprefixer": "^7.1.6", | ||
"avoriaz": "2.0.0", | ||
@@ -116,3 +116,3 @@ "babel-cli": "^6.26.0", | ||
"vue-router": "^3.0.1", | ||
"vue-sfc-compiler": "^0.0.3", | ||
"vue-sfc-compiler": "^0.0.4", | ||
"vue-style-loader": "^3.0.0", | ||
@@ -124,4 +124,4 @@ "vue-template-compiler": "^2.5.2", | ||
"webpack-merge": "^4.1.0", | ||
"zan-doc": "^0.3.6" | ||
"zan-doc": "^0.3.9" | ||
} | ||
} |
@@ -62,3 +62,3 @@ import Actionsheet from './actionsheet'; | ||
const version = '0.10.2'; | ||
const version = '0.10.3'; | ||
const components = [ | ||
@@ -65,0 +65,0 @@ Actionsheet, |
@@ -9,2 +9,3 @@ import Vue from 'vue'; | ||
type: 'text', | ||
position: 'middle', | ||
duration: 3000, | ||
@@ -11,0 +12,0 @@ forbidClick: false, |
@@ -10,6 +10,22 @@ <p> | ||
[![Build Status](https://travis-ci.org/youzan/vant.svg?branch=master)](https://travis-ci.org/youzan/vant) [![Coverage Status](https://img.shields.io/codecov/c/github/youzan/vant/dev.svg)](https://codecov.io/github/youzan/vant?branch=dev) [![npm version](https://img.shields.io/npm/v/vant.svg?style=flat)](https://www.npmjs.com/package/vant) [![downloads](https://img.shields.io/npm/dt/vant.svg)](https://www.npmjs.com/package/vant) | ||
[![Build Status](https://travis-ci.org/youzan/vant.svg?branch=master)](https://travis-ci.org/youzan/vant) | ||
[![downloads](https://img.shields.io/npm/dt/vant.svg)](https://www.npmjs.com/package/vant) | ||
[![Coverage Status](https://img.shields.io/codecov/c/github/youzan/vant/dev.svg)](https://codecov.io/github/youzan/vant?branch=dev) | ||
[![npm version](https://img.shields.io/npm/v/vant.svg?style=flat)](https://www.npmjs.com/package/vant) | ||
[![license](https://img.shields.io/npm/l/vant.svg)](https://www.npmjs.com/package/vant) | ||
[访问中文版](./README.zh-CN.md) | ||
## Features | ||
- Components come from wechat mall business of [YouZan](https://youzan.com) | ||
- Extensive documentation and demos. | ||
- Support [babel-plugin-import](https://github.com/ant-design/babel-plugin-import) | ||
- Unit test coverage over 90% | ||
- Not only have the basic components, but also have a lot of business components | ||
<p align="center"> | ||
<img alt="feature demo" src="https://img.yzcdn.cn/public_files/2017/09/21/34974ceef63f380373bf3d68ec7907f8.gif"> | ||
</p > | ||
## Install | ||
@@ -22,10 +38,68 @@ | ||
## Quickstart | ||
See [Quickstart](https://www.youzanyun.com/zanui/vue#/en-US/component/quickstart). | ||
#### 1. Use [babel-plugin-import](https://github.com/ant-design/babel-plugin-import) (Recommended) | ||
```bash | ||
# Install babel-plugin-import | ||
npm i babel-plugin-import -D | ||
``` | ||
```js | ||
// set babel config in .babelrc or babel-loader | ||
{ | ||
"plugins": [ | ||
["import", { "libraryName": "vant", "style": true }] | ||
] | ||
} | ||
``` | ||
Then you can import components from vant, equivalent to import manually below. | ||
```js | ||
import { Button } from 'vant'; | ||
``` | ||
#### 2. Manually import | ||
```js | ||
import { Button } from 'vant/lib/button'; | ||
import 'vant/lib/vant-css/base.css'; | ||
import 'vant/lib/vant-css/button.css'; | ||
``` | ||
## How to contribute | ||
#### 3. Import all components | ||
```js | ||
import Vue from 'vue'; | ||
import Vant from 'vant'; | ||
import 'vant/lib/vant-css/index.css'; | ||
Vue.use(Vant); | ||
``` | ||
### CDN | ||
```html | ||
<!-- import style --> | ||
<link rel="stylesheet" href="https://unpkg.com/vant/lib/vant-css/index.css" /> | ||
<!-- import script --><script></script> | ||
<script src="https://unpkg.com/vant/lib/vant.min.js"></script> | ||
``` | ||
See more in [Quickstart](https://www.youzanyun.com/zanui/vue#/en-US/component/quickstart). | ||
## Contribution | ||
Please make sure to read the [Contributing Guide](./.github/CONTRIBUTING.md) before making a pull request. | ||
## Browser Support | ||
Modern browsers and Android 4.0+, iOS 6+. | ||
## Links | ||
- [Documentation](https://www.youzanyun.com/zanui/vue) | ||
- [Change log](https://www.youzanyun.com/zanui/vue#/en-US/component/changelog) | ||
- [React UI Zent](https://www.youzanyun.com/zanui/react) | ||
- [vue-cli-template-vant](https://github.com/youzan/vue-cli-template-vant) | ||
- [vant-demo](https://github.com/chenjiahan/vant-demo) | ||
## Preview | ||
You can scan the following QR code to access the demo: | ||
@@ -32,0 +106,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
20215
110
1264014
400