|
@@ -27,7 +27,14 @@ export class WindowEvent {
|
|
* 关闭弹出提示
|
|
* 关闭弹出提示
|
|
*/
|
|
*/
|
|
WindowTxtViewOpenExit = function() {
|
|
WindowTxtViewOpenExit = function() {
|
|
|
|
+
|
|
let thisClass = this;
|
|
let thisClass = this;
|
|
|
|
+
|
|
|
|
+ if (typeof thisClass.ComStore["WindowTxtStore"] == "undefined" ) {
|
|
|
|
+ return this;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+
|
|
thisClass.ComStore["WindowTxtStore"]().obj.WindowTxtViewOpen = false;
|
|
thisClass.ComStore["WindowTxtStore"]().obj.WindowTxtViewOpen = false;
|
|
}
|
|
}
|
|
|
|
|
|
@@ -55,8 +62,15 @@ export class WindowEvent {
|
|
* 关闭弹出视频
|
|
* 关闭弹出视频
|
|
*/
|
|
*/
|
|
WindowVideoViewOpenExit = function() {
|
|
WindowVideoViewOpenExit = function() {
|
|
|
|
+
|
|
let thisClass = this;
|
|
let thisClass = this;
|
|
|
|
|
|
|
|
+ if (typeof thisClass.ComStore["WindowVideoStore"] == "undefined" ) {
|
|
|
|
+ return this;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+
|
|
if (typeof thisClass.ComStore["WindowVideoStore"]().obj.callbackEvent == 'function') {
|
|
if (typeof thisClass.ComStore["WindowVideoStore"]().obj.callbackEvent == 'function') {
|
|
thisClass.ComStore["WindowVideoStore"]().obj.callbackEvent(
|
|
thisClass.ComStore["WindowVideoStore"]().obj.callbackEvent(
|
|
thisClass.ComStore["WindowVideoStore"]().obj.myJson
|
|
thisClass.ComStore["WindowVideoStore"]().obj.myJson
|
|
@@ -73,7 +87,7 @@ export class WindowEvent {
|
|
* callbackEvent 自定义回调事件
|
|
* callbackEvent 自定义回调事件
|
|
*/
|
|
*/
|
|
WindowVideoViewOpenEvent = function(url, myJson, callbackEvent) {
|
|
WindowVideoViewOpenEvent = function(url, myJson, callbackEvent) {
|
|
-
|
|
|
|
|
|
+
|
|
let thisClass = this;
|
|
let thisClass = this;
|
|
thisClass.WindowVideoViewOpenExit();
|
|
thisClass.WindowVideoViewOpenExit();
|
|
|
|
|
|
@@ -104,6 +118,12 @@ export class WindowEvent {
|
|
WindowCountdownExit = function() {
|
|
WindowCountdownExit = function() {
|
|
|
|
|
|
let thisClass = this;
|
|
let thisClass = this;
|
|
|
|
+
|
|
|
|
+ if (typeof thisClass.ComStore["WindowCountdownStore"] == "undefined" ) {
|
|
|
|
+ return this;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+
|
|
thisClass.ComStore["WindowCountdownStore"]().obj.viewOpen = false;
|
|
thisClass.ComStore["WindowCountdownStore"]().obj.viewOpen = false;
|
|
|
|
|
|
if (typeof thisClass.ComStore["WindowCountdownStore"]().obj.callbackEvent == "function") {
|
|
if (typeof thisClass.ComStore["WindowCountdownStore"]().obj.callbackEvent == "function") {
|
|
@@ -149,6 +169,12 @@ export class WindowEvent {
|
|
WindowVideoRemoveColorExit = function() {
|
|
WindowVideoRemoveColorExit = function() {
|
|
|
|
|
|
let thisClass = this;
|
|
let thisClass = this;
|
|
|
|
+
|
|
|
|
+ if (typeof thisClass.ComStore["WindowVideoRemoveColorStore"] == "undefined" ) {
|
|
|
|
+ return this;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+
|
|
thisClass.ComStore["WindowVideoRemoveColorStore"]().obj.viewOpen = false;
|
|
thisClass.ComStore["WindowVideoRemoveColorStore"]().obj.viewOpen = false;
|
|
|
|
|
|
thisClass.WindowVideoRemoveColorStop();
|
|
thisClass.WindowVideoRemoveColorStop();
|