Browse Source

bug 修复

lilei 4 years ago
parent
commit
53ffe7bdb8

+ 114 - 115
新模板/新年活动 - new/clz - 夏季活动/script.js

@@ -215,125 +215,124 @@ var storeList = [
 	}
 	}
 	]
 	]
 
 
-$(function(){
-	// 适用门店
-	var storeHtml = ''
-	for(var i=0;i<storeList.length;i++){
-		var item = storeList[i]
-		storeHtml = storeHtml + '<div>'+
-						'<div class="store-info-names">'+
-							'<span id="store">'+ 
-							 item.name +
-							'</span>'+
-						'</div>'+
-						'<div class="store-info-s">'+
-							'<div class="store-info-box">'+
-								'<span>门店电话:</span>'+
-								'<span>'+
-									'<a href="tel:'+item.phone+'">'+
-										'<i class="tel">'+
-											item.phone + 
-										'</i>'+
-										'<svg t="1589357171261" class="icon" style="vertical-align: sub;" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="1184" width="16" height="16"><path d="M1020.765599 154.386263C1020.765599 89.326865 987.28345 57.088501 913.487954 37.054507 839.692583 17.020526 777.566181 3.165394 777.566181 3.165394 720.824641-10.981854 663.169494 23.635711 649.003341 80.452889L610.800805 233.675027C596.617668 290.560389 631.183258 348.098737 688.030695 362.272396 688.030695 362.272396 702.326846 366.678777 743.500477 375.919969 674.660513 559.358011 527.497727 691.361427 377.214242 745.028871 373.701051 730.938506 366.674793 702.757788 366.674793 702.757788 352.511387 645.951274 294.943405 611.289315 238.125689 625.455569L80.380247 664.785939C23.668179 678.925831-10.99544 736.57873 3.169215 793.389915L35.742252 923.532923C45.473616 980.250012 94.753824 1022.287923 152.863901 1022.287923 632.192772 1022.287923 1020.765599 633.715134 1020.765599 154.386263ZM121.897793 908.750484 87.987187 772.24241C85.504739 762.285654 91.648609 752.067042 101.527703 749.603912L259.273145 710.273542C269.212555 707.795389 279.364257 713.907789 281.856821 723.90528L302.608163 807.134381C309.284388 833.911333 336.103424 849.229037 358.537622 842.533069L358.537622 842.533069C590.664487 773.249875 773.382895 589.859611 841.784663 357.448461L841.784663 357.448461C848.891716 333.300864 827.631247 306.988082 794.011982 298.605863L709.17815 277.454424C699.177799 274.961048 693.114226 264.867589 695.618778 254.82252L733.821313 101.600394C736.30501 91.639055 746.508662 85.512531 756.418601 87.983366L902.466976 119.420589C919.560643 123.34343 933.351039 137.26732 933.351039 154.386263 933.351039 585.437409 583.914959 934.873401 152.863901 934.873401 137.544 934.873401 124.465783 923.717081 121.897793 908.750484Z" p-id="1185" fill="#1396dc"></path></svg>'+
-									'</a>'+
+window.onload = function(){
+		// 适用门店
+		var storeHtml = ''
+		for(var i=0;i<storeList.length;i++){
+			var item = storeList[i]
+			storeHtml = storeHtml + '<div>'+
+							'<div class="store-info-names">'+
+								'<span id="store">'+ 
+								 item.name +
 								'</span>'+
 								'</span>'+
 							'</div>'+
 							'</div>'+
-							'<div class="store-info-box">'+
-								'<span>门店地址:</span>'+
-								'<span class="address">'+
-									item.address +
-								'</span>'+
+							'<div class="store-info-s">'+
+								'<div class="store-info-box">'+
+									'<span>门店电话:</span>'+
+									'<span>'+
+										'<a href="tel:'+item.phone+'">'+
+											'<i class="tel">'+
+												item.phone + 
+											'</i>'+
+											'<svg t="1589357171261" class="icon" style="vertical-align: sub;" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="1184" width="16" height="16"><path d="M1020.765599 154.386263C1020.765599 89.326865 987.28345 57.088501 913.487954 37.054507 839.692583 17.020526 777.566181 3.165394 777.566181 3.165394 720.824641-10.981854 663.169494 23.635711 649.003341 80.452889L610.800805 233.675027C596.617668 290.560389 631.183258 348.098737 688.030695 362.272396 688.030695 362.272396 702.326846 366.678777 743.500477 375.919969 674.660513 559.358011 527.497727 691.361427 377.214242 745.028871 373.701051 730.938506 366.674793 702.757788 366.674793 702.757788 352.511387 645.951274 294.943405 611.289315 238.125689 625.455569L80.380247 664.785939C23.668179 678.925831-10.99544 736.57873 3.169215 793.389915L35.742252 923.532923C45.473616 980.250012 94.753824 1022.287923 152.863901 1022.287923 632.192772 1022.287923 1020.765599 633.715134 1020.765599 154.386263ZM121.897793 908.750484 87.987187 772.24241C85.504739 762.285654 91.648609 752.067042 101.527703 749.603912L259.273145 710.273542C269.212555 707.795389 279.364257 713.907789 281.856821 723.90528L302.608163 807.134381C309.284388 833.911333 336.103424 849.229037 358.537622 842.533069L358.537622 842.533069C590.664487 773.249875 773.382895 589.859611 841.784663 357.448461L841.784663 357.448461C848.891716 333.300864 827.631247 306.988082 794.011982 298.605863L709.17815 277.454424C699.177799 274.961048 693.114226 264.867589 695.618778 254.82252L733.821313 101.600394C736.30501 91.639055 746.508662 85.512531 756.418601 87.983366L902.466976 119.420589C919.560643 123.34343 933.351039 137.26732 933.351039 154.386263 933.351039 585.437409 583.914959 934.873401 152.863901 934.873401 137.544 934.873401 124.465783 923.717081 121.897793 908.750484Z" p-id="1185" fill="#1396dc"></path></svg>'+
+										'</a>'+
+									'</span>'+
+								'</div>'+
+								'<div class="store-info-box">'+
+									'<span>门店地址:</span>'+
+									'<span class="address">'+
+										item.address +
+									'</span>'+
+								'</div>'+
 							'</div>'+
 							'</div>'+
-						'</div>'+
-					'</div> '
-	}
-	$(".store-info-card").html(storeHtml)
-	
-	// 单击查看门店
-	$("#showStore").click(function(){
-		var _this = this
-		$(".mask").show()
-		$(".store-info-list").animate({bottom:'0em'},"slow",function(){
-			$("body").css({'height':'100%','overflow':'hidden'})
-			$(_this).hide()
+						'</div> '
+		}
+		$(".store-info-card").html(storeHtml)
+		
+		// 单击查看门店
+		$("#showStore").click(function(){
+			var _this = this
+			$(".mask").show()
+			$(".store-info-list").animate({bottom:'0em'},"slow",function(){
+				$("body").css({'height':'100%','overflow':'hidden'})
+				$(_this).hide()
+			})
 		})
 		})
-	})
-	// 关闭查看门店
-	$("#close-store,.mask").click(function(e){
-		e.stopPropagation()
-		$(".store-info-list").animate({bottom:'-1000em'},"slow")
-		$("body").css({'height':'auto','overflow':'auto'})
-		$("#showStore").show()
-		$(".mask").hide()
-	})
-	
-	// 查看地址
-	// $(".address").click(function(e){
-	// 	e.stopPropagation()
-	// 	wx.openLocation({
-	// 	    latitude: item.lat, // 纬度,浮点数,范围为90 ~ -90
-	// 	    longitude: item.lng, // 经度,浮点数,范围为180 ~ -180。
-	// 	    name: item.name, // 位置名
-	// 	    address: item.addrDetail, // 地址详情说明
-	// 	    scale: 26, // 地图缩放级别,整形值,范围从1~28。默认为最大
-	// 	    infoUrl: '' // 在查看位置界面底部显示的超链接,可点击跳转
-	// 	});
-	// })
-	
-	// 分享初始化
-	setTimeout(function(){
-		shareCls.getWxCofing(reqUrl)
-	},500)
-	
-	if(staticHtmlPath){  //  发布
-		onLoading()  //  加载中
-		checkActiveValid()
-	}else{  //  预览
-		getActivityData()  //  获取活动信息
-	}
-	
-	// 打开预约弹框
-	yuyue.onclick = function(){
-		modal.style.display = 'block'
-		modalZz.style.display = 'block'
-	}
-	// 关闭预约弹框
-	canselModal.onclick = function(){
-		closeYy()
-	}
-	// 提交预约
-	submitModal.onclick = function(){
-		// 提交代码到后台
-		var mobile = userPhone.value
-		if(mobile==''){
-			alert("请输入手机号码");
-			return false; 
+		// 关闭查看门店
+		$("#close-store,.mask").click(function(e){
+			e.stopPropagation()
+			$(".store-info-list").animate({bottom:'-1000em'},"slow")
+			$("body").css({'height':'auto','overflow':'auto'})
+			$("#showStore").show()
+			$(".mask").hide()
+		})
+		
+		// 查看地址
+		// $(".address").click(function(e){
+		// 	e.stopPropagation()
+		// 	wx.openLocation({
+		// 	    latitude: item.lat, // 纬度,浮点数,范围为90 ~ -90
+		// 	    longitude: item.lng, // 经度,浮点数,范围为180 ~ -180。
+		// 	    name: item.name, // 位置名
+		// 	    address: item.addrDetail, // 地址详情说明
+		// 	    scale: 26, // 地图缩放级别,整形值,范围从1~28。默认为最大
+		// 	    infoUrl: '' // 在查看位置界面底部显示的超链接,可点击跳转
+		// 	});
+		// })
+		
+		// 分享初始化
+		setTimeout(function(){
+			shareCls.getWxCofing(reqUrl)
+		},500)
+		
+		if(staticHtmlPath){  //  发布
+			onLoading()  //  加载中
+			checkActiveValid()
+		}else{  //  预览
+			getActivityData()  //  获取活动信息
 		}
 		}
-		if(!(/^1(3|4|5|6|7|8|9)\d{9}$/.test(mobile))){ 
-			alert("手机号码错误,请重填");  
-			return false; 
+		
+		// 打开预约弹框
+		yuyue.onclick = function(){
+			modal.style.display = 'block'
+			modalZz.style.display = 'block'
 		}
 		}
-		var obj = JSON.stringify({
-			"joinerMobile": mobile,  //  参与手机号
-			"activeId": activeId,  //  活动id
-			"tenantId": storeId,  //  门店id
-			"companyId": companyId  //  公司id
-		})
-		//  立即参与
-		$.ajax({
-			url: reqUrl + 'active/signUp',
-			type: 'post',
-			contentType: 'application/json;charset=UTF-8',
-			// 设置的是请求参数
-			data: obj,
-			dataType: 'json',
-			success: function (res) {
-				if(res.status == 200){
-					closeYy()
-				}
-				alert(res.message)
+		// 关闭预约弹框
+		canselModal.onclick = function(){
+			closeYy()
+		}
+		// 提交预约
+		submitModal.onclick = function(){
+			// 提交代码到后台
+			var mobile = userPhone.value
+			if(mobile==''){
+				alert("请输入手机号码");
+				return false; 
 			}
 			}
-		})
-	}
-})
- 
+			if(!(/^1(3|4|5|6|7|8|9)\d{9}$/.test(mobile))){ 
+				alert("手机号码错误,请重填");  
+				return false; 
+			}
+			var obj = JSON.stringify({
+				"joinerMobile": mobile,  //  参与手机号
+				"activeId": activeId,  //  活动id
+				"tenantId": storeId,  //  门店id
+				"companyId": companyId  //  公司id
+			})
+			//  立即参与
+			$.ajax({
+				url: reqUrl + 'active/signUp',
+				type: 'post',
+				contentType: 'application/json;charset=UTF-8',
+				// 设置的是请求参数
+				data: obj,
+				dataType: 'json',
+				success: function (res) {
+					if(res.status == 200){
+						closeYy()
+					}
+					alert(res.message)
+				}
+			})
+		}
+}

