if('' == '0' || '1' == '0'){
//鏍峰紡1
var ad = new AdMove("u789222");
$('#u789222').css('zIndex','999999');
var times = '' || '10'
ad.Run(parseInt(times));
//鍏抽棴鐐瑰嚮浜嬩欢
$("#u789222 #open_page").on('click',function(){
$('#u789222').css("display","none");
});
};
if( parseInt($.browser.version) === 8 ){
console.log('ie8')
}else {
//鍙湁dom瀛樺湪锛屾墠缁戝畾js
if (document.querySelector('#u789222')) {
;var num = 'u789222';
window['indexVm' + num] = new Vue({
el: "#u789222",
data: {
indexStore: {},
indexShow: false,
costomDatas: {}
},
watch: {
costomDatas: {
handler: function (val, oldVal) {
console.log('test');
},
deep: true
}
},
computed: {
div: function () {
return {
overflowX: this.indexStore.w_scrollX_type,
overflowY: this.indexStore.w_scrollY_type,
wordWrap: this.indexStore.w_word_type
};
}
},
methods: {},
created: function () {
try {
var StorageVal = {"w_scrollX_type":"hidden","w_scrollY_type":"hidden","w_word_type":"normal","contents":"娆㈣繋鏉ュ埌娴欐睙鍗¢浄鎷夊伐涓氶鎵囨湁闄愬叕鍙革紒","msg":"","custom_pos_style":"1","is_hover":"0","custom_pos_style_left":0,"custom_pos_style_top":0,"custom_pos_style_rate":10,"hover_color":"#000","hover_bc_color":"#fff","width":300,"height":35,"fixedLeft":0,"fixedTop":0,"openShow":false,"isShows":false,"editBc":"#fff","effectsObj":{"type":"","icon":"fa-adjust","iconSize":50,"iconColor":"#fff","changeSrc":"","borderStyle":"solid","borderWidth":1,"borderColor":"#ccc","deg":90,"zoom":1.5,"distance":20,"direction":"left-right"}};
if (StorageVal != null) {
this.indexStore = StorageVal;
}
} catch (e) {
}
// 鍏煎
if (!this.indexStore.is_hover) {
this.indexStore.is_hover = '0';
this.indexStore.hover_color = "#000";
this.indexStore.hover_bc_color = "#fff";
}
console.log('index', this.indexStore.custom_pos_style);
//debugger;
if (this.indexStore.custom_pos_style == '0') {
//鏍峰紡1
} else if (this.indexStore.custom_pos_style == '1') {
//鏍峰紡2
} else if (this.indexStore.custom_pos_style == '2') {
//鏍峰紡3
try {
$('#u789222').css({
'position': 'fixed',
'zIndex': '999999'
});
} catch (e) {
}
;
}
//鎸備欢鍔ㄧ敾
try {
$.allWidgetAnimate(this, $('#u789222'));
} catch (e) {
}
;
},
ready: function () {
if (this.indexStore.custom_pos_style === '2') {
var t = setTimeout(function () {
try {
$("#u789222").draggable();
$("#u789222").draggable("disable");
} catch (e) {
}
clearTimeout(t);
}, 500);
} else if (this.indexStore.custom_pos_style === '1') {
setTimeout(function () {
try {
$("#u789222").draggable("enable");
} catch (e) {
}
}, 100);
}
if (typeof templet != "undefined") {
templet.checkaction(this);
}
// 鍏煎
if (!this.indexStore.is_hover) {
this.indexStore.is_hover = '0';
this.indexStore.hover_color = "#000";
this.indexStore.hover_bc_color = "#fff";
}
}
});
}
}
//