<link type="text/css" rel="stylesheet" href="{url:@static/css/ucenter.css}" />
<div class="mt10 clearfix" style="position: relative;">
	{widget:name=sub_navs action=ucsidebar sidebar=$sidebar act=$actionId}
	<div class="content clearfix uc-content">
		<div class="box p10">
			<h1 class="title"><span>我的关注：</span></h1>
			<div class="mt10">
			<form action="{url:/ucenter/attention_del}" method="post">
			<table class="simple attention">
				<tr>
					<th width="30"></th><th width="100"></th> <th >商品</th> <th width="100">价格</th> <th width="60">库存</th> <th width="110">操作</th>
				</tr>
				{list:items=$attention['data']}
				<tr {if:$key%2==1}class="odd"{/if}>
					<td><input type="checkbox" name="id[]" value="{$item['id']}" ></td><td><a href="{url:/index/product/id/$item[gid]}" target="_blank"><img src="{url:@}{echo:Common::thumb($item['img'],100,100)}" width="100" height="100"></a></td> <td><a href="{url:/index/product/id/$item[gid]}" target="_blank">{echo:TString::msubstr($item['name'],0,20)}</a>
					<p class="pt5">关注时间：{$item['time']}</p></td> <td class="red" style="font-size:14px;"><b>{$currency_symbol}{$item['sell_price']}</b></td> <td>{if:$item['store_nums']>0}有货{else:}缺货{/if}</td> <td><a href="{url:/index/product/id/$item[gid]}" class=" btn btn-mini" target="_blank">去购买</a><p class="pt5">&nbsp;&nbsp;<a href="{url:/ucenter/attention_del/id/$item[id]}" >取消关注</a></p></td>
				</tr>
				{/list}
			</table>
			<div class="page-nav"><p class="fl" style="padding-left: 10px;"><input type="checkbox" onclick="$('input[name=\'id[]\']').attr('checked',!!$(this).attr('checked'));" >&nbsp;&nbsp;&nbsp;&nbsp;<button type="submit" href="javascript:;" id="cancel-attention" class=" btn btn-mini" title="全选" data="true" >取消关注</button></p>{$attention['html']}</div>
			</form>
			</div>

		</div>
	</div>
</div>
<script type="text/javascript">
	$("#cancel-attention").on("click",function(){

	})
</script>