+ 2 - 2
新模板/新年活动 - new/clz - 春季健康大礼包/script.js

@@ -215,7 +215,7 @@ var storeList = [
 	}
 	}
 	]
 	]
 
 
-$(function(){
+window.onload = function(){
 	// 适用门店
 	// 适用门店
 	var storeHtml = ''
 	var storeHtml = ''
 	for(var i=0;i<storeList.length;i++){
 	for(var i=0;i<storeList.length;i++){
@@ -335,5 +335,5 @@ $(function(){
 			}
 			}
 		})
 		})
 	}
 	}
-})
+}
  
  

+ 114 - 114
新模板/新年活动 - new/clz -冬季活动/script.js

@@ -215,125 +215,125 @@ var storeList = [
 	}
 	}
 	]
 	]
 
 
-$(function(){
-	// 适用门店
-	var storeHtml = ''
-	for(var i=0;i<storeList.length;i++){
-		var item = storeList[i]
-		storeHtml = storeHtml + '<div>'+
-						'<div class="store-info-names">'+
-							'<span id="store">'+ 
-							 item.name +
-							'</span>'+
-						'</div>'+
-						'<div class="store-info-s">'+
-							'<div class="store-info-box">'+
-								'<span>门店电话:</span>'+
-								'<span>'+
-									'<a href="tel:'+item.phone+'">'+
-										'<i class="tel">'+
-											item.phone + 
-										'</i>'+
-										'<svg t="1589357171261" class="icon" style="vertical-align: sub;" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="1184" width="16" height="16"><path d="M1020.765599 154.386263C1020.765599 89.326865 987.28345 57.088501 913.487954 37.054507 839.692583 17.020526 777.566181 3.165394 777.566181 3.165394 720.824641-10.981854 663.169494 23.635711 649.003341 80.452889L610.800805 233.675027C596.617668 290.560389 631.183258 348.098737 688.030695 362.272396 688.030695 362.272396 702.326846 366.678777 743.500477 375.919969 674.660513 559.358011 527.497727 691.361427 377.214242 745.028871 373.701051 730.938506 366.674793 702.757788 366.674793 702.757788 352.511387 645.951274 294.943405 611.289315 238.125689 625.455569L80.380247 664.785939C23.668179 678.925831-10.99544 736.57873 3.169215 793.389915L35.742252 923.532923C45.473616 980.250012 94.753824 1022.287923 152.863901 1022.287923 632.192772 1022.287923 1020.765599 633.715134 1020.765599 154.386263ZM121.897793 908.750484 87.987187 772.24241C85.504739 762.285654 91.648609 752.067042 101.527703 749.603912L259.273145 710.273542C269.212555 707.795389 279.364257 713.907789 281.856821 723.90528L302.608163 807.134381C309.284388 833.911333 336.103424 849.229037 358.537622 842.533069L358.537622 842.533069C590.664487 773.249875 773.382895 589.859611 841.784663 357.448461L841.784663 357.448461C848.891716 333.300864 827.631247 306.988082 794.011982 298.605863L709.17815 277.454424C699.177799 274.961048 693.114226 264.867589 695.618778 254.82252L733.821313 101.600394C736.30501 91.639055 746.508662 85.512531 756.418601 87.983366L902.466976 119.420589C919.560643 123.34343 933.351039 137.26732 933.351039 154.386263 933.351039 585.437409 583.914959 934.873401 152.863901 934.873401 137.544 934.873401 124.465783 923.717081 121.897793 908.750484Z" p-id="1185" fill="#1396dc"></path></svg>'+
-									'</a>'+
+window.onload = function(){
+		// 适用门店
+		var storeHtml = ''
+		for(var i=0;i<storeList.length;i++){
+			var item = storeList[i]
+			storeHtml = storeHtml + '<div>'+
+							'<div class="store-info-names">'+
+								'<span id="store">'+ 
+								 item.name +
 								'</span>'+
 								'</span>'+
 							'</div>'+
 							'</div>'+
-							'<div class="store-info-box">'+
-								'<span>门店地址:</span>'+
-								'<span class="address">'+
-									item.address +
-								'</span>'+
+							'<div class="store-info-s">'+
+								'<div class="store-info-box">'+
+									'<span>门店电话:</span>'+
+									'<span>'+
+										'<a href="tel:'+item.phone+'">'+
+											'<i class="tel">'+
+												item.phone + 
+											'</i>'+
+											'<svg t="1589357171261" class="icon" style="vertical-align: sub;" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="1184" width="16" height="16"><path d="M1020.765599 154.386263C1020.765599 89.326865 987.28345 57.088501 913.487954 37.054507 839.692583 17.020526 777.566181 3.165394 777.566181 3.165394 720.824641-10.981854 663.169494 23.635711 649.003341 80.452889L610.800805 233.675027C596.617668 290.560389 631.183258 348.098737 688.030695 362.272396 688.030695 362.272396 702.326846 366.678777 743.500477 375.919969 674.660513 559.358011 527.497727 691.361427 377.214242 745.028871 373.701051 730.938506 366.674793 702.757788 366.674793 702.757788 352.511387 645.951274 294.943405 611.289315 238.125689 625.455569L80.380247 664.785939C23.668179 678.925831-10.99544 736.57873 3.169215 793.389915L35.742252 923.532923C45.473616 980.250012 94.753824 1022.287923 152.863901 1022.287923 632.192772 1022.287923 1020.765599 633.715134 1020.765599 154.386263ZM121.897793 908.750484 87.987187 772.24241C85.504739 762.285654 91.648609 752.067042 101.527703 749.603912L259.273145 710.273542C269.212555 707.795389 279.364257 713.907789 281.856821 723.90528L302.608163 807.134381C309.284388 833.911333 336.103424 849.229037 358.537622 842.533069L358.537622 842.533069C590.664487 773.249875 773.382895 589.859611 841.784663 357.448461L841.784663 357.448461C848.891716 333.300864 827.631247 306.988082 794.011982 298.605863L709.17815 277.454424C699.177799 274.961048 693.114226 264.867589 695.618778 254.82252L733.821313 101.600394C736.30501 91.639055 746.508662 85.512531 756.418601 87.983366L902.466976 119.420589C919.560643 123.34343 933.351039 137.26732 933.351039 154.386263 933.351039 585.437409 583.914959 934.873401 152.863901 934.873401 137.544 934.873401 124.465783 923.717081 121.897793 908.750484Z" p-id="1185" fill="#1396dc"></path></svg>'+
+										'</a>'+
+									'</span>'+
+								'</div>'+
+								'<div class="store-info-box">'+
+									'<span>门店地址:</span>'+
+									'<span class="address">'+
+										item.address +
+									'</span>'+
+								'</div>'+
 							'</div>'+
 							'</div>'+
-						'</div>'+
-					'</div> '
-	}
-	$(".store-info-card").html(storeHtml)
-	
-	// 单击查看门店
-	$("#showStore").click(function(){
-		var _this = this
-		$(".mask").show()
-		$(".store-info-list").animate({bottom:'0em'},"slow",function(){
-			$("body").css({'height':'100%','overflow':'hidden'})
-			$(_this).hide()
+						'</div> '
+		}
+		$(".store-info-card").html(storeHtml)
+		
+		// 单击查看门店
+		$("#showStore").click(function(){
+			var _this = this
+			$(".mask").show()
+			$(".store-info-list").animate({bottom:'0em'},"slow",function(){
+				$("body").css({'height':'100%','overflow':'hidden'})
+				$(_this).hide()
+			})
 		})
 		})
-	})
-	// 关闭查看门店
-	$("#close-store,.mask").click(function(e){
-		e.stopPropagation()
-		$(".store-info-list").animate({bottom:'-1000em'},"slow")
-		$("body").css({'height':'auto','overflow':'auto'})
-		$("#showStore").show()
-		$(".mask").hide()
-	})
-	
-	// 查看地址
-	// $(".address").click(function(e){
-	// 	e.stopPropagation()
-	// 	wx.openLocation({
-	// 	    latitude: item.lat, // 纬度,浮点数,范围为90 ~ -90
-	// 	    longitude: item.lng, // 经度,浮点数,范围为180 ~ -180。
-	// 	    name: item.name, // 位置名
-	// 	    address: item.addrDetail, // 地址详情说明
-	// 	    scale: 26, // 地图缩放级别,整形值,范围从1~28。默认为最大
-	// 	    infoUrl: '' // 在查看位置界面底部显示的超链接,可点击跳转
-	// 	});
-	// })
-	
-	// 分享初始化
-	setTimeout(function(){
-		shareCls.getWxCofing(reqUrl)
-	},500)
-	
-	if(staticHtmlPath){  //  发布
-		onLoading()  //  加载中
-		checkActiveValid()
-	}else{  //  预览
-		getActivityData()  //  获取活动信息
-	}
-	
-	// 打开预约弹框
-	yuyue.onclick = function(){
-		modal.style.display = 'block'
-		modalZz.style.display = 'block'
-	}
-	// 关闭预约弹框
-	canselModal.onclick = function(){
-		closeYy()
-	}
-	// 提交预约
-	submitModal.onclick = function(){
-		// 提交代码到后台
-		var mobile = userPhone.value
-		if(mobile==''){
-			alert("请输入手机号码");
-			return false; 
+		// 关闭查看门店
+		$("#close-store,.mask").click(function(e){
+			e.stopPropagation()
+			$(".store-info-list").animate({bottom:'-1000em'},"slow")
+			$("body").css({'height':'auto','overflow':'auto'})
+			$("#showStore").show()
+			$(".mask").hide()
+		})
+		
+		// 查看地址
+		// $(".address").click(function(e){
+		// 	e.stopPropagation()
+		// 	wx.openLocation({
+		// 	    latitude: item.lat, // 纬度,浮点数,范围为90 ~ -90
+		// 	    longitude: item.lng, // 经度,浮点数,范围为180 ~ -180。
+		// 	    name: item.name, // 位置名
+		// 	    address: item.addrDetail, // 地址详情说明
+		// 	    scale: 26, // 地图缩放级别,整形值,范围从1~28。默认为最大
+		// 	    infoUrl: '' // 在查看位置界面底部显示的超链接,可点击跳转
+		// 	});
+		// })
+		
+		// 分享初始化
+		setTimeout(function(){
+			shareCls.getWxCofing(reqUrl)
+		},500)
+		
+		if(staticHtmlPath){  //  发布
+			onLoading()  //  加载中
+			checkActiveValid()
+		}else{  //  预览
+			getActivityData()  //  获取活动信息
 		}
 		}
-		if(!(/^1(3|4|5|6|7|8|9)\d{9}$/.test(mobile))){ 
-			alert("手机号码错误,请重填");  
-			return false; 
+		
+		// 打开预约弹框
+		yuyue.onclick = function(){
+			modal.style.display = 'block'
+			modalZz.style.display = 'block'
 		}
 		}
-		var obj = JSON.stringify({
-			"joinerMobile": mobile,  //  参与手机号
-			"activeId": activeId,  //  活动id
-			"tenantId": storeId,  //  门店id
-			"companyId": companyId  //  公司id
-		})
-		//  立即参与
-		$.ajax({
-			url: reqUrl + 'active/signUp',
-			type: 'post',
-			contentType: 'application/json;charset=UTF-8',
-			// 设置的是请求参数
-			data: obj,
-			dataType: 'json',
-			success: function (res) {
-				if(res.status == 200){
-					closeYy()
-				}
-				alert(res.message)
+		// 关闭预约弹框
+		canselModal.onclick = function(){
+			closeYy()
+		}
+		// 提交预约
+		submitModal.onclick = function(){
+			// 提交代码到后台
+			var mobile = userPhone.value
+			if(mobile==''){
+				alert("请输入手机号码");
+				return false; 
 			}
 			}
-		})
-	}
-})
+			if(!(/^1(3|4|5|6|7|8|9)\d{9}$/.test(mobile))){ 
+				alert("手机号码错误,请重填");  
+				return false; 
+			}
+			var obj = JSON.stringify({
+				"joinerMobile": mobile,  //  参与手机号
+				"activeId": activeId,  //  活动id
+				"tenantId": storeId,  //  门店id
+				"companyId": companyId  //  公司id
+			})
+			//  立即参与
+			$.ajax({
+				url: reqUrl + 'active/signUp',
+				type: 'post',
+				contentType: 'application/json;charset=UTF-8',
+				// 设置的是请求参数
+				data: obj,
+				dataType: 'json',
+				success: function (res) {
+					if(res.status == 200){
+						closeYy()
+					}
+					alert(res.message)
+				}
+			})
+		}
+}
  
  

+ 2 - 2
新模板/新年活动 - new/clz -秋季活动/script.js

@@ -215,7 +215,7 @@ var storeList = [
 	}
 	}
 	]
 	]
 
 
-$(function(){
+window.onload = function(){
 	// 适用门店
 	// 适用门店
 	var storeHtml = ''
 	var storeHtml = ''
 	for(var i=0;i<storeList.length;i++){
 	for(var i=0;i<storeList.length;i++){
@@ -335,5 +335,5 @@ $(function(){
 			}
 			}
 		})
 		})
 	}
 	}
-})
+}
  
  

+ 2 - 2
新模板/新年活动 - new/qbyc - 冬季活动/script.js

@@ -315,7 +315,7 @@ var storeList = [
 	}
 	}
 	]
 	]
 
 
-$(function(){
+window.onload = function(){
 	// 适用门店
 	// 适用门店
 	var storeHtml = ''
 	var storeHtml = ''
 	for(var i=0;i<storeList.length;i++){
 	for(var i=0;i<storeList.length;i++){
@@ -435,5 +435,5 @@ $(function(){
 			}
 			}
 		})
 		})
 	}
 	}
-})
+}
  
  

+ 2 - 2
新模板/新年活动 - new/qbyc - 夏季活动/script.js

@@ -315,7 +315,7 @@ var storeList = [
 	}
 	}
 	]
 	]
 
 
-$(function(){
+window.onload = function(){
 	// 适用门店
 	// 适用门店
 	var storeHtml = ''
 	var storeHtml = ''
 	for(var i=0;i<storeList.length;i++){
 	for(var i=0;i<storeList.length;i++){
@@ -435,5 +435,5 @@ $(function(){
 			}
 			}
 		})
 		})
 	}
 	}
-})
+}
  
  

+ 2 - 2
新模板/新年活动 - new/qbyc - 春季健康大礼包/script.js

@@ -315,7 +315,7 @@ var storeList = [
 	}
 	}
 	]
 	]
 
 
-$(function(){
+window.onload = function(){
 	// 适用门店
 	// 适用门店
 	var storeHtml = ''
 	var storeHtml = ''
 	for(var i=0;i<storeList.length;i++){
 	for(var i=0;i<storeList.length;i++){
@@ -435,5 +435,5 @@ $(function(){
 			}
 			}
 		})
 		})
 	}
 	}
-})
+}
  
  

+ 2 - 2
新模板/新年活动 - new/qbyc - 秋季活动/script.js

@@ -315,7 +315,7 @@ var storeList = [
 	}
 	}
 	]
 	]
 
 
-$(function(){
+window.onload = function(){
 	// 适用门店
 	// 适用门店
 	var storeHtml = ''
 	var storeHtml = ''
 	for(var i=0;i<storeList.length;i++){
 	for(var i=0;i<storeList.length;i++){
@@ -435,5 +435,5 @@ $(function(){
 			}
 			}
 		})
 		})
 	}
 	}
-})
+}