Skip to content

Commit 76c8c74

Browse files
committed
fix
1 parent 2102688 commit 76c8c74

File tree

2 files changed

+82
-6
lines changed

2 files changed

+82
-6
lines changed
Lines changed: 42 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,47 @@
11
<template>
2-
<div></div>
2+
<div>
3+
<css-item label="圆角">
4+
<s-radio-group :list="borderRadiuslist" />
5+
</css-item>
6+
<css-item>
7+
<el-slider v-model="value" show-input> </el-slider>
8+
</css-item>
9+
</div>
310
</template>
411
<script>
12+
import SRadioGroup from '../RadioGroup';
13+
import CssItem from '../CssItem';
14+
515
export default {
6-
7-
}
16+
components: {
17+
SRadioGroup,
18+
CssItem
19+
},
20+
data() {
21+
return {
22+
borderForm: {
23+
border: '',
24+
borderTopLeftRadius: '',
25+
borderTopRightRadius: '',
26+
borderBottomLeftRadius: '',
27+
borderBottomRightRadius: '',
28+
borderRadius: '',
29+
boxShadow: ''
30+
},
31+
borderRadiuslist: [
32+
{
33+
label: '固定圆角',
34+
icon: '',
35+
value: ''
36+
},
37+
{
38+
label: '独立定义',
39+
icon: '',
40+
value: ''
41+
}
42+
]
43+
};
44+
}
45+
};
846
</script>
9-
<style lang="scss" scoped>
10-
11-
</style>
47+
<style lang="scss" scoped></style>
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
<template>
2+
<div>
3+
<el-row>
4+
<el-col :span="12">
5+
<div></div>
6+
</el-col>
7+
<el-col :span="12">
8+
<div>
9+
<el-input-number
10+
v-model="num"
11+
controls-position="right"
12+
@change="handleChange"
13+
></el-input-number>
14+
</div>
15+
<div>
16+
<el-input placeholder="请输入内容" v-model="input2">
17+
<template slot="append">
18+
<el-popover placement="bottom" width="225" trigger="click">
19+
<chrome-picker
20+
v-model="backgroundForm.backgroundColor"
21+
></chrome-picker>
22+
<span slot="reference">color</span>
23+
</el-popover>
24+
</template>
25+
</el-input>
26+
</div>
27+
</el-col>
28+
</el-row>
29+
</div>
30+
</template>
31+
<script>
32+
import { Chrome } from 'vue-color';
33+
34+
export default {
35+
components: {
36+
ChromePicker: Chrome
37+
}
38+
};
39+
</script>
40+
<style lang="scss" scoped></style>

0 commit comments

Comments
 (0)