This commit is contained in:
yangchch6 2019-04-24 10:42:44 +08:00
commit 1eea874846
9 changed files with 18 additions and 12 deletions

View File

@ -131,6 +131,8 @@
border-bottom: 1px solid rgb(193, 199, 208);
text-align: center;
position: relative; }
.u-table-placeholder .table-nodata {
font-size: 48px; }
.u-table-expand-icon-col {
width: 10px; }
.u-table-row .u-table tr, .u-table-expanded-row .u-table tr {
@ -320,7 +322,7 @@
width: 30px;
height: 38px;
line-height: 38px;
right: 12px;
right: 0px;
top: 1px;
z-index: 2;
background: rgb(241, 242, 245);

View File

@ -48,6 +48,10 @@ var _beeLoading = require('bee-loading');
var _beeLoading2 = _interopRequireDefault(_beeLoading);
var _beeIcon = require('bee-icon');
var _beeIcon2 = _interopRequireDefault(_beeIcon);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
function _defaults(obj, defaults) { var keys = Object.getOwnPropertyNames(defaults); for (var i = 0; i < keys.length; i++) { var key = keys[i]; var value = Object.getOwnPropertyDescriptor(defaults, key); if (value && value.configurable && obj[key] === undefined) { Object.defineProperty(obj, key, value); } } return obj; }
@ -137,7 +141,7 @@ var defaultProps = {
return body;
},
emptyText: function emptyText() {
return 'No Data';
return _react2["default"].createElement(_beeIcon2["default"], { type: 'uf-nodata', className: 'table-nodata' });
},
columns: [],
minColumnWidth: 80,

View File

@ -2,7 +2,7 @@
*
* @title 图片在表格中的展示
* @parent 扩展行 Expanded Row
* @description 根据图片高度自动撑开行高可结合图片查看器使用 http://design.yonyoucloud.com/tinper-bee/bee-viewer
* @description 根据图片高度自动撑开行高可结合图片查看器使用 http://design.yonyoucloud.com/tinper-bee/bee-viewer, 注如果图片在固定列中可以使用heightConsistent属性当此属性为true就不会出现错行问题
* demo1107
*/

File diff suppressed because one or more lines are too long

4
dist/demo.css vendored
View File

@ -324,7 +324,7 @@
width: 30px;
height: 38px;
line-height: 38px;
right: 12px;
right: 0px;
top: 1px;
z-index: 2;
background: rgb(241, 242, 245);
@ -339,7 +339,7 @@
cursor: pointer; }
.u-table-filter-column-pop-cont-item .u-checkbox {
margin: 0px; }
.u-table-filter-column-pop-cont-item > span {
.u-table-filter-column-pop-cont-item span.drop-menu-title {
margin-left: -3px;
max-width: 132px;
width: auto !important;

2
dist/demo.css.map vendored

File diff suppressed because one or more lines are too long

4
dist/demo.js vendored

File diff suppressed because one or more lines are too long

2
dist/demo.js.map vendored

File diff suppressed because one or more lines are too long

View File

@ -548,7 +548,7 @@ $icon-color:#505F79;
width: 30px;
height: 38px ;
line-height: 38px;
right: 12px ;
right: 0px ;
top:1px ;
z-index: 2;
background: $table-head-background-color;
@ -569,7 +569,7 @@ $icon-color:#505F79;
}
}
&-pop-cont-item>span{
&-pop-cont-item span.drop-menu-title{
margin-left: -3px;
max-width: 132px;
width: auto !important;