UNPKG

@pluginarch/create-parch

Version:

this is way to create a ui project

42 lines (41 loc) 1.61 kB
var searchBoxViewAttr = { tag: 'SearchBoxView', attrMap: { id: 'searchBoxView0', visible: '1', opacity: '1', enable: '1', radius: 10, // 圆角 popRadius: 10, // 下拉框圆角 fontCheckedColor: '#000000', // 字体点击颜色 textFill: '#000000', // 按钮字体颜色 fontColor: '#000000', // 文本框字体颜色 backCheckedColor: '#808080', // 按钮点击颜色 backColor: '#ededed', // 按钮颜色 borderColor: '#00ffffff', // 按钮边框颜色 filedBorderColor: '#ededed', // 输入框背景颜色 popLineColor: '#ffffff', // 下拉框单个背景颜色 popBackColor: '#eeeeee', // 下拉框背景颜色 selectPopLineColor: '#00ffff', // 下拉框单个选择颜色 popBorderColor: '#00ffffff', // 下拉框边框颜色 popHeight: '25', // 下拉框单个高度 text: '搜索', // 按钮显示文字 textAlignment: 'CENTER', // 文字对齐方式 textOverrun: 'ELLIPSIS', // 文字超过显示范围的省略方式 wrapText: false, // 文字自动换行 // adaptive: false, // 是否大小自适应 fontSize: '14', fontStyle: '0', fontFamily: '微软雅黑', // underline: '', icon: '', // 图片源 imageFillMode: 0, // 图片显示模式 , 0-["平铺","中心"] promptText: '请输入内容', // 提示文字 textFiledText: '', // 输入框文字 dataSource: 'dataSource2', // 数据源 tSource: 'query result', // 关联表名 searchSource: 'name', // searchSource // 公共属性 enabled: 'true' } }