<ruby id="bdb3f"></ruby>

    <p id="bdb3f"><cite id="bdb3f"></cite></p>

      <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
        <p id="bdb3f"><cite id="bdb3f"></cite></p>

          <pre id="bdb3f"></pre>
          <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

          <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
          <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

          <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                <ruby id="bdb3f"></ruby>

                ThinkChat2.0新版上線,更智能更精彩,支持會話、畫圖、視頻、閱讀、搜索等,送10W Token,即刻開啟你的AI之旅 廣告
                > addTime('字段名稱', '字段別名' [, '提示信息', '默認值', ''時間格式,'額外屬性', '額外css類','占位符','是否必填']) 標識符:`time` | 參數 | 含義 | 類型 | 必填 | | --- | --- | --- | --- | | name | 字段名稱(英文) | string | 是 | | title | 字段別名(中文)| string | 是 | | tips | 提示信息 | string | 否 | | default | 默認值 | string | 否 | | format| 時間格式 | string | 否 | | extra_attr | 額外屬性 | string | 否 | | extra_class | 額外css類 | string | 否 | | placeholder | 占位符 | string | 否 | | required | 是否必填 | bool| 否 | 時間一般只需要兩個參數(name, title),其他參數均為選填項。 ``` return FormBuilder::getInstance() ->addTime('create_time', '時間') ->fetch(); ``` 效果: ![](https://img.kancloud.cn/c7/f6/c7f60aba9c4aa9afc285cc6812b181eb_640x59.png) ![](https://img.kancloud.cn/37/89/37895e12aed719404319a386cf5a264a_650x219.png) ## 默認值 時間類型的默認值是空,如果有需要,可以自定義 ``` return FormBuilder::getInstance() ->addTime('create_time', '時間', '', '15:30:27') ->fetch(); ``` ## 時間格式 `V6.1.6`之前默認的日期格式是`HH:mm:ss`,可以自定義。目前只提供兩種格式,且為24小時制。 ``` return FormBuilder::getInstance() ->addTime('create_time', '時間', '', '', 'HH:mm') ->fetch(); ``` > 更多設置請參考 [http://jdewit.github.io/bootstrap-timepicker/](http://jdewit.github.io/bootstrap-timepicker/) >可設置是否24小時制、 分鐘的步數、是否顯示秒、窗口小部件是否可輸入等 從`V6.1.6`開始,格式遵循`php`的日期格式,默認格式為`H:i:s`,更多格式可參考[php日期章節](https://www.php.net/manual/zh/function.date.php) ## 完整示例 ~~~ ->addTime('visit_time', '時間', '提示信息', '', '', 'extra_attr', 'extra_class', '請選擇或輸入', true) ~~~ > 從`V6.1.6`開始,`default`可以通過設置為`now`來表示當前時間
                  <ruby id="bdb3f"></ruby>

                  <p id="bdb3f"><cite id="bdb3f"></cite></p>

                    <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
                      <p id="bdb3f"><cite id="bdb3f"></cite></p>

                        <pre id="bdb3f"></pre>
                        <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

                        <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
                        <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

                        <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                              <ruby id="bdb3f"></ruby>

                              哎呀哎呀视频在线观看