|
@@ -7,7 +7,7 @@
|
|
3、有三个按钮的多分支选择询问框。
|
|
3、有三个按钮的多分支选择询问框。
|
|
4、输入文本值对话框。
|
|
4、输入文本值对话框。
|
|
----------------------------------------------------------------------------------------------------------------------->
|
|
----------------------------------------------------------------------------------------------------------------------->
|
|
-<div class="modal fade" id="hintBox_form" data-backdrop="static">
|
|
|
|
|
|
+<div class="modal fade" id="hintBox_form" data-backdrop="static" style="z-index: 9999">
|
|
<div class="modal-dialog" role="document">
|
|
<div class="modal-dialog" role="document">
|
|
<div class="modal-content">
|
|
<div class="modal-content">
|
|
<div class="modal-header">
|
|
<div class="modal-header">
|
|
@@ -25,7 +25,7 @@
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
- <div class="modal-footer" style="justify-content: right">
|
|
|
|
|
|
+ <div class="modal-footer" style="justify-content: center">
|
|
<button type="button" class="btn btn-primary" data-dismiss="modal" id="hintBox_btn_yes">是</button>
|
|
<button type="button" class="btn btn-primary" data-dismiss="modal" id="hintBox_btn_yes">是</button>
|
|
<button type="button" class="btn btn-primary" data-dismiss="modal" id="hintBox_btn_no">否</button>
|
|
<button type="button" class="btn btn-primary" data-dismiss="modal" id="hintBox_btn_no">否</button>
|
|
<button type="button" class="btn btn-secondary" data-dismiss="modal" id="hintBox_btn_cancel">取消</button>
|
|
<button type="button" class="btn btn-secondary" data-dismiss="modal" id="hintBox_btn_cancel">取消</button>
|
|
@@ -36,7 +36,6 @@
|
|
|
|
|
|
<script>
|
|
<script>
|
|
const hintBox = {
|
|
const hintBox = {
|
|
- test: false,
|
|
|
|
value: null,
|
|
value: null,
|
|
btnType: {yes: 1, yesNo: 2, yesNoCancel: 3},
|
|
btnType: {yes: 1, yesNo: 2, yesNoCancel: 3},
|
|
init: function (){
|
|
init: function (){
|
|
@@ -57,8 +56,7 @@
|
|
);
|
|
);
|
|
$('#hintBox_btn_cancel').click(
|
|
$('#hintBox_btn_cancel').click(
|
|
function () {
|
|
function () {
|
|
- if (!hintBox.test)
|
|
|
|
- $.bootstrapLoading.end();
|
|
|
|
|
|
+ $.bootstrapLoading.end();
|
|
return;
|
|
return;
|
|
}
|
|
}
|
|
);
|
|
);
|
|
@@ -136,8 +134,7 @@
|
|
};
|
|
};
|
|
|
|
|
|
$('#hintBox_form').on('hide.bs.modal', function() {
|
|
$('#hintBox_form').on('hide.bs.modal', function() {
|
|
- if (!hintBox.test)
|
|
|
|
- $.bootstrapLoading.end();
|
|
|
|
|
|
+ $.bootstrapLoading.end();
|
|
return;
|
|
return;
|
|
});
|
|
});
|
|
</script>
|
|
</script>
|