瀏覽代碼

修改样式

李雪梅 2 年之前
父節點
當前提交
9453be5552
共有 1 個文件被更改,包括 9 次插入8 次删除
  1. 9 8
      nngkxxdp/src/main/resources/static/district/js/sy.js

+ 9 - 8
nngkxxdp/src/main/resources/static/district/js/sy.js

@@ -1044,14 +1044,15 @@ $(function() {
 		var fdisplay = $(this).parents('.text-second').siblings('.flex_box').children('.flex_li').css('display');
 		$(".title-first1").fadeIn(600);
 		$('.flex_box').removeAttr('style');
-		if (TFdisplay == 'flex' && fdisplay == 'none') {
-			$(this).text('返回');
-			$(".title-first1").fadeOut(0);
-			$(".flex_li").fadeIn(600);
-			$('.text-second').empty();
-			$('.flex_li').find('.flex_text').removeAttr('style').parent('.img_tab').siblings('.pop').find('.mapnav').removeClass('choice');
-			window.location.reload();
-		}
+		$(this).text('返回');
+		$(".title-first1").fadeOut(0);
+		$(".flex_li").fadeIn(600);
+		$('.text-second').empty();
+		$('.flex_li').find('.flex_text').removeAttr('style').parent('.img_tab').siblings('.pop').find('.mapnav').removeClass('choice');
+		window.location.reload();
+		// if (TFdisplay == 'flex' && fdisplay == 'none') {
+			
+		// }
 		// else if(TFdisplay == 'none' && fdisplay == 'list-item'){
 		// 	// console.log(1111)
 		// 	// $('.text-second').empty();