forked from fanruan/fineui
Urthur
8 years ago
67 changed files with 123402 additions and 63635 deletions
@ -1,416 +1,416 @@
|
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
||||
.bi-arrangement .arrangement-helper { |
||||
background: #3f8ce8; |
||||
z-index: 1000000000; |
||||
} |
||||
.bi-arrangement .arrangement-block { |
||||
z-index: 1000000000; |
||||
} |
||||
.bi-arrangement .arrangement-drop-container { |
||||
z-index: 1000000000; |
||||
} |
||||
.bi-arrangement .arrangement-drop-container .arrangement-drop-region { |
||||
overflow: hidden; |
||||
} |
||||
.bi-arrangement .arrangement-drop-container .drop-devider { |
||||
z-index: 1000000001; |
||||
background: #3f8ce8; |
||||
} |
||||
.bi-arrangement .arrangement-drop-container .top-left, |
||||
.bi-arrangement .arrangement-drop-container .top-right, |
||||
.bi-arrangement .arrangement-drop-container .bottom-left, |
||||
.bi-arrangement .arrangement-drop-container .bottom-right, |
||||
.bi-arrangement .arrangement-drop-container .top-left-second, |
||||
.bi-arrangement .arrangement-drop-container .top-right-second, |
||||
.bi-arrangement .arrangement-drop-container .bottom-left-second, |
||||
.bi-arrangement .arrangement-drop-container .bottom-right-second, |
||||
.bi-arrangement .arrangement-drop-container .top-center, |
||||
.bi-arrangement .arrangement-drop-container .bottom-center, |
||||
.bi-arrangement .arrangement-drop-container .left-center, |
||||
.bi-arrangement .arrangement-drop-container .right-center, |
||||
.bi-arrangement .arrangement-drop-container .top-center-second, |
||||
.bi-arrangement .arrangement-drop-container .bottom-center-second, |
||||
.bi-arrangement .arrangement-drop-container .left-center-second, |
||||
.bi-arrangement .arrangement-drop-container .right-center-second { |
||||
z-index: 1000000001; |
||||
background: #3f8ce8; |
||||
} |
||||
.bi-arrangement-droppable { |
||||
z-index: 100000; |
||||
} |
||||
/****添加计算宽度的--运算符直接需要space****/ |
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
||||
.bi-adapt-editor .adapt-editor-text { |
||||
font-size: 14px; |
||||
} |
||||
/****添加计算宽度的--运算符直接需要space****/ |
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
||||
/*************BI.SearchEditor******************/ |
||||
.bi-search-editor { |
||||
border: 1px solid #d4dadd; |
||||
} |
||||
.bi-search-editor .close-font { |
||||
font-size: 20px; |
||||
} |
||||
.bi-search-editor .search-font { |
||||
font-size: 20px; |
||||
} |
||||
/****添加计算宽度的--运算符直接需要space****/ |
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
||||
/*************BI.SearchEditor******************/ |
||||
.bi-small-search-editor .bi-editor { |
||||
font-size: 12px; |
||||
} |
||||
.bi-small-search-editor .bi-editor .bi-input { |
||||
font-size: 12px; |
||||
} |
||||
.bi-small-search-editor .bi-editor .bi-label { |
||||
font-size: 12px; |
||||
} |
||||
.bi-small-search-editor .close-font { |
||||
font-size: 18px; |
||||
} |
||||
.bi-small-search-editor .search-font { |
||||
font-size: 18px; |
||||
} |
||||
/****添加计算宽度的--运算符直接需要space****/ |
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
||||
.bi-sign-initial-editor .sign-initial-editor-text { |
||||
font-size: 14px; |
||||
} |
||||
/****添加计算宽度的--运算符直接需要space****/ |
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
||||
.bi-sign-style-editor .sign-style-editor-text { |
||||
max-width: 100%; |
||||
font-size: 12px; |
||||
} |
||||
.bi-sign-style-editor .sign-style-editor-tip { |
||||
max-width: 100%; |
||||
font-size: 12px; |
||||
color: #808080; |
||||
} |
||||
/****添加计算宽度的--运算符直接需要space****/ |
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
||||
.bi-text-editor { |
||||
border: 1px solid #d4dadd; |
||||
} |
||||
/****添加计算宽度的--运算符直接需要space****/ |
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
||||
/*************BI.SearchEditor******************/ |
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
||||
.bi-date-trigger { |
||||
-webkit-border-radius: 2px; |
||||
-moz-border-radius: 2px; |
||||
border-radius: 2px; |
||||
} |
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
||||
.bi-down-list-popup .bi-down-list-item .list-item-text { |
||||
max-width: 203px; |
||||
} |
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
||||
.bi-excel-table > div.bottom-right > div > div > table { |
||||
border-right: 1px solid #d4dadd; |
||||
} |
||||
.bi-theme-dark .bi-excel-table > div.bottom-right > div > div > table { |
||||
border-right: 1px solid #525466; |
||||
} |
||||
.bi-excel-table-header-cell { |
||||
font-weight: bold; |
||||
} |
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
||||
.bi-file-manager-nav-button .file-manager-nav-button-text { |
||||
max-width: 200px; |
||||
} |
||||
.bi-file-manager-nav-button .file-manager-nav-button-text.active { |
||||
background-color: #eff1f4; |
||||
color: #999999; |
||||
} |
||||
.bi-file-manager-nav-button .file-manager-nav-button-triangle { |
||||
z-index: 1; |
||||
} |
||||
.bi-theme-dark .bi-file-manager-nav-button .file-manager-nav-button-text.active { |
||||
background-color: #191b2b; |
||||
color: #999999; |
||||
} |
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
||||
.bi-fine-tuning-number-editor { |
||||
-webkit-border-radius: 2px; |
||||
-moz-border-radius: 2px; |
||||
border-radius: 2px; |
||||
} |
||||
.bi-interactive-arrangement .interactive-arrangement-dragtag-line { |
||||
z-index: 1000000000; |
||||
background-color: #f07d0a; |
||||
} |
||||
.bi-interactive-arrangement .interactive-arrangement-dragtag-icon { |
||||
z-index: 1000000000; |
||||
} |
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
||||
.bi-month-trigger { |
||||
-webkit-border-radius: 2px; |
||||
-moz-border-radius: 2px; |
||||
border-radius: 2px; |
||||
} |
||||
.bi-multi-select-check-pane .multi-select-check-selected { |
||||
text-decoration: underline; |
||||
} |
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
||||
.bi-multi-select-combo .multi-select-trigger-icon-button { |
||||
font-size: 16px; |
||||
} |
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
||||
.bi-multi-select-trigger { |
||||
-webkit-border-radius: 2px 2px 2px 2px; |
||||
-moz-border-radius: 2px 2px 2px 2px; |
||||
border-radius: 2px 2px 2px 2px; |
||||
} |
||||
.bi-multi-select-search-pane .multi-select-toolbar { |
||||
color: #e85050; |
||||
} |
||||
.bi-multi-select-check-selected-button { |
||||
z-index: 1; |
||||
} |
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
||||
.bi-multi-tree-check-pane .multi-tree-check-selected { |
||||
color: #3f8ce8; |
||||
} |
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
||||
.bi-multi-tree-combo .multi-select-trigger-icon-button { |
||||
font-size: 16px; |
||||
} |
||||
.bi-multi-tree-popup .popup-view-tree { |
||||
min-height: 170px; |
||||
} |
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
||||
.bi-multi-tree-check-selected-button .trigger-check-selected { |
||||
color: #3f8ce8; |
||||
z-index: 1; |
||||
} |
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
||||
.bi-numerical-interval .numerical-interval-small-editor { |
||||
-moz-border-radius-topleft: 2px; |
||||
-webkit-border-top-left-radius: 2px; |
||||
-moz-border-radius-bottomleft: 2px; |
||||
-webkit-border-bottom-left-radius: 2px; |
||||
border-top-left-radius: 2px; |
||||
border-bottom-left-radius: 2px; |
||||
} |
||||
.bi-numerical-interval .numerical-interval-big-editor { |
||||
-moz-border-radius-topright: 2px; |
||||
-webkit-border-top-right-radius: 2px; |
||||
-moz-border-radius-bottomright: 2px; |
||||
-webkit-border-bottom-right-radius: 2px; |
||||
border-top-right-radius: 2px; |
||||
border-bottom-right-radius: 2px; |
||||
} |
||||
.bi-numerical-interval .numerical-interval-big-combo { |
||||
-moz-border-radius-topleft: 2px; |
||||
-webkit-border-top-left-radius: 2px; |
||||
-moz-border-radius-bottomleft: 2px; |
||||
-webkit-border-bottom-left-radius: 2px; |
||||
border-top-left-radius: 2px; |
||||
border-bottom-left-radius: 2px; |
||||
} |
||||
.bi-numerical-interval .numerical-interval-big-combo .bi-icon-combo-trigger .icon-combo-trigger-icon { |
||||
font-size: 14px; |
||||
} |
||||
.bi-numerical-interval .numerical-interval-small-combo { |
||||
-moz-border-radius-topright: 2px; |
||||
-webkit-border-top-right-radius: 2px; |
||||
-moz-border-radius-bottomright: 2px; |
||||
-webkit-border-bottom-right-radius: 2px; |
||||
border-top-right-radius: 2px; |
||||
border-bottom-right-radius: 2px; |
||||
} |
||||
.bi-numerical-interval .numerical-interval-small-combo .bi-icon-combo-trigger .icon-combo-trigger-icon { |
||||
font-size: 14px; |
||||
} |
||||
.bi-numerical-interval.number-error .bi-input { |
||||
color: #e85050; |
||||
} |
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
||||
.bi-page-table-cell { |
||||
-webkit-user-select: initial; |
||||
-khtml-user-select: initial; |
||||
-moz-user-select: initial; |
||||
-ms-user-select: initial; |
||||
-o-user-select: initial; |
||||
user-select: initial; |
||||
} |
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
||||
.bi-path-chooser .path-chooser-radio { |
||||
z-index: 1; |
||||
} |
||||
.bi-path-region .path-region-label { |
||||
z-index: 1; |
||||
} |
||||
.bi-preview-table-cell { |
||||
min-height: 25px; |
||||
min-width: 80px; |
||||
max-width: 220px; |
||||
} |
||||
.bi-preview-table { |
||||
-webkit-user-select: initial; |
||||
-khtml-user-select: initial; |
||||
-moz-user-select: initial; |
||||
-ms-user-select: initial; |
||||
-o-user-select: initial; |
||||
user-select: initial; |
||||
} |
||||
.bi-preview-table > div > table > thead > tr.odd, |
||||
.bi-preview-table > div > div > div > table > thead > tr.odd { |
||||
background-color: #eff1f4; |
||||
} |
||||
.bi-theme-dark .bi-preview-table > div > table > thead > tr.odd, |
||||
.bi-theme-dark .bi-preview-table > div > div > div > table > thead > tr.odd { |
||||
background-color: #191b2b; |
||||
} |
||||
.bi-preview-table-header-cell { |
||||
font-weight: bold; |
||||
min-height: 25px; |
||||
min-width: 80px; |
||||
max-width: 220px; |
||||
} |
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
||||
.bi-quarter-trigger { |
||||
-webkit-border-radius: 2px; |
||||
-moz-border-radius: 2px; |
||||
border-radius: 2px; |
||||
} |
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
||||
.bi-relation-view-region .relation-view-region-container { |
||||
z-index: 1; |
||||
-webkit-border-radius: 2px; |
||||
-moz-border-radius: 2px; |
||||
border-radius: 2px; |
||||
} |
||||
.bi-relation-view-region .relation-view-region-container.other-package { |
||||
border-style: dashed; |
||||
} |
||||
.bi-sequence-table-dynamic-number .sequence-table-title-cell { |
||||
overflow: hidden; |
||||
overflow-x: hidden; |
||||
overflow-y: hidden; |
||||
-webkit-box-sizing: border-box; |
||||
/*Safari3.2+*/ |
||||
-moz-box-sizing: border-box; |
||||
/*Firefox3.5+*/ |
||||
-ms-box-sizing: border-box; |
||||
/*IE8*/ |
||||
box-sizing: border-box; |
||||
/*W3C标准(IE9+,Safari5.1+,Chrome10.0+,Opera10.6+都符合box-sizing的w3c标准语法)*/ |
||||
} |
||||
.bi-sequence-table-dynamic-number .sequence-table-number-cell { |
||||
-webkit-box-sizing: border-box; |
||||
/*Safari3.2+*/ |
||||
-moz-box-sizing: border-box; |
||||
/*Firefox3.5+*/ |
||||
-ms-box-sizing: border-box; |
||||
/*IE8*/ |
||||
box-sizing: border-box; |
||||
/*W3C标准(IE9+,Safari5.1+,Chrome10.0+,Opera10.6+都符合box-sizing的w3c标准语法)*/ |
||||
} |
||||
.bi-sequence-table-list-number .sequence-table-title-cell { |
||||
overflow: hidden; |
||||
overflow-x: hidden; |
||||
overflow-y: hidden; |
||||
-webkit-box-sizing: border-box; |
||||
/*Safari3.2+*/ |
||||
-moz-box-sizing: border-box; |
||||
/*Firefox3.5+*/ |
||||
-ms-box-sizing: border-box; |
||||
/*IE8*/ |
||||
box-sizing: border-box; |
||||
/*W3C标准(IE9+,Safari5.1+,Chrome10.0+,Opera10.6+都符合box-sizing的w3c标准语法)*/ |
||||
} |
||||
.bi-sequence-table-list-number .sequence-table-number-cell { |
||||
-webkit-box-sizing: border-box; |
||||
/*Safari3.2+*/ |
||||
-moz-box-sizing: border-box; |
||||
/*Firefox3.5+*/ |
||||
-ms-box-sizing: border-box; |
||||
/*IE8*/ |
||||
box-sizing: border-box; |
||||
/*W3C标准(IE9+,Safari5.1+,Chrome10.0+,Opera10.6+都符合box-sizing的w3c标准语法)*/ |
||||
} |
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
||||
.bi-sequence-table-tree-number .sequence-table-title-cell { |
||||
overflow: hidden; |
||||
overflow-x: hidden; |
||||
overflow-y: hidden; |
||||
-webkit-box-sizing: border-box; |
||||
/*Safari3.2+*/ |
||||
-moz-box-sizing: border-box; |
||||
/*Firefox3.5+*/ |
||||
-ms-box-sizing: border-box; |
||||
/*IE8*/ |
||||
box-sizing: border-box; |
||||
/*W3C标准(IE9+,Safari5.1+,Chrome10.0+,Opera10.6+都符合box-sizing的w3c标准语法)*/ |
||||
} |
||||
.bi-sequence-table-tree-number .sequence-table-number-cell { |
||||
-webkit-box-sizing: border-box; |
||||
/*Safari3.2+*/ |
||||
-moz-box-sizing: border-box; |
||||
/*Firefox3.5+*/ |
||||
-ms-box-sizing: border-box; |
||||
/*IE8*/ |
||||
box-sizing: border-box; |
||||
/*W3C标准(IE9+,Safari5.1+,Chrome10.0+,Opera10.6+都符合box-sizing的w3c标准语法)*/ |
||||
} |
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
||||
.bi-year-popup .year-popup-navigation { |
||||
line-height: 30px; |
||||
} |
||||
.bi-year-popup .year-popup-navigation > .center-element { |
||||
border-left: 1px solid #d4dadd; |
||||
} |
||||
.bi-year-popup .year-popup-navigation > .first-element { |
||||
border-left: none; |
||||
} |
||||
.bi-theme-dark .bi-year-popup .year-popup-navigation > .center-element { |
||||
border-left: 1px solid #525466; |
||||
} |
||||
.bi-theme-dark .bi-year-popup .year-popup-navigation > .first-element { |
||||
border-left: none; |
||||
} |
||||
.bi-year-trigger { |
||||
-webkit-border-radius: 2px; |
||||
-moz-border-radius: 2px; |
||||
border-radius: 2px; |
||||
} |
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
||||
.bi-arrangement .arrangement-helper { |
||||
background: #3f8ce8; |
||||
z-index: 1000000000; |
||||
} |
||||
.bi-arrangement .arrangement-block { |
||||
z-index: 1000000000; |
||||
} |
||||
.bi-arrangement .arrangement-drop-container { |
||||
z-index: 1000000000; |
||||
} |
||||
.bi-arrangement .arrangement-drop-container .arrangement-drop-region { |
||||
overflow: hidden; |
||||
} |
||||
.bi-arrangement .arrangement-drop-container .drop-devider { |
||||
z-index: 1000000001; |
||||
background: #3f8ce8; |
||||
} |
||||
.bi-arrangement .arrangement-drop-container .top-left, |
||||
.bi-arrangement .arrangement-drop-container .top-right, |
||||
.bi-arrangement .arrangement-drop-container .bottom-left, |
||||
.bi-arrangement .arrangement-drop-container .bottom-right, |
||||
.bi-arrangement .arrangement-drop-container .top-left-second, |
||||
.bi-arrangement .arrangement-drop-container .top-right-second, |
||||
.bi-arrangement .arrangement-drop-container .bottom-left-second, |
||||
.bi-arrangement .arrangement-drop-container .bottom-right-second, |
||||
.bi-arrangement .arrangement-drop-container .top-center, |
||||
.bi-arrangement .arrangement-drop-container .bottom-center, |
||||
.bi-arrangement .arrangement-drop-container .left-center, |
||||
.bi-arrangement .arrangement-drop-container .right-center, |
||||
.bi-arrangement .arrangement-drop-container .top-center-second, |
||||
.bi-arrangement .arrangement-drop-container .bottom-center-second, |
||||
.bi-arrangement .arrangement-drop-container .left-center-second, |
||||
.bi-arrangement .arrangement-drop-container .right-center-second { |
||||
z-index: 1000000001; |
||||
background: #3f8ce8; |
||||
} |
||||
.bi-arrangement-droppable { |
||||
z-index: 100000; |
||||
} |
||||
/****添加计算宽度的--运算符直接需要space****/ |
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
||||
.bi-adapt-editor .adapt-editor-text { |
||||
font-size: 14px; |
||||
} |
||||
/****添加计算宽度的--运算符直接需要space****/ |
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
||||
/*************BI.SearchEditor******************/ |
||||
.bi-search-editor { |
||||
border: 1px solid #d4dadd; |
||||
} |
||||
.bi-search-editor .close-font { |
||||
font-size: 20px; |
||||
} |
||||
.bi-search-editor .search-font { |
||||
font-size: 20px; |
||||
} |
||||
/****添加计算宽度的--运算符直接需要space****/ |
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
||||
/*************BI.SearchEditor******************/ |
||||
.bi-small-search-editor .bi-editor { |
||||
font-size: 12px; |
||||
} |
||||
.bi-small-search-editor .bi-editor .bi-input { |
||||
font-size: 12px; |
||||
} |
||||
.bi-small-search-editor .bi-editor .bi-label { |
||||
font-size: 12px; |
||||
} |
||||
.bi-small-search-editor .close-font { |
||||
font-size: 18px; |
||||
} |
||||
.bi-small-search-editor .search-font { |
||||
font-size: 18px; |
||||
} |
||||
/****添加计算宽度的--运算符直接需要space****/ |
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
||||
.bi-sign-initial-editor .sign-initial-editor-text { |
||||
font-size: 14px; |
||||
} |
||||
/****添加计算宽度的--运算符直接需要space****/ |
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
||||
.bi-sign-style-editor .sign-style-editor-text { |
||||
max-width: 100%; |
||||
font-size: 12px; |
||||
} |
||||
.bi-sign-style-editor .sign-style-editor-tip { |
||||
max-width: 100%; |
||||
font-size: 12px; |
||||
color: #808080; |
||||
} |
||||
/****添加计算宽度的--运算符直接需要space****/ |
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
||||
.bi-text-editor { |
||||
border: 1px solid #d4dadd; |
||||
} |
||||
/****添加计算宽度的--运算符直接需要space****/ |
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
||||
/*************BI.SearchEditor******************/ |
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
||||
.bi-date-trigger { |
||||
-webkit-border-radius: 2px; |
||||
-moz-border-radius: 2px; |
||||
border-radius: 2px; |
||||
} |
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
||||
.bi-down-list-popup .bi-down-list-item .list-item-text { |
||||
max-width: 203px; |
||||
} |
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
||||
.bi-excel-table > div.bottom-right > div > div > table { |
||||
border-right: 1px solid #d4dadd; |
||||
} |
||||
.bi-theme-dark .bi-excel-table > div.bottom-right > div > div > table { |
||||
border-right: 1px solid #525466; |
||||
} |
||||
.bi-excel-table-header-cell { |
||||
font-weight: bold; |
||||
} |
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
||||
.bi-file-manager-nav-button .file-manager-nav-button-text { |
||||
max-width: 200px; |
||||
} |
||||
.bi-file-manager-nav-button .file-manager-nav-button-text.active { |
||||
background-color: #eff1f4; |
||||
color: #999999; |
||||
} |
||||
.bi-file-manager-nav-button .file-manager-nav-button-triangle { |
||||
z-index: 1; |
||||
} |
||||
.bi-theme-dark .bi-file-manager-nav-button .file-manager-nav-button-text.active { |
||||
background-color: #191b2b; |
||||
color: #999999; |
||||
} |
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
||||
.bi-fine-tuning-number-editor { |
||||
-webkit-border-radius: 2px; |
||||
-moz-border-radius: 2px; |
||||
border-radius: 2px; |
||||
} |
||||
.bi-interactive-arrangement .interactive-arrangement-dragtag-line { |
||||
z-index: 1000000000; |
||||
background-color: #f07d0a; |
||||
} |
||||
.bi-interactive-arrangement .interactive-arrangement-dragtag-icon { |
||||
z-index: 1000000000; |
||||
} |
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
||||
.bi-month-trigger { |
||||
-webkit-border-radius: 2px; |
||||
-moz-border-radius: 2px; |
||||
border-radius: 2px; |
||||
} |
||||
.bi-multi-select-check-pane .multi-select-check-selected { |
||||
text-decoration: underline; |
||||
} |
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
||||
.bi-multi-select-combo .multi-select-trigger-icon-button { |
||||
font-size: 16px; |
||||
} |
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
||||
.bi-multi-select-trigger { |
||||
-webkit-border-radius: 2px 2px 2px 2px; |
||||
-moz-border-radius: 2px 2px 2px 2px; |
||||
border-radius: 2px 2px 2px 2px; |
||||
} |
||||
.bi-multi-select-search-pane .multi-select-toolbar { |
||||
color: #e85050; |
||||
} |
||||
.bi-multi-select-check-selected-button { |
||||
z-index: 1; |
||||
} |
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
||||
.bi-multi-tree-check-pane .multi-tree-check-selected { |
||||
color: #3f8ce8; |
||||
} |
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
||||
.bi-multi-tree-combo .multi-select-trigger-icon-button { |
||||
font-size: 16px; |
||||
} |
||||
.bi-multi-tree-popup .popup-view-tree { |
||||
min-height: 170px; |
||||
} |
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
||||
.bi-multi-tree-check-selected-button .trigger-check-selected { |
||||
color: #3f8ce8; |
||||
z-index: 1; |
||||
} |
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
||||
.bi-numerical-interval .numerical-interval-small-editor { |
||||
-moz-border-radius-topleft: 2px; |
||||
-webkit-border-top-left-radius: 2px; |
||||
-moz-border-radius-bottomleft: 2px; |
||||
-webkit-border-bottom-left-radius: 2px; |
||||
border-top-left-radius: 2px; |
||||
border-bottom-left-radius: 2px; |
||||
} |
||||
.bi-numerical-interval .numerical-interval-big-editor { |
||||
-moz-border-radius-topright: 2px; |
||||
-webkit-border-top-right-radius: 2px; |
||||
-moz-border-radius-bottomright: 2px; |
||||
-webkit-border-bottom-right-radius: 2px; |
||||
border-top-right-radius: 2px; |
||||
border-bottom-right-radius: 2px; |
||||
} |
||||
.bi-numerical-interval .numerical-interval-big-combo { |
||||
-moz-border-radius-topleft: 2px; |
||||
-webkit-border-top-left-radius: 2px; |
||||
-moz-border-radius-bottomleft: 2px; |
||||
-webkit-border-bottom-left-radius: 2px; |
||||
border-top-left-radius: 2px; |
||||
border-bottom-left-radius: 2px; |
||||
} |
||||
.bi-numerical-interval .numerical-interval-big-combo .bi-icon-combo-trigger .icon-combo-trigger-icon { |
||||
font-size: 14px; |
||||
} |
||||
.bi-numerical-interval .numerical-interval-small-combo { |
||||
-moz-border-radius-topright: 2px; |
||||
-webkit-border-top-right-radius: 2px; |
||||
-moz-border-radius-bottomright: 2px; |
||||
-webkit-border-bottom-right-radius: 2px; |
||||
border-top-right-radius: 2px; |
||||
border-bottom-right-radius: 2px; |
||||
} |
||||
.bi-numerical-interval .numerical-interval-small-combo .bi-icon-combo-trigger .icon-combo-trigger-icon { |
||||
font-size: 14px; |
||||
} |
||||
.bi-numerical-interval.number-error .bi-input { |
||||
color: #e85050; |
||||
} |
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
||||
.bi-page-table-cell { |
||||
-webkit-user-select: initial; |
||||
-khtml-user-select: initial; |
||||
-moz-user-select: initial; |
||||
-ms-user-select: initial; |
||||
-o-user-select: initial; |
||||
user-select: initial; |
||||
} |
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
||||
.bi-path-chooser .path-chooser-radio { |
||||
z-index: 1; |
||||
} |
||||
.bi-path-region .path-region-label { |
||||
z-index: 1; |
||||
} |
||||
.bi-preview-table-cell { |
||||
min-height: 25px; |
||||
min-width: 80px; |
||||
max-width: 220px; |
||||
} |
||||
.bi-preview-table { |
||||
-webkit-user-select: initial; |
||||
-khtml-user-select: initial; |
||||
-moz-user-select: initial; |
||||
-ms-user-select: initial; |
||||
-o-user-select: initial; |
||||
user-select: initial; |
||||
} |
||||
.bi-preview-table > div > table > thead > tr.odd, |
||||
.bi-preview-table > div > div > div > table > thead > tr.odd { |
||||
background-color: #eff1f4; |
||||
} |
||||
.bi-theme-dark .bi-preview-table > div > table > thead > tr.odd, |
||||
.bi-theme-dark .bi-preview-table > div > div > div > table > thead > tr.odd { |
||||
background-color: #191b2b; |
||||
} |
||||
.bi-preview-table-header-cell { |
||||
font-weight: bold; |
||||
min-height: 25px; |
||||
min-width: 80px; |
||||
max-width: 220px; |
||||
} |
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
||||
.bi-quarter-trigger { |
||||
-webkit-border-radius: 2px; |
||||
-moz-border-radius: 2px; |
||||
border-radius: 2px; |
||||
} |
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
||||
.bi-relation-view-region .relation-view-region-container { |
||||
z-index: 1; |
||||
-webkit-border-radius: 2px; |
||||
-moz-border-radius: 2px; |
||||
border-radius: 2px; |
||||
} |
||||
.bi-relation-view-region .relation-view-region-container.other-package { |
||||
border-style: dashed; |
||||
} |
||||
.bi-sequence-table-dynamic-number .sequence-table-title-cell { |
||||
overflow: hidden; |
||||
overflow-x: hidden; |
||||
overflow-y: hidden; |
||||
-webkit-box-sizing: border-box; |
||||
/*Safari3.2+*/ |
||||
-moz-box-sizing: border-box; |
||||
/*Firefox3.5+*/ |
||||
-ms-box-sizing: border-box; |
||||
/*IE8*/ |
||||
box-sizing: border-box; |
||||
/*W3C标准(IE9+,Safari5.1+,Chrome10.0+,Opera10.6+都符合box-sizing的w3c标准语法)*/ |
||||
} |
||||
.bi-sequence-table-dynamic-number .sequence-table-number-cell { |
||||
-webkit-box-sizing: border-box; |
||||
/*Safari3.2+*/ |
||||
-moz-box-sizing: border-box; |
||||
/*Firefox3.5+*/ |
||||
-ms-box-sizing: border-box; |
||||
/*IE8*/ |
||||
box-sizing: border-box; |
||||
/*W3C标准(IE9+,Safari5.1+,Chrome10.0+,Opera10.6+都符合box-sizing的w3c标准语法)*/ |
||||
} |
||||
.bi-sequence-table-list-number .sequence-table-title-cell { |
||||
overflow: hidden; |
||||
overflow-x: hidden; |
||||
overflow-y: hidden; |
||||
-webkit-box-sizing: border-box; |
||||
/*Safari3.2+*/ |
||||
-moz-box-sizing: border-box; |
||||
/*Firefox3.5+*/ |
||||
-ms-box-sizing: border-box; |
||||
/*IE8*/ |
||||
box-sizing: border-box; |
||||
/*W3C标准(IE9+,Safari5.1+,Chrome10.0+,Opera10.6+都符合box-sizing的w3c标准语法)*/ |
||||
} |
||||
.bi-sequence-table-list-number .sequence-table-number-cell { |
||||
-webkit-box-sizing: border-box; |
||||
/*Safari3.2+*/ |
||||
-moz-box-sizing: border-box; |
||||
/*Firefox3.5+*/ |
||||
-ms-box-sizing: border-box; |
||||
/*IE8*/ |
||||
box-sizing: border-box; |
||||
/*W3C标准(IE9+,Safari5.1+,Chrome10.0+,Opera10.6+都符合box-sizing的w3c标准语法)*/ |
||||
} |
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
||||
.bi-sequence-table-tree-number .sequence-table-title-cell { |
||||
overflow: hidden; |
||||
overflow-x: hidden; |
||||
overflow-y: hidden; |
||||
-webkit-box-sizing: border-box; |
||||
/*Safari3.2+*/ |
||||
-moz-box-sizing: border-box; |
||||
/*Firefox3.5+*/ |
||||
-ms-box-sizing: border-box; |
||||
/*IE8*/ |
||||
box-sizing: border-box; |
||||
/*W3C标准(IE9+,Safari5.1+,Chrome10.0+,Opera10.6+都符合box-sizing的w3c标准语法)*/ |
||||
} |
||||
.bi-sequence-table-tree-number .sequence-table-number-cell { |
||||
-webkit-box-sizing: border-box; |
||||
/*Safari3.2+*/ |
||||
-moz-box-sizing: border-box; |
||||
/*Firefox3.5+*/ |
||||
-ms-box-sizing: border-box; |
||||
/*IE8*/ |
||||
box-sizing: border-box; |
||||
/*W3C标准(IE9+,Safari5.1+,Chrome10.0+,Opera10.6+都符合box-sizing的w3c标准语法)*/ |
||||
} |
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
||||
/****** common color(常用颜色,可用于普遍场景) *****/ |
||||
/**** custom color(自定义颜色,用于特定场景) ****/ |
||||
.bi-year-popup .year-popup-navigation { |
||||
line-height: 30px; |
||||
} |
||||
.bi-year-popup .year-popup-navigation > .center-element { |
||||
border-left: 1px solid #d4dadd; |
||||
} |
||||
.bi-year-popup .year-popup-navigation > .first-element { |
||||
border-left: none; |
||||
} |
||||
.bi-theme-dark .bi-year-popup .year-popup-navigation > .center-element { |
||||
border-left: 1px solid #525466; |
||||
} |
||||
.bi-theme-dark .bi-year-popup .year-popup-navigation > .first-element { |
||||
border-left: none; |
||||
} |
||||
.bi-year-trigger { |
||||
-webkit-border-radius: 2px; |
||||
-moz-border-radius: 2px; |
||||
border-radius: 2px; |
||||
} |
||||
|
@ -1,257 +1,256 @@
|
||||
Demo.WIDGET_CONFIG = [{ |
||||
id: 4, |
||||
text: "详细控件", |
||||
open: true |
||||
}, { |
||||
id: 400, |
||||
pId: 4, |
||||
text: "tree" |
||||
}, { |
||||
pId: 400, |
||||
text: "bi.multi_tree_combo", |
||||
value: "demo.multi_tree_combo" |
||||
}, { |
||||
id: 401, |
||||
pId: 4, |
||||
text: "table" |
||||
}, { |
||||
pId: 401, |
||||
text: "bi.preview_table", |
||||
value: "demo.preview_table" |
||||
}, { |
||||
pId: 401, |
||||
text: "bi.responsive_table", |
||||
value: "demo.responsive_table" |
||||
}, { |
||||
pId: 401, |
||||
text: "bi.excel_table", |
||||
value: "demo.excel_table" |
||||
}, { |
||||
pId: 4, |
||||
id: 402, |
||||
text: "年份控件", |
||||
open: false |
||||
}, { |
||||
pId: 402, |
||||
text: "bi.year_combo", |
||||
value: "demo.year" |
||||
}, { |
||||
pId: 4, |
||||
id: 403, |
||||
text: "月份控件", |
||||
open: false |
||||
}, { |
||||
pId: 403, |
||||
text: "bi.month_combo", |
||||
value: "demo.month" |
||||
}, { |
||||
pId: 4, |
||||
id: 404, |
||||
text: "季度控件", |
||||
open: false |
||||
}, { |
||||
pId: 404, |
||||
text: "bi.quarter_combo", |
||||
value: "demo.quarter" |
||||
}, { |
||||
pId: 4, |
||||
id: 405, |
||||
text: "下拉列表", |
||||
open: false |
||||
}, { |
||||
pId: 405, |
||||
text: "bi.down_list_combo", |
||||
value: "demo.down_list" |
||||
}, { |
||||
pId: 4, |
||||
id: 406, |
||||
text: "文本框控件", |
||||
open: false |
||||
}, { |
||||
pId: 406, |
||||
text: "bi.text_editor", |
||||
value: "demo.text_editor" |
||||
}, { |
||||
pId: 406, |
||||
text: "bi.search_editor", |
||||
value: "demo.search_editor" |
||||
}, { |
||||
pId: 406, |
||||
text: "bi.sign_editor", |
||||
value: "demo.sign_editor" |
||||
}, { |
||||
pId: 406, |
||||
text: "bi.sign_initial_editor", |
||||
value: "demo.sign_initial_editor" |
||||
}, { |
||||
pId: 406, |
||||
text: "bi.sign_style_editor", |
||||
value: "demo.sign_style_editor" |
||||
}, { |
||||
pId: 406, |
||||
text: "bi.state_editor", |
||||
value: "demo.state_editor" |
||||
}, { |
||||
pId: 406, |
||||
text: "bi.clear_editor", |
||||
value: "demo.clear_editor" |
||||
}, { |
||||
pId: 406, |
||||
text: "bi.record_editor", |
||||
value: "demo.record_editor" |
||||
}, { |
||||
pId: 406, |
||||
text: "bi.shelter_editor", |
||||
value: "demo.shelter_editor" |
||||
}, |
||||
{ |
||||
pId: 4, |
||||
id: 407, |
||||
text: "下拉框控件", |
||||
open: false |
||||
}, { |
||||
pId: 407, |
||||
text: "bi.text_value_combo", |
||||
value: "demo.text_value_combo" |
||||
}, { |
||||
pId: 407, |
||||
text: "bi.text_value_check_combo", |
||||
value: "demo.text_value_check_combo" |
||||
}, { |
||||
pId: 407, |
||||
text: "bi.text_value_down_list_combo", |
||||
value: "demo.text_value_down_list_combo" |
||||
}, { |
||||
pId: 407, |
||||
text: "bi.static_combo", |
||||
value: "demo.static_combo" |
||||
}, { |
||||
pId: 407, |
||||
text: "bi.icon_combo", |
||||
value: "demo.icon_combo" |
||||
}, { |
||||
pId: 407, |
||||
text: "bi.formula_combo", |
||||
value: "demo.formula_combo" |
||||
}, { |
||||
pId: 4, |
||||
id: 408, |
||||
text: "选择字段列表", |
||||
open: false |
||||
}, { |
||||
pId: 408, |
||||
text: "bi.placeholder" |
||||
}, { |
||||
pId: 4, |
||||
id: 409, |
||||
text: "公式编辑器", |
||||
open: false |
||||
}, { |
||||
pId: 409, |
||||
text: "bi.placeholder" |
||||
}, { |
||||
pId: 4, |
||||
id: 410, |
||||
text: "数值区间控件" |
||||
}, { |
||||
pId: 410, |
||||
text: "bi.numerical_interval", |
||||
value: "demo.numberical_interval" |
||||
}, { |
||||
pId: 4, |
||||
id: 411, |
||||
text: "下拉复选框有确定按钮" |
||||
}, { |
||||
pId: 411, |
||||
text: "bi.multi_select_combo", |
||||
value: "demo.multi_select_combo" |
||||
}, { |
||||
pId: 4, |
||||
id: 412, |
||||
text: "简单日期控件" |
||||
}, { |
||||
pId: 412, |
||||
text: "bi.date_combo", |
||||
value: "demo.date" |
||||
}, { |
||||
pId: 412, |
||||
text: "bi.date_pane_widget", |
||||
value: "demo.date_pane_widget" |
||||
}, { |
||||
pId: 412, |
||||
text: "bi.year_month_combo", |
||||
value: "demo.year_month_combo" |
||||
},{ |
||||
pId: 412, |
||||
text: "bi.year_quarter_combo", |
||||
value: "demo.year_quarter_combo" |
||||
},{ |
||||
pId: 412, |
||||
text: "bi.custom_date_time", |
||||
value: "demo.custom_date_time" |
||||
},{ |
||||
pId: 4, |
||||
id: 413, |
||||
text: "简单下拉树" |
||||
}, { |
||||
pId: 413, |
||||
text: "bi.single_tree_combo", |
||||
value: "demo.single_tree_combo" |
||||
}, { |
||||
pId: 413, |
||||
text: "bi.multilayer_single_tree_combo", |
||||
value: "demo.multilayer_single_tree_combo" |
||||
}, { |
||||
pId: 4, |
||||
id: 414, |
||||
text: "可选下拉树" |
||||
}, { |
||||
pId: 414, |
||||
text: "bi.select_tree_combo", |
||||
value: "demo.select_tree_combo" |
||||
}, { |
||||
pId: 414, |
||||
text: "bi.multilayer_select_tree_combo", |
||||
value: "demo.multilayer_select_tree_combo" |
||||
}, { |
||||
pId: 4, |
||||
id: 415, |
||||
text: "路径选择" |
||||
}, { |
||||
pId: 415, |
||||
text: "bi.path_chooser", |
||||
value: "demo.path_chooser" |
||||
}, { |
||||
pId: 415, |
||||
text: "bi.direction_path_chooser", |
||||
value: "demo.direction_path_chooser" |
||||
}, { |
||||
pId: 4, |
||||
id: 416, |
||||
text: "关联视图" |
||||
}, { |
||||
pId: 416, |
||||
text: "bi.relation_view", |
||||
value: "demo.relation_view" |
||||
}, { |
||||
pId: 4, |
||||
id: 417, |
||||
text: "布局" |
||||
}, { |
||||
pId: 417, |
||||
text: "bi.adaptive_arrangement", |
||||
value: "demo.adaptive_arrangement" |
||||
}, { |
||||
pId: 417, |
||||
text: "bi.interactive_arrangement", |
||||
value: "demo.interactive_arrangement" |
||||
}, { |
||||
pId: 4, |
||||
id: 418, |
||||
text: "提示对话框" |
||||
}, { |
||||
pId: 418, |
||||
text: "bi.dialog", |
||||
value: "demo.dialog" |
||||
} |
||||
]; |
||||
id: 4, |
||||
text: "详细控件", |
||||
open: true |
||||
}, { |
||||
pId: 4, |
||||
id: 420, |
||||
text: '各种小控件', |
||||
}, { |
||||
pId: 420, |
||||
text: "各种通用按钮", |
||||
value: "demo.buttons" |
||||
}, { |
||||
pId: 420, |
||||
text: "各种提示性信息", |
||||
value: "demo.tips" |
||||
}, { |
||||
pId: 420, |
||||
text: "各种items", |
||||
value: "demo.items" |
||||
}, { |
||||
pId: 420, |
||||
text: "各种节点node", |
||||
value: "demo.nodes" |
||||
}, { |
||||
pId: 420, |
||||
text: "各种segment", |
||||
value: "demo.segments" |
||||
}, { |
||||
pId: 420, |
||||
text: "可以切换的树", |
||||
value: "demo.switch_tree" |
||||
}, { |
||||
id: 400, |
||||
pId: 4, |
||||
text: "tree" |
||||
}, { |
||||
pId: 400, |
||||
text: "bi.multi_tree_combo", |
||||
value: "demo.multi_tree_combo" |
||||
}, { |
||||
pId: 400, |
||||
text: "bi.switch_tree", |
||||
value: "demo.switch_tree" |
||||
}, { |
||||
id: 401, |
||||
pId: 4, |
||||
text: "table" |
||||
}, { |
||||
pId: 401, |
||||
text: "bi.preview_table", |
||||
value: "demo.preview_table" |
||||
}, { |
||||
pId: 401, |
||||
text: "bi.responsive_table", |
||||
value: "demo.responsive_table" |
||||
}, { |
||||
pId: 401, |
||||
text: "bi.excel_table", |
||||
value: "demo.excel_table" |
||||
}, { |
||||
pId: 4, |
||||
id: 402, |
||||
text: "年份控件", |
||||
open: false |
||||
}, { |
||||
pId: 402, |
||||
text: "bi.year_combo", |
||||
value: "demo.year" |
||||
}, { |
||||
pId: 4, |
||||
id: 403, |
||||
text: "月份控件", |
||||
open: false |
||||
}, { |
||||
pId: 403, |
||||
text: "bi.month_combo", |
||||
value: "demo.month" |
||||
}, { |
||||
pId: 4, |
||||
id: 404, |
||||
text: "季度控件", |
||||
open: false |
||||
}, { |
||||
pId: 404, |
||||
text: "bi.quarter_combo", |
||||
value: "demo.quarter" |
||||
}, { |
||||
pId: 4, |
||||
id: 405, |
||||
text: "下拉列表", |
||||
open: false |
||||
}, { |
||||
pId: 405, |
||||
text: "bi.down_list_combo", |
||||
value: "demo.down_list" |
||||
}, { |
||||
pId: 4, |
||||
id: 406, |
||||
text: "文本框控件", |
||||
open: false |
||||
}, { |
||||
pId: 406, |
||||
text: "bi.text_editor", |
||||
value: "demo.text_editor" |
||||
}, { |
||||
pId: 406, |
||||
text: "bi.search_editor", |
||||
value: "demo.search_editor" |
||||
}, { |
||||
pId: 406, |
||||
text: "bi.clear_editor", |
||||
value: "demo.clear_editor" |
||||
}, { |
||||
pId: 4, |
||||
id: 407, |
||||
text: "下拉框控件", |
||||
open: false |
||||
}, { |
||||
pId: 407, |
||||
text: "bi.text_value_combo", |
||||
value: "demo.text_value_combo" |
||||
}, { |
||||
pId: 407, |
||||
text: "bi.text_value_check_combo", |
||||
value: "demo.text_value_check_combo" |
||||
}, { |
||||
pId: 407, |
||||
text: "bi.text_value_down_list_combo", |
||||
value: "demo.text_value_down_list_combo" |
||||
}, { |
||||
pId: 407, |
||||
text: "bi.static_combo", |
||||
value: "demo.static_combo" |
||||
}, { |
||||
pId: 407, |
||||
text: "bi.icon_combo", |
||||
value: "demo.icon_combo" |
||||
}, { |
||||
pId: 407, |
||||
text: "bi.formula_combo", |
||||
value: "demo.formula_combo" |
||||
}, { |
||||
pId: 4, |
||||
id: 410, |
||||
text: "数值区间控件" |
||||
}, { |
||||
pId: 410, |
||||
text: "bi.numerical_interval", |
||||
value: "demo.numberical_interval" |
||||
}, { |
||||
pId: 4, |
||||
id: 411, |
||||
text: "下拉复选框有确定按钮" |
||||
}, { |
||||
pId: 411, |
||||
text: "bi.multi_select_combo", |
||||
value: "demo.multi_select_combo" |
||||
}, { |
||||
pId: 4, |
||||
id: 412, |
||||
text: "简单日期控件" |
||||
}, { |
||||
pId: 412, |
||||
text: "bi.date_combo", |
||||
value: "demo.date" |
||||
}, { |
||||
pId: 412, |
||||
text: "bi.date_pane_widget", |
||||
value: "demo.date_pane_widget" |
||||
}, { |
||||
pId: 412, |
||||
text: "bi.year_month_combo", |
||||
value: "demo.year_month_combo" |
||||
}, { |
||||
pId: 412, |
||||
text: "bi.year_quarter_combo", |
||||
value: "demo.year_quarter_combo" |
||||
}, { |
||||
pId: 412, |
||||
text: "bi.custom_date_time", |
||||
value: "demo.custom_date_time" |
||||
}, { |
||||
pId: 4, |
||||
id: 413, |
||||
text: "简单下拉树" |
||||
}, { |
||||
pId: 413, |
||||
text: "bi.single_tree_combo", |
||||
value: "demo.single_tree_combo" |
||||
}, { |
||||
pId: 413, |
||||
text: "bi.multilayer_single_tree_combo", |
||||
value: "demo.multilayer_single_tree_combo" |
||||
}, { |
||||
pId: 4, |
||||
id: 414, |
||||
text: "可选下拉树" |
||||
}, { |
||||
pId: 414, |
||||
text: "bi.select_tree_combo", |
||||
value: "demo.select_tree_combo" |
||||
}, { |
||||
pId: 414, |
||||
text: "bi.multilayer_select_tree_combo", |
||||
value: "demo.multilayer_select_tree_combo" |
||||
}, { |
||||
pId: 4, |
||||
id: 415, |
||||
text: "路径选择" |
||||
}, { |
||||
pId: 415, |
||||
text: "bi.path_chooser", |
||||
value: "demo.path_chooser" |
||||
}, { |
||||
pId: 415, |
||||
text: "bi.direction_path_chooser", |
||||
value: "demo.direction_path_chooser" |
||||
}, { |
||||
pId: 4, |
||||
id: 416, |
||||
text: "关联视图" |
||||
}, { |
||||
pId: 416, |
||||
text: "bi.relation_view", |
||||
value: "demo.relation_view" |
||||
}, { |
||||
pId: 4, |
||||
id: 417, |
||||
text: "布局" |
||||
}, { |
||||
pId: 417, |
||||
text: "bi.adaptive_arrangement", |
||||
value: "demo.adaptive_arrangement" |
||||
}, { |
||||
pId: 417, |
||||
text: "bi.interactive_arrangement", |
||||
value: "demo.interactive_arrangement" |
||||
}, { |
||||
pId: 4, |
||||
id: 418, |
||||
text: "提示对话框" |
||||
}, { |
||||
pId: 418, |
||||
text: "bi.dialog", |
||||
value: "demo.dialog" |
||||
}, { |
||||
pId: 4, |
||||
id: 419, |
||||
text: "文件管理" |
||||
}, { |
||||
pId: 419, |
||||
text: "bi.file_manager", |
||||
value: "demo.file_manager" |
||||
} |
||||
]; |
@ -0,0 +1,205 @@
|
||||
/** |
||||
* Created by Dailer on 2017/7/25. |
||||
*/ |
||||
|
||||
|
||||
Demo.Buttons = BI.inherit(BI.Widget, { |
||||
props: { |
||||
baseCls: "demo-button" |
||||
}, |
||||
render: function () { |
||||
var items = [{ |
||||
el: { |
||||
type: 'bi.button', |
||||
text: '一般按钮', |
||||
level: 'common', |
||||
height: 30 |
||||
} |
||||
}, { |
||||
el: { |
||||
type: 'bi.button', |
||||
text: '表示成功状态按钮', |
||||
level: 'success', |
||||
height: 30 |
||||
} |
||||
}, |
||||
{ |
||||
el: { |
||||
type: 'bi.button', |
||||
text: '表示警告状态的按钮', |
||||
level: 'warning', |
||||
height: 30 |
||||
} |
||||
}, { |
||||
el: { |
||||
type: 'bi.button', |
||||
text: '表示忽略状态的按钮', |
||||
level: 'ignore', |
||||
height: 30 |
||||
} |
||||
}, { |
||||
el: { |
||||
type: 'bi.button', |
||||
text: '普通灰化按钮', |
||||
disabled: true, |
||||
level: 'success', |
||||
height: 30 |
||||
} |
||||
}, { |
||||
el: { |
||||
type: 'bi.button', |
||||
text: '忽略状态灰化按钮', |
||||
disabled: true, |
||||
level: 'ignore', |
||||
height: 30 |
||||
} |
||||
}, { |
||||
el: { |
||||
type: 'bi.button', |
||||
text: '带图标的按钮', |
||||
//level: 'ignore',
|
||||
iconClass: "close-font", |
||||
height: 30 |
||||
} |
||||
}, { |
||||
el: { |
||||
type: 'bi.button', |
||||
text: '一般按钮', |
||||
block: true, |
||||
level: 'common', |
||||
height: 30 |
||||
} |
||||
}, { |
||||
el: { |
||||
type: 'bi.button', |
||||
text: '表示成功状态按钮', |
||||
block: true, |
||||
level: 'success', |
||||
height: 30 |
||||
} |
||||
}, |
||||
{ |
||||
el: { |
||||
type: 'bi.button', |
||||
text: '表示警告状态的按钮', |
||||
block: true, |
||||
level: 'warning', |
||||
height: 30 |
||||
} |
||||
}, { |
||||
el: { |
||||
type: 'bi.button', |
||||
text: '表示忽略状态的按钮', |
||||
block: true, |
||||
level: 'ignore', |
||||
height: 30 |
||||
} |
||||
}, { |
||||
el: { |
||||
type: 'bi.button', |
||||
text: '普通灰化按钮', |
||||
block: true, |
||||
disabled: true, |
||||
level: 'success', |
||||
height: 30 |
||||
} |
||||
}, { |
||||
el: { |
||||
type: 'bi.button', |
||||
text: '忽略状态灰化按钮', |
||||
block: true, |
||||
disabled: true, |
||||
level: 'ignore', |
||||
height: 30 |
||||
} |
||||
}, { |
||||
el: { |
||||
type: 'bi.button', |
||||
text: '带图标的按钮', |
||||
block: true, |
||||
//level: 'ignore',
|
||||
iconClass: "close-font", |
||||
height: 30 |
||||
} |
||||
}, { |
||||
el: { |
||||
type: 'bi.button', |
||||
text: '一般按钮', |
||||
clear: true, |
||||
level: 'common', |
||||
height: 30 |
||||
} |
||||
}, { |
||||
el: { |
||||
type: 'bi.button', |
||||
text: '表示成功状态按钮', |
||||
clear: true, |
||||
level: 'success', |
||||
height: 30 |
||||
} |
||||
}, |
||||
{ |
||||
el: { |
||||
type: 'bi.button', |
||||
text: '表示警告状态的按钮', |
||||
clear: true, |
||||
level: 'warning', |
||||
height: 30 |
||||
} |
||||
}, { |
||||
el: { |
||||
type: 'bi.button', |
||||
text: '表示忽略状态的按钮', |
||||
clear: true, |
||||
level: 'ignore', |
||||
height: 30 |
||||
} |
||||
}, { |
||||
el: { |
||||
type: 'bi.button', |
||||
text: '普通灰化按钮', |
||||
clear: true, |
||||
disabled: true, |
||||
level: 'success', |
||||
height: 30 |
||||
} |
||||
}, { |
||||
el: { |
||||
type: 'bi.button', |
||||
text: '忽略状态灰化按钮', |
||||
clear: true, |
||||
disabled: true, |
||||
level: 'ignore', |
||||
height: 30 |
||||
} |
||||
}, { |
||||
el: { |
||||
type: 'bi.button', |
||||
text: '带图标的按钮', |
||||
clear: true, |
||||
//level: 'ignore',
|
||||
iconClass: "close-font", |
||||
height: 30 |
||||
} |
||||
}, { |
||||
el: { |
||||
type: 'bi.text_button', |
||||
text: '文字按钮', |
||||
height: 30 |
||||
} |
||||
} |
||||
]; |
||||
BI.each(items, function (i, item) { |
||||
item.el.handler = function () { |
||||
BI.Msg.alert('按钮', this.options.text); |
||||
} |
||||
}); |
||||
return { |
||||
type: "bi.left", |
||||
vgap: 100, |
||||
hgap: 20, |
||||
items: items |
||||
} |
||||
} |
||||
}); |
||||
BI.shortcut("demo.buttons", Demo.Buttons); |
@ -0,0 +1,32 @@
|
||||
/** |
||||
* Created by Dailer on 2017/7/25. |
||||
*/ |
||||
|
||||
Demo.Items = BI.inherit(BI.Widget, { |
||||
|
||||
render: function () { |
||||
|
||||
return { |
||||
type: "bi.vertical", |
||||
items: [{ |
||||
type: "bi.label", |
||||
height: 30, |
||||
text: "单选item" |
||||
}, { |
||||
type: "bi.single_select_item", |
||||
text: "单选项" |
||||
}, { |
||||
type: "bi.label", |
||||
height: 30, |
||||
text: "复选item" |
||||
}, { |
||||
type: "bi.multi_select_item", |
||||
text: "复选项" |
||||
}], |
||||
hgap: 300 |
||||
} |
||||
} |
||||
}); |
||||
|
||||
|
||||
BI.shortcut("demo.items", Demo.Items); |
@ -0,0 +1,56 @@
|
||||
/** |
||||
* Created by Dailer on 2017/7/25. |
||||
*/ |
||||
|
||||
Demo.LoadingMask = BI.inherit(BI.Widget, { |
||||
|
||||
render: function () { |
||||
var vessel = this; |
||||
var self = this; |
||||
var left = BI.createWidget({ |
||||
type: "bi.center_adapt", |
||||
items: [{ |
||||
type: "bi.button", |
||||
text: "LoadingMask", |
||||
height: 30, |
||||
handler: function () { |
||||
var mask = BI.createWidget({ |
||||
type: "bi.loading_mask", |
||||
masker: vessel, |
||||
text: "加载中...3s后结束" |
||||
}); |
||||
setTimeout(function () { |
||||
mask.destroy(); |
||||
}, 3000); |
||||
} |
||||
}] |
||||
}); |
||||
var right = BI.createWidget({ |
||||
type: "bi.center_adapt", |
||||
items: [{ |
||||
type: "bi.button", |
||||
text: "CancelLoadingMask", |
||||
height: 30, |
||||
handler: function () { |
||||
var mask = BI.createWidget({ |
||||
type: "bi.loading_cancel_mask", |
||||
masker: vessel, |
||||
text: "正在加载数据" |
||||
}); |
||||
mask.on(BI.LoadingCancelMask.EVENT_VALUE_CANCEL, function () { |
||||
mask.destroy(); |
||||
BI.Msg.toast("取消加载了..."); |
||||
}); |
||||
} |
||||
}] |
||||
}); |
||||
BI.createWidget({ |
||||
type: "bi.center_adapt", |
||||
element: vessel, |
||||
items: [left, right], |
||||
hgap: 20 |
||||
}) |
||||
} |
||||
}); |
||||
|
||||
BI.shortcut("demo.loading_mask", Demo.LoadingMask); |
@ -0,0 +1,36 @@
|
||||
/** |
||||
* Created by Dailer on 2017/7/25. |
||||
*/ |
||||
|
||||
Demo.Nodes = BI.inherit(BI.Widget, { |
||||
|
||||
render: function (vessel) { |
||||
return { |
||||
type: "bi.vertical", |
||||
items: [{ |
||||
type: "bi.label", |
||||
height: 30, |
||||
text: "十字形的节点" |
||||
}, { |
||||
type: "bi.plus_group_node", |
||||
text: "十字形的节点" |
||||
}, { |
||||
type: "bi.label", |
||||
height: 30, |
||||
text: "三角形的节点" |
||||
}, { |
||||
type: "bi.triangle_group_node", |
||||
text: "三角形的节点" |
||||
}, { |
||||
type: "bi.label", |
||||
height: 30, |
||||
text: "箭头节点" |
||||
}, { |
||||
type: "bi.arrow_group_node", |
||||
text: "箭头节点" |
||||
}] |
||||
} |
||||
} |
||||
}); |
||||
|
||||
BI.shortcut("demo.nodes", Demo.Nodes); |
@ -0,0 +1,35 @@
|
||||
/** |
||||
* Created by Dailer on 2017/7/25. |
||||
*/ |
||||
|
||||
Demo.Segments = BI.inherit(BI.Widget, { |
||||
|
||||
render: function () { |
||||
return { |
||||
type: "bi.vertical", |
||||
items: [{ |
||||
type: "bi.label", |
||||
height: 30, |
||||
text: "默认风格" |
||||
}, { |
||||
type: "bi.segment", |
||||
items: [{ |
||||
text: "tab1", |
||||
value: 1, |
||||
selected: true |
||||
}, { |
||||
text: "tab2", |
||||
value: 2 |
||||
}, { |
||||
text: "tab3 disabled", |
||||
disabled: true, |
||||
value: 3 |
||||
}] |
||||
}], |
||||
hgap: 50, |
||||
vgap: 20 |
||||
} |
||||
} |
||||
}); |
||||
|
||||
BI.shortcut("demo.segments", Demo.Segments); |
@ -0,0 +1,146 @@
|
||||
/** |
||||
* Created by Dailer on 2017/7/25. |
||||
*/ |
||||
|
||||
Demo.Tips = BI.inherit(BI.Widget, { |
||||
props: { |
||||
baseCls: "demo-tips" |
||||
}, |
||||
render: function () { |
||||
var btns = []; |
||||
var bubble = BI.createWidget({ |
||||
type: "bi.left", |
||||
items: [{ |
||||
el: { |
||||
type: 'bi.button', |
||||
text: 'bubble测试', |
||||
height: 30, |
||||
handler: function () { |
||||
BI.Bubbles.show("singleBubble1", "bubble测试", this); |
||||
btns.push("singleBubble1"); |
||||
} |
||||
} |
||||
}, { |
||||
el: { |
||||
type: 'bi.button', |
||||
text: 'bubble测试(居中显示)', |
||||
height: 30, |
||||
handler: function () { |
||||
BI.Bubbles.show("singleBubble2", "bubble测试", this, { |
||||
offsetStyle: "center" |
||||
}); |
||||
btns.push("singleBubble2"); |
||||
} |
||||
} |
||||
}, { |
||||
el: { |
||||
type: 'bi.button', |
||||
text: 'bubble测试(右边显示)', |
||||
height: 30, |
||||
handler: function () { |
||||
BI.Bubbles.show("singleBubble3", "bubble测试", this, { |
||||
offsetStyle: "right" |
||||
}); |
||||
btns.push("singleBubble3"); |
||||
} |
||||
} |
||||
}, { |
||||
el: { |
||||
type: 'bi.button', |
||||
text: '隐藏所有 bubble', |
||||
height: 30, |
||||
cls: "layout-bg2", |
||||
handler: function () { |
||||
BI.each(btns, function (index, value) { |
||||
BI.Bubbles.hide(value); |
||||
}) |
||||
} |
||||
} |
||||
}], |
||||
hgap: 20 |
||||
}); |
||||
|
||||
var title = BI.createWidget({ |
||||
type: "bi.vertical", |
||||
items: [{ |
||||
type: "bi.label", |
||||
cls: "layout-bg1", |
||||
height: 50, |
||||
title: "title提示", |
||||
text: "移上去有title提示", |
||||
textAlign: "center" |
||||
}, { |
||||
type: "bi.label", |
||||
cls: "layout-bg6", |
||||
height: 50, |
||||
disabled: true, |
||||
warningTitle: "title错误提示", |
||||
text: "移上去有title错误提示", |
||||
textAlign: "center" |
||||
}, { |
||||
type: "bi.label", |
||||
cls: "layout-bg2", |
||||
height: 50, |
||||
disabled: true, |
||||
tipType: "success", |
||||
title: "自定义title提示效果", |
||||
warningTitle: "自定义title提示效果", |
||||
text: "自定义title提示效果", |
||||
textAlign: "center" |
||||
}], |
||||
hgap: 20, |
||||
vgap: 20 |
||||
}); |
||||
|
||||
var toast = BI.createWidget({ |
||||
type: "bi.vertical", |
||||
items: [{ |
||||
el: { |
||||
type: 'bi.button', |
||||
text: '简单Toast测试', |
||||
height: 30, |
||||
handler: function () { |
||||
BI.Msg.toast("这是一条简单的数据"); |
||||
} |
||||
} |
||||
}, { |
||||
el: { |
||||
type: 'bi.button', |
||||
text: '很长的Toast测试', |
||||
height: 30, |
||||
handler: function () { |
||||
BI.Msg.toast("这是一条很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长的数据") |
||||
} |
||||
} |
||||
}, { |
||||
el: { |
||||
type: 'bi.button', |
||||
text: '非常长的Toast测试', |
||||
height: 30, |
||||
handler: function () { |
||||
BI.Msg.toast("这是一条非常长非常长非常长非常长非常长非常长非常长非常长非常长非常长非常长非常长非常长非常长非常长非常长非常长非常长非常长非常长非常长非常长非常长非常长非常长非常长非常长非常长非常长非常长非常长非常长非常长非常长非常长非常长非常长非常长非常长非常长非常长非常长非常长非常长非常长非常长非常长非常长非常长非常长非常长非常长非常长非常长非常长非常长非常长非常长非常长非常长非常长非常长非常长非常长非常长非常长非常长非常长非常长非常长非常长非常长非常长非常长非常长非常长非常长非常长非常长非常长非常长非常长非常长非常长非常长非常长非常长非常长非常长非常长非常长非常长非常长非常长非常长非常长非常长非常长非常长非常长非常长非常长非常长非常长非常长非常长非常长非常长非常长非常长非常长非常长非常长非常长非常长非常长非常长非常长非常长非常长非常长非常长非常长非常长非常长非常长非常长非常长非常长非常长非常长非常长非常长非常长非常长非常长非常长非常长非常长非常长非常长非常长非常长非常长非常长非常长非常长非常长非常长非常长非常长非常长非常长非常长非常长非常长非常长非常长非常长非常长非常长非常长非常长非常长非常长非常长非常长非常长非常长非常长非常长非常长非常长非常长非常长非常长非常长非常长非常长非常长非常长非常长非常长非常长非常长非常长非常长非常长非常长非常长非常长非常长非常长非常长非常长非常长非常长非常长的数据") |
||||
} |
||||
} |
||||
}, { |
||||
el: { |
||||
type: 'bi.button', |
||||
text: '错误提示Toast测试', |
||||
level: "warning", |
||||
height: 30, |
||||
handler: function () { |
||||
BI.Msg.toast("错误提示Toast测试", "warning"); |
||||
} |
||||
} |
||||
}], |
||||
vgap: 20 |
||||
}); |
||||
|
||||
return { |
||||
type: "bi.horizontal_auto", |
||||
vgap: 20, |
||||
hgap: 20, |
||||
items: [bubble, title, toast] |
||||
} |
||||
} |
||||
}); |
||||
BI.shortcut("demo.tips", Demo.Tips); |
@ -1,22 +0,0 @@
|
||||
/** |
||||
* Created by Dailer on 2017/7/11. |
||||
*/ |
||||
Demo.RecordEditor = BI.inherit(BI.Widget, { |
||||
props: { |
||||
baseCls: "" |
||||
}, |
||||
render: function () { |
||||
return { |
||||
type: "bi.horizontal_auto", |
||||
items: [{ |
||||
type: "bi.record_editor", |
||||
cls: "bi-border", |
||||
width: 300, |
||||
watermark: "这个是可以记录输入的" |
||||
}], |
||||
vgap: 20 |
||||
} |
||||
} |
||||
}) |
||||
|
||||
BI.shortcut("demo.record_editor", Demo.RecordEditor); |
@ -1,22 +0,0 @@
|
||||
/** |
||||
* Created by Dailer on 2017/7/11. |
||||
*/ |
||||
Demo.SignStyleEditor = BI.inherit(BI.Widget, { |
||||
props: { |
||||
baseCls: "demo-exceltable" |
||||
}, |
||||
render: function () { |
||||
return { |
||||
type: "bi.horizontal_adapt", |
||||
items: [{ |
||||
type: "bi.sign_style_editor", |
||||
cls:"layout-bg5", |
||||
value:"12313", |
||||
width: 300 |
||||
}], |
||||
vgap:20 |
||||
} |
||||
} |
||||
}) |
||||
|
||||
BI.shortcut("demo.sign_style_editor", Demo.SignStyleEditor); |
@ -0,0 +1,68 @@
|
||||
/* 文件管理导航 |
||||
Created by dailer on 2017 / 7 / 21.
|
||||
*/ |
||||
Demo.FileManager = BI.inherit(BI.Widget, { |
||||
props: { |
||||
baseCls: "" |
||||
}, |
||||
|
||||
render: function () { |
||||
var items = [{ |
||||
id: "1", |
||||
value: "1", |
||||
text: "根目录", |
||||
lastModify: 1454316355142 |
||||
}, { |
||||
id: "11", |
||||
pId: "1", |
||||
value: "11", |
||||
text: "第一级子目录1", |
||||
lastModify: 1454316355142 |
||||
}, { |
||||
id: "12", |
||||
pId: "1", |
||||
value: "12", |
||||
text: "第一级子目录2", |
||||
lastModify: 1454316355142 |
||||
}, { |
||||
id: "111", |
||||
pId: "11", |
||||
value: "111", |
||||
text: "第二级子目录", |
||||
lastModify: 1454316355142 |
||||
}, { |
||||
id: "121", |
||||
pId: "111", |
||||
buildUrl: "www.baidu.com", |
||||
value: "121", |
||||
text: "文件1", |
||||
lastModify: 1454316355142 |
||||
}, { |
||||
id: "122", |
||||
pId: "111", |
||||
buildUrl: "www.baidu.com", |
||||
value: "122", |
||||
text: "文件2", |
||||
lastModify: 1454316355142 |
||||
}]; |
||||
var filemanager = BI.createWidget({ |
||||
type: "bi.file_manager", |
||||
items: items |
||||
}); |
||||
return { |
||||
type: "bi.vtape", |
||||
items: [{ |
||||
el: filemanager, |
||||
height: "fill" |
||||
}, { |
||||
type: "bi.button", |
||||
text: "getValue", |
||||
handler: function () { |
||||
BI.Msg.alert("", JSON.stringify(filemanager.getValue())); |
||||
}, |
||||
height: 25 |
||||
}] |
||||
} |
||||
} |
||||
}); |
||||
BI.shortcut("demo.file_manager", Demo.FileManager); |
@ -1,24 +0,0 @@
|
||||
/** |
||||
* Created by Dailer on 2017/7/13. |
||||
*/ |
||||
Demo.SwitchTree = BI.inherit(BI.Widget, { |
||||
props: { |
||||
baseCls: "" |
||||
}, |
||||
render: function () { |
||||
|
||||
var items = BI.deepClone(Demo.CONSTANTS.TREE); |
||||
return { |
||||
type: "bi.horizontal_auto", |
||||
items: [{ |
||||
type: "bi.switch_tree", |
||||
items: items |
||||
},{ |
||||
type:"bi.button", |
||||
text:"getValue" |
||||
}] |
||||
} |
||||
} |
||||
}) |
||||
|
||||
BI.shortcut("demo.switch_tree", Demo.SwitchTree); |
@ -0,0 +1,56 @@
|
||||
/** |
||||
* Created by Dailer on 2017/7/26. |
||||
*/ |
||||
|
||||
|
||||
Demo.SwitchTree = BI.inherit(BI.Widget, { |
||||
|
||||
render: function () { |
||||
var self = this; |
||||
var tree = BI.createWidget({ |
||||
type: "bi.switch_tree", |
||||
items: BI.deepClone(Demo.CONSTANTS.TREE) |
||||
}); |
||||
|
||||
return { |
||||
type: "bi.vtape", |
||||
items: [{ |
||||
el: tree |
||||
}, { |
||||
el: { |
||||
type: "bi.button", |
||||
height: 25, |
||||
text: "点击切换", |
||||
handler: function () { |
||||
tree.switchSelect(); |
||||
} |
||||
}, |
||||
height: 25 |
||||
}, { |
||||
el: { |
||||
type: "bi.button", |
||||
height: 25, |
||||
text: "getValue", |
||||
handler: function () { |
||||
BI.Msg.alert("", JSON.stringify(tree.getValue())); |
||||
} |
||||
}, |
||||
height: 25 |
||||
}, { |
||||
el: { |
||||
type: "bi.button", |
||||
height: 25, |
||||
text: "setValue (第二级文件1)", |
||||
handler: function () { |
||||
tree.setValue(["第二级文件1"]); |
||||
} |
||||
}, |
||||
height: 25 |
||||
}], |
||||
width: 500, |
||||
hgap: 300 |
||||
} |
||||
} |
||||
}); |
||||
|
||||
BI.shortcut("demo.switch_tree", Demo.SwitchTree); |
After Width: | Height: | Size: 461 B |
After Width: | Height: | Size: 232 B |
Loading…
Reference in new issue