演示模板
<a href="<Element context="current" type="content" key="publish_file"/>" target="_black">
<script>
document.write(decodeURI('<Element context="current" type="content" key="publish_file"/>').substring(decodeURI('<Element context="current" type="content" key="publish_file"/>').lastIndexOf("/")+1,decodeURI('<Element context="current" type="content" key="publish_file"/>').lastIndexOf("?")));
</script>
</a>