制度添加条款形状
This commit is contained in:
parent
e131207950
commit
62a69aa7da
@ -54,7 +54,8 @@ Schema.addShape({name:"regulation", title:"制度",text:"制度", category:"cont
|
||||
|
||||
|
||||
/*Item*/
|
||||
/***Schema.addShape({name:"it11em111111", title:"条款",text:"条款", category:"control_policy", lineStyle:{lineWidth: 1},props:{w:100, h:47}, textBlock:{x:"w*0.1", y:"2", w:"(w-Math.min(h/2,w/6))*0.8", h:"h-2"},textBlockFinal:{x:"w/2-60", y:"h", w:"120", h:"30"}, anchors:[
|
||||
Schema.addShape({name:"item1", title:"条款",text:"条款", category:"control_policy", lineStyle:{lineWidth: 1},
|
||||
props:{w:220, h:50}, textBlock:{x:"w*0.1", y:"2", w:"(w-Math.min(h/2,w/6))*0.8", h:"h-2"},textBlockFinal:{x:"w/2-60", y:"h", w:"120", h:"30"}, anchors:[
|
||||
{x:"w*0.5", y:"0"},
|
||||
{x:"w-Math.min(h/2,w/6)", y:"h*0.5"},
|
||||
{x:"w*0.5", y:"h"},
|
||||
@ -69,10 +70,10 @@ Schema.addShape({name:"regulation", title:"制度",text:"制度", category:"cont
|
||||
{action:"line", x:"0", y:"0"},
|
||||
{action:"close"}
|
||||
]}
|
||||
]});*/
|
||||
]});
|
||||
|
||||
|
||||
/***胶囊型:Terminator*/Schema.addShape({name:"item", title:"条款", text:"条款", category:"control_policy",lineStyle:{lineWidth: 1},
|
||||
/***胶囊型:Terminator*/Schema.addShape({name:"item2", title:"条款", text:"条款", category:"control_policy",lineStyle:{lineWidth: 1},
|
||||
props:{w:220, h:50},textBlock:{x:"Math.min(w,h)/3", y:"2", w:"w-(Math.min(w,h)/3)*2", h:"h-2"}, path:[
|
||||
{actions:[
|
||||
{action:"move", x:"Math.min(w,h)/3+5", y:"0"},
|
||||
|
||||
Loading…
Reference in New Issue
Block a user