Browse Source

修改弹框大小

lulihong 6 years ago
parent
commit
0a939b8359

+ 3 - 1
page/bigData/component/death-cause.js

@ -54,6 +54,8 @@
		},
		methods: {
			detailClick:function(){
				var width = (0.7604 * window.screen.width) + 'px';
				var height = (0.41875 * window.screen.width) + 'px';
				top.layer.open({
					id: 'LAY_layuipro', //设定一个id,防止重复弹出
				    type: 2,
@ -61,7 +63,7 @@
				    closeBtn: 0,
				    shade: 0.5,
				    shadeClose: true,
				    area:  ['7.604rem', '4.1875rem'],
				    area:  [width, height],
				    content: httpRequest.alertUrl+'/page/bigData/html/alert5.html'
				});
			},

+ 0 - 1
page/bigData/component/disease-crowd.js

@ -236,7 +236,6 @@
				}
				var width = (0.7604 * window.screen.width) + 'px';
				var height = (0.41875 * window.screen.width) + 'px';
				var hei
				top.layer.open({
					id: 'LAY_layuipro', //设定一个id,防止重复弹出
				    type: 2,

+ 3 - 1
page/bigData/component/high-incidence-disease.js

@ -62,6 +62,8 @@
		},
		methods: {
			detailClick:function(){
				var width = (0.7604 * window.screen.width) + 'px';
				var height = (0.41875 * window.screen.width) + 'px';
				top.layer.open({
					id: 'LAY_layuipro', //设定一个id,防止重复弹出
				    type: 2,
@ -69,7 +71,7 @@
				    closeBtn: 0,
				    shade: 0.5,
				    shadeClose: true,
				    area:  ['7.604rem', '4.1875rem'],
				    area:  [width, height],
				    content: httpRequest.alertUrl+'/page/bigData/html/alert6.html'
				});
			},