windy
6 years ago
42 changed files with 204 additions and 674 deletions
@ -1,45 +0,0 @@ |
|||||||
/** |
|
||||||
* Created by Dailer on 2017/7/11. |
|
||||||
*/ |
|
||||||
Demo.StaticCombo = BI.inherit(BI.Widget, { |
|
||||||
props: { |
|
||||||
baseCls: "" |
|
||||||
}, |
|
||||||
|
|
||||||
|
|
||||||
beforeMount: function () { |
|
||||||
this.refs.setValue(2); |
|
||||||
}, |
|
||||||
|
|
||||||
render: function () { |
|
||||||
|
|
||||||
var self = this; |
|
||||||
|
|
||||||
return { |
|
||||||
type: "bi.horizontal_auto", |
|
||||||
items: [{ |
|
||||||
type: "bi.static_combo", |
|
||||||
text: "Value 不变", |
|
||||||
width: 300, |
|
||||||
ref: function (_ref) { |
|
||||||
self.refs = _ref; |
|
||||||
}, |
|
||||||
items: [ |
|
||||||
{ |
|
||||||
text: "MVC-1", |
|
||||||
value: 1 |
|
||||||
}, { |
|
||||||
text: "MVC-2", |
|
||||||
value: 2 |
|
||||||
}, { |
|
||||||
text: "MVC-3", |
|
||||||
value: 3 |
|
||||||
} |
|
||||||
] |
|
||||||
}], |
|
||||||
vgap: 20 |
|
||||||
}; |
|
||||||
} |
|
||||||
}); |
|
||||||
|
|
||||||
BI.shortcut("demo.static_combo", Demo.StaticCombo); |
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -1,15 +1,8 @@ |
|||||||
.bi-multi-tree-combo .multi-select-trigger-icon-button { |
.bi-multi-tree-combo .multi-select-trigger-icon-button { |
||||||
font-size: 16px; |
font-size: 16px; |
||||||
} |
} |
||||||
.bi-multi-tree-combo .trigger-up { |
.bi-multi-tree-combo .bi-combo.bi-combo-popup + .bi-trigger-icon-button .x-icon { |
||||||
display: none; |
-webkit-transform: rotate(180deg); |
||||||
} |
-moz-transform: rotate(180deg); |
||||||
.bi-multi-tree-combo .trigger-down { |
transform: rotate(180deg); |
||||||
display: block; |
|
||||||
} |
|
||||||
.bi-multi-tree-combo.combo-show .trigger-up { |
|
||||||
display: block; |
|
||||||
} |
|
||||||
.bi-multi-tree-combo.combo-show .trigger-down { |
|
||||||
display: none; |
|
||||||
} |
} |
||||||
|
@ -1,15 +1,8 @@ |
|||||||
.bi-single-select-combo .single-select-trigger-icon-button { |
.bi-single-select-combo .single-select-trigger-icon-button { |
||||||
font-size: 16px; |
font-size: 16px; |
||||||
} |
} |
||||||
.bi-single-select-combo .trigger-up { |
.bi-single-select-combo .bi-combo.bi-combo-popup + .bi-trigger-icon-button .x-icon { |
||||||
display: none; |
-webkit-transform: rotate(180deg); |
||||||
} |
-moz-transform: rotate(180deg); |
||||||
.bi-single-select-combo .trigger-down { |
transform: rotate(180deg); |
||||||
display: block; |
|
||||||
} |
|
||||||
.bi-single-select-combo.combo-show .trigger-up { |
|
||||||
display: block; |
|
||||||
} |
|
||||||
.bi-single-select-combo.combo-show .trigger-down { |
|
||||||
display: none; |
|
||||||
} |
} |
||||||
|
Loading…
Reference in new issue