深圳全飞鸿

 找回密码
 立即注册
搜索
热搜: 活动 交友 discuz
查看: 183|回复: 0
打印 上一主题 下一主题

beacon平台C方案中的前端封装/html::input

[复制链接]

228

主题

466

帖子

2184

积分

版主

Rank: 7Rank: 7Rank: 7

积分
2184
跳转到指定楼层
楼主
发表于 2024-5-9 20:19:34 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
html::input

用例:
html::input('server', $domain, "class='form-control'");
html::input("text", '', "class='form-control form-date'");
html::input("title[$i]", '', "class='form-control title-import'");
html::input("dates[$i]", helper::today(), "class='form-control text-center form-date'");
html::input('title', '', "class='form-control' required");
html::input('title', $story->title, 'class="form-control disabled story-title" disabled="disabled"');
html::input('scmPath', $build->scmPath, "class='form-control' placeholder='{$lang->build->placeholder->scmPath}'");
html::input('account', $user->account, "class='form-control' readonly='readonly'");
html::input("begins[$projectID]", $projects[$projectID]->begin, "class='form-control form-date' onchange='computeWorkDays(this.id)'");
html::input('sourceNote', $sourceNote, "class='form-control' style='width:140px;'");


正则:form-control\s[^"]+

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|Archiver|手机版|小黑屋|nagomes  

GMT+8, 2025-5-5 04:52 , Processed in 0.025970 second(s), 21 queries .

Powered by Discuz! X3.2

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表