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

                ??一站式輕松地調用各大LLM模型接口,支持GPT4、智譜、豆包、星火、月之暗面及文生圖、文生視頻 廣告
                # setExtraHtml ($extra_html) 這個是比較粗暴的用法,盡量避免使用,但有的時候不得不用,主要是一些特殊的內容或者JS邏輯 ## 參數 @param string $extra_html html和js字符串 就像一小段額外的html和js字符串加在列表的下面 ## 用法示例 // 使用Builder快速建立列表頁面。 $builder = new \Common\Builder\ListBuilder(); $builder->setMetaTitle('新聞列表'); ->setExtraHtml('注意:部分第三方金融機構可能會收取手續費,實際金額以到賬為準。alert('測試');'); ## 在列表選中項目進行操作 下面是一個文章列表,選中幾篇文章后進行移動的示例。 //文檔移動POST地址 $move_url = U(D('Index')->moduleName . '/Index/move'); $extra_html = <<<EOF <div class="modal fade" id="moveModal"> <div class="modal-dialog modal-sm"> <div class="modal-content"> <div class="modal-header"> <button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">×</span><span class="sr-only">關閉</span></button> <p class="modal-title">移動至</p> </div> <div class="modal-body"> <form action="{$move_url}" method="post" class="move-form"> <div class="form-group"> <select name="to_cid" class="form-control">{$options}</select> </div> <div class="form-group"> <input type="hidden" name="ids"> <input type="hidden" name="from_cid" value="{$cid}"> <button class="btn btn-primary btn-block submit ajax-post" type="submit" target-form="move-form">確 定</button> </div> </form> </div> </div> </div> </div> <script type="text/javascript"> function move(){ // 獲取當前選中的ID var ids = ''; $('input[name="ids[]"]:checked').each(function(){ ids += ',' + $(this).val(); }); // 如果是post請求操作數據直接在這里發起ajax請求 // 如果是下載等需要瀏覽器接管的請求請使用location.href="下載地址" if(ids != ''){ ids = ids.substr(1); $('input[name="ids"]').val(ids); $('.modal-title').html('移動選中的的文章至:'); $('#moveModal').modal('show', 'fit') }else{ $.alertMessager('請選擇需要移動的文章', 'danger'); } } </script> EOF; //移動按鈕屬性 $move_attr['title'] = '下載或者移動'; $move_attr['class'] = 'btn btn-info btn-pill'; $move_attr['onclick'] = 'move()'; $builder = new \lyf\builder\ListBuilder(); ->addTopButton('self', $move_attr) //添加下載或移動按鈕 ->setExtraHtml($extra_html) ->display();
                  <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>

                              哎呀哎呀视频在线观看