1.U方法路径拼接
eg {:U('Task/download/?filename='.$vo['attach_url'].'&name='.$vo['attach'])}"
eg2 {:U('a/b',array(id=>22)}
2.__CONTROLLER路径拼接
window.location.href="__CONTROLLER__/download/filename/" + path+"/name/"+name;
3.js变量和U方法拼接
var id = $(this).attr('data');
window.location.href="{:U('Active/edit')}?id="+id;
4.
5.下一页