WIN-2308041133\Administrator 2 일 전
부모
커밋
4d792e06c9
1개의 변경된 파일4개의 추가작업 그리고 2개의 파일을 삭제
  1. 4 2
      app/admin/view/store/store_product/index.php

+ 4 - 2
app/admin/view/store/store_product/index.php

@@ -105,8 +105,9 @@
                         <p>分类:{{d.cate_name}}</p>
                         <p>分类:{{d.cate_name}}</p>
                         {{# } }}
                         {{# } }}
                     </script>
                     </script>
-                    {if condition="$mer_id <= 0"}
+
                     <script type="text/html" id="act">
                     <script type="text/html" id="act">
+                        {if condition="$mer_id <= 0"}
                         <button type="button" class="layui-btn layui-btn-xs layui-btn-normal" lay-event='edit'>
                         <button type="button" class="layui-btn layui-btn-xs layui-btn-normal" lay-event='edit'>
                             编辑
                             编辑
                         </button>
                         </button>
@@ -125,6 +126,7 @@
                                 </a>
                                 </a>
                             </li>
                             </li>
                             {{# } }}
                             {{# } }}
+                            {/if}
                             <li>
                             <li>
                                 <a href="{:Url('store.storeProductReply/index')}?product_id={{d.id}}">
                                 <a href="{:Url('store.storeProductReply/index')}?product_id={{d.id}}">
                                     <i class="fa fa-warning"></i> 评论查看
                                     <i class="fa fa-warning"></i> 评论查看
@@ -132,7 +134,7 @@
                             </li>
                             </li>
                         </ul>
                         </ul>
                     </script>
                     </script>
-                    {/if}
+
                 </div>
                 </div>
             </div>
             </div>
         </div>
         </div>