From 9b53839d4931030fab64bda6f95a7b5de096877b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E5=98=89=E6=B6=B5?= Date: Wed, 12 Feb 2020 17:54:48 +0800 Subject: [PATCH 1/5] types(Dialog): fix Dialog.Component typing (#5646) --- types/component.d.ts | 1 + types/dialog.d.ts | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/types/component.d.ts b/types/component.d.ts index 62669282d..05a459d0a 100644 --- a/types/component.d.ts +++ b/types/component.d.ts @@ -2,5 +2,6 @@ import Vue from 'vue'; export class VanComponent { static name: string; + static install(vue: typeof Vue): void; } diff --git a/types/dialog.d.ts b/types/dialog.d.ts index 22d114632..b7a81ec5b 100644 --- a/types/dialog.d.ts +++ b/types/dialog.d.ts @@ -34,7 +34,7 @@ export interface Dialog { install(): void; setDefaultOptions(options: DialogOptions): void; resetDefaultOptions(): void; - Component: VanComponent; + Component: typeof VanComponent; } declare module 'vue/types/vue' { From cc8e04d09c542baeefaea7ae1893079a4adcade2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E5=98=89=E6=B6=B5?= Date: Thu, 13 Feb 2020 09:58:44 +0800 Subject: [PATCH 2/5] feat(cli): update link color --- packages/vant-cli/site/desktop/components/Content.vue | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/packages/vant-cli/site/desktop/components/Content.vue b/packages/vant-cli/site/desktop/components/Content.vue index 7042f0c41..bc5248400 100644 --- a/packages/vant-cli/site/desktop/components/Content.vue +++ b/packages/vant-cli/site/desktop/components/Content.vue @@ -38,8 +38,16 @@ export default { a { margin: 0 1px; - color: @van-doc-green; + color: @van-doc-blue; -webkit-font-smoothing: auto; + + &:hover { + color: darken(@van-doc-blue, 10%); + } + + &:active { + color: darken(@van-doc-blue, 20%); + } } h1, From 8b9ddda06feecb5f543331827d67d8fdf7e03fcc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E5=98=89=E6=B6=B5?= Date: Thu, 13 Feb 2020 10:01:50 +0800 Subject: [PATCH 3/5] chore: release @vant/cli@2.2.3 --- packages/vant-cli/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/vant-cli/package.json b/packages/vant-cli/package.json index e56d5a7aa..f2752558f 100644 --- a/packages/vant-cli/package.json +++ b/packages/vant-cli/package.json @@ -1,6 +1,6 @@ { "name": "@vant/cli", - "version": "2.2.2", + "version": "2.2.3", "description": "", "main": "lib/index.js", "typings": "lib/index.d.ts", From d112b7c031c2332c63cfbac7c0a784db7297c822 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E5=98=89=E6=B6=B5?= Date: Thu, 13 Feb 2020 10:05:35 +0800 Subject: [PATCH 4/5] docs(cli): changelog@2.2.3 --- package.json | 2 +- packages/vant-cli/changelog.md | 6 ++++++ yarn.lock | 8 ++++---- 3 files changed, 11 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index 2ed3269f9..17d27291b 100644 --- a/package.json +++ b/package.json @@ -63,7 +63,7 @@ "vue": ">= 2.5.22" }, "devDependencies": { - "@vant/cli": "^2.2.2", + "@vant/cli": "^2.2.3", "vue": "^2.6.11", "vue-template-compiler": "^2.6.11" }, diff --git a/packages/vant-cli/changelog.md b/packages/vant-cli/changelog.md index 4255e3c0c..15fd6ca59 100644 --- a/packages/vant-cli/changelog.md +++ b/packages/vant-cli/changelog.md @@ -1,5 +1,11 @@ # 更新日志 +### [v2.2.3] +`2020-02-13` + +- 链接颜色调整为蓝色 + + ### [v2.2.2] `2020-02-05` diff --git a/yarn.lock b/yarn.lock index 88e7674dc..7716c45a0 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1634,10 +1634,10 @@ semver "^6.3.0" tsutils "^3.17.1" -"@vant/cli@^2.2.2": - version "2.2.2" - resolved "https://registry.yarnpkg.com/@vant/cli/-/cli-2.2.2.tgz#e6c43dcb95f8e42d31981a4f9612443efceec80a" - integrity sha512-lYVYrarN+FMopmTRQJbj0uZLbBBAhuWF3F2fQVYLU852VLZJSrui1HHQwS+WCJ96Vb8HaNdYsGEkzfVT8xrq6Q== +"@vant/cli@^2.2.3": + version "2.2.3" + resolved "https://registry.yarnpkg.com/@vant/cli/-/cli-2.2.3.tgz#cd49f96c886a4ec9d8485f1ff15fb930ea05d21a" + integrity sha512-aSNzqQ5ef500S6oOYoV5OKD1/XUFQnqEFDUHX6f6dY1ncFB4g0QnCxy7w75ZkteOhAy4uuQDZBZSY4dj2PHNNw== dependencies: "@babel/core" "^7.8.4" "@babel/plugin-syntax-jsx" "^7.8.3" From cc37112f8aa5c7a40cd0b9e4a72c58b6b43363d7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E5=98=89=E6=B6=B5?= Date: Thu, 13 Feb 2020 10:07:47 +0800 Subject: [PATCH 5/5] docs: update home.md --- docs/markdown/home.zh-CN.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/markdown/home.zh-CN.md b/docs/markdown/home.zh-CN.md index 6d6b9d9b6..5b161f26c 100644 --- a/docs/markdown/home.zh-CN.md +++ b/docs/markdown/home.zh-CN.md @@ -19,17 +19,17 @@ ### 快速上手 -请参考 [快速上手](#/zh-CN/quickstart) 章节 +请参考[快速上手](#/zh-CN/quickstart)章节。 ### 贡献代码 -修改代码请阅读我们的 [开发指南](#/zh-CN/contribution) +修改代码请阅读我们的[开发指南](#/zh-CN/contribution)。 -使用过程中发现任何问题都可以提 [Issue](https://github.com/youzan/vant/issues) 给我们,当然,我们也非常欢迎你给我们发 [PR](https://github.com/youzan/vant/pulls) +使用过程中发现任何问题都可以提 [Issue](https://github.com/youzan/vant/issues) 给我们,当然,我们也非常欢迎你给我们发 [PR](https://github.com/youzan/vant/pulls)。 ### 浏览器支持 -现代浏览器以及 Android 4.0+, iOS 8.0+ +现代浏览器以及 Android 4.0+, iOS 8.0+。 ### 加入我们