forked from sparrow-js/sparrow
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
33e9422
commit 36ba274
Showing
10 changed files
with
118 additions
and
44 deletions.
There are no files selected for viewing
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
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
70 changes: 70 additions & 0 deletions
70
packages/sparrow-client/src/components/CssPanel/Shadow/index.vue
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 |
---|---|---|
@@ -0,0 +1,70 @@ | ||
<template> | ||
<div> | ||
<css-item label="阴影"> | ||
<div> | ||
<s-radio-group :list="shadowList" /> | ||
</div> | ||
<div> | ||
<el-input placeholder="请输入内容" v-model="input2"> | ||
<template slot="append"> | ||
<el-popover placement="bottom" width="225" trigger="click"> | ||
<chrome-picker | ||
v-model="borderForm.backgroundColor" | ||
></chrome-picker> | ||
<span slot="reference">color</span> | ||
</el-popover> | ||
</template> | ||
</el-input> | ||
</div> | ||
<div> | ||
<div> | ||
<css-item label="X"> | ||
<el-input-number controls-position="right"></el-input-number> | ||
</css-item> | ||
</div> | ||
<div> | ||
<css-item label="Y"> | ||
<el-input-number controls-position="right"></el-input-number> | ||
</css-item> | ||
</div> | ||
<div> | ||
<css-item label="模糊"> | ||
<el-input-number controls-position="right"></el-input-number> | ||
</css-item> | ||
</div> | ||
<div> | ||
<css-item label="扩展"> | ||
<el-input-number controls-position="right"></el-input-number> | ||
</css-item> | ||
</div> | ||
</div> | ||
</css-item> | ||
</div> | ||
</template> | ||
<script> | ||
import SRadioGroup from '../RadioGroup'; | ||
import { Chrome } from 'vue-color'; | ||
export default { | ||
components: { | ||
SRadioGroup, | ||
ChromePicker: Chrome | ||
}, | ||
data() { | ||
return { | ||
shadowList: [ | ||
{ | ||
label: '外阴影', | ||
icon: '', | ||
value: '' | ||
}, | ||
{ | ||
label: '内阴影', | ||
icon: '', | ||
value: 'inset' | ||
} | ||
] | ||
}; | ||
} | ||
}; | ||
</script> |
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