export default (function () { function t() { this.name = "fontSize"; // 重写的参数 key } // 涉及修改元素样式, 添加一个 css 方法 return t.prototype.css = function (t, e) { if (t && t.length) { if (e) return t.css("font-size", e + "pt"), "font-size:" + e + "pt"; t[0].style.fontSize = ""; } return null; }, // 创建 DOM t.prototype.createTarget = function () { let list = [8, 9, 10, 11, 12, 14, 16, 18, 20, 22, 24, 26, 28, 36, 48, 72]; let fontSizeList = '\n '; list.forEach(function (e) { fontSizeList += '\n '; }) this.target = $('