2.0.2 • Published 2 years ago

vue-hxzh-hk-tow-hundred v2.0.2

Weekly downloads
-
License
ISC
Repository
-
Last release
2 years ago

hxzh-admin 旧版的200W摄像头组件
iframe

详细教程如下: 通过 ref="xxx" 和 id="xxx" 来传递数据

vue(parent) this.newHkUrl = 你的url地址?a=传递的参数; this.windowWH = 你的style数据

html(son) var loc = parent.document.getElementById("content_info").contentWindow.location.href; var n1 = loc.length; //地址的总长度 var n2 = loc.indexOf("="); //取得=号的位置 var id = decodeURI(loc.substr(n2 - 1)); //从=号后面的内容 var vueD = id.split("&") var vueOne = vueD第一条数据.slice(2); var vueTow = vueD第二条数据.slice(2);

js:
var styleElement = document.getElementById('video-canvas');
	styleElement.style.height = _c_h;
	styleElement.style.width = _c_w;
jq:
$("#canvas").css({"background-color":"yellow","font-size":"200%"});

提交人:chock_xie 日期:2022/3/23

1.0.2

2 years ago

2.0.2

2 years ago

2.0.1

2 years ago

1.0.3

2 years ago

1.0.1

3 years ago

1.0.0

3 years ago