no message
parent
33f6980d16
commit
9552265d91
|
@ -285,7 +285,7 @@ function on_click_ddl(){
|
||||||
<p style="display: block;font-size: 20px ; text-align: center;">
|
<p style="display: block;font-size: 20px ; text-align: center;">
|
||||||
duilib xml 自动生成绑定控件代码
|
duilib xml 自动生成绑定控件代码
|
||||||
</p>
|
</p>
|
||||||
<form id="form2" class="form-horizontal" action="{{openapi}}openapi/duilib_xml2cpp" target="frame1" method="post"
|
<form id="form2" class="form-horizontal" action="{{openapi}}openapi/duilib_xml2cpp" target="frame2" method="post"
|
||||||
enctype="multipart/form-data">
|
enctype="multipart/form-data">
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label for="interface" class="col-sm-3 control-label">ui布局文件</label>
|
<label for="interface" class="col-sm-3 control-label">ui布局文件</label>
|
||||||
|
@ -305,7 +305,7 @@ function on_click_ddl(){
|
||||||
$("#form2").submit();
|
$("#form2").submit();
|
||||||
var t = setInterval(function () {
|
var t = setInterval(function () {
|
||||||
//获取iframe标签里body元素里的文字。即服务器响应过来的"上传成功"或"上传失败"
|
//获取iframe标签里body元素里的文字。即服务器响应过来的"上传成功"或"上传失败"
|
||||||
var word = $("iframe[name='frame1']").contents().find("body").text();
|
var word = $("iframe[name='frame2']").contents().find("body").text();
|
||||||
if (word != "") {
|
if (word != "") {
|
||||||
clearInterval(t); //清除定时器
|
clearInterval(t); //清除定时器
|
||||||
}
|
}
|
||||||
|
@ -317,7 +317,7 @@ function on_click_ddl(){
|
||||||
<div class="row" style="width: 100%; margin-top: 10px;">
|
<div class="row" style="width: 100%; margin-top: 10px;">
|
||||||
<div class="col-md-2">
|
<div class="col-md-2">
|
||||||
</div>
|
</div>
|
||||||
<iframe name="frame1" frameborder="0" class="col-md-10" style="background: #bbbbbb;height: 600px;">
|
<iframe name="frame2" frameborder="0" class="col-md-10" style="background: #bbbbbb;height: 600px;">
|
||||||
</iframe>
|
</iframe>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue