mirror of
https://gitee.com/vant-contrib/vant-weapp.git
synced 2025-04-06 03:58:05 +08:00
docs: update README
This commit is contained in:
parent
e95a3013b1
commit
98d9e352c2
@ -22,9 +22,9 @@
|
|||||||
|
|
||||||
### 介绍
|
### 介绍
|
||||||
|
|
||||||
Vant 是**有赞前端团队**开源的移动端组件库,于 2017 年开源,已持续维护 4 年时间。Vant 对内承载了有赞所有核心业务,对外服务十多万开发者,是业界主流的移动端组件库之一。
|
Vant 是一个**轻量、可靠的移动端组件库**,于 2017 年开源。
|
||||||
|
|
||||||
目前 Vant 官方提供了 [Vue 2 版本](https://vant-contrib.gitee.io/vant)、[Vue 3 版本](https://vant-contrib.gitee.io/vant/v3)和[微信小程序版本](http://vant-contrib.gitee.io/vant-weapp),并由社区团队维护 [React 版本](https://github.com/mxdi9i7/vant-react)和[支付宝小程序版本](https://github.com/ant-move/Vant-Aliapp)。
|
目前 Vant 官方提供了 [Vue 2 版本](https://vant-contrib.gitee.io/vant/v2)、[Vue 3 版本](https://vant-contrib.gitee.io/vant)和[微信小程序版本](http://vant-contrib.gitee.io/vant-weapp),并由社区团队维护 [React 版本](https://github.com/3lang3/react-vant)和[支付宝小程序版本](https://github.com/ant-move/Vant-Aliapp)。
|
||||||
|
|
||||||
## 预览
|
## 预览
|
||||||
|
|
||||||
|
@ -8,9 +8,9 @@
|
|||||||
|
|
||||||
### 介绍
|
### 介绍
|
||||||
|
|
||||||
Vant 是**有赞前端团队**开源的移动端组件库,于 2017 年开源,已持续维护 4 年时间。Vant 对内承载了有赞所有核心业务,对外服务十多万开发者,是业界主流的移动端组件库之一。
|
Vant 是一个**轻量、可靠的移动端组件库**,于 2017 年开源。
|
||||||
|
|
||||||
目前 Vant 官方提供了 [Vue 2 版本](https://vant-contrib.gitee.io/vant)、[Vue 3 版本](https://vant-contrib.gitee.io/vant/v3)和[微信小程序版本](http://vant-contrib.gitee.io/vant-weapp),并由社区团队维护 [React 版本](https://github.com/mxdi9i7/vant-react)和[支付宝小程序版本](https://github.com/ant-move/Vant-Aliapp)。
|
目前 Vant 官方提供了 [Vue 2 版本](https://vant-contrib.gitee.io/vant/v2)、[Vue 3 版本](https://vant-contrib.gitee.io/vant)和[微信小程序版本](http://vant-contrib.gitee.io/vant-weapp),并由社区团队维护 [React 版本](https://github.com/3lang3/react-vant)和[支付宝小程序版本](https://github.com/ant-move/Vant-Aliapp)。
|
||||||
|
|
||||||
### 预览
|
### 预览
|
||||||
|
|
||||||
|
@ -23,14 +23,14 @@
|
|||||||
|
|
||||||
```html
|
```html
|
||||||
<van-collapse value="{{ activeNames }}" bind:change="onChange">
|
<van-collapse value="{{ activeNames }}" bind:change="onChange">
|
||||||
<van-collapse-item title="有赞微商城" name="1">
|
<van-collapse-item title="标题1" name="1">
|
||||||
提供多样店铺模板,快速搭建网上商城
|
代码是写出来给人看的,附带能在机器上运行
|
||||||
</van-collapse-item>
|
</van-collapse-item>
|
||||||
<van-collapse-item title="有赞零售" name="2">
|
<van-collapse-item title="标题2" name="2">
|
||||||
网店吸粉获客、会员分层营销、一机多种收款,告别经营低效和客户流失
|
代码是写出来给人看的,附带能在机器上运行
|
||||||
</van-collapse-item>
|
</van-collapse-item>
|
||||||
<van-collapse-item title="有赞美业" name="3" disabled>
|
<van-collapse-item title="标题3" name="3" disabled>
|
||||||
线上拓客,随时预约,贴心顺手的开单收银
|
代码是写出来给人看的,附带能在机器上运行
|
||||||
</van-collapse-item>
|
</van-collapse-item>
|
||||||
</van-collapse>
|
</van-collapse>
|
||||||
```
|
```
|
||||||
@ -54,14 +54,14 @@ Page({
|
|||||||
|
|
||||||
```html
|
```html
|
||||||
<van-collapse accordion value="{{ activeName }}" bind:change="onChange">
|
<van-collapse accordion value="{{ activeName }}" bind:change="onChange">
|
||||||
<van-collapse-item title="有赞微商城" name="1">
|
<van-collapse-item title="标题1" name="1">
|
||||||
提供多样店铺模板,快速搭建网上商城
|
代码是写出来给人看的,附带能在机器上运行
|
||||||
</van-collapse-item>
|
</van-collapse-item>
|
||||||
<van-collapse-item title="有赞零售" name="2">
|
<van-collapse-item title="标题2" name="2">
|
||||||
网店吸粉获客、会员分层营销、一机多种收款,告别经营低效和客户流失
|
代码是写出来给人看的,附带能在机器上运行
|
||||||
</van-collapse-item>
|
</van-collapse-item>
|
||||||
<van-collapse-item title="有赞美业" name="3">
|
<van-collapse-item title="标题3" name="3">
|
||||||
线上拓客,随时预约,贴心顺手的开单收银
|
代码是写出来给人看的,附带能在机器上运行
|
||||||
</van-collapse-item>
|
</van-collapse-item>
|
||||||
</van-collapse>
|
</van-collapse>
|
||||||
```
|
```
|
||||||
@ -90,14 +90,14 @@ Page({
|
|||||||
bind:open="onOpen"
|
bind:open="onOpen"
|
||||||
bind:close="onClose"
|
bind:close="onClose"
|
||||||
>
|
>
|
||||||
<van-collapse-item title="有赞微商城" name="1">
|
<van-collapse-item title="标题1" name="1">
|
||||||
提供多样店铺模板,快速搭建网上商城
|
代码是写出来给人看的,附带能在机器上运行
|
||||||
</van-collapse-item>
|
</van-collapse-item>
|
||||||
<van-collapse-item title="有赞零售" name="2">
|
<van-collapse-item title="标题2" name="2">
|
||||||
网店吸粉获客、会员分层营销、一机多种收款,告别经营低效和客户流失
|
代码是写出来给人看的,附带能在机器上运行
|
||||||
</van-collapse-item>
|
</van-collapse-item>
|
||||||
<van-collapse-item title="有赞美业" name="3">
|
<van-collapse-item title="标题3" name="3">
|
||||||
线上拓客,随时预约,贴心顺手的开单收银
|
代码是写出来给人看的,附带能在机器上运行
|
||||||
</van-collapse-item>
|
</van-collapse-item>
|
||||||
</van-collapse>
|
</van-collapse>
|
||||||
```
|
```
|
||||||
@ -126,11 +126,11 @@ Page({
|
|||||||
```html
|
```html
|
||||||
<van-collapse value="{{ activeNames }}" bind:change="onChange">
|
<van-collapse value="{{ activeNames }}" bind:change="onChange">
|
||||||
<van-collapse-item name="1">
|
<van-collapse-item name="1">
|
||||||
<view slot="title">有赞微商城<van-icon name="question-o" /></view>
|
<view slot="title">标题1<van-icon name="question-o" /></view>
|
||||||
提供多样店铺模板,快速搭建网上商城
|
代码是写出来给人看的,附带能在机器上运行
|
||||||
</van-collapse-item>
|
</van-collapse-item>
|
||||||
<van-collapse-item title="有赞零售" name="2" icon="shop-o">
|
<van-collapse-item title="标题2" name="2" icon="shop-o">
|
||||||
网店吸粉获客、会员分层营销、一机多种收款,告别经营低效和客户流失
|
代码是写出来给人看的,附带能在机器上运行
|
||||||
</van-collapse-item>
|
</van-collapse-item>
|
||||||
</van-collapse>
|
</van-collapse>
|
||||||
```
|
```
|
||||||
|
@ -7,13 +7,12 @@ VantComponent({
|
|||||||
active2: 0,
|
active2: 0,
|
||||||
active3: [],
|
active3: [],
|
||||||
active4: [],
|
active4: [],
|
||||||
title1: '有赞微商城',
|
title1: '标题1',
|
||||||
title2: '有赞零售',
|
title2: '标题2',
|
||||||
title3: '有赞美业',
|
title3: '标题3',
|
||||||
content1: '提供多样店铺模板,快速搭建网上商城',
|
content1: '代码是写出来给人看的,附带能在机器上运行',
|
||||||
content2:
|
content2: '代码是写出来给人看的,附带能在机器上运行',
|
||||||
'网店吸粉获客、会员分层营销、一机多种收款,告别经营低效和客户流失',
|
content3: '代码是写出来给人看的,附带能在机器上运行',
|
||||||
content3: '线上拓客,随时预约,贴心顺手的开单收银',
|
|
||||||
},
|
},
|
||||||
|
|
||||||
methods: {
|
methods: {
|
||||||
|
@ -41,7 +41,7 @@ exports[`should render demo and match snapshot 1`] = `
|
|||||||
class="van-cell__title title-class"
|
class="van-cell__title title-class"
|
||||||
style=""
|
style=""
|
||||||
>
|
>
|
||||||
有赞微商城
|
标题1
|
||||||
</wx-view>
|
</wx-view>
|
||||||
<wx-view
|
<wx-view
|
||||||
class="van-cell__value value-class"
|
class="van-cell__value value-class"
|
||||||
@ -66,7 +66,7 @@ exports[`should render demo and match snapshot 1`] = `
|
|||||||
<wx-view
|
<wx-view
|
||||||
class="van-collapse-item__content content-class"
|
class="van-collapse-item__content content-class"
|
||||||
>
|
>
|
||||||
提供多样店铺模板,快速搭建网上商城
|
代码是写出来给人看的,附带能在机器上运行
|
||||||
</wx-view>
|
</wx-view>
|
||||||
</wx-view>
|
</wx-view>
|
||||||
</wx-view>
|
</wx-view>
|
||||||
@ -94,7 +94,7 @@ exports[`should render demo and match snapshot 1`] = `
|
|||||||
class="van-cell__title title-class"
|
class="van-cell__title title-class"
|
||||||
style=""
|
style=""
|
||||||
>
|
>
|
||||||
有赞零售
|
标题2
|
||||||
</wx-view>
|
</wx-view>
|
||||||
<wx-view
|
<wx-view
|
||||||
class="van-cell__value value-class"
|
class="van-cell__value value-class"
|
||||||
@ -119,7 +119,7 @@ exports[`should render demo and match snapshot 1`] = `
|
|||||||
<wx-view
|
<wx-view
|
||||||
class="van-collapse-item__content content-class"
|
class="van-collapse-item__content content-class"
|
||||||
>
|
>
|
||||||
网店吸粉获客、会员分层营销、一机多种收款,告别经营低效和客户流失
|
代码是写出来给人看的,附带能在机器上运行
|
||||||
</wx-view>
|
</wx-view>
|
||||||
</wx-view>
|
</wx-view>
|
||||||
</wx-view>
|
</wx-view>
|
||||||
@ -147,7 +147,7 @@ exports[`should render demo and match snapshot 1`] = `
|
|||||||
class="van-cell__title title-class"
|
class="van-cell__title title-class"
|
||||||
style=""
|
style=""
|
||||||
>
|
>
|
||||||
有赞美业
|
标题3
|
||||||
</wx-view>
|
</wx-view>
|
||||||
<wx-view
|
<wx-view
|
||||||
class="van-cell__value value-class"
|
class="van-cell__value value-class"
|
||||||
@ -172,7 +172,7 @@ exports[`should render demo and match snapshot 1`] = `
|
|||||||
<wx-view
|
<wx-view
|
||||||
class="van-collapse-item__content content-class"
|
class="van-collapse-item__content content-class"
|
||||||
>
|
>
|
||||||
线上拓客,随时预约,贴心顺手的开单收银
|
代码是写出来给人看的,附带能在机器上运行
|
||||||
</wx-view>
|
</wx-view>
|
||||||
</wx-view>
|
</wx-view>
|
||||||
</wx-view>
|
</wx-view>
|
||||||
@ -220,7 +220,7 @@ exports[`should render demo and match snapshot 1`] = `
|
|||||||
class="van-cell__title title-class"
|
class="van-cell__title title-class"
|
||||||
style=""
|
style=""
|
||||||
>
|
>
|
||||||
有赞微商城
|
标题1
|
||||||
</wx-view>
|
</wx-view>
|
||||||
<wx-view
|
<wx-view
|
||||||
class="van-cell__value value-class"
|
class="van-cell__value value-class"
|
||||||
@ -245,7 +245,7 @@ exports[`should render demo and match snapshot 1`] = `
|
|||||||
<wx-view
|
<wx-view
|
||||||
class="van-collapse-item__content content-class"
|
class="van-collapse-item__content content-class"
|
||||||
>
|
>
|
||||||
提供多样店铺模板,快速搭建网上商城
|
代码是写出来给人看的,附带能在机器上运行
|
||||||
</wx-view>
|
</wx-view>
|
||||||
</wx-view>
|
</wx-view>
|
||||||
</wx-view>
|
</wx-view>
|
||||||
@ -273,7 +273,7 @@ exports[`should render demo and match snapshot 1`] = `
|
|||||||
class="van-cell__title title-class"
|
class="van-cell__title title-class"
|
||||||
style=""
|
style=""
|
||||||
>
|
>
|
||||||
有赞零售
|
标题2
|
||||||
</wx-view>
|
</wx-view>
|
||||||
<wx-view
|
<wx-view
|
||||||
class="van-cell__value value-class"
|
class="van-cell__value value-class"
|
||||||
@ -298,7 +298,7 @@ exports[`should render demo and match snapshot 1`] = `
|
|||||||
<wx-view
|
<wx-view
|
||||||
class="van-collapse-item__content content-class"
|
class="van-collapse-item__content content-class"
|
||||||
>
|
>
|
||||||
网店吸粉获客、会员分层营销、一机多种收款,告别经营低效和客户流失
|
代码是写出来给人看的,附带能在机器上运行
|
||||||
</wx-view>
|
</wx-view>
|
||||||
</wx-view>
|
</wx-view>
|
||||||
</wx-view>
|
</wx-view>
|
||||||
@ -326,7 +326,7 @@ exports[`should render demo and match snapshot 1`] = `
|
|||||||
class="van-cell__title title-class"
|
class="van-cell__title title-class"
|
||||||
style=""
|
style=""
|
||||||
>
|
>
|
||||||
有赞美业
|
标题3
|
||||||
</wx-view>
|
</wx-view>
|
||||||
<wx-view
|
<wx-view
|
||||||
class="van-cell__value value-class"
|
class="van-cell__value value-class"
|
||||||
@ -351,7 +351,7 @@ exports[`should render demo and match snapshot 1`] = `
|
|||||||
<wx-view
|
<wx-view
|
||||||
class="van-collapse-item__content content-class"
|
class="van-collapse-item__content content-class"
|
||||||
>
|
>
|
||||||
线上拓客,随时预约,贴心顺手的开单收银
|
代码是写出来给人看的,附带能在机器上运行
|
||||||
</wx-view>
|
</wx-view>
|
||||||
</wx-view>
|
</wx-view>
|
||||||
</wx-view>
|
</wx-view>
|
||||||
@ -401,7 +401,7 @@ exports[`should render demo and match snapshot 1`] = `
|
|||||||
class="van-cell__title title-class"
|
class="van-cell__title title-class"
|
||||||
style=""
|
style=""
|
||||||
>
|
>
|
||||||
有赞微商城
|
标题1
|
||||||
</wx-view>
|
</wx-view>
|
||||||
<wx-view
|
<wx-view
|
||||||
class="van-cell__value value-class"
|
class="van-cell__value value-class"
|
||||||
@ -426,7 +426,7 @@ exports[`should render demo and match snapshot 1`] = `
|
|||||||
<wx-view
|
<wx-view
|
||||||
class="van-collapse-item__content content-class"
|
class="van-collapse-item__content content-class"
|
||||||
>
|
>
|
||||||
提供多样店铺模板,快速搭建网上商城
|
代码是写出来给人看的,附带能在机器上运行
|
||||||
</wx-view>
|
</wx-view>
|
||||||
</wx-view>
|
</wx-view>
|
||||||
</wx-view>
|
</wx-view>
|
||||||
@ -454,7 +454,7 @@ exports[`should render demo and match snapshot 1`] = `
|
|||||||
class="van-cell__title title-class"
|
class="van-cell__title title-class"
|
||||||
style=""
|
style=""
|
||||||
>
|
>
|
||||||
有赞零售
|
标题2
|
||||||
</wx-view>
|
</wx-view>
|
||||||
<wx-view
|
<wx-view
|
||||||
class="van-cell__value value-class"
|
class="van-cell__value value-class"
|
||||||
@ -479,7 +479,7 @@ exports[`should render demo and match snapshot 1`] = `
|
|||||||
<wx-view
|
<wx-view
|
||||||
class="van-collapse-item__content content-class"
|
class="van-collapse-item__content content-class"
|
||||||
>
|
>
|
||||||
网店吸粉获客、会员分层营销、一机多种收款,告别经营低效和客户流失
|
代码是写出来给人看的,附带能在机器上运行
|
||||||
</wx-view>
|
</wx-view>
|
||||||
</wx-view>
|
</wx-view>
|
||||||
</wx-view>
|
</wx-view>
|
||||||
@ -507,7 +507,7 @@ exports[`should render demo and match snapshot 1`] = `
|
|||||||
class="van-cell__title title-class"
|
class="van-cell__title title-class"
|
||||||
style=""
|
style=""
|
||||||
>
|
>
|
||||||
有赞美业
|
标题3
|
||||||
</wx-view>
|
</wx-view>
|
||||||
<wx-view
|
<wx-view
|
||||||
class="van-cell__value value-class"
|
class="van-cell__value value-class"
|
||||||
@ -532,7 +532,7 @@ exports[`should render demo and match snapshot 1`] = `
|
|||||||
<wx-view
|
<wx-view
|
||||||
class="van-collapse-item__content content-class"
|
class="van-collapse-item__content content-class"
|
||||||
>
|
>
|
||||||
线上拓客,随时预约,贴心顺手的开单收银
|
代码是写出来给人看的,附带能在机器上运行
|
||||||
</wx-view>
|
</wx-view>
|
||||||
</wx-view>
|
</wx-view>
|
||||||
</wx-view>
|
</wx-view>
|
||||||
@ -584,7 +584,7 @@ exports[`should render demo and match snapshot 1`] = `
|
|||||||
slot="title"
|
slot="title"
|
||||||
>
|
>
|
||||||
|
|
||||||
有赞微商城
|
标题1
|
||||||
|
|
||||||
<van-icon
|
<van-icon
|
||||||
customClass="van-icon-question"
|
customClass="van-icon-question"
|
||||||
@ -616,7 +616,7 @@ exports[`should render demo and match snapshot 1`] = `
|
|||||||
class="van-collapse-item__content content-class"
|
class="van-collapse-item__content content-class"
|
||||||
>
|
>
|
||||||
|
|
||||||
提供多样店铺模板,快速搭建网上商城
|
代码是写出来给人看的,附带能在机器上运行
|
||||||
|
|
||||||
</wx-view>
|
</wx-view>
|
||||||
</wx-view>
|
</wx-view>
|
||||||
@ -655,7 +655,7 @@ exports[`should render demo and match snapshot 1`] = `
|
|||||||
class="van-cell__title title-class"
|
class="van-cell__title title-class"
|
||||||
style=""
|
style=""
|
||||||
>
|
>
|
||||||
有赞零售
|
标题2
|
||||||
</wx-view>
|
</wx-view>
|
||||||
<wx-view
|
<wx-view
|
||||||
class="van-cell__value value-class"
|
class="van-cell__value value-class"
|
||||||
@ -683,7 +683,7 @@ exports[`should render demo and match snapshot 1`] = `
|
|||||||
class="van-collapse-item__content content-class"
|
class="van-collapse-item__content content-class"
|
||||||
>
|
>
|
||||||
|
|
||||||
网店吸粉获客、会员分层营销、一机多种收款,告别经营低效和客户流失
|
代码是写出来给人看的,附带能在机器上运行
|
||||||
|
|
||||||
</wx-view>
|
</wx-view>
|
||||||
</wx-view>
|
</wx-view>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user