Skip to content

Picture 图文组件 ​

图文组件,图片+说明文字组合。

基础用法 ​

vue
<template>
  <parrot-picture />
</template>

API ​

Props ​

属性类型默认值说明
srcstring''图片地址
titlestring''标题
descstring''描述
widthstring'100%'宽度
heightstring'300rpx'高度

Slots ​

插槽说明
default默认内容
9:41

Released under the MIT License.