作者 anyv
1 个管道 的构建 通过 耗费 0 秒

投票列表

... ... @@ -7,6 +7,7 @@
<thead>
<tr>
<th style="width: 60px;">ID</th>
<th style="width: 60px;">单选/多选</th>
<th>投票标题</th>
<th style="width: 150px;">操作</th>
</tr>
... ... @@ -15,9 +16,10 @@
<volist name="data" id="vo">
<tr class="tr{$vo.id}">
<td>{$vo.id}</td>
<td>{$vo.id}</td>
<td>{$vo.title}</td>
<td>
<button type="button" class="btn btn-default" data-toggle="modal" data-target="#editModal" onclick="" >编辑</button>
<button type="button" class="btn btn-default" data-toggle="modal" data-target="#editModal" onclick="edit({$vo.id})" >编辑</button>
<button type="button" class="btn btn-default" onclick="">删除</button>
</td>
</tr>
... ... @@ -96,6 +98,13 @@
}
//当点击编辑时
function edit(id){
}
</script>
</body>
</html>
\ No newline at end of file
... ...