wupengfei 2 năm trước cách đây
mục cha
commit
5c357eb55f

+ 4 - 2
.idea/workspace.xml

@@ -2,7 +2,9 @@
 <project version="4">
   <component name="ChangeListManager">
     <list default="true" id="1a36929e-c054-4875-a943-593a74e55fa4" name="Default Changelist" comment="">
-      <change beforePath="$PROJECT_DIR$/application/operate/view/supplier/index.html" beforeDir="false" afterPath="$PROJECT_DIR$/application/operate/view/supplier/index.html" afterDir="false" />
+      <change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
+      <change beforePath="$PROJECT_DIR$/application/operate/controller/SupplierGoods.php" beforeDir="false" afterPath="$PROJECT_DIR$/application/operate/controller/SupplierGoods.php" afterDir="false" />
+      <change beforePath="$PROJECT_DIR$/application/operate/view/supplier_goods/index.html" beforeDir="false" afterPath="$PROJECT_DIR$/application/operate/view/supplier_goods/index.html" afterDir="false" />
     </list>
     <option name="SHOW_DIALOG" value="false" />
     <option name="HIGHLIGHT_CONFLICTS" value="true" />
@@ -208,7 +210,7 @@
       <workItem from="1663289320226" duration="8186000" />
       <workItem from="1663374115380" duration="19161000" />
       <workItem from="1663548946176" duration="17651000" />
-      <workItem from="1663721089544" duration="7393000" />
+      <workItem from="1663721089544" duration="7591000" />
     </task>
     <servers />
   </component>

+ 0 - 1
application/operate/controller/SupplierGoods.php

@@ -87,7 +87,6 @@ class SupplierGoods extends Controller
      */
     public function edit()
     {
-        $this->place_desc =['','视频首页'];
         $this->title = '编辑供货商商品';
         $this->supplier_id = input('supplier_id');
         $this->_form($this->table, 'form');

+ 3 - 6
application/operate/view/supplier_goods/index.html

@@ -10,22 +10,19 @@
     <table class="layui-table margin-top-20" lay-skin="line">
         <thead>
         <tr>
-            <th class='list-table-check-td think-checkbox'><input data-auto-none data-check-target='.list-check-box' type='checkbox'></th>
+
             <th class='list-table-sort-td'><button type="button" data-reload class="layui-btn layui-btn-xs">刷 新</button></th>
             <th class='text-left nowrap'>名称</th>
-            <th class='text-left nowrap'>轮播图</th>
-            <th class='text-left nowrap'>位置</th>
+            <th class='text-left nowrap'>图片</th>
             <th class="text-left" style="width: 20%">操作</th>
         </tr>
         </thead>
         <tbody>
         {foreach $list as $key=>$vo}
         <tr>
-            <td class='list-table-check-td think-checkbox'><input class="list-check-box" value='{$vo.id}' type='checkbox'></td>
             <td class='list-table-sort-td'><input data-action-blur="{:request()->url()}" data-value="id#{$vo.id};action#sort;sort#{value}" data-loading="false" value="{$vo.sort}" class="list-sort-input"></td>
             <td class='text-left nowrap'>{$vo.name|default=''}</td>
-            <td class='text-left nowrap'><img data-tips-image="{$vo.cover|default=''}"  src="{$vo.cover|default=''}" height="50" width="110px"></td>
-            <td class='text-left nowrap'>{$place_desc[$vo.place]}</td>
+            <td class='text-left nowrap'><img data-tips-image="{$vo.cover|default=''}"  src="{$vo.cover|default=''}" height="50" width="50px"></td>
             <td class='text-left' style="width: 20%">
                 <a data-title="编 辑" class="layui-btn layui-btn-sm" data-modal='{:url("edit")}?id={$vo.id}&supplier_id={$vo.supplier_id}'>编 辑</a>
                 <span class="layui-btn layui-btn-sm layui-btn-danger" onclick="btn_confirm('删除','del','{$vo.id}');">删 除</span>