mirror of
https://gitee.com/vant-contrib/vant-weapp.git
synced 2025-04-05 10:22:44 +08:00
docs: update repo links
This commit is contained in:
parent
05c04682ad
commit
3c3978df3e
2
.github/workflows/sync-gitee.yml
vendored
2
.github/workflows/sync-gitee.yml
vendored
@ -15,6 +15,6 @@ jobs:
|
|||||||
SSH_PRIVATE_KEY: ${{ secrets.GITEE_RSA_PRIVATE_KEY }}
|
SSH_PRIVATE_KEY: ${{ secrets.GITEE_RSA_PRIVATE_KEY }}
|
||||||
with:
|
with:
|
||||||
# 注意替换为你的 GitHub 源仓库地址
|
# 注意替换为你的 GitHub 源仓库地址
|
||||||
source-repo: git@github.com:vant-ui/vant-weapp.git
|
source-repo: git@github.com:youzan/vant-weapp.git
|
||||||
# 注意替换为你的 Gitee 目标仓库地址
|
# 注意替换为你的 Gitee 目标仓库地址
|
||||||
destination-repo: git@gitee.com:vant-contrib/vant-weapp.git
|
destination-repo: git@gitee.com:vant-contrib/vant-weapp.git
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
<p align="center">
|
<p align="center">
|
||||||
🔥 <a href="https://vant-contrib.gitee.io/vant-weapp">文档网站(国内)</a>
|
🔥 <a href="https://vant-contrib.gitee.io/vant-weapp">文档网站(国内)</a>
|
||||||
|
|
||||||
🌈 <a href="https://vant-ui.github.io/vant-weapp">文档网站(GitHub)</a>
|
🌈 <a href="https://youzan.github.io/vant-weapp">文档网站(GitHub)</a>
|
||||||
|
|
||||||
🚀 <a href="https://github.com/vant-ui/vant" target="_blank">Vue 版</a>
|
🚀 <a href="https://github.com/vant-ui/vant" target="_blank">Vue 版</a>
|
||||||
</p>
|
</p>
|
||||||
@ -58,7 +58,7 @@ npm i vant-weapp -S --production
|
|||||||
直接通过 git 下载 Vant Weapp 源代码,并将 `dist` 目录拷贝到自己的项目中。
|
直接通过 git 下载 Vant Weapp 源代码,并将 `dist` 目录拷贝到自己的项目中。
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
git clone https://github.com/vant-ui/vant-weapp.git
|
git clone https://github.com/youzan/vant-weapp.git
|
||||||
```
|
```
|
||||||
|
|
||||||
## 使用组件
|
## 使用组件
|
||||||
@ -99,7 +99,7 @@ Vant Weapp 最低支持到小程序基础库 2.6.5 版本。
|
|||||||
|
|
||||||
## 链接
|
## 链接
|
||||||
|
|
||||||
- [意见反馈](https://github.com/vant-ui/vant-weapp/issues)
|
- [意见反馈](https://github.com/youzan/vant-weapp/issues)
|
||||||
- [设计资源](https://vant-contrib.gitee.io/vant/#/zh-CN/design)
|
- [设计资源](https://vant-contrib.gitee.io/vant/#/zh-CN/design)
|
||||||
- [更新日志](https://vant-contrib.gitee.io/vant-weapp/#/changelog)
|
- [更新日志](https://vant-contrib.gitee.io/vant-weapp/#/changelog)
|
||||||
- [官方示例](https://github.com/vant-ui/vant-demo)
|
- [官方示例](https://github.com/vant-ui/vant-demo)
|
||||||
@ -116,7 +116,7 @@ Vant Weapp 最低支持到小程序基础库 2.6.5 版本。
|
|||||||
|
|
||||||
感谢以下小伙伴们为 Vant Weapp 发展做出的贡献:
|
感谢以下小伙伴们为 Vant Weapp 发展做出的贡献:
|
||||||
|
|
||||||
<a href="https://github.com/vant-ui/vant-weapp/graphs/contributors">
|
<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">
|
<img src="https://opencollective.com/vant-weapp/contributors.svg?width=890&button=false" alt="contributors">
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
|
2
dist/search/index.js
vendored
2
dist/search/index.js
vendored
@ -60,7 +60,7 @@ VantComponent({
|
|||||||
onCancel() {
|
onCancel() {
|
||||||
/**
|
/**
|
||||||
* 修复修改输入框值时,输入框失焦和赋值同时触发,赋值失效
|
* 修复修改输入框值时,输入框失焦和赋值同时触发,赋值失效
|
||||||
* https://github.com/vant-ui/vant-weapp/issues/1768
|
* https://github.com/youzan/vant-weapp/issues/1768
|
||||||
*/
|
*/
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
if (canIUseModel()) {
|
if (canIUseModel()) {
|
||||||
|
File diff suppressed because it is too large
Load Diff
@ -26,7 +26,7 @@ Vant 是一个**轻量、可靠的移动端组件库**,于 2017 年开源。
|
|||||||
|
|
||||||
### 链接
|
### 链接
|
||||||
|
|
||||||
- [意见反馈](https://github.com/vant-ui/vant-weapp/issues)
|
- [意见反馈](https://github.com/youzan/vant-weapp/issues)
|
||||||
- [设计资源](https://vant-contrib.gitee.io/vant/#/zh-CN/design)
|
- [设计资源](https://vant-contrib.gitee.io/vant/#/zh-CN/design)
|
||||||
- [更新日志](https://vant-contrib.gitee.io/vant-weapp/#/changelog)
|
- [更新日志](https://vant-contrib.gitee.io/vant-weapp/#/changelog)
|
||||||
- [官方示例](https://github.com/vant-ui/vant-demo)
|
- [官方示例](https://github.com/vant-ui/vant-demo)
|
||||||
@ -45,13 +45,13 @@ Vant 是一个**轻量、可靠的移动端组件库**,于 2017 年开源。
|
|||||||
|
|
||||||
感谢以下小伙伴们为 Vant Weapp 发展做出的贡献:
|
感谢以下小伙伴们为 Vant Weapp 发展做出的贡献:
|
||||||
|
|
||||||
<a href="https://github.com/vant-ui/vant-weapp/graphs/contributors">
|
<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" style="width: 100%; margin: 16px 0">
|
<img src="https://opencollective.com/vant-weapp/contributors.svg?width=890&button=false" alt="contributors" style="width: 100%; margin: 16px 0">
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
### 贡献代码
|
### 贡献代码
|
||||||
|
|
||||||
使用过程中发现任何问题都可以提 [Issue](https://github.com/vant-ui/vant-weapp/issues) 给我们,当然,我们也非常欢迎你给我们发 [PR](https://github.com/vant-ui/vant-weapp/pulls)。
|
使用过程中发现任何问题都可以提 [Issue](https://github.com/youzan/vant-weapp/issues) 给我们,当然,我们也非常欢迎你给我们发 [PR](https://github.com/youzan/vant-weapp/pulls)。
|
||||||
|
|
||||||
### 开源协议
|
### 开源协议
|
||||||
|
|
||||||
|
@ -141,7 +141,7 @@ yarn add -D miniprogram-api-typings
|
|||||||
```bash
|
```bash
|
||||||
|
|
||||||
# 将项目克隆到本地
|
# 将项目克隆到本地
|
||||||
git clone git@github.com:vant-ui/vant-weapp.git
|
git clone git@github.com:youzan/vant-weapp.git
|
||||||
|
|
||||||
# 安装项目依赖
|
# 安装项目依赖
|
||||||
cd vant-weapp && npm install
|
cd vant-weapp && npm install
|
||||||
|
@ -8,7 +8,7 @@ CSS 变量 的兼容性要求可以在 [这里](https://caniuse.com/#feat=css-va
|
|||||||
|
|
||||||
### 样式变量
|
### 样式变量
|
||||||
|
|
||||||
定制使用的 CSS 变量 与 Less 变量 同名,下面是一些基本的样式变量,所有可用的颜色变量请参考 [配置文件](https://github.com/vant-ui/vant-weapp/blob/dev/packages/common/style/var.less)。
|
定制使用的 CSS 变量 与 Less 变量 同名,下面是一些基本的样式变量,所有可用的颜色变量请参考 [配置文件](https://github.com/youzan/vant-weapp/blob/dev/packages/common/style/var.less)。
|
||||||
|
|
||||||
```less
|
```less
|
||||||
// Component Colors
|
// Component Colors
|
||||||
|
@ -63,7 +63,7 @@ var version_1 = require("../common/version");
|
|||||||
var _this = this;
|
var _this = this;
|
||||||
/**
|
/**
|
||||||
* 修复修改输入框值时,输入框失焦和赋值同时触发,赋值失效
|
* 修复修改输入框值时,输入框失焦和赋值同时触发,赋值失效
|
||||||
* https://github.com/vant-ui/vant-weapp/issues/1768
|
* https://github.com/youzan/vant-weapp/issues/1768
|
||||||
*/
|
*/
|
||||||
setTimeout(function () {
|
setTimeout(function () {
|
||||||
if ((0, version_1.canIUseModel)()) {
|
if ((0, version_1.canIUseModel)()) {
|
||||||
|
@ -27,7 +27,7 @@
|
|||||||
],
|
],
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "git+ssh://git@github.com/vant-ui/vant-weapp.git"
|
"url": "git+ssh://git@github.com/youzan/vant-weapp.git"
|
||||||
},
|
},
|
||||||
"lint-staged": {
|
"lint-staged": {
|
||||||
"*.{ts,js}": [
|
"*.{ts,js}": [
|
||||||
@ -39,7 +39,7 @@
|
|||||||
"prettier --write"
|
"prettier --write"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"homepage": "https://github.com/vant-ui/vant-weapp#readme",
|
"homepage": "https://github.com/youzan/vant-weapp#readme",
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@babel/plugin-transform-modules-commonjs": "^7.16.0",
|
"@babel/plugin-transform-modules-commonjs": "^7.16.0",
|
||||||
"@babel/preset-typescript": "^7.16.0",
|
"@babel/preset-typescript": "^7.16.0",
|
||||||
|
@ -110,4 +110,4 @@ Page({
|
|||||||
|
|
||||||
### 嵌套在滚动元素中 IndexAnchor 失效?
|
### 嵌套在滚动元素中 IndexAnchor 失效?
|
||||||
|
|
||||||
由于 `<IndexBar />` 内部使用 wx.pageScrollTo 滚动到指定位置,因此只支持页面级滚动,无法在滚动元素中嵌套使用,例如:`view` 使用 `overflow: scroll;` 或者 `scroll-view`,具体可查看[微信小程序文档](https://developers.weixin.qq.com/miniprogram/dev/api/ui/scroll/wx.pageScrollTo.html)。历史 issue: [#4252](https://github.com/vant-ui/vant-weapp/issues/4252)
|
由于 `<IndexBar />` 内部使用 wx.pageScrollTo 滚动到指定位置,因此只支持页面级滚动,无法在滚动元素中嵌套使用,例如:`view` 使用 `overflow: scroll;` 或者 `scroll-view`,具体可查看[微信小程序文档](https://developers.weixin.qq.com/miniprogram/dev/api/ui/scroll/wx.pageScrollTo.html)。历史 issue: [#4252](https://github.com/youzan/vant-weapp/issues/4252)
|
||||||
|
@ -65,7 +65,7 @@ VantComponent({
|
|||||||
onCancel() {
|
onCancel() {
|
||||||
/**
|
/**
|
||||||
* 修复修改输入框值时,输入框失焦和赋值同时触发,赋值失效
|
* 修复修改输入框值时,输入框失焦和赋值同时触发,赋值失效
|
||||||
* https://github.com/vant-ui/vant-weapp/issues/1768
|
* https://github.com/youzan/vant-weapp/issues/1768
|
||||||
*/
|
*/
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
if (canIUseModel()) {
|
if (canIUseModel()) {
|
||||||
|
@ -29,7 +29,7 @@ export default {
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
logo: 'https://b.yzcdn.cn/vant/logo/github.svg',
|
logo: 'https://b.yzcdn.cn/vant/logo/github.svg',
|
||||||
url: 'https://github.com/vant-ui/vant-weapp',
|
url: 'https://github.com/youzan/vant-weapp',
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
baiduAnalytics: {
|
baiduAnalytics: {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user