补充部分注释

This commit is contained in:
就眠儀式 2022-02-01 21:48:39 +08:00
parent 126d20bc3f
commit 724448e965
3 changed files with 5 additions and 5 deletions

View File

@ -59,7 +59,7 @@ export default {
::: title 按钮尺寸
:::
::: demo 传入 `size` 属性, 创建指定尺寸的按钮, 可选值 `lg` `sm` `xs`
::: demo 使用 `size` 属性, 创建指定尺寸的按钮, 可选值 `lg` `sm` `xs`
<template>
<lay-button type="primary" size="lg">原始按钮</lay-button>

View File

@ -4,7 +4,7 @@
::: title 基础使用
:::
::: demo
::: demo 使用 `lay-icon` 标签, 创建图标组件
<template>
<lay-icon type="layui-icon-face-smile"></lay-icon>
@ -27,7 +27,7 @@ export default {
::: title 图标颜色
:::
::: demo
::: demo 使用 `color` 属性设置颜色
<template>
<lay-icon type="layui-icon-face-smile" color="red"></lay-icon> &nbsp;
@ -55,7 +55,7 @@ export default {
::: title 图标尺寸
:::
::: demo
::: demo 使用 `size` 属性设置尺寸
<template>
<lay-icon type="layui-icon-star" size="26px" color="red"></lay-icon>

View File

@ -4,7 +4,7 @@
::: title 基础使用
:::
::: demo
::: demo 使用 `lay-panel` 标签, 创建面板组件
<template>
<lay-panel><div style="padding: 30px;">面板</div></lay-panel>