Appearance
描述内容
对项目中备注提示进行一个统一化封装,可用于说明
基础使用
基础用法
普通
成功
警告
失败
信息
vue
<template>
<wxy-text-content type="primary"> 普通 </wxy-text-content>
<wxy-text-content type="success"> 成功 </wxy-text-content>
<wxy-text-content type="warning"> 警告 </wxy-text-content>
<wxy-text-content type="danger"> 失败 </wxy-text-content>
<wxy-text-content type="info"> 信息 </wxy-text-content>
</template>
<template>
<wxy-text-content type="primary"> 普通 </wxy-text-content>
<wxy-text-content type="success"> 成功 </wxy-text-content>
<wxy-text-content type="warning"> 警告 </wxy-text-content>
<wxy-text-content type="danger"> 失败 </wxy-text-content>
<wxy-text-content type="info"> 信息 </wxy-text-content>
</template>