You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

79 lines
1.2 KiB

import Konva from "konva";
const search=function (){
const group=new Konva.Group({
x:20,
8 months ago
y:52
})
const selectRect=new Konva.Rect({
x: 0,
y: 0,
fill:'#ffffff',
width: 110,
height:20,
stroke:'white',
strokeWidth:1,
})
group.add(selectRect)
const plRect=new Konva.Rect({
x: 115,
y: 0,
fill:'#ffffff',
width: 110,
height:20,
stroke:'white',
strokeWidth:1,
})
group.add(plRect)
const fdRect=new Konva.Rect({
x: 230,
y: 0,
fill:'#ffffff',
width: 110,
height:20,
stroke:'white',
strokeWidth:1,
})
group.add(fdRect)
const kwRect=new Konva.Rect({
x: 345,
y: 0,
fill:'#ffffff',
width: 100,
height:20,
stroke:'white',
strokeWidth:1,
})
group.add(kwRect)
const lxRect=new Konva.Rect({
x: 450,
y: 0,
fill:'#ffffff',
width: 105,
height:20,
stroke:'white',
strokeWidth:1,
})
group.add(lxRect)
// const sljhrqRect=new Konva.Rect({
// x: 345,
// y: 0,
// fill:'#ffffff',
// width: 115,
// height:20,
// stroke:'white',
// strokeWidth:1,
// })
// group.add(sljhrqRect)
return {
group
}
}
export default search