-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #19 from RH-Xie/branch
add Unselect
- Loading branch information
Showing
14 changed files
with
83 additions
and
56 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
8 changes: 4 additions & 4 deletions
8
packages/button/dist/lc-button.0.0.1.umd.js → apps/editor/public/lc-button.0.0.2.umd.js
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,35 @@ | ||
import App from './index.vue' | ||
import './index.css' | ||
import App from "./index.vue"; | ||
import "./index.css"; | ||
|
||
export default { | ||
render: App, | ||
editorProps: { | ||
title: { | ||
type: 'string', // 类型,并非值的类型,而是在渲染时决定显示什么类型的输入框(如选择器、滑块) | ||
defaultValue: '按钮',// 默认图的cdn | ||
display: '内容' // 在输入框上方显示的名称,无则不显示 | ||
type: "string", // 类型,并非值的类型,而是在渲染时决定显示什么类型的输入框(如选择器、滑块) | ||
defaultValue: "按钮", // 默认图的cdn | ||
display: "内容", // 在输入框上方显示的名称,无则不显示 | ||
}, | ||
color: { | ||
type: "color", | ||
defaultValue: "#333", | ||
display: "文字颜色", | ||
}, | ||
backgroundColor: { | ||
type: "color", | ||
defaultValue: "#fff", | ||
display: "背景颜色", | ||
}, | ||
// color: { | ||
// type: 'color', | ||
// defaultValue: '#333', | ||
// display: '颜色' | ||
// }, | ||
size: { | ||
type: 'number', | ||
type: "number", | ||
defaultValue: 15, | ||
display: '字体大小' | ||
display: "字体大小", | ||
}, | ||
borderRadius: { | ||
type: 'number', | ||
type: "slider", | ||
defaultValue: 1, | ||
display: '圆角' | ||
} | ||
} | ||
display: "圆角", | ||
min: 0, | ||
max: 200, | ||
}, | ||
}, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters