|
@@ -8,7 +8,7 @@
|
|
|
<script src="{{Msg "seo" "cdn"}}/jyapp/js/fastclick.js?v={{Msg "seo" "version"}}"></script>
|
|
|
<script src="{{Msg "seo" "cdn"}}/jyapp/js/jquery.cookie.js?v={{Msg "seo" "version"}}"></script>
|
|
|
<script src="{{Msg "seo" "cdn"}}/jyapp/js/bootstrap.min.js?v={{Msg "seo" "version"}}"></script>
|
|
|
-{{include "/common/js.html"}}
|
|
|
+ {{include "/common/js.html"}}
|
|
|
<style type="text/css">
|
|
|
/* forceShare start */
|
|
|
.sharel , .toShare{
|
|
@@ -279,7 +279,7 @@ pre {
|
|
|
margin-top: -13px;
|
|
|
width: 20%;
|
|
|
font-size: 18px;
|
|
|
- color: #686868;
|
|
|
+ color: #686868;
|
|
|
}
|
|
|
.sion-right{
|
|
|
height: 1px;
|
|
@@ -426,13 +426,13 @@ pre {
|
|
|
right: 10px;
|
|
|
left: 10px;
|
|
|
}
|
|
|
-.dot-top{
|
|
|
- border-width: 13px;
|
|
|
- border-color: #fff;
|
|
|
- border-top-width: 0;
|
|
|
- border-style: dashed;
|
|
|
- border-bottom-style: solid;
|
|
|
- border-left-color: transparent;
|
|
|
+.dot-top{
|
|
|
+ border-width: 13px;
|
|
|
+ border-color: #fff;
|
|
|
+ border-top-width: 0;
|
|
|
+ border-style: dashed;
|
|
|
+ border-bottom-style: solid;
|
|
|
+ border-left-color: transparent;
|
|
|
border-right-color: transparent;
|
|
|
position: absolute;
|
|
|
right: 0px;
|
|
@@ -615,15 +615,15 @@ pre {
|
|
|
if (type === 'string') {
|
|
|
return '0';
|
|
|
}
|
|
|
-
|
|
|
+
|
|
|
if (type === 'lv') {
|
|
|
return this.levelArr[lv];
|
|
|
}
|
|
|
-
|
|
|
+
|
|
|
if (type === 'number') {
|
|
|
return 0;
|
|
|
}
|
|
|
-
|
|
|
+
|
|
|
if (type === 'index') {
|
|
|
return lv;
|
|
|
}
|
|
@@ -636,15 +636,15 @@ pre {
|
|
|
if (type === 'string') {
|
|
|
return String(Math.floor(result * 100) / 100).replace('.00', '') + this.levelArr[lv];
|
|
|
}
|
|
|
-
|
|
|
+
|
|
|
if (type === 'lv') {
|
|
|
return this.levelArr[lv];
|
|
|
}
|
|
|
-
|
|
|
+
|
|
|
if (type === 'index') {
|
|
|
return lv;
|
|
|
}
|
|
|
-
|
|
|
+
|
|
|
if (type === 'number') {
|
|
|
return String(Math.floor(result * 100) / 100).replace('.00', '');
|
|
|
}
|
|
@@ -676,7 +676,7 @@ pre {
|
|
|
if(type != ""){
|
|
|
document.write("<span class='tag type'>"+type+"</span>");
|
|
|
}
|
|
|
-
|
|
|
+
|
|
|
var industry = {{.T.obj.industry}};
|
|
|
var subscopeclass = {{.T.obj.s_subscopeclass}};
|
|
|
// 金额标签数据
|
|
@@ -702,7 +702,7 @@ pre {
|
|
|
moneyTag.content = MoneyUnit.test(moneyTag.budget);
|
|
|
}
|
|
|
if(typeof(moneyTag.bidamount) != "undefined" && moneyTag.bidamount != null && moneyTag.bidamount != ""){
|
|
|
- moneyTag.content = MoneyUnit.test(moneyTag.budget);
|
|
|
+ moneyTag.content = MoneyUnit.test(moneyTag.bidamount);
|
|
|
}
|
|
|
if(moneyTag.content){
|
|
|
document.write("<span class='tag budget'>"+ moneyTag.content+"</span>");
|
|
@@ -725,7 +725,7 @@ pre {
|
|
|
}
|
|
|
}
|
|
|
</script>
|
|
|
-
|
|
|
+
|
|
|
{{if .T.obj.hasSession}}{{if or .T.obj.projectname .T.obj.projectcode}}<div class="follow" style="top:1px !important">{{if .T.obj.followFlag}}<i class="glyphicon yiguanzhu"></i>已关注{{else}}<i class="glyphicon weiguanzhu"></i>关注项目{{end}}</div>{{end}}{{else}}<!--<a href="/swordfish/share/-1" style="text-decoration: none;color:#24C0D7;"><span class="follow"><i class="glyphicon weiguanzhu"></i></span>关注项目</a>-->{{end}}
|
|
|
</div>
|
|
|
{{else}}
|
|
@@ -762,11 +762,27 @@ pre {
|
|
|
var suclass = subscopeclass.split(",")[0];
|
|
|
document.write("<span class='tag industry'>"+ suclass.split("_")[0]+"</span>");
|
|
|
}
|
|
|
+ // 金额标签数据
|
|
|
+ var moneyTag = {
|
|
|
+ content: '',
|
|
|
+ bidamount: {{.T.obj.bidamount}},
|
|
|
+ budget: {{.T.obj.budget}}
|
|
|
+ }
|
|
|
+ // 金额标签处理
|
|
|
+ if(typeof(moneyTag.budget) != "undefined" && moneyTag.budget != null && moneyTag.budget != ""){
|
|
|
+ moneyTag.content = MoneyUnit.test(moneyTag.budget);
|
|
|
+ }
|
|
|
+ if(typeof(moneyTag.bidamount) != "undefined" && moneyTag.bidamount != null && moneyTag.bidamount != ""){
|
|
|
+ moneyTag.content = MoneyUnit.test(moneyTag.bidamount);
|
|
|
+ }
|
|
|
+ if(moneyTag.content){
|
|
|
+ document.write("<span class='tag budget'>"+ moneyTag.content+"</span>");
|
|
|
+ }
|
|
|
//projectMatch=getParam("projectMatch");
|
|
|
//if (projectMatch){
|
|
|
// document.write("<span class='tag projectMatch'>"+projectMatch+"</span>")
|
|
|
//}
|
|
|
-
|
|
|
+
|
|
|
</script>
|
|
|
</div>
|
|
|
<div class="tool_bottom">
|
|
@@ -853,7 +869,7 @@ pre {
|
|
|
{{if .T.obj.projectinfo.attachments}}
|
|
|
<div class="pre-enclosure hidden"><img src="{{Msg "seo" "cdn"}}/jyapp/images/wx/enclosure.png?v={{Msg "seo" "version"}}"/>附件(1个)</div>
|
|
|
<div class="pre-dow hidden">
|
|
|
-
|
|
|
+
|
|
|
</div>
|
|
|
{{end}}
|
|
|
<div class="abs">
|
|
@@ -863,7 +879,7 @@ pre {
|
|
|
{{end}}
|
|
|
<div style="clear:both;"></div>
|
|
|
</div>
|
|
|
-
|
|
|
+
|
|
|
<div class="hidden">
|
|
|
{{if .T.obj.hasSession}}
|
|
|
<div class="interaction">
|
|
@@ -917,7 +933,7 @@ pre {
|
|
|
}
|
|
|
}else{
|
|
|
ADHtml="<img src='"+AD.s_pic+"'/>"
|
|
|
- }
|
|
|
+ }
|
|
|
}else{
|
|
|
ADHtml=AD.s_script
|
|
|
}
|
|
@@ -971,7 +987,7 @@ function execShare(thisIndex){
|
|
|
var shareType = thisIndex + 1;
|
|
|
var content = "您的好友";
|
|
|
if(shareType !=2 && {{session "i_type"}} == 2){
|
|
|
- content += {{session "s_nickname"}};
|
|
|
+ content += {{session "s_nickname"}};
|
|
|
}
|
|
|
content += "向您推荐了剑鱼标讯";
|
|
|
var link = "{{Msg "seo" "jyDomain"}}/swordfish/about?source=app_infocontentshare";
|
|
@@ -1068,7 +1084,7 @@ var upordown = function(type){
|
|
|
upno = Number(upno)+1;
|
|
|
$(".jyuseful span").html(upno);
|
|
|
aosup = 1;
|
|
|
- praflag = true;
|
|
|
+ praflag = true;
|
|
|
$(".jyuseful").addClass("hidden");
|
|
|
$(".jyuseful span").css("color","#2cb7ca");
|
|
|
$(".jyuseless").removeClass("hidden");
|
|
@@ -1119,7 +1135,7 @@ var upordown = function(type){
|
|
|
url:'/jyapp/swordfish/praise',
|
|
|
data:{type:type,aosup:aosup,aosdown:aosdown,id:{{.T.obj._id}}},
|
|
|
cache:false,
|
|
|
- dataType:'json',
|
|
|
+ dataType:'json',
|
|
|
success:function(data){
|
|
|
//EasyAlert.show("谢谢您的支持与关注!");
|
|
|
if (data.flag == "T"){
|
|
@@ -1130,9 +1146,9 @@ var upordown = function(type){
|
|
|
}
|
|
|
praflag = false;
|
|
|
}
|
|
|
- }
|
|
|
+ }
|
|
|
});
|
|
|
-
|
|
|
+
|
|
|
}
|
|
|
}else{
|
|
|
cookieup = "F";
|
|
@@ -1167,7 +1183,7 @@ var upordown = function(type){
|
|
|
url:'/jyapp/swordfish/praise',
|
|
|
data:{type:type,aosup:aosup,aosdown:aosdown,id:{{.T.obj._id}}},
|
|
|
cache:false,
|
|
|
- dataType:'json',
|
|
|
+ dataType:'json',
|
|
|
success:function(data){
|
|
|
//EasyAlert.show("谢谢您的支持与关注!");
|
|
|
if (data.flag == "T"){
|
|
@@ -1178,11 +1194,11 @@ var upordown = function(type){
|
|
|
}
|
|
|
praflag = false;
|
|
|
}
|
|
|
- }
|
|
|
+ }
|
|
|
});
|
|
|
}
|
|
|
}
|
|
|
-
|
|
|
+
|
|
|
};
|
|
|
|
|
|
function unLoginClick(){
|
|
@@ -1202,17 +1218,17 @@ function myinter(){
|
|
|
myflag = true;
|
|
|
$("html,body").scrollTop(document.documentElement.offsetHeight-10);
|
|
|
}
|
|
|
-function getParameter(param) {
|
|
|
- var query = window.location.search||parent.location.search;
|
|
|
- var iLen = param.length;
|
|
|
- var iStart = query.indexOf(param);
|
|
|
- if (iStart == -1)
|
|
|
- return "";
|
|
|
- iStart += iLen + 1;
|
|
|
- var iEnd = query.indexOf("&", iStart);
|
|
|
- if (iEnd == -1)
|
|
|
- return query.substring(iStart);
|
|
|
- return query.substring(iStart, iEnd);
|
|
|
+function getParameter(param) {
|
|
|
+ var query = window.location.search||parent.location.search;
|
|
|
+ var iLen = param.length;
|
|
|
+ var iStart = query.indexOf(param);
|
|
|
+ if (iStart == -1)
|
|
|
+ return "";
|
|
|
+ iStart += iLen + 1;
|
|
|
+ var iEnd = query.indexOf("&", iStart);
|
|
|
+ if (iEnd == -1)
|
|
|
+ return query.substring(iStart);
|
|
|
+ return query.substring(iStart, iEnd);
|
|
|
}
|
|
|
|
|
|
$(function(){
|
|
@@ -1554,7 +1570,7 @@ $(function(){
|
|
|
}
|
|
|
});
|
|
|
}
|
|
|
-
|
|
|
+
|
|
|
});
|
|
|
$(".upclose").click(function(){
|
|
|
$(".ups").addClass("hidden");
|
|
@@ -1611,4 +1627,4 @@ function toShare(){
|
|
|
</script>
|
|
|
{{include "/common/baiducc.html"}}
|
|
|
</body>
|
|
|
-</html>
|
|
|
+</html>
|