1.写一个div,使其class为white_content,uniteRadioDIV为最上面的div,第二个div设置间隔,第三个div是主题内容。并设置好id,在最下面设置好 确定和关闭按钮
<div id="query_brand"class="white_content">
@H_301_5@<div id="uniteRadioDIV" >
@H_301_5@请选择要合并到的商户:<br />
@H_301_5@</div>
@H_301_5@ <div style="padding: 5px;height: 30px;"><!-- blank div --></div>
@H_301_5@ <br/>
@H_301_5@ <div style="border:1px solid #000;padding:5px">
@H_301_5@ @H_301_5@<table id="branchsTable">
@H_301_5@ @H_301_5@<tr>
@H_301_5@ @H_301_5@<th><input type='checkBox' name='brandcheckBoxes' onchange="checkedAll()" /></th>
@H_301_5@ @H_301_5@<th>名称</th>
@H_301_5@ @H_301_5@<th>别名</th>
@H_301_5@ @H_301_5@<th>专柜名称</th>
@H_301_5@ @H_301_5@<th>专柜号</th>
@H_301_5@ @H_301_5@</tr>
@H_301_5@ @H_301_5@</table>
@H_301_5@ @H_301_5@<br/>
@H_301_5@ </div>
@H_301_5@<div style="padding: 5px;height: 50px;"><!-- blank div --></div>
@H_301_5@ <p style="text-align:center;">
@H_301_5@ @H_301_5@<input type="button" value="确 定" onclick="addBrands()"/> &nbsp;&nbsp;&nbsp;
@H_301_5@ @H_301_5@<input type="button" value="关 闭" onclick="closeQueryBrand()"/>
@H_301_5@ </p>
</div>
@H_301_5@dojo.style("fade","display","block");
@H_301_5@dojo.style("query_brand","block");
3.弹出窗隐藏代码
dojo.style("fade","none"); dojo.style("query_brand","none"); dojo.query('.queryShopData').forEach(dojo.destroy);//摧毁下次弹出不要的东西,创建的时候设置其class,然后根据class摧毁。