<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之旅 廣告
                ## 構建導入構建器對象 通過公共方法`YI('general_example')`返回一個id為`general_example`的導入構建器對象。 * 方式一:鏈式操作 ```php $builder=YI('demo') ->sheets(["Sheet1","Sheet2"]) ->cols(function($sheet){...}) ->limit(20) ->tips([...]) ->row(function($sheet,$row_data){...}); ``` * 方式二:數組配置 ```php $args = [ "sheets"=>["Sheet1","Sheet2"], "cols"=>function($sheet){...}, "limit"=>20, "tips"=>[...], "row"=>function($sheet,$row_data){...} ]; $builder=YI('general_example',$args); ``` ## 渲染輸出(控制器調用assign方法) 在控制器中使用如下方法將導入配置渲染輸出到視圖模板,詳見:[導入渲染輸出](http://www.hmoore.net/worklz/yunj_admin_universal/2234941) ~~~ $builder->assign(\yunj\Controller $this); // 視圖渲染 return $this->fetch(); ~~~ ## 視圖頁面 ~~~ <!-- 繼承公共模板文件 --> {extend name="yunj@admin/public/iframe/layout"} <!-- 重寫content內容 --> {block name="content"} <div class="layui-row layui-col-space15"> <div class="layui-col-md12"> <!-- import標簽定義type屬性為yunj,id與后端數據導入構建器id一致 --> <import type="yunj" id="demo"></import> </div> </div> {/block} ~~~ > 提示:支持一個頁面渲染多個數據導入 > 小技巧:當頁面只有一個導入時,可通過添加class="header-fixed"讓導入視圖頭部固定。示例:`<import type="yunj" id="demo" class="header-fixed"></import>`
                  <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>

                              哎呀哎呀视频在线观看