before fixing:
After modification:
ps: Cancel common parameter combinations in the parameter panel
//Click the text box after customizing the initialization control, the corresponding display box will pop up
$.each(this.options.form.name_widgets, function(i, item) { //console.info(item.options.type); // If it is a label control, it will not be processed. If it is a time type, a drop-down type, a multi- select box, and a tree structure, set the current text box event if (item.options.type !=='label' && (item.options. type ==='combocheckbox' || item.options.type ==='datetime' || item.options.type ==='tagcombocheckbox' || item.options.type ==='treecombobox')) { / /Set the click event var self = item; self.options.name4Empty = "Select all"; //The drop-down box replaces the default non-selection $('input', item.element).click(function() { if (self. $view.css('display') =='none') { self.onTriggerClick(); } }); } });
setTimeout(function() {
var sr = document.getElementsByClassName("fr-trigger-text");
for (var i = 0; i < sr.length; i++) {
sr[i].style.border = "none";
sr[i].style.borderRadius = "25px";
sr[i].style.width = "100%";
sr[i].style.height = "100%";
sr[i].style.color = "#f9fcf5";
var jiantou = document.getElementsByClassName("fr-trigger-btn-up")[i];
jiantou.style.display = "none";
document.getElementsByClassName("fr-trigger-texteditor")[i].style.textAlign = "center";
document.getElementsByClassName("fr-trigger-texteditor")[i].style.width = "100%";
document.getElementsByClassName("fr-trigger-texteditor")[i].style.height = "100%";
document.getElementsByClassName("fr-trigger-texteditor")[i].style.backgroundColor = "#263657";
document.getElementsByClassName("fr-trigger-texteditor")[i].style.color = "#eaede4";
}
var sr2 = document.getElementsByClassName("fr-btn-small fr-btn-icon-small-left")[0];
sr2.style.border = "none";
sr2.style.borderRadius = "25px";
sr2.style.backgroundColor = "#07a6c4";
sr2.style.fontWeight = "bold";
sr2.style.fontSize = "16px";
sr2.style.height = "100%";
document.getElementsByClassName("fr-btn-up")[0].style.background = "#0b1f44";
document.getElementsByClassName("fr-btn-up")[0].style.height = "30px";
document.getElementsByClassName("fr-btn-small fr-btn-icon-small-left")[0].childNodes[0].firstElementChild.style.color = "#fff7fd";
document.getElementsByClassName("fr-btn-small fr-btn-icon-small-left")[0].childNodes[0].firstElementChild.style.height = "100%";
}, 100);