update line

This commit is contained in:
lb
2023-12-05 17:00:55 +08:00
parent b26e1d5a7f
commit e7263302a7
3 changed files with 73 additions and 14 deletions

View File

@@ -0,0 +1,16 @@
export default {
name: 'KilnLine',
props: ['horizontal'],
render: function (h) {
return (
<div
class="line"
style={{
width: this.horizontal ? '100%' : '2px',
height: this.horizontal ? '2px' : '100%',
background:
'radial-gradient(ellipse at center, #3CE7FF 100%, #3CE7FF 50%, #3CE7FF 0%)',
}}></div>
);
},
};