|
@@ -12,7 +12,7 @@
|
|
<div class="modal-content">
|
|
<div class="modal-content">
|
|
<div class="modal-header">
|
|
<div class="modal-header">
|
|
<h5 id="hintBox_title" class="modal-title">标题</h5>
|
|
<h5 id="hintBox_title" class="modal-title">标题</h5>
|
|
- <button type="button" class="close" data-dismiss="modal" aria-label="Close">
|
|
|
|
|
|
+ <button type="button" class="close" data-dismiss="modal" aria-label="Close" id="hintBox_btn_cross">
|
|
<span aria-hidden="true">×</span>
|
|
<span aria-hidden="true">×</span>
|
|
</button>
|
|
</button>
|
|
</div>
|
|
</div>
|
|
@@ -68,6 +68,7 @@
|
|
$('#hintBox_btn_yes').hide();
|
|
$('#hintBox_btn_yes').hide();
|
|
$('#hintBox_btn_no').hide();
|
|
$('#hintBox_btn_no').hide();
|
|
$('#hintBox_btn_cancel').hide();
|
|
$('#hintBox_btn_cancel').hide();
|
|
|
|
+ $('#hintBox_btn_cross').show();
|
|
},
|
|
},
|
|
font: function(str){
|
|
font: function(str){
|
|
return `<span style='color:red;font-weight:bold;font-size:15px'> ${str} </span>`;
|
|
return `<span style='color:red;font-weight:bold;font-size:15px'> ${str} </span>`;
|
|
@@ -78,8 +79,10 @@
|
|
$("#hintBox_value").focus();
|
|
$("#hintBox_value").focus();
|
|
$("#hintBox_value").select();
|
|
$("#hintBox_value").select();
|
|
},
|
|
},
|
|
- infoBox: function (title, caption, btnType, doYes, doNo, btnTextArr) {
|
|
|
|
|
|
+ infoBox: function (title, caption, btnType, doYes, doNo, btnTextArr, showCrossBtn = true) {
|
|
this.init();
|
|
this.init();
|
|
|
|
+ if (!showCrossBtn)
|
|
|
|
+ $('#hintBox_btn_cross').hide();
|
|
$('#hintBox_title').text(title);
|
|
$('#hintBox_title').text(title);
|
|
$('#hintBox_caption').html(caption);
|
|
$('#hintBox_caption').html(caption);
|
|
$('#hintBox_caption').show();
|
|
$('#hintBox_caption').show();
|