多应用+插件架构,代码干净,二开方便,首家独创一键云编译技术,文档视频完善,免费商用码云13.8K 广告
>[danger] 友情提示:构建器目前只支持HisiPHP Pro版本([我要升级](https://www.hisiphp.com/authorize.html)) ## 进度条(progress) | 参数 | 类型 | 必须 | 默认 | 说明 | --- | --- | --- | --- | --- | | type | string | Y | | 固定值:progress | | name | string | Y | | 字段名称 | | title | string | Y | | 标题 | | value | string/int | N | | 定义默认值 | | tips | string | N | | 提示说明 | | background | string | N | | 背景色,十六进制颜色码 | | big_size | bool | N | false | 大尺寸的进度条(不需要可不设置) | | show_text | bool | N | false | 进度条的文本显示(不需要可不设置),支持:*普通数字*、*百分数*、*分数* | >[info]![](https://img.kancloud.cn/0f/ec/0fec85753f26a00b8964a5a8c93aef1c_581x104.png) >[]示例代码: ``` $assign['buildForm']['items'] = [ [ 'type' => 'progress', 'title' => '小尺寸进度条', 'name' => 'progress', 'value' => '10%', 'tips' => '提示', 'show_text' => true ], [ 'type' => 'progress', 'title' => '大尺寸进度条', 'name' => 'big_progress', 'value' => '50%', 'tips' => '提示', 'big_size' => true, 'background' => '#ff5500', 'show_text' => true ], // 更多表单项..... ]; $this->assign($assign); ```