tenghui-ui 1.3.0 → 1.3.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/style.css +1 -1
- package/dist/tenghui-ui.es.js +14 -4
- package/dist/tenghui-ui.es.js.map +1 -1
- package/dist/tenghui-ui.umd.js +2 -2
- package/dist/tenghui-ui.umd.js.map +1 -1
- package/package.json +1 -1
package/dist/style.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.el-menu[data-v-1a7163e6]{width:100%;height:60px!important}.el-submenu .el-menu-item[data-v-1a7163e6]{min-width:unset}.el-submenu__title i[data-v-1a7163e6]{color:unset}.ui-tabs[data-v-e7fe9cfa]{border-bottom:1px solid #ebeef5;padding:0 10px;height:40px;background-color:#fff}.ui-tabs__item[data-v-e7fe9cfa]{float:left;height:31px;border-radius:6px 6px 0 0;border:1px solid #ebeef5;margin-top:10px;box-sizing:border-box;font-size:12px;line-height:30px;padding:0 10px;color:#c0c4cc;cursor:pointer;border-bottom-color:#fff;margin-right:1px;position:relative;transition:all .1s linear}.ui-tabs__item:hover .el-icon-error[data-v-e7fe9cfa]{opacity:1}.ui-tabs__item .el-icon-error[data-v-e7fe9cfa]{position:absolute;right:2px;top:50%;margin-top:-5px;opacity:0;transition:all .1s linear}.ui-tabs__item .el-icon-error[data-v-e7fe9cfa]:hover{color:#409effcc}.ui-tabs__item--active[data-v-e7fe9cfa]{color:#409effcc;padding-right:20px}.ui-tabs__item--active .el-icon-error[data-v-e7fe9cfa]{top:50%;right:5px;font-size:14px;margin-top:-5px;opacity:1}.el-icon-s-tools[data-v-575499bb]{font-size:20px;color:#fff;line-height:60px;margin-right:20px;cursor:pointer}[data-v-0a02be4b] .el-dialog__header{border-bottom:1px solid #ededed}[data-v-0a02be4b] .el-dialog__header .el-dialog__title{font-size:16px}[data-v-0a02be4b] .el-dialog__footer{border-top:1px solid #ededed}[data-v-0a02be4b] .el-dialog__body .el-form .el-select,[data-v-0a02be4b] .el-dialog__body .el-form .el-input,[data-v-0a02be4b] .el-dialog__body .el-form .el-input-number{width:240px}[data-v-0a02be4b] .el-dialog__body .el-form .el-input-number .el-input__inner{text-align:left}[data-v-0a02be4b] .el-dialog__body .el-form .ui-item__main{width:100%}[data-v-0a02be4b] .el-dialog__body .el-form .el-form-item__label{font-size:12px}[data-v-0a02be4b] .el-dialog__body .el-form .el-input--small .el-input__icon{height:32px}.ui-form__item[data-v-acc84488]{display:flex;align-items:center;margin-right:15px}.ui-item__label[data-v-acc84488]{margin-right:10px;font-size:12px;width:70px;text-align:right}.ui-operation[data-v-3c6cb9f6]{padding:0 10px}.ui-search[data-v-07c7d454]{margin:10px 10px 0;padding:20px;background-color:#fff;border:1px solid #ebeef5;border-radius:4px}.ui-search__main[data-v-07c7d454]{display:flex}.ui-search__footer[data-v-07c7d454]{margin-top:10px}.ui-search[data-v-07c7d454] .ui-form__item{display:block}.ui-search[data-v-07c7d454] .ui-item__label{width:unset;text-align:left;margin-bottom:5px}.ui-table[data-v-
|
|
1
|
+
.el-menu[data-v-1a7163e6]{width:100%;height:60px!important}.el-submenu .el-menu-item[data-v-1a7163e6]{min-width:unset}.el-submenu__title i[data-v-1a7163e6]{color:unset}.ui-tabs[data-v-e7fe9cfa]{border-bottom:1px solid #ebeef5;padding:0 10px;height:40px;background-color:#fff}.ui-tabs__item[data-v-e7fe9cfa]{float:left;height:31px;border-radius:6px 6px 0 0;border:1px solid #ebeef5;margin-top:10px;box-sizing:border-box;font-size:12px;line-height:30px;padding:0 10px;color:#c0c4cc;cursor:pointer;border-bottom-color:#fff;margin-right:1px;position:relative;transition:all .1s linear}.ui-tabs__item:hover .el-icon-error[data-v-e7fe9cfa]{opacity:1}.ui-tabs__item .el-icon-error[data-v-e7fe9cfa]{position:absolute;right:2px;top:50%;margin-top:-5px;opacity:0;transition:all .1s linear}.ui-tabs__item .el-icon-error[data-v-e7fe9cfa]:hover{color:#409effcc}.ui-tabs__item--active[data-v-e7fe9cfa]{color:#409effcc;padding-right:20px}.ui-tabs__item--active .el-icon-error[data-v-e7fe9cfa]{top:50%;right:5px;font-size:14px;margin-top:-5px;opacity:1}.el-icon-s-tools[data-v-575499bb]{font-size:20px;color:#fff;line-height:60px;margin-right:20px;cursor:pointer}[data-v-0a02be4b] .el-dialog__header{border-bottom:1px solid #ededed}[data-v-0a02be4b] .el-dialog__header .el-dialog__title{font-size:16px}[data-v-0a02be4b] .el-dialog__footer{border-top:1px solid #ededed}[data-v-0a02be4b] .el-dialog__body .el-form .el-select,[data-v-0a02be4b] .el-dialog__body .el-form .el-input,[data-v-0a02be4b] .el-dialog__body .el-form .el-input-number{width:240px}[data-v-0a02be4b] .el-dialog__body .el-form .el-input-number .el-input__inner{text-align:left}[data-v-0a02be4b] .el-dialog__body .el-form .ui-item__main{width:100%}[data-v-0a02be4b] .el-dialog__body .el-form .el-form-item__label{font-size:12px}[data-v-0a02be4b] .el-dialog__body .el-form .el-input--small .el-input__icon{height:32px}.ui-form__item[data-v-acc84488]{display:flex;align-items:center;margin-right:15px}.ui-item__label[data-v-acc84488]{margin-right:10px;font-size:12px;width:70px;text-align:right}.ui-operation[data-v-3c6cb9f6]{padding:0 10px}.ui-search[data-v-07c7d454]{margin:10px 10px 0;padding:20px;background-color:#fff;border:1px solid #ebeef5;border-radius:4px}.ui-search__main[data-v-07c7d454]{display:flex}.ui-search__footer[data-v-07c7d454]{margin-top:10px}.ui-search[data-v-07c7d454] .ui-form__item{display:block}.ui-search[data-v-07c7d454] .ui-item__label{width:unset;text-align:left;margin-bottom:5px}.ui-table[data-v-61117837]{padding:0 10px}.ui-table[data-v-61117837] .el-table-column--selection .el-checkbox{display:block}.ui-table[data-v-61117837] .el-tabs__header{margin-bottom:0;border-bottom:0 none;background:#FFF}.ui-table[data-v-61117837] .el-tabs__header .el-tabs__item{height:32px;line-height:32px;font-size:12px}.ui-table[data-v-61117837] .el-tabs--card>.el-tabs__header .el-tabs__item.is-active{border-bottom-color:#409eff}.ui-pagination[data-v-61117837]{text-align:center;padding:10px 0}.table__tab[data-v-61117837]{background-color:#fff}.ui-tab--loading[data-v-61117837]{height:32px;line-height:32px}.ui-tab--loading span[data-v-61117837]{font-size:12px;color:#999;display:inline-block;margin-left:5px}.ui-image--error[data-v-4d3de6d0]{text-align:center;color:#999;background-color:#efefef}
|
package/dist/tenghui-ui.es.js
CHANGED
|
@@ -612,6 +612,7 @@ function countTableHeight(staticNum = 0) {
|
|
|
612
612
|
tableHeight += headerEl ? headerEl.offsetHeight : 0;
|
|
613
613
|
tableHeight += tabsEl ? tabsEl.offsetHeight : 0;
|
|
614
614
|
tableHeight += tableTab ? tableTab.offsetHeight : 0;
|
|
615
|
+
console.log(tableTab);
|
|
615
616
|
let userAgent = navigator.userAgent;
|
|
616
617
|
for (let i = 0; i < pageCountEls.length; i++) {
|
|
617
618
|
let ele = pageCountEls[i];
|
|
@@ -7465,13 +7466,13 @@ var render$1 = function() {
|
|
|
7465
7466
|
var _vm = this;
|
|
7466
7467
|
var _h = _vm.$createElement;
|
|
7467
7468
|
var _c = _vm._self._c || _h;
|
|
7468
|
-
return _c("div", { staticClass: "ui-table" }, [_c("div", { staticClass: "ui-table__tab" }, [_vm._t("default", [_c("el-tabs", { attrs: { "type": "card", "size": "mini" }, on: { "tab-click": function(val) {
|
|
7469
|
+
return _c("div", { staticClass: "ui-table" }, [_c("div", { staticClass: "ui-table__tab", style: { height: _vm.showTab ? "32px" : "unset" } }, [_vm._t("default", [_vm.tabList.length ? _c("el-tabs", { attrs: { "type": "card", "size": "mini" }, on: { "tab-click": function(val) {
|
|
7469
7470
|
return _vm.$emit("tabChange", val);
|
|
7470
7471
|
} }, model: { value: _vm.checkTab, callback: function($$v) {
|
|
7471
7472
|
_vm.checkTab = $$v;
|
|
7472
7473
|
}, expression: "checkTab" } }, _vm._l(_vm.tabList, function(item) {
|
|
7473
7474
|
return _c("el-tab-pane", { key: item.value, attrs: { "label": item.label, "name": item.value } });
|
|
7474
|
-
}), 1)])], 2), _c("el-table", _vm._b({ ref: "myTable", attrs: { "highlightRow": "", "border": true, "data": _vm.tableData }, on: { "selection-change": _vm.handleSelectionChange }, scopedSlots: _vm._u([{ key: "empty", fn: function() {
|
|
7475
|
+
}), 1) : _vm._e(), _vm._m(0)])], 2), _c("el-table", _vm._b({ ref: "myTable", attrs: { "highlightRow": "", "border": true, "data": _vm.tableData }, on: { "selection-change": _vm.handleSelectionChange }, scopedSlots: _vm._u([{ key: "empty", fn: function() {
|
|
7475
7476
|
return [!_vm.autoHeight ? _c("div", [_c("el-empty", { directives: [{ name: "show", rawName: "v-show", value: !_vm.tableData.length, expression: "!tableData.length" }], attrs: { "description": "\u6682\u65E0\u6570\u636E" } })], 1) : _vm._e()];
|
|
7476
7477
|
}, proxy: true }]) }, "el-table", _vm._d({}, [_vm.isBindHeight, _vm.tableHeight, _vm.isBindMaxHeight, _vm.maxHeight])), [_vm.showSelect ? _c("el-table-column", { attrs: { "type": "selection", "width": "35", "selectable": _vm.selectable } }) : _vm._e(), _vm._l(_vm.tableTitle, function(item, index2) {
|
|
7477
7478
|
return _c("el-table-column", { key: _vm.tableProps[index2], attrs: { "minWidth": "60px", "label": item, "prop": _vm.tableProps[index2], "width": _vm.tableProps[index2] === "index" ? "60px" : _vm.tableColsWidth[index2] || "" }, scopedSlots: _vm._u([{ key: "header", fn: function(scope) {
|
|
@@ -7485,7 +7486,12 @@ var render$1 = function() {
|
|
|
7485
7486
|
return _vm.handlePageChange("offset", val);
|
|
7486
7487
|
} } })], 1) : _vm._e()], 1);
|
|
7487
7488
|
};
|
|
7488
|
-
var staticRenderFns$1 = [
|
|
7489
|
+
var staticRenderFns$1 = [function() {
|
|
7490
|
+
var _vm = this;
|
|
7491
|
+
var _h = _vm.$createElement;
|
|
7492
|
+
var _c = _vm._self._c || _h;
|
|
7493
|
+
return _c("div", { staticClass: "ui-tab--loading" }, [_c("i", { staticClass: "el-icon-loading" }), _c("span", [_vm._v("\u52A0\u8F7D\u4E2D...")])]);
|
|
7494
|
+
}];
|
|
7489
7495
|
var index_vue_vue_type_style_index_0_scoped_true_lang$1 = "";
|
|
7490
7496
|
const __vue2_script$1 = {
|
|
7491
7497
|
name: "ComTable",
|
|
@@ -7536,6 +7542,10 @@ const __vue2_script$1 = {
|
|
|
7536
7542
|
defaultTab: {
|
|
7537
7543
|
type: [String, Number],
|
|
7538
7544
|
default: ""
|
|
7545
|
+
},
|
|
7546
|
+
showTab: {
|
|
7547
|
+
type: Boolean,
|
|
7548
|
+
default: false
|
|
7539
7549
|
}
|
|
7540
7550
|
},
|
|
7541
7551
|
data() {
|
|
@@ -7609,7 +7619,7 @@ const __vue2_script$1 = {
|
|
|
7609
7619
|
}
|
|
7610
7620
|
};
|
|
7611
7621
|
const __cssModules$1 = {};
|
|
7612
|
-
var __component__$1 = /* @__PURE__ */ normalizeComponent(__vue2_script$1, render$1, staticRenderFns$1, false, __vue2_injectStyles$1, "
|
|
7622
|
+
var __component__$1 = /* @__PURE__ */ normalizeComponent(__vue2_script$1, render$1, staticRenderFns$1, false, __vue2_injectStyles$1, "61117837", null, null);
|
|
7613
7623
|
function __vue2_injectStyles$1(context) {
|
|
7614
7624
|
for (let o in __cssModules$1) {
|
|
7615
7625
|
this[o] = __cssModules$1[o];
|