<p align="center">
<img alt="logo" src="https://img.yzcdn.cn/vant/logo.png" width="120" style="margin-bottom: 10px;">
</p>
<h3 align="center">轻量、可靠的小程序 UI 组件库</h3>
<p align="center">
<img src="https://img.shields.io/npm/v/@vant/weapp.svg?style=for-the-badge" alt="npm version" />
<img src="https://img.shields.io/badge/License-MIT-blue.svg?style=for-the-badge&color=#4fc08d" />
<img src="https://img.shields.io/npm/dt/@vant/weapp.svg?style=for-the-badge&color=#4fc08d" alt="downloads" />
<img src="https://img.shields.io/npm/dm/@vant/weapp.svg?style=for-the-badge&color=#4fc08d" alt="downloads" />
</p>
<p align="center">
🔥 <a href="https://vant-contrib.gitee.io/vant-weapp">文档网站(国内)</a>
🌈 <a href="https://youzan.github.io/vant-weapp">文档网站(GitHub)</a>
🚀 <a href="https://github.com/vant-ui/vant" target="_blank">Vue 版</a>
</p>
---
### 介绍
Vant 是一个**轻量、可靠的移动端组件库**,于 2017 年开源。
目前 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)。
## 预览
扫描下方小程序二维码,体验组件库示例。注意:因微信审核机制限制,目前示例小程序不是最新版本,可以 clone 代码到本地开发工具预览
<img src="https://img.yzcdn.cn/vant-weapp/qrcode-201808101114.jpg" width="200" height="200" style="margin-top: 10px;" >
## 使用之前
使用 Vant Weapp 前,请确保你已经学习过微信官方的 [小程序简易教程](https://developers.weixin.qq.com/miniprogram/dev/framework/) 和 [自定义组件介绍](https://developers.weixin.qq.com/miniprogram/dev/framework/custom-component/)。
## 安装
### 方式一. 通过 npm 安装 (推荐)
小程序已经支持使用 npm 安装第三方包,详见 [npm 支持](https://developers.weixin.qq.com/miniprogram/dev/devtools/npm.html?search-key=npm)
```bash
# 通过 npm 安装
npm i @vant/weapp -S --production
# 通过 yarn 安装
yarn add @vant/weapp --production
# 安装 0.x 版本
npm i vant-weapp -S --production
```
### 方式二. 下载代码
直接通过 git 下载 Vant Weapp 源代码,并将 `dist` 目录拷贝到自己的项目中。
```bash
git clone https://github.com/youzan/vant-weapp.git
```
## 使用组件
以按钮组件为例,只需要在 json 文件中引入按钮对应的自定义组件即可
```json
{
"usingComponents": {
"van-button": "/path/to/vant-weapp/dist/button/index"
}
}
```
接着就可以在 wxml 中直接使用组件
```html
<van-button type="primary">按钮</van-button>
```
## 在开发者工具中预览
```bash
# 安装项目依赖
npm install
# 执行组件编译
npm run dev
```
打开[微信开发者工具](https://developers.weixin.qq.com/miniprogram/dev/devtools/download.html),把`vant-weapp/example`目录添加进去就可以预览示例了。
PS:关于 `van-area` Area 省市区选择组件,地区数据初始化可以直接在云开发环境中导入`vant-weapp/example/database_area.JSON` 文件使用。
## 基础库版本
Vant Weapp 最低支持到小程序基础库 2.6.5 版本。
## 链接
- [意见反馈](https://github.com/youzan/vant-weapp/issues)
- [设计资源](https://vant-contrib.gitee.io/vant/#/zh-CN/design)
- [更新日志](https://vant-contrib.gitee.io/vant-weapp/#/changelog)
- [官方示例](https://github.com/vant-ui/vant-demo)
## 核心团队
以下是 Vant 和 Vant Weapp 的核心贡献者们:
| [![chenjiahan](https://avatars.githubusercontent.com/u/7237365?s=80&v=4)](https://github.com/chenjiahan/) | [![cookfront](https://avatars.githubusercontent.com/u/4829465?s=80&v=4)](https://github.com/cookfront/) | [![w91](https://avatars.githubusercontent.com/u/2599455?s=80&v=4)](https://github.com/w91/) | [![pangxie1991](https://avatars.githubusercontent.com/u/5961240?s=80&v=4)](https://github.com/pangxie1991/) | [![rex-zsd](https://avatars.githubusercontent.com/u/8767877?s=80&v=4)](https://github.com/rex-zsd/) | [![nemo-shen](https://avatars.githubusercontent.com/u/13480805?s=80&v=4)](https://github.com/nemo-shen/) |
| :-: | :-: | :-: | :-: | :-: | :-: |
| [chenjiahan](https://github.com/chenjiahan/) | [cookfront](https://github.com/cookfront/) | [wangnaiyi](https://github.com/w91/) | [pangxie](https://github.com/pangxie1991/) | [rex-zsd](https://github.com/rex-zsd/) | [nemo-shen](https://github.com/nemo-shen/) |
| [![Lindysen](https://avatars.githubusercontent.com/u/33708359?s=80&v=4)](https://github.com/Lindysen/) | [![JakeLaoyu](https://avatars.githubusercontent.com/u/16181940?s=80&v=4)](https://github.com/JakeLaoyu/) | [![landluck](https://avatars.githubusercontent.com/u/27060081?s=80&v=4)](https://github.com/landluck/) | [![wjw-gavin](https://avatars.githubusercontent.com/u/19986739?s=80&v=4)](https://github.com/wjw-gavin/) | [![inottn](https://avatars.githubusercontent.com/u/18509404?s=80&v=4)](https://github.com/inottn/) | [![zhousg](https://avatars.githubusercontent.com/u/15833290?s=80&v=4)](https://github.com/zhousg/) |
| :-: | :-: | :-: | :-: | :-: | :-: |
| [Lindysen](https://github.com/Lindysen/) | [JakeLaoyu](https://github.com/JakeLaoyu/) | [landluck](https://github.com/landluck/) | [wjw-gavin](https://github.com/wjw-gavin/) | [inottn](https://github.com/inottn/) | [zhousg](https://github.com/zhousg/) |
## 贡献者们
感谢以下小伙伴们为 Vant Weapp 发展做出的贡献:
<a href="https://github.com/youzan/vant-weapp/graphs/contributors">
<img src="https://opencollective.com/vant-weapp/contributors.svg?width=890&button=false" alt="contributors">
</a>
## 开源协议
本项目基于 [MIT](https://zh.wikipedia.org/wiki/MIT%E8%A8%B1%E5%8F%AF%E8%AD%89)协议,请自由地享受和参与开源。
没有合适的资源?快使用搜索试试~ 我知道了~
远程问诊客服端,患者可以通过联系客服去进行退款和相关处理
共2000个文件
js:309个
json:230个
ts:204个
需积分: 5 0 下载量 43 浏览量
2024-05-14
14:31:56
上传
评论
收藏 2.52MB RAR 举报
温馨提示
远程问诊客服端,患者可以通过联系客服去进行退款和相关处理
资源推荐
资源详情
资源评论
收起资源包目录
远程问诊客服端,患者可以通过联系客服去进行退款和相关处理 (2000个子文件)
004babce81f73f2a0572eab902521c502e1a89 1KB
0075193eda10b126bcd8ba8d812cfe813fb113 183B
0089cd5dc6395ff8355fa52550af2427c8dbe7 105B
009c082ebd48be7a23102f6e4da49dcf5c638f 1KB
00f021be988ccbe5251e88750701983a6d7a7a 163B
01173a3949b21d72a00be5761d5e2e0deed80f 50B
0124c9f3afb33375c414db1e7101e47d35a0f0 6KB
01366872a6dde4cce793540f213d40dd153b35 333B
0184f7632d0fcbdca8b7f548acca021d65fcdc 432B
0213bd2f6fa975870daae61bbf55c4f8b8821a 95B
02ccae4cb34c802099dedf9d34a8733be4bbf3 84B
02f8e8ac7b20d636f0bb2b37a4dab9f57ef1e0 750B
035746a5acd5ef6f768b137f3e8369375fffd2 2KB
03dbd0c775944efe67268824b58b7a42abe9f9 55B
04ef01f473eca2825d6c46c291001a60932215 214B
04fcd23b16431b87d8667519436b012a88f55c 187B
052ed3bc278a4c758efb058c8ec47975d70f4e 500B
05d84f2465580372e64d8179ad2e1e99893e8a 188B
061aae88982cb67883df95a60b565fd59b335b 219B
06c5048acd40f797098314747f67ef4e5107db 97B
06df4cc2e783824e56d088f248b078fe9ff460 612B
06e1677070434f2bd7d07cffb36e1365d5e476 116B
06f7679347ca40c63db82a45dd76e49bca367d 383B
0760f71f60798693ca32cd3747dab2b110f8c1 144B
0772714e62a96679aa19d574564306ba8ab4d7 365B
077f5dafe4ea3780999933518963b8b6551d8d 85B
08b95fa5d5588f23b97213122bd1fd17c734e0 163B
0902a79b1cbc40e94094fca163a54467ee1b11 299B
0906cd22a94b699d3a091ce06b1f76f4e8a05d 188B
092b6474796e4cb5c48b75a9b43e62344857cc 2KB
09420068ea7e2247c8b52014a8c3a100dabdc9 187B
095909cebb401c0538c4391ff6940ceda12f69 1KB
0989a045d8e211b5dea1c3ff63a6a762c897cd 201B
0a588702da8887bbe5f8261aea5764251d14ff 100B
0a777a82cc1e3d9c69fcfacd426087d86557cd 188B
0afeffacf1289631738c2c2562b616fde71b62 3KB
0b12ce100b69db5399694d75c1eb6bc0e08b9d 187B
0b494192ece080dbe2f3a166258d1426b7d7ed 187B
0b71e830bea88108ff06f9c53857692391b3df 158B
0c22ee996b5d4aa68d2406a21200f0c59840bb 13KB
0cbae9d89743a1dd7b06e97e34db84744199dd 559B
0cf64c2ce4b0091a2ef14b9687a3da9a34b447 186B
0d266be9f5309cecd8b82e83ed9fcfd681d3d9 2KB
0d28e06673497a619ffa956225c4cd3f467285 55B
0dc667a882e5aaa1d38768fd0cc9e7021c6360 14KB
0e4f4295092daaf41516e13ab4d12bb685984c 319B
0eb7768dedc72484e621a0d47f0f9d979169f2 189B
0ebe009c3904229ff4005710f4136b55cf57aa 81B
0f34450ed96d2e8349bff192af4762b7cfe9cf 164B
0f4c412d194b469566d70a428f0574aabf1a95 482B
0f4f1b63d8d1c5f6bfbe341cffc0b664160229 1KB
0f50f152b30d1f07eae0ffa720dfd353de80d5 1KB
0faa3c47587e2be0d47cd4aec1ab24e4baaf52 125B
0fd27ab920fdd71f3493429a679eb3d44e7af7 220B
0ff5c3b541f646105198ee23ac0fc3d805023e 27B
1088f5d071e3e2aa3ac09d518c024734fdb0ad 1KB
11d4290e23ba61b8db9ddf2edc3cd67401b05e 219B
137f5fa88df4ef63d4b76309f989d0aa34a89a 1KB
13b6fdc3c2aad661c74d140a720717f069d421 821B
14851b5c5b972ea8618695dacdd93865e118b1 190B
14abe3de63a6a613256f8bbf03c5d1f491c40b 189B
14c1a520b820b8d1ed39f66b5009dd510565e3 187B
1514d05fdce662ca1f2bff2d72841acbf7c08d 297B
15655e6f8f688eafc8eeb49408ba5a52ffd41e 536B
157b6216ccb826ef242068d0bbe27fb001bb3e 162B
16087f963afd8b203aa2dc9431f0079f8c4f83 465B
165a9dcfc5b8f7b266e43408278c97c7c8ce98 379B
16d32410dc830029ffad845d74c8764d6a8b96 250B
17075ac5591e8385ee19cf804c436830269727 12KB
173e4a0de699496f5a9745bfdd8161d0a5f02e 619B
17407692d20b91dbe066e7e198db5e93ae474a 82B
178072619b150817eb37e17ddd6f5b01bd3ff2 636B
186b3986d9b974ac1a091b739673f9ed134f14 12KB
189933b133d99812da777d0575fa6670391165 803B
193fa14f911ce26b7e0f6222c1a468baf7f486 242B
1a89ac5b94de768432ecf250f95dd7997f0d66 1KB
1af73ac83664dd0d1dad70d05bdefbd5a4fc98 197B
1b62f539e07d4bba0898d44cf16aa6ea99f3f3 1KB
1b78c4aa37d522149a65979bb4f4786ecbf2ed 126B
1bb153ff07d6303946ab7bcbeb7ddf56c7f5ce 522B
1c31e16788cdec4112d2be331031040010060a 512B
1c499c6683ff9593cedf790bf5baf119ea8abf 568B
1ce690ad3e444ed3f401a1c2fb7d40703f21af 38B
1d0d436892a1460465427c6390199903e0fa5c 449B
1db875930c7926639ca56610fbeb66ce84e639 53B
1dc447a8bb26d555f73714d0922c737a98c898 391B
1df7473cb0f1090e44bd468a775d35d5d536bf 444B
1e064aaa3ae97363acdbf7c52e5ebbe007a19a 194B
1e506a2df22c4c9ccb10c85cd2fc1dc0eb2009 508B
1e8e6bc0440be40af8e27c86b5fcf509d0437f 361B
1f6e96a9df8ef495a4d37ca84e34082c86cf06 187B
1f844bcce4936f487c0cbff8aa49baf168e64d 442B
205151358a86529bf07c68d4d0f61df21d9118 509B
213cb065b715c9fef6ea4257e863011eec0c7a 310B
218c7617e91fe99a425fdf5bddc5df84bd303e 826B
219574504783afb0debf3ee74fc8418b8f1acc 3KB
21f322b71317577c7308c539e2b2204908524f 206B
2246f58f624a5ad7dc994340e2deffa22e1ded 68B
2272adb985a1c3ad99830fc0188da928a13159 536B
22c93adad96d38d04c2a31cee84972ccadb4c2 492B
共 2000 条
- 1
- 2
- 3
- 4
- 5
- 6
- 20
资源评论
程序员涛涛
- 粉丝: 0
- 资源: 3
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功