update line
This commit is contained in:
16
src/views/databoard/components/line.js
Normal file
16
src/views/databoard/components/line.js
Normal 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>
|
||||
);
|
||||
},
|
||||
};
|
||||
Reference in New Issue
Block a user