## 图片加载
<br />
用于实现图片的友好加载，没有图片、图片加载失败均有相应图文展示

### 基本用法

:::demo
```html
<template>
    <ve-img :src='imgSrc' style="width: 100px;height: 100px;" />
</template>

<script>
    export default {
        data() {
            return {
                imgSrc : "https://www.baidu.com/img/dongdiqiu_e991bad6a2fe51ffcdaf1db6d5cb0e36.gif",
            }
        }
    }
</script>
```
:::

### 未设置图片地址

:::demo
```html
<template>
    <ve-img :src='imgSrc' style="width: 50px;height: 50px;margin-right: 20px" />
</template>

<script>
    export default {
        data() {
            return {
                imgSrc : '',
            }
        }
    }
</script>
```
:::

### 图片加载失败

:::demo
```html
<template>
    <ve-img :src='imgSrc' style="width: 100px;height: 100px;" />
</template>

<script>
    export default {
        data() {
            return {
                imgSrc : "http://http://t8.baidu.com/it/u=1484500186,1503043093&fm=79"
            }
        }
    }
</script>
```
:::

### 图片自定义大小
图片容器默认未设置宽高，展示图片时，需自定义图片大小

:::demo
```html
<template>
    <ve-img :src='imgSrc' style="width: 200px;height: 200px" />
    <ve-img :src='imgSrc' />

</template>

<script>
    export default {
        data() {
            return {
                imgSrc : "https://www.baidu.com/img/dongdiqiu_e991bad6a2fe51ffcdaf1db6d5cb0e36.gif",
            }
        }
    }
</script>
```
:::

### Attributes
| 参数      | 说明          | 类型      | 可选值                           | 默认值  |
|---------- |-------------- |---------- |--------------------------------  |-------- |
| src | 图片源 | string | — | — |
