diff --git a/README.md b/README.md index 5660e0794..279cbf6a9 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@

- logo + logo

Vant

@@ -113,7 +113,7 @@ Vant 3/4 supports modern browsers and Chrome >= 51、iOS >= 10.0 (same as Vue 3) You can scan the following QR code to access the demo: - + ## Core Team diff --git a/README.zh-CN.md b/README.zh-CN.md index c76cea373..476b07bb8 100644 --- a/README.zh-CN.md +++ b/README.zh-CN.md @@ -1,5 +1,5 @@

- logo + logo

Vant

@@ -121,7 +121,7 @@ Vant 3/4 支持现代浏览器以及 Chrome >= 51、iOS >= 10.0(与 Vue 3 一 可以手机扫码以下二维码访问手机端 demo: - + ## 核心团队 diff --git a/packages/create-vant-cli-app/generators/vue2/vant.config.js b/packages/create-vant-cli-app/generators/vue2/vant.config.js index 749ef1a35..a7fe8bb3c 100644 --- a/packages/create-vant-cli-app/generators/vue2/vant.config.js +++ b/packages/create-vant-cli-app/generators/vue2/vant.config.js @@ -10,7 +10,7 @@ module.exports = { }, site: { title: '<%= name %>', - logo: 'https://img.yzcdn.cn/vant/logo.png', + logo: 'https://cdn.jsdelivr.net/npm/@vant/assets/logo.png', nav: [ { title: '开发指南', diff --git a/packages/create-vant-cli-app/generators/vue3/vant.config.mjs b/packages/create-vant-cli-app/generators/vue3/vant.config.mjs index 314aa23e8..6e71e8679 100644 --- a/packages/create-vant-cli-app/generators/vue3/vant.config.mjs +++ b/packages/create-vant-cli-app/generators/vue3/vant.config.mjs @@ -10,7 +10,7 @@ export default { }, site: { title: '<%= name %>', - logo: 'https://img.yzcdn.cn/vant/logo.png', + logo: 'https://cdn.jsdelivr.net/npm/@vant/assets/logo.png', nav: [ { title: '开发指南', diff --git a/packages/vant-cli/docs/config.md b/packages/vant-cli/docs/config.md index 88303e7fd..4e927cbc9 100644 --- a/packages/vant-cli/docs/config.md +++ b/packages/vant-cli/docs/config.md @@ -44,7 +44,7 @@ export default { // 标题 title: 'Demo UI', // 图标 - logo: 'https://img.yzcdn.cn/vant/logo.png', + logo: 'https://cdn.jsdelivr.net/npm/@vant/assets/logo.png', // 描述 description: '示例组件库', // 左侧导航 diff --git a/packages/vant-icons/contribution.zh-CN.md b/packages/vant-icons/contribution.zh-CN.md index 410ed2787..222b9d8f1 100644 --- a/packages/vant-icons/contribution.zh-CN.md +++ b/packages/vant-icons/contribution.zh-CN.md @@ -20,7 +20,7 @@ Vant 图标库托管在 [iconfont.cn](https://iconfont.cn) 上,同时仓库中 从 Sketch 中导出图标对应的 SVG 文件,并上传到 [iconfont 项目](https://www.iconfont.cn/manage/index?manage_type=myprojects&projectId=2553510)中。 - + > 此步骤需要图标库管理员权限,请联系 Vant 维护者进行添加。 @@ -38,7 +38,7 @@ Vant 图标库托管在 [iconfont.cn](https://iconfont.cn) 上,同时仓库中 字体文件的 base64 URL 通过 [transfonter](https://transfonter.org/) 生成,步骤如下图所示: - + ### 4. 发布图标库 diff --git a/packages/vant/docs/markdown/advanced-usage.zh-CN.md b/packages/vant/docs/markdown/advanced-usage.zh-CN.md index ca0edc4e8..50ce21981 100644 --- a/packages/vant/docs/markdown/advanced-usage.zh-CN.md +++ b/packages/vant/docs/markdown/advanced-usage.zh-CN.md @@ -92,8 +92,9 @@ export default { data() { return { checked: true, - activeIcon: 'https://img.yzcdn.cn/vant/user-active.png', - inactiveIcon: 'https://img.yzcdn.cn/vant/user-inactive.png', + activeIcon: 'https://cdn.jsdelivr.net/npm/@vant/assets/user-active.png', + inactiveIcon: + 'https://cdn.jsdelivr.net/npm/@vant/assets/user-inactive.png', }; }, }; @@ -223,4 +224,4 @@ iPhone X 等机型底部存在底部指示条,指示条的操作区域与页 ``` - + diff --git a/packages/vant/docs/markdown/changelog.en-US.md b/packages/vant/docs/markdown/changelog.en-US.md index 6053d8498..7f6ee63c6 100644 --- a/packages/vant/docs/markdown/changelog.en-US.md +++ b/packages/vant/docs/markdown/changelog.en-US.md @@ -978,7 +978,7 @@ Reference: [Vant 3.0 正式发布:全面拥抱 Vue 3](https://github.com/youza - add Cascader component [#7771](https://github.com/youzan/vant/pull/7771) - + **Feature** diff --git a/packages/vant/docs/markdown/changelog.zh-CN.md b/packages/vant/docs/markdown/changelog.zh-CN.md index e50ff912c..f0cb7a6b8 100644 --- a/packages/vant/docs/markdown/changelog.zh-CN.md +++ b/packages/vant/docs/markdown/changelog.zh-CN.md @@ -981,7 +981,7 @@ Vant 遵循 [Semver](https://semver.org/lang/zh-CN/) 语义化版本规范。 - 新增 Cascader 级联选择组件 [#7771](https://github.com/youzan/vant/pull/7771) - + **Feature** @@ -1069,7 +1069,7 @@ Vant 遵循 [Semver](https://semver.org/lang/zh-CN/) 语义化版本规范。 - 新增 [Popover 气泡弹出框](#/zh-CN/popover)组件 [#7579](https://github.com/youzan/vant/issues/7579) -![](https://img.yzcdn.cn/vant/component-preview-1122.png) +![](https://cdn.jsdelivr.net/npm/@vant/assets/component-preview-1122.png) **Feature** diff --git a/packages/vant/docs/markdown/design.en-US.md b/packages/vant/docs/markdown/design.en-US.md index c518f2417..fc2a49b7d 100644 --- a/packages/vant/docs/markdown/design.en-US.md +++ b/packages/vant/docs/markdown/design.en-US.md @@ -12,15 +12,15 @@ Contains color specifications, font specifications, and component design specifi #### Colors - + #### Fonts - + #### Components - + Download @@ -28,13 +28,13 @@ Contains color specifications, font specifications, and component design specifi Contains icon library resources. - + Download ### Axure - + Download diff --git a/packages/vant/docs/markdown/design.zh-CN.md b/packages/vant/docs/markdown/design.zh-CN.md index 99d62c5b3..c752cc242 100644 --- a/packages/vant/docs/markdown/design.zh-CN.md +++ b/packages/vant/docs/markdown/design.zh-CN.md @@ -12,15 +12,15 @@ #### 色彩规范 - + #### 字体规范 - + #### 组件规范 - + 下载 @@ -28,7 +28,7 @@ 包含 Sketch 格式的图标库资源。 - + 下载 @@ -40,7 +40,7 @@ Vant 的所有图标都托管在 **iconfont.cn** 上,点此查看:[Vant 图 Axure 元件库,由社区的 [@axure-tczy](https://github.com/axure-tczy) 同学贡献。 - + 下载 diff --git a/packages/vant/docs/markdown/home.en-US.md b/packages/vant/docs/markdown/home.en-US.md index 4113ce6ea..ed50b2880 100644 --- a/packages/vant/docs/markdown/home.en-US.md +++ b/packages/vant/docs/markdown/home.en-US.md @@ -1,6 +1,6 @@
- +

Vant

Mobile UI Components built on Vue

diff --git a/packages/vant/docs/markdown/home.zh-CN.md b/packages/vant/docs/markdown/home.zh-CN.md index 03bca6a89..d01bd3f7d 100644 --- a/packages/vant/docs/markdown/home.zh-CN.md +++ b/packages/vant/docs/markdown/home.zh-CN.md @@ -1,6 +1,6 @@
- +

Vant

轻量、可靠的移动端 Vue 组件库

diff --git a/packages/vant/docs/markdown/quickstart.en-US.md b/packages/vant/docs/markdown/quickstart.en-US.md index 85e21413d..eeba1f27d 100644 --- a/packages/vant/docs/markdown/quickstart.en-US.md +++ b/packages/vant/docs/markdown/quickstart.en-US.md @@ -86,7 +86,7 @@ vue create hello-world vue ui ``` -![](https://img.yzcdn.cn/vant/vue-cli-demo-201809030812.png) +![](https://cdn.jsdelivr.net/npm/@vant/assets/vue-cli-demo-201809030812.png) In the GUI, click on 'Dependencies' -> `Install Dependencies` and add `vant` to the dependencies. diff --git a/packages/vant/src/button/README.md b/packages/vant/src/button/README.md index 2e7fdbf0a..323bc7810 100644 --- a/packages/vant/src/button/README.md +++ b/packages/vant/src/button/README.md @@ -69,7 +69,10 @@ app.use(Button); ```html Button - + Button ``` diff --git a/packages/vant/src/button/README.zh-CN.md b/packages/vant/src/button/README.zh-CN.md index a5c01399d..6d9080c54 100644 --- a/packages/vant/src/button/README.zh-CN.md +++ b/packages/vant/src/button/README.zh-CN.md @@ -83,7 +83,10 @@ app.use(Button); ```html 按钮 - + 按钮 ``` diff --git a/packages/vant/src/button/demo/index.vue b/packages/vant/src/button/demo/index.vue index b2d92f8f6..1b328962f 100644 --- a/packages/vant/src/button/demo/index.vue +++ b/packages/vant/src/button/demo/index.vue @@ -107,7 +107,7 @@ const t = useTranslate({ diff --git a/packages/vant/src/button/test/__snapshots__/demo.spec.ts.snap b/packages/vant/src/button/test/__snapshots__/demo.spec.ts.snap index e099ab638..8804e27c2 100644 --- a/packages/vant/src/button/test/__snapshots__/demo.spec.ts.snap +++ b/packages/vant/src/button/test/__snapshots__/demo.spec.ts.snap @@ -237,7 +237,7 @@ exports[`should render demo and match snapshot 1`] = `
diff --git a/packages/vant/src/card/README.md b/packages/vant/src/card/README.md index 5c1e9aef5..927f1fc09 100644 --- a/packages/vant/src/card/README.md +++ b/packages/vant/src/card/README.md @@ -26,7 +26,7 @@ app.use(Card); price="2.00" title="Title" desc="Description" - thumb="https://img.yzcdn.cn/vant/ipad.jpeg" + thumb="https://cdn.jsdelivr.net/npm/@vant/assets/ipad.jpeg" /> ``` @@ -40,7 +40,7 @@ app.use(Card); title="Title" desc="Description" origin-price="10.00" - thumb="https://img.yzcdn.cn/vant/ipad.jpeg" + thumb="https://cdn.jsdelivr.net/npm/@vant/assets/ipad.jpeg" /> ``` @@ -54,7 +54,7 @@ Use slot to custom content. title="Title" desc="Description" price="2.00" - thumb="https://img.yzcdn.cn/vant/ipad.jpeg" + thumb="https://cdn.jsdelivr.net/npm/@vant/assets/ipad.jpeg" >