+
+
+
+
+
+
+ {{layoutList.data.movieName}}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{item.code}}
+
+
+
+ {{item.jt}}
+
+
+
+
+
+
+
+
diff --git a/resource/kuwei2/KuWeiInfo.ts b/resource/kuwei2/KuWeiInfo.ts
new file mode 100644
index 0000000..1e17e4d
--- /dev/null
+++ b/resource/kuwei2/KuWeiInfo.ts
@@ -0,0 +1,11 @@
+
+import { kuwei_item } from "./KuWeiIteam";
+
+export interface kuwei_info {
+ width?: number
+ height?: number
+ mg_top?: number
+ mg_left?: number
+ positionDistin?: number
+ movieName?: string
+}
diff --git a/resource/kuwei2/KuWeiIteam.ts b/resource/kuwei2/KuWeiIteam.ts
new file mode 100644
index 0000000..f4492aa
--- /dev/null
+++ b/resource/kuwei2/KuWeiIteam.ts
@@ -0,0 +1,9 @@
+import type { ComponentDataType } from 'open-data-v/base'
+import type { CanvasStyleData } from 'open-data-v/designer'
+
+export interface kuwei_item {
+ id?: String
+ gRow?: number
+ gCol?: number
+ type?: String
+}
diff --git a/resource/kuwei2/config.ts b/resource/kuwei2/config.ts
new file mode 100644
index 0000000..dca23de
--- /dev/null
+++ b/resource/kuwei2/config.ts
@@ -0,0 +1,101 @@
+import type { MetaContainerItem } from 'open-data-v/base'
+import { ComponentGroup, CustomComponent, FormType } from 'open-data-v/base'
+import { h } from 'vue'
+
+export const componentName = 'KuWei2'
+class SubTextComponent extends CustomComponent {
+ constructor(id?: string, name?: string, icon?: string) {
+ super({
+ component: componentName,
+ group: ComponentGroup.OTHER,
+ name: name ? name : '库位图2',
+ id,
+ width: 100,
+ height: 30,
+ icon
+ })
+ }
+
+ _prop: MetaContainerItem[] = [
+ {
+ label: '基础配置',
+ prop: 'base',
+ children: [
+ {
+ prop: 'boxWidth',
+ label: '盒子宽度',
+ type: FormType.NUMBER,
+ props: {
+ defaultValue: 20,
+ suffix: () => h('span', {}, 'px')
+ }
+ },{
+ prop: 'boxHeight',
+ label: '盒子高度度',
+ type: FormType.NUMBER,
+ props: {
+ defaultValue: 20,
+ suffix: () => h('span', {}, 'px')
+ }
+ },
+ {
+ prop: 'boxWidithGap',
+ label: '盒子宽间距',
+ type: FormType.NUMBER,
+ props: {
+ defaultValue: 20,
+ suffix: () => h('span', {}, 'px')
+ }
+ },
+ {
+ prop: 'boxHeightGap',
+ label: '盒子高间距',
+ type: FormType.NUMBER,
+ props: {
+ defaultValue: 20,
+ suffix: () => h('span', {}, 'px')
+ }
+ },
+ {
+ prop: 'text1Width',
+ label: '文本1宽度',
+ type: FormType.NUMBER,
+ props: {
+ defaultValue: 20,
+ suffix: () => h('span', {}, 'px')
+ }
+ },
+ {
+ prop: 'text1Height',
+ label: '文本1于盒子高度间距',
+ type: FormType.NUMBER,
+ props: {
+ defaultValue: 20,
+ suffix: () => h('span', {}, 'px')
+ }
+ },
+ {
+ prop: 'text2Width',
+ label: '文本2宽度',
+ type: FormType.NUMBER,
+ props: {
+ defaultValue: 20,
+ suffix: () => h('span', {}, 'px')
+ }
+ },
+ {
+ prop: 'text2Height',
+ label: '文本2于盒子高度间距',
+ type: FormType.NUMBER,
+ props: {
+ defaultValue: 20,
+ suffix: () => h('span', {}, 'px')
+ }
+ }
+ ]
+ }
+ ]
+
+}
+
+export default SubTextComponent
diff --git a/resource/kuwei2/index.ts b/resource/kuwei2/index.ts
new file mode 100644
index 0000000..ba83e54
--- /dev/null
+++ b/resource/kuwei2/index.ts
@@ -0,0 +1,7 @@
+import SubTextComponent, { componentName } from './config'
+
+export default {
+ componentName,
+ component: () => import('./KuWei.vue'),
+ config: SubTextComponent
+}
diff --git a/resource/kuwei2/type.ts b/resource/kuwei2/type.ts
new file mode 100644
index 0000000..c3a56da
--- /dev/null
+++ b/resource/kuwei2/type.ts
@@ -0,0 +1,12 @@
+export interface KuWeiType {
+ base: {
+ boxWidth: string
+ boxHeight: string
+ boxWidithGap: string
+ boxHeightGap: string
+ text1Width:string
+ text1Height:string
+ text2Width:string
+ text2Height:string
+ }
+}