console
var searchParams = new URLSearchParams('?a=1&b=2');
let params = []
for (var _c = 0, _d = searchParams; _c < _d.length; _c++) {
var _e = _d[_c], key = _e[0], value = _e[1];
if (key === 'u' && wsType === 'rf3_0') {
user = value;
}
else if (key === 'p' && wsType === 'rf3_0') {
password = value;
}
else {
params.push({
type: 'String',
field: key,
value: value + '',
description: '',
});
}
}
<div class="bbox">
<div class="one1">
<div class="one box">看JS部分</div>
<div>
<div class="two box">two</div>
</div>
.box {
width:200px;
height: 200px;
border: 1px black solid;
}
.bbox{
width: 410px;
height: 200px;
margin: 100px;
border: 1px solid red;
}
.box div {
width:100px;
height: 100px;
}
.one1{
overflow: hidden;
width:150px;
height: 200px;
background: yellow;
}
.one {
background:gray;
float:left;
overflow: scroll;
margin-right:-50px;
}
.two {
background:orange;
float:left;
}