<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>

                ??碼云GVP開源項目 12k star Uniapp+ElementUI 功能強大 支持多語言、二開方便! 廣告
                ## 日期區間列表 daterangepicker 參考文檔: [http://www.daterangepicker.com/](http://www.daterangepicker.com/) [TOC] ![](https://box.kancloud.cn/f4308d16dd7b4e34c5a4734af9bb2ba3_602x345.png) ## 基本使用 ``` <input name="birthdate" value="2017-11-07 至 2017-12-22" class="form-control"/> <script> require(['hdjs'], function (hdjs) { hdjs.daterangepicker({ //標簽元素 element: 'input[name="birthdate"]' }); }) </script> ``` ## 顯示周與時間 ![](https://box.kancloud.cn/fb4a609a0ec645b2cec43585814e702a_685x377.png) ~~~ <input name="birthdate" value="2019-02-22 至 2020-3-22" class="form-control"/> <script> require(['hdjs', 'moment','bootstrap'], function (hdjs, moment) { hdjs.daterangepicker({ //標簽元素 element: 'input[name="birthdate"]', //選項參考插件官網 options: { ranges: { //'最近1小時': [moment().subtract('hours',1), moment()], '今日': [moment().startOf('day'), moment()], '昨日': [moment().subtract('days', 1).startOf('day'), moment().subtract('days', 1).endOf('day')], '最近7日': [moment().subtract('days', 6), moment()], '最近30日': [moment().subtract('days', 29), moment()], '本月': [moment().startOf("month"), moment().endOf("month")], '上個月': [moment().subtract(1, "month").startOf("month"), moment().subtract(1, "month").endOf("month")] }, showDropdowns: true, alwaysShowCalendars: true, }, callback: function (start, end, label) { var str = start.format('YYYY-MM-DD') + ' 至 ' + end.format('YYYY-MM-DD'); console.log(str); } }); }) </script> ~~~
                  <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>

                              哎呀哎呀视频在线观看