docs: revert cdn URL (#8310)

This commit is contained in:
neverland
2021-03-08 17:19:56 +08:00
committed by GitHub
parent 8bae9ca0ed
commit 110af6f1f4
96 changed files with 249 additions and 268 deletions
+4 -8
View File
@@ -15,11 +15,7 @@ app.use(VanImage);
### Basic Usage
```html
<van-image
width="100"
height="100"
src="https://img01.yzcdn.cn/vant/cat.jpeg"
/>
<van-image width="100" height="100" src="https://img.yzcdn.cn/vant/cat.jpeg" />
```
### Fit Mode
@@ -29,7 +25,7 @@ app.use(VanImage);
width="10rem"
height="10rem"
fit="contain"
src="https://img01.yzcdn.cn/vant/cat.jpeg"
src="https://img.yzcdn.cn/vant/cat.jpeg"
/>
```
@@ -42,7 +38,7 @@ Show round image, it may not works at `fit=contain` and `fit=scale-down`.
round
width="10rem"
height="10rem"
src="https://img01.yzcdn.cn/vant/cat.jpeg"
src="https://img.yzcdn.cn/vant/cat.jpeg"
/>
```
@@ -53,7 +49,7 @@ Show round image, it may not works at `fit=contain` and `fit=scale-down`.
width="100"
height="100"
lazy-load
src="https://img01.yzcdn.cn/vant/cat.jpeg"
src="https://img.yzcdn.cn/vant/cat.jpeg"
/>
```