Explorar o código

feat: 遮罩层修改 附件下载链接修改

xuemingyang %!s(int64=3) %!d(string=hai) anos
pai
achega
a812640a96
Modificáronse 1 ficheiros con 12 adicións e 5 borrados
  1. 12 5
      src/web/templates/pc/biddetail_rec.html

+ 12 - 5
src/web/templates/pc/biddetail_rec.html

@@ -1185,11 +1185,17 @@ var ucbs_source="pc_rec",ucbsId="{{.T.obj.ucbsId}}";
 			entniche = res.data.entniche
 			vip = res.data.vip
 			var subType = {{.T.obj.subtype}}
-			if (subType == '拟建' && !bidmember && !entniche && vip <=0){
-			// if (subType == '拟建' && entniche == false){
-				$('.mask-zz').show()
-			} else {
-				$('.mask-zz').hide()
+			// if (subType == '拟建' && !bidmember && !entniche && vip <=0){
+			// 	$('.mask-zz').show()
+			// } else {
+			// 	$('.mask-zz').hide()
+			// }
+			if(subType == '拟建' || subType == '采购意向'){
+				if (!bidmember && !entniche && vip <=0){
+					$('.mask-zz').show()
+				} else {
+					$('.mask-zz').hide()
+				}
 			}
 		}
 
@@ -3426,6 +3432,7 @@ function fromwhere(text){
             $("#attach-list").css("display","").find(".download-list").html(html)
           }
 			$(".downs").click(function (){
+				checkBigStatus()
 				cjdyDownload()
 			})
 			// $(".downs").click(function (){