jquery加入css或js文件
if ($('link[ref$="/css/product_show.css"]').length == 0) {
$('<link href="/css/product_show.css" rel="stylesheet" type="text/css" />').appendTo('head');
}
js文件一样处理
if ($('link[ref$="/css/product_show.css"]').length == 0) {
$('<link href="/css/product_show.css" rel="stylesheet" type="text/css" />').appendTo('head');
}
js文件一样处理