时间:2021-07-01 10:21:17 帮助过:6人阅读
public class WebConfig
{
public static string ResourceServer = @"http://www.xxx.com/"; }
在前台页面中这样调用
代码如下:
<script src="<% =WebConfig.ResourceServer %>/js/jquery-ui-all-min-lastest.js"
type="text/javascript"></script>
<link rel="stylesheet" type="text/css" href="<%=WebConfig.ResourceServer +"/css/style.css"%>" />