chuweiqiang 1 năm trước cách đây
mục cha
commit
efca91312f

+ 2 - 2
app/admin/view/res_center/index.html

@@ -20,7 +20,7 @@
         {/if}{/foreach}
     </ul>
     <div class="layui-tab-content">
-        {include file='xw/index_search'}
+
         <table id="NewsTable" data-url="{:sysuri()}" data-target-search="form.form-search"></table>
     </div>
 </div>
@@ -84,4 +84,4 @@
     <a class="layui-btn layui-btn-danger layui-btn-sm" data-action="{:url('remove')}" data-value="id#{{d.id}}" data-confirm="确定要删除吗?">删 除</a>
     <!--{/if}-->
 </script>
-{/block}
+{/block}

+ 11 - 2
app/data/view/shop/goods/form.html

@@ -88,8 +88,10 @@
                     </td>
                     <td class="text-left padding-0">
                         <div class="help-images">
-                            <input name="slider" data-max-width="2048" data-max-height="1024" type="hidden" value="{$vo.slider|default=''}">
-                            <script>$('[name="slider"]').uploadMultipleImage();</script>
+<!--                            <input name="slider" data-max-width="2048" data-max-height="1024" type="hidden" value="{$vo.slider|default=''}">-->
+<!--                            <script>$('[name="slider"]').uploadMultipleImage();</script>-->
+                            <input name="cover" data-max-width="2048" data-max-height="1024" type="hidden" value="{$vo.cover|default=''}">
+                            <script>$('[name="cover"]').uploadMultipleImage();</script>
                         </div>
                     </td>
                 </tr>
@@ -364,6 +366,13 @@
         <!--        </label>-->
 
         <div class="layui-form-item block">
+            <span class="help-label label-required-prev"><b>详情图片</b></span>
+            <div class="help-images">
+                <input name="slider" data-max-width="2048" data-max-height="1024" type="hidden" value="{$vo.slider|default=''}">
+                <script>$('[name="slider"]').uploadMultipleImage();</script>
+            </div>
+        </div>
+        <div class="layui-form-item block">
             <span class="help-label label-required-prev"><b>商品详情</b></span>
             <!--            <textarea class="" name="content">{$vo.content|default=''|raw}</textarea>-->
             <textarea placeholder="" required class="layui-textarea" name="content">{$vo.content|default=''|raw}</textarea>

+ 15 - 15
app/data/view/shop/goods/index_search.html

@@ -63,20 +63,20 @@
         </label>
     </div>
 
-    <div class="layui-form-item layui-inline">
-        <label class="layui-form-label">审核状态</label>
-        <label class="layui-input-inline">
-            <select class="layui-select" name="examine">
-                <option value=''>-- 全部状态 --</option>
-                {foreach ['待审核','审核通过','审核拒绝'] as $k=>$v}
-                {if input('examine','-') eq $k.''}
-                <option selected value="{$k}">{$v}</option>
-                {else}
-                <option value="{$k}">{$v}</option>
-                {/if}{/foreach}
-            </select>
-        </label>
-    </div>
+<!--    <div class="layui-form-item layui-inline">-->
+<!--        <label class="layui-form-label">审核状态</label>-->
+<!--        <label class="layui-input-inline">-->
+<!--            <select class="layui-select" name="examine">-->
+<!--                <option value=''>&#45;&#45; 全部状态 &#45;&#45;</option>-->
+<!--                {foreach ['待审核','审核通过','审核拒绝'] as $k=>$v}-->
+<!--                {if input('examine','-') eq $k.''}-->
+<!--                <option selected value="{$k}">{$v}</option>-->
+<!--                {else}-->
+<!--                <option value="{$k}">{$v}</option>-->
+<!--                {/if}{/foreach}-->
+<!--            </select>-->
+<!--        </label>-->
+<!--    </div>-->
 <!--    <div class="layui-form-item layui-inline">-->
 <!--        <label class="layui-form-label">返利状态</label>-->
 <!--        <label class="layui-input-inline">-->
@@ -125,4 +125,4 @@
     <div class="layui-form-item layui-inline">
         <button class="layui-btn layui-btn-primary"><i class="layui-icon">&#xe615;</i> 搜 索</button>
     </div>
-</form>
+</form>