<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=flat-square" alt="npm version" />
<img src="https://img.shields.io/npm/dt/vant-weapp.svg?style=flat-square" alt="downloads" />
<img src="https://img.shields.io/npm/dm/vant-weapp.svg?style=flat-square" alt="downloads" />
<img src="https://img.shields.io/badge/License-MIT-blue.svg">
</p>
<p align="center">
🔥 <a href="https://youzan.github.io/vant-weapp">文档网站</a>
🚀 <a href="https://github.com/youzan/vant" target="_blank">Vue 版</a>
</p>
---
## 介绍
Vant Weapp 是移动端 Vue 组件库 [Vant](https://github.com/youzan/vant) 的小程序版本,两者基于相同的视觉规范,提供一致的 API 接口,助力开发者快速搭建小程序应用。
## 预览
扫描下方小程序二维码,体验组件库示例:
<img src="https://img.yzcdn.cn/vant-weapp/qrcode-201808101114.jpg" width="200" height="200" style="margin-top: 10px;" >
## 使用之前
使用 Vant Weapp 前,请确保你已经学习过微信官方的 [小程序简易教程](https://mp.weixin.qq.com/debug/wxadoc/dev/) 和 [自定义组件介绍](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
```
### 方式二. 下载代码
直接通过 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://mp.weixin.qq.com/debug/wxadoc/dev/devtools/download.html),把`vant-weapp/example`目录添加进去就可以预览示例了。
## 基础库版本
Vant Weapp 最低支持到小程序基础库 1.9.9 版本
## 微信讨论群
欢迎大家在微信上联系我们,添加下方微信并注明『交流 vant-weapp』即可
<img src="https://img.yzcdn.cn/vant/wechat_20180606.png" width="220" height="292" >
## 加入我们
**有赞前端团队**是由一群年轻、皮实、对技术饱含热情的小伙伴组成的,目前共有 100 多名前端工程师,分布在业务中台、电商、零售、美业、资产、赋能等业务线。
我们热爱分享和开源,崇尚用工程师的方式解决问题,因此造了很多工具来解决我们遇到的问题,目前我们维护的开源产品有:
<img src="https://img.yzcdn.cn/public_files/2019/07/22/f4b70763c55c8710c52c667ecf192c05.jpeg" width="320" height="303">
我们正在寻找更多优秀的小伙伴,一起拓展前端技术的边界,期待你的加入!
- <a target="_blank" href="https://app.mokahr.com/apply/youzan/6252#/job/96f5d2c7-e657-4d31-9244-195edc443a7f?_k=jf2141">职位详情</a>(Base: 杭州/深圳)
- <a target="_blank" href="https://tech.youzan.com/tag/front-end/">团队博客</a>
- <a target="_blank" href="https://github.com/youzan">开源项目</a>
## 链接
* [更新日志](https://github.com/youzan/vant-weapp/blob/dev/docs/markdown/changelog.md)
* [意见反馈](https://github.com/youzan/vant-weapp/issues)
* [加入我们](https://job.youzan.com)
* [Vant: 移动端 Vue UI](https://github.com/youzan/vant)
* [React: PC 端 React UI](https://www.youzanyun.com/zanui/zent)
## 开源协议
本项目基于 [MIT](https://zh.wikipedia.org/wiki/MIT%E8%A8%B1%E5%8F%AF%E8%AD%89)协议,请自由地享受和参与开源。
[vant-weapp]: https://github.com/youzan/vant-weapp
[issue]: https://github.com/youzan/vant-weapp/issues/new
[PR]: https://github.com/youzan/vant-weapp/compare
[MIT]: http://opensource.org/licenses/MIT
[小程序简易教程]: https://mp.weixin.qq.com/debug/wxadoc/dev/
[小程序框架介绍]: https://mp.weixin.qq.com/debug/wxadoc/dev/framework/MINA.html
[微信开发者工具]: https://mp.weixin.qq.com/debug/wxadoc/dev/devtools/download.html
没有合适的资源?快使用搜索试试~ 我知道了~
串串仓库管理系统前后端分离带微信小程序
共876个文件
js:213个
wxss:181个
json:160个
5星 · 超过95%的资源 需积分: 10 5 下载量 141 浏览量
2023-04-04
10:24:28
上传
评论 1
收藏 500KB ZIP 举报
温馨提示
前后端分离加小程序
资源推荐
资源详情
资源评论
收起资源包目录
串串仓库管理系统前后端分离带微信小程序 (876个子文件)
index.js 11KB
index.js 11KB
index.js 10KB
index.js 10KB
index.js 10KB
index.js 10KB
index.js 8KB
index.js 7KB
index.js 7KB
index.js 6KB
flip.js 5KB
index.js 5KB
index.js 5KB
index.js 4KB
transition.js 4KB
index.js 4KB
index.js 4KB
transition.js 4KB
transition.js 4KB
index.js 4KB
index.js 4KB
index.js 3KB
index.js 3KB
index.js 3KB
index.js 3KB
index.js 3KB
index.js 3KB
index.js 3KB
index.js 3KB
index.js 3KB
index.js 3KB
index.js 3KB
index.js 3KB
index.js 3KB
index.js 3KB
index.js 3KB
index.js 3KB
index.js 3KB
index.js 2KB
index.js 2KB
index.js 2KB
index.js 2KB
toast.js 2KB
index.js 2KB
index.js 2KB
index.js 2KB
dialog.js 2KB
index.js 2KB
index.js 2KB
index.js 2KB
index.js 2KB
toast.js 2KB
toast.js 2KB
index.js 2KB
index.js 2KB
dialog.js 2KB
dialog.js 2KB
index.js 2KB
index.js 2KB
index.js 2KB
time-handle.js 2KB
safe-area.js 2KB
component.js 2KB
index.js 2KB
index.js 2KB
behavior.js 1KB
index.js 1KB
index.js 1KB
index.js 1KB
index.js 1KB
index.js 1KB
component.js 1KB
component.js 1KB
index.js 1KB
index.js 1KB
index.js 1KB
index.js 1KB
index.js 1KB
index.js 1KB
behavior.js 1KB
behavior.js 1KB
index.js 1KB
index.js 1KB
index.js 1KB
index.js 1KB
index.js 1KB
index.js 1KB
index.js 1KB
index.js 1KB
index.js 1KB
index.js 1KB
safe-area.js 1KB
safe-area.js 1KB
index.js 1KB
index.js 1KB
index.js 1KB
index.js 1KB
index.js 1KB
index.js 1KB
index.js 1KB
共 876 条
- 1
- 2
- 3
- 4
- 5
- 6
- 9
资源评论
- CyberNinja2023-07-24文件中列举了一些常见问题及解决方案,为日常使用提供了便利。
- 村上树树8252023-07-24微信小程序的集成使得系统更加便捷,用户体验也更好了。
- ShepherdYoung2023-07-24文件提供了详细的说明和示例,让非技术人员也能够轻松上手。
- ai2023-07-24这个文件提供了一个完整的串串仓库管理系统前后端分离的解决方案,很实用。
- 乖巧是我姓名2023-07-24对于开发者来说,这个文件的代码结构清晰易懂,节省了很多时间。
风雷之霸主
- 粉丝: 2
- 资源: 14
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功