|
@@ -11,7 +11,7 @@
|
|
|
<script src="{{Msg "seo" "cdn"}}/js/fastclick.js?v={{Msg "seo" "version"}}"></script>
|
|
|
<script src="{{Msg "seo" "cdn"}}/js/jquery.cookie.js"></script>
|
|
|
<script src="{{Msg "seo" "cdn"}}/js/bootstrap.min.js"></script>
|
|
|
-<script src="{{Msg "seo" "cdn"}}/js/common.js?v={{Msg "seo" "version"}}"></script>
|
|
|
+<script src="{{Msg "seo" "cdn"}}/js/common.js?v={{Msg "seo" "version"}}1"></script>
|
|
|
<script src="{{Msg "seo" "cdn"}}/wxswordfish/share.js?v={{Msg "seo" "version"}}"></script>
|
|
|
<style type="text/css">
|
|
|
/* forceShare start */
|
|
@@ -561,30 +561,12 @@ pre {
|
|
|
if(buyerclass){
|
|
|
document.write("<span class='buyerclass'>"+ buyerclass+"</span>");
|
|
|
}
|
|
|
+ //项目匹配
|
|
|
projectMatch=getParam("projectMatch");
|
|
|
- if (projectMatch!=""){
|
|
|
+ if (projectMatch){
|
|
|
document.write("<span class='projectMatch'>"+projectMatch+"</span>")
|
|
|
}
|
|
|
- /******* 获取url参数(正则)********/
|
|
|
- function getParam(name) {
|
|
|
- var search = document.location.search;
|
|
|
- // alert(search);
|
|
|
- var pattern = new RegExp("[?&]" + name + "\=([^&]+)", "g");
|
|
|
- var matcher = pattern.exec(search);
|
|
|
- var items = null;
|
|
|
- if (null != matcher) {
|
|
|
- try {
|
|
|
- items = decodeURIComponent(decodeURIComponent(matcher[1]));
|
|
|
- } catch (e) {
|
|
|
- try {
|
|
|
- items = decodeURIComponent(matcher[1]);
|
|
|
- } catch (e) {
|
|
|
- items = matcher[1];
|
|
|
- }
|
|
|
- }
|
|
|
- }
|
|
|
- return items;
|
|
|
- };
|
|
|
+
|
|
|
</script>
|
|
|
</div>
|
|
|
<div class="time_label">
|
|
@@ -633,10 +615,10 @@ pre {
|
|
|
var suclass = subscopeclass.split(",")[0];
|
|
|
document.write("<span class='industry'>"+ suclass.split("_")[0]+"</span>");
|
|
|
}
|
|
|
- projectMatch=getParam("projectMatch");
|
|
|
- if (projectMatch!=""){
|
|
|
- document.write("<span class='projectMatch'>"+projectMatch+"</span>")
|
|
|
- }
|
|
|
+ //projectMatch=getParam("projectMatch");
|
|
|
+ //if (projectMatch){
|
|
|
+ // document.write("<span class='projectMatch'>"+projectMatch+"</span>")
|
|
|
+ //}
|
|
|
var l_publishtime = {{.T.obj.l_publishtime}};
|
|
|
if(l_publishtime != ""){
|
|
|
var tdf = timeDiff(new Date(Number(l_publishtime+"000")))
|
|
@@ -644,27 +626,6 @@ pre {
|
|
|
document.write("<span class='timebefore'><i class='glyphicon bofangjilu'></i>"+tdf+"</span>");
|
|
|
}
|
|
|
}
|
|
|
-
|
|
|
- /******* 获取url参数(正则)********/
|
|
|
- function getParam(name) {
|
|
|
- var search = document.location.search;
|
|
|
- // alert(search);
|
|
|
- var pattern = new RegExp("[?&]" + name + "\=([^&]+)", "g");
|
|
|
- var matcher = pattern.exec(search);
|
|
|
- var items = null;
|
|
|
- if (null != matcher) {
|
|
|
- try {
|
|
|
- items = decodeURIComponent(decodeURIComponent(matcher[1]));
|
|
|
- } catch (e) {
|
|
|
- try {
|
|
|
- items = decodeURIComponent(matcher[1]);
|
|
|
- } catch (e) {
|
|
|
- items = matcher[1];
|
|
|
- }
|
|
|
- }
|
|
|
- }
|
|
|
- return items;
|
|
|
- };
|
|
|
</script>
|
|
|
{{if .T.obj.hasSession}}{{if or .T.obj.projectname .T.obj.projectcode}}<span class="follow" >{{if .T.obj.followFlag}}<i class="glyphicon yiguanzhu"></i>已关注{{else}}<i class="glyphicon weiguanzhu"></i>关注项目{{end}}</span>{{end}}{{else}}<!--<a href="/swordfish/share/-1" style="text-decoration: none;color:#24C0D7;"><span class="follow"><i class="glyphicon weiguanzhu"></i></span>关注项目</a>-->{{end}}
|
|
|
{{end}}
|