module/flk/themes/admin/flk_group_product/index.html

(完整代码) 1KB

<!DOCTYPE html>
<html>
	{include file="head.html"}
	<body>
<div class="tabs-border">
	<div>{$group.title}::</div>
	<div class="item active">产品列表</div>
 
</div>
<div class="main-body">
 <table class="tbs">
<thead>  <tr>
   <td>gpid</td>
   
   <td>产品</td>
   <td>排序</td>
<td>操作</td></tr>
  </tr>
</thead> {foreach item=c from=$list}
<tr>
   <td>{$c.gpid}</td>
    
   <td>{$c.title}</td>
   <td>
		 <div class="flex">
		<input class="js-order w60" type="text" gpid="{$c.gpid}" value="{$c.orderindex}" />
		</div>
	 </td>
<td>
 <a href="/module.php?m=flk_product&a=show&id={$c.productid}" target="_blank">查看</a> 
 <a href="javascript:;" class="js-delete" url="/moduleadmin.php?m=flk_group_product&a=delete&ajax=1&gpid={$c.gpid}">删除</a>
 </td>
  </tr>
   {/foreach}
 </table>
<div>{$pagelist}</div>
</div> 
{include file="footer.html"}
<script>
	$(function(){
		$(document).on("change",".js-order",function(){
			var gpid=$(this).attr("gpid");
			var orderindex=$(this).val();
			$.post("/moduleadmin.php?m=flk_group_product&a=orderindex&ajax=1",{
				gpid:gpid,
				orderindex:orderindex
			},function(res){
				skyToast(res.message);
			},"json");
		})
	})
</script>
</body>
</html>

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。