feat: 抽离输入框配置并添加拖拽位置提示

This commit is contained in:
2026-05-15 14:35:51 +08:00
parent 6a0294f0c0
commit c6f7787c35
4 changed files with 104 additions and 3 deletions

30
js/inputs-config.js Normal file
View File

@@ -0,0 +1,30 @@
// 输入框初始化配置 - 独立于主逻辑的配置文件
// 如需调整初始化位置或样式,请修改此文件
var INPUTS_CONFIG = {
"inputs": [
{
"id": "input1",
"label": "企业",
"left": 100,
"top": 218.4,
"fontWeight": "bold",
"placeholder": "请输入"
},
{
"id": "input2",
"label": "嘉宾",
"left": 100,
"top": 261.4,
"fontWeight": "bold",
"placeholder": "请输入"
},
{
"id": "input3",
"label": "编号",
"left": 100,
"top": 308.1,
"fontWeight": "bold",
"placeholder": "请输入"
}
]
};