heyang 3 anni fa
parent
commit
8cfebd368a
1 ha cambiato i file con 32 aggiunte e 32 eliminazioni
  1. 32 32
      microserviceUserH5/vcloud/browserDetail.html

+ 32 - 32
microserviceUserH5/vcloud/browserDetail.html

@@ -175,35 +175,35 @@
 		labelId = e.target.dataset.id;
 		let className = e.target.className;
 		if(className.includes('tag-item')){
-			isGetStatus(labelId)
+			pageNum = 1;
+			nowlength = 0;
+			total = 0;
+			$('.loading').eq(0).text('');
+			$('.tag-item')[index].className = 'tag-item';
+			index = e.target.dataset.index;
+			$('.tag-item')[index].className = 'tag-item active';
+			rankingGet();
 		}
 	},false);
-	// 验证是否下架
-	function isGetStatus(id) {
-		$.ajax({
-			url: `${baseUrl}/api/public/v1/browserLabel/getStatus/${id}`,
-			type: 'get',
-			contentType:"application/json",
-			dataType: 'json',
-			cache: false,
-			success: function (res) {
-				if(res.status === 0){
-					pageNum = 1;
-					nowlength = 0;
-					total = 0;
-					$('.loading').eq(0).text('');
-					$('.tag-item')[index].className = 'tag-item';
-					index = e.target.dataset.index;
-					$('.tag-item')[index].className = 'tag-item active';
-					rankingGet();
-				} else {
-					stopManyClick(() => {
-						toastr.error(res.msg);
-					})
-				}
-			}
-		})
-	}
+	// // 验证是否下架
+	// function isGetStatus(id) {
+	// 	$.ajax({
+	// 		url: `${baseUrl}/api/public/v1/browserLabel/getStatus/${id}`,
+	// 		type: 'get',
+	// 		contentType:"application/json",
+	// 		dataType: 'json',
+	// 		cache: false,
+	// 		success: function (res) {
+	// 			if(res.status === 0){
+					
+	// 			} else {
+	// 				stopManyClick(() => {
+	// 					toastr.error(res.msg);
+	// 				})
+	// 			}
+	// 		}
+	// 	})
+	// }
 	// 点击下载按钮
 	$('.download-wrap')[0].addEventListener('click',(e)=>{
 		let key = e.target.dataset.key;
@@ -274,11 +274,11 @@
 		timer = setTimeout(() => {flag = true}, 1500);
 	}
 	//点击按钮搜索
-	const searchDom = document.getElementById("search-wrap");
-	searchDom.addEventListener('click',()=>{
-		var wd = "https://www.baidu.com/s?ie=utf-8&f=8&rsv_bp=1&rsv_idx=1&tn=baidu";
-		window.open(wd);
-	},false);
+	// const searchDom = document.getElementById("search-wrap");
+	// searchDom.addEventListener('click',()=>{
+	// 	var wd = "https://www.baidu.com/s?ie=utf-8&f=8&rsv_bp=1&rsv_idx=1&tn=baidu";
+	// 	window.open(wd);
+	// },false);
 </script>
 </body>
 </html>