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

                企業??AI智能體構建引擎,智能編排和調試,一鍵部署,支持知識庫和私有化部署方案 廣告
                :-: 關聯版式 文件路徑:shop/controllers/Seller/GoodsCtl.php; ##### 1、版式顯示(format()) 后臺數據獲取: $format_rows = $Goods_FormatModel->getFormatList($cond_row, array(), $page, $rows); 前臺顯示: <?php foreach ($data as $key => $value) { ?> <tr> <td class="tl"> <label class="checkbox"><input class="checkitem" type="checkbox" name="chk[]" value="<?= $value['id'] ?>"/></label> <?= $value['name'] ?> </td> <td><?php print($value['position_name']); ?></td> <td> <span class="edit"><a href="<?php echo Yf_Registry::get('url'); ?>?ctl=Seller_Goods&met=format&act=edit&id=<?= $value['id']; ?>"><i class="iconfont icon-zhifutijiao"></i><?=__('編輯')?></a></span> <span class="del"><a data-param="{'id':'<?= $value['id']; ?>','ctl':'Seller_Goods','met':'deleteGoodsFormat'}" href="javascript:void(0)"><i class="iconfont icon-lajitong"></i><?=__('刪除')?></a></span> </td> </tr> <?php }?> ##### 2、新增版式 (format()) 參數:act=add 視圖文件: $this->view->setMet('addformat'); 提交表單: $('#form').validator({ ignore: ':hidden', theme: 'yellow_right', timely: 1, stopOnError: false, rules: { }, fields: { 'name': 'required;' }, valid:function(form){ //表單驗證通過,提交表單 $.ajax({ url: ajax_url, data:$("#form").serialize(), type:"POST", success:function(a){ if(a.status == 200) { Public.tips({ content: "<?=__('操作成功'); ?>"}); if (opener) { opener.addLayout({ id: a.data.id, name: $("#title").val(), position: $("select[name=\"position\"]").val() }); window.close(); } else { location.href=SITE_URL + "?ctl=Seller_Goods&met=format&typ=e"; } } else { Public.tips({ content: "<?=__('操作失敗'); ?>"}); } } }); } }); ##### 3、版式編輯(format()) 參數:act = edit 視圖文件: $this->view->setMet('addformat'); 表單提交與2、版式添加中表單提交相同 ##### 4、版式刪除() <span class="del"><a data-param="{'id':'<?= $value['id']; ?>','ctl':'Seller_Goods','met':'deleteGoodsFormat'}" href="javascript:void(0)"><i class="iconfont icon-lajitong"></i><?=__('刪除')?></a></span>
                  <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>

                              哎呀哎呀视频在线观看