补充部分注释
This commit is contained in:
parent
126d20bc3f
commit
724448e965
@ -59,7 +59,7 @@ export default {
|
|||||||
::: title 按钮尺寸
|
::: title 按钮尺寸
|
||||||
:::
|
:::
|
||||||
|
|
||||||
::: demo 传入 `size` 属性, 创建指定尺寸的按钮, 可选值 `lg` `sm` `xs`
|
::: demo 使用 `size` 属性, 创建指定尺寸的按钮, 可选值 `lg` `sm` `xs`
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<lay-button type="primary" size="lg">原始按钮</lay-button>
|
<lay-button type="primary" size="lg">原始按钮</lay-button>
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
::: title 基础使用
|
::: title 基础使用
|
||||||
:::
|
:::
|
||||||
|
|
||||||
::: demo
|
::: demo 使用 `lay-icon` 标签, 创建图标组件
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<lay-icon type="layui-icon-face-smile"></lay-icon>
|
<lay-icon type="layui-icon-face-smile"></lay-icon>
|
||||||
@ -27,7 +27,7 @@ export default {
|
|||||||
::: title 图标颜色
|
::: title 图标颜色
|
||||||
:::
|
:::
|
||||||
|
|
||||||
::: demo
|
::: demo 使用 `color` 属性设置颜色
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<lay-icon type="layui-icon-face-smile" color="red"></lay-icon>
|
<lay-icon type="layui-icon-face-smile" color="red"></lay-icon>
|
||||||
@ -55,7 +55,7 @@ export default {
|
|||||||
::: title 图标尺寸
|
::: title 图标尺寸
|
||||||
:::
|
:::
|
||||||
|
|
||||||
::: demo
|
::: demo 使用 `size` 属性设置尺寸
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<lay-icon type="layui-icon-star" size="26px" color="red"></lay-icon>
|
<lay-icon type="layui-icon-star" size="26px" color="red"></lay-icon>
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
::: title 基础使用
|
::: title 基础使用
|
||||||
:::
|
:::
|
||||||
|
|
||||||
::: demo
|
::: demo 使用 `lay-panel` 标签, 创建面板组件
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<lay-panel><div style="padding: 30px;">面板</div></lay-panel>
|
<lay-panel><div style="padding: 30px;">面板</div></lay-panel>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user