- 自动识别
View
Label
ImageView
对于Button
需要两步骤 - 支持自定义每种类型
Mustache
语言模板 - 支持自定义变量前缀
- 打开软件登录蓝湖的账号
- 打开页面找到元素
- 配置类型模板生成代码
- 复制粘贴
{
"type" //类型 0为label 1为button 2为view 3为imageView
"textColor" //文本颜色 十六进制
"font" //字体大小
"text" //文本
"fontBlod" //字体类型
"boardWidth" //试图边框宽度
"boardColor" //边框颜色 十六进制
"backgroundColor" // 背景颜色
"cornerRadio" // 圆角
"isBold" // 字体是否加粗
"prefix" // 文件名称默认前缀
}
- 自动复制内容
- 支持模板插件化
- 支持生成自动布局代码