| | |
| | | $(".split-select .split-select-option").toggle(); |
| | | }) |
| | | |
| | | |
| | | $(".split-select .split-select-option li").click(function () { |
| | | |
| | | if ($(this).text() != $('#viewportType span').text()) { |
| | |
| | | } |
| | | }) |
| | | |
| | | $('.jimu-widget-SplitScreen .close').click(function () { |
| | | that.closeSplitScreen('closeSplitScreen') |
| | | }); |
| | | $('.jimu-widget-SplitScreen .split-select .close').click(() => { |
| | | $('.jimu-widget-SplitScreen').hide(); |
| | | that.closeSplitScreen('SplitScreen') |
| | | }) |
| | | |
| | | }, |
| | | |
| | |
| | | |
| | | closeSplitScreen: function (item) { |
| | | var that = this; |
| | | console.log(item,this.name) |
| | | if (item == this.name) { |
| | | if (this.flag = true) { |
| | | this.flag = false; |