if( parseInt($.browser.version) === 8 ){
}else{
var num = 'u460890';
//只有dom存在,才绑定js
if(document.querySelector('#u460890')){
window['indexVm' + num] = new Vue({
el: "#u460890",
data: {
indexStore: {
},
indexShow: false
},
watch: {
infor: {
handler: function(val, oldVal) {
},
deep: true
}
},
methods: {
pageHeight: function() {
// 获取浏览器高度
if ($.browser.msie) {
return document.compatMode == "CSS1Compat" ? document.documentElement.clientHeight : document.body.clientHeight;
} else {
return self.innerHeight;
}
return $(window).height();
},
mouseover:function(e){
var ele = e.target;
if(this.indexStore.effectsObj.type == 'scale'){
$(ele).css({
'transform':'scale(' + this.indexStore.effectsObj.zoom + ')'
})
}
else if(this.indexStore.effectsObj.type == 'translate'){
if(this.indexStore.effectsObj.direction === 'up-down'){
$(ele).css({
'transform':'translate(0,' +this.indexStore.effectsObj.distance + 'px)'
})
}
else{
$(ele).css({
'transform':'translate(' +this.indexStore.effectsObj.distance + 'px,0)'
})
}
}
else if(this.indexStore.effectsObj.type == 'rotate_new'){
$(ele).css({
'transform':'rotate(' + this.indexStore.effectsObj.deg +'deg)'
})
}
else if(this.indexStore.effectsObj.type == 'border'){
$(ele).css({
'borderStyle':this.indexStore.effectsObj.borderStyle,
'borderWidth':this.indexStore.effectsObj.borderWidth + 'px',
'borderColor':this.indexStore.effectsObj.borderColor,
});
}
},
mouseout:function(e){
var ele = e.target;
if(this.indexStore.effectsObj.type == 'scale'){
$(ele).css({
'transform':'scale(1)'
})
}
else if(this.indexStore.effectsObj.type == 'translate'){
$(ele).css({
'transform':'translate(0,0)'
})
}
else if(this.indexStore.effectsObj.type == 'rotate_new'){
$(ele).css({
'transform':'rotate(0deg)'
})
}
else if(this.indexStore.effectsObj.type == 'border'){
$(ele).css({
'borderStyle':'not specified',
'borderWidth':0,
'borderColor':'',
});
}
}
},
computed: {
imgstyle: function() {
return {
width:this.indexStore.picture_width + 'px',
height:this.indexStore.picture_height + 'px',
borderRadius:this.indexStore.picture_border_radius + 'px',
};
}
},
created: function() {
try{
var StorageVal = {"img_title":"402cc永利登录","allwidth":200,"allheight":200,"isNewPage":true,"picStyle":"0","picture_width":284,"picture_height":98,"picture_border_radius":0,"imgUrl":"https://cmsimg01.71360.com/data/20200820/11u6121/public/2020082009534532488.png","imgUrl_hover":"","effectNum":0,"animatedType":"stylejs","linksStyle":"self","linksUrl":"/","openStyle":"_self","is_lazy":"false","effectsObj":{"type":"","icon":"fa-adjust","iconSize":50,"iconColor":"#fff","iconColor_globalColor":"","changeSrc":"","borderStyle":"solid","borderWidth":1,"borderColor":"#ccc","borderColor_globalColor":"","deg":90,"zoom":1.5,"distance":20,"direction":"left-right","time":300}};
if (StorageVal != null) {
this.indexStore = StorageVal;
}
}catch(e){}
},
ready: function() {
if (typeof templet != "undefined") {
templet.checkaction(this);
}
// 悬浮
$('#u460890 div.graphic_position').hover(function () {
$('#u460890 div.graphic_position img').eq(0).hide();
$('#u460890 div.graphic_position img').stop().eq(1).fadeIn(300);
},function () {
$('#u460890 div.graphic_position img').eq(1).hide();
$('#u460890 div.graphic_position img').stop().eq(0).fadeIn(300);
});
}
});
}
}
if('' == '0' || '1' == '0'){
//样式1
var ad = new AdMove("u732826");
$('#u732826').css('zIndex','999999');
var times = '' || '10'
ad.Run(parseInt(times));
//关闭点击事件
$("#u732826 #open_page").on('click',function(){
$('#u732826').css("display","none");
});
};
if( parseInt($.browser.version) === 8 ){
console.log('ie8')
}else {
//只有dom存在,才绑定js
if (document.querySelector('#u732826')) {
;var num = 'u732826';
window['indexVm' + num] = new Vue({
el: "#u732826",
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":"
\n\t
\n
\n\n\t激光技术开发与应用 \n
\n\n\t
\n
","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":393,"height":71,"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 {
$('#u732826').css({
'position': 'fixed',
'zIndex': '999999'
});
} catch (e) {
}
;
}
//挂件动画
try {
$.allWidgetAnimate(this, $('#u732826'));
} catch (e) {
}
;
},
ready: function () {
if (this.indexStore.custom_pos_style === '2') {
var t = setTimeout(function () {
try {
$("#u732826").draggable();
$("#u732826").draggable("disable");
} catch (e) {
}
clearTimeout(t);
}, 500);
} else if (this.indexStore.custom_pos_style === '1') {
setTimeout(function () {
try {
$("#u732826").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";
}
}
});
}
}
//重设伪类,使字体强制生效
;!(function redrawFontFace() {
if ($.support.leadingWhitespace) return;
$(window).one("load", function() {
$('html').addClass('fix-ie-font-face');
setTimeout(function() {
$('html').removeClass('fix-ie-font-face');
}, 10);
});
}());
$(function () {
init();
function init() {
$(".iconBox").on("click", ".glyphicon", iconOnClick);
}
//点击图标显示类名
function iconOnClick(e) {
var clsName = "." + $(this).attr("class").split(" ").join(" .");
$(".iconClass").val(clsName);
}
});
if( parseInt($.browser.version) === 8 ){
}else{
//只有dom存在,才绑定js
if(document.querySelector('#u581206')){
var num = 'u581206';
window['indexVm' + num] = new Vue({
el: "#u581206",
data: {
indexStore : {
},
indexShow: false,
cnashu:'pro',
urlValue:''
},
computed:{
isshowicons:function(){
return this.indexStore.search_oppen_style == 2 ? false : true;
},
isshowbtnicon:function(){
var isClick = this.indexStore.isShowStyle3Icon || 'open';
return this.indexStore.search_oppen_style == 1 || (this.indexStore.search_oppen_style == 2 && isClick == 'open') ? true : false;
},
isshowicon:function(){
return this.indexStore.search_is_show_icon == "block" ? true : false;
},
isshowtxt:function(){
return this.indexStore.search_is_show_txt == "block" ? true : false;
},
search1Div:function(){
return {
position:'relative',
width:this.indexStore.search_div_width + 'px',
height:this.indexStore.search_div_height + 'px',
backgroundColor:this.indexStore.search_div_height_bc,
}
},
search1Input:function(){
return {
width:this.indexStore.search_width + 'px',
height:this.indexStore.search_height + 'px',
border:'0px',
marginLeft:this.indexStore.search_margin_left + 'px',
marginTop:this.indexStore.search_margin_top + 'px',
paddingLeft:this.indexStore.search_padding_left + 'px',
paddingRight:this.indexStore.search_padding_right + 'px',
borderRadius:this.indexStore.search_radius + 'px',
color:this.indexStore.search_input_color,
fontSize:this.indexStore.search_input_fs + 'px',
borderTopStyle:this.indexStore.searchs_border_top_style ,
borderTopColor:this.indexStore.searchs_border_top_color ,
borderTopWidth:this.indexStore.searchs_border_top_width + 'px',
borderRightStyle:this.indexStore.searchs_border_right_style ,
borderRightColor:this.indexStore.searchs_border_right_color ,
borderRightWidth:this.indexStore.searchs_border_right_width + 'px',
borderBottomStyle:this.indexStore.searchs_border_bottom_style ,
borderBottomColor:this.indexStore.searchs_border_bottom_color ,
borderBottomWidth:this.indexStore.searchs_border_bottom_width + 'px',
borderLeftStyle:this.indexStore.searchs_border_left_style ,
borderLeftColor:this.indexStore.searchs_border_left_color ,
borderLeftWidth:this.indexStore.searchs_border_left_width + 'px',
backgroundColor:this.indexStore.search_input_bg_color,
}
},
search1I:function(){
return {
fontSize: this.indexStore.search_icon_width + 'px',
color: this.indexStore.search_icon_color,
display: 'inline-block',
position: 'absolute',
left: this.indexStore.search_absolute_left + 'px',
top: this.indexStore.search_absolute_top + 'px',
zIndex: 99,
transform: 'rotate('+ this.indexStore.search_icon_rotate +'deg)'
}
},
search1Span:function(){
return {
cursor: 'pointer',
position: 'absolute',
display: this.indexStore.search_is_show_txt,
width: this.indexStore.search_text_width + 'px',
height: this.indexStore.search_text_height + 'px',
lineHeight: this.indexStore.search_text_height + 'px',
color: this.indexStore.search_text_font_color,
background: this.indexStore.search_text_color,
fontSize: this.indexStore.search_text_fs + 'px',
textAlign: this.indexStore.search_text_text_align,
borderRadius: this.indexStore.search_text_border_radius + 'px',
left: this.indexStore.search_text_pos_left + 'px',
top: this.indexStore.search_text_pos_right + 'px'
}
},
search2Div:function(){
return {
width: this.indexStore.search_btn_icon_div_width + 'px',
height: this.indexStore.search_btn_icon_div_height + 'px',
marginTop: this.indexStore.search_btn_icon_margin_top + 'px',
marginRight: this.indexStore.search_btn_icon_margin_right + 'px',
marginBottom: this.indexStore.search_btn_icon_margin_bottom + 'px',
marginLeft: this.indexStore.search_btn_icon_margin_left + 'px',
paddingTop: this.indexStore.search_btn_icon_padding_top + 'px',
paddingRight: this.indexStore.search_btn_icon_padding_right + 'px',
paddingBottom: this.indexStore.search_btn_icon_padding_bottom + 'px',
paddingLeft: this.indexStore.search_btn_icon_padding_left + 'px'
};
},
search2I:function(){
return {
fontSize:this.indexStore.search_btn_icon_fs + 'px',
color:this.indexStore.search_btn_icon_color,
display:'block',
transform: 'rotate('+ this.indexStore.search_iconbtn_rotate +'deg)'
};
},
style5i:function(){
return {
display: 'inline-block',
width: 0,
height: 0,
border: '5px solid transparent',
borderTopColor: '#000'
};
}
},
methods: {
deleteSpace:function(str){
var arr1 = str.split('');
var str2 ='';
arr1.forEach(function(val){
if (val === ' ') {
}else{
str2 += val;
}
});
return str2;
},
keyEnter: function() {
this.url = location.host + '/search.html?keywords=' + this.urlValue;
this.urlValue == ''
this.urlValue = this.deleteSpace($('#u581206 .searchCon').val());
if (this.urlValue == '') {
alert('请输入搜索关键词' || '输入查询内容');
return;
}
document.location = '/search.html?keywords=' + this.urlValue + '&keywordstype=all';
},
keyEnter4: function() {
this.url = location.host + '/search.html?keywords=' + this.urlValue;
this.urlValue == ''
this.urlValue = this.deleteSpace($('#u581206 .search4-input').val());
if (this.urlValue == '') {
alert('请输入搜索关键词' || '输入查询内容');
return;
}
document.location = '/search.html?keywords=' + this.urlValue + '&keywordstype=all';
},
keyEnters: function() {
this.url = location.host + '/search.html?keywords=' + this.urlValue;
this.urlValue == '';
this.urlValue = this.deleteSpace($('#u581206 .search3 .ivu-input').val());
if (this.urlValue === '') {
alert('请输入搜索关键词' || '输入查询内容');
return;
}
document.location = '/search.html?keywords=' + this.urlValue + '&keywordstype=' + this.cnashu;
},
keyEnters5: function() {
this.url = location.host + '/search.html?keywords=' + this.urlValue;
this.urlValue == '';
this.urlValue = this.deleteSpace($('#u581206 input.search-center').val());
if (this.urlValue === '') {
alert('请输入搜索关键词' || '输入查询内容');
return;
}
document.location = '/search.html?keywords=' + this.urlValue + '&keywordstype=' + this.cnashu;
},
txtchange:function(){
}
},
watch:{
indexStore:{
handler: function (val, oldVal) {
$('#u581206 input.ivu-input').css({
borderTopStyle:this.indexStore.searchs_border_top_style,
borderTopColor:this.indexStore.searchs_border_top_color,
borderTopWidth:this.indexStore.searchs_border_top_width,
borderRightStyle:this.indexStore.searchs_border_right_style,
borderRightColor:this.indexStore.searchs_border_right_color,
borderRightWidth:this.indexStore.searchs_border_right_width,
borderBottomStyle:this.indexStore.searchs_border_bottom_style,
borderBottomColor:this.indexStore.searchs_border_bottom_color,
borderBottomWidth:this.indexStore.searchs_border_bottom_width,
borderLeftStyle:this.indexStore.searchs_border_left_style,
borderLeftColor:this.indexStore.searchs_border_left_color,
borderLeftWidth:this.indexStore.searchs_border_left_width,
});
},
deep: true
}
},
created: function() {
try{
var StorageVal = {"allwidth":222,"allheight":31,"isShowStyle3Icon":"open","search4_bc":"#fff","search4_bc_globalColor":"","search_div_height_bc":"#fff","search_div_height_bc_globalColor":"","search_x_show":"none","search_x_fs":12,"search_x_color":"#000","search_x_color_globalColor":"","search_x_top":0,"search_x_right":0,"search_input_placeholder_color":"rgba(102, 102, 102, 1)","search_input_placeholder_color_globalColor":"","search_placeholder_fs":14,"icon_class":"icon iconfont icon-search5","search_oppen_style":"0","search_text_border_radius":0,"search_btn_icon_margin_top":0,"search_btn_icon_margin_right":0,"search_btn_icon_margin_bottom":0,"search_btn_icon_margin_left":0,"search_btn_icon_padding_top":0,"search_btn_icon_padding_right":0,"search_btn_icon_padding_bottom":0,"search_btn_icon_padding_left":0,"search_btn_icon_div_width":40,"search_btn_icon_div_height":40,"search_is_show_icon":"block","search_is_show_txt":"none","search_btn_icon_fs":24,"search_btn_icon_color":"#f0f","search_btn_icon_color_globalColor":"","search_text_fs":14,"search_text_text_align":"center","search_text_pos_left":200,"search_text_pos_right":0,"search_width":220,"search_height":30,"search_div_width":400,"search_div_height":40,"search_input_fs":14,"search_padding_left":10,"search_padding_right":30,"search_placeholder":"\u8bf7\u8f93\u5165\u641c\u7d22\u5173\u952e\u8bcd","search_absolute_left":195,"search_absolute_top":4,"search_radius":0,"search_text_width":50,"search_text_height":30,"search_text_color":"rgba(10, 105, 198, 1)","search_text_color_globalColor":"","search_text_font_color":"rgba(255, 255, 255, 1)","search_text_font_color_globalColor":"","search_icon_color":"rgba(131, 131, 131, 1)","search_icon_color_globalColor":"","search_input_color":"#000","search_input_color_globalColor":"","is_show_icon":true,"show_icon":"","show_text":"","search_icon_width":20,"search_btn_text":"\u641c\u7d22","open_style":true,"search_margin_left":0,"search_margin_top":0,"styleId":3259,"searchs_border_top_style":"solid","searchs_border_top_color":"#ccc","searchs_border_top_color_globalColor":"","searchs_border_top_width":1,"searchs_border_right_style":"solid","searchs_border_right_width":1,"searchs_border_bottom_style":"solid","searchs_border_bottom_width":1,"searchs_border_left_style":"solid","searchs_border_left_width":1,"searchs_border_right_color":"#ccc","searchs_border_right_color_globalColor":"","searchs_border_bottom_color":"#ccc","searchs_border_bottom_color_globalColor":"","searchs_border_left_color":"#ccc","searchs_border_left_color_globalColor":"","search_input_bg_color":"#fff","search_input_bg_color_globalColor":"","widget_loading":"\u57fa\u7840","widget_loading_li":"\u65e0\u52a8\u753b","widget_animateds":"","widget_scroll_loading_checked":false,"widget_scroll_loading":false,"widget_scroll_loading_location_checked":false,"widget_scroll_loading_location":false,"widget_scroll_loading_location_height":0,"pic_iteration_checked2":false,"pic_iteration2":"no","animation_countsss":1,"animation_durasss":1,"animation_delaysss":0,"search5_select_width":20,"search5_select_height":20,"search5_select_fs":12,"search5_icon_width":20,"search5_icon_height":20,"waringTitle":"\u8bf7\u8f93\u5165\u641c\u7d22\u5173\u952e\u8bcd","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){}
var arr = [];
for (item in this.indexStore) {
arr.push(this.indexStore[item]);
}
var _this = this;
if(this.indexStore.search_oppen_style == '0'){
//样式1
$('#u581206 b').css('display','none');
}else if(this.indexStore.search_oppen_style == '1'){
//样式2
$('#u581206 .iconBtn i, #u581206 .search2 .btnClickShow b').off();
$('#u581206 .iconBtn i, #u581206 .search2 .btnClickShow b').on('click',function(){
$('#u581206 .search2').slideToggle("slow");
$('#u581206 .search2 .btnClickShow').slideToggle("slow");
var iShow = '' || 'block';
var spanShow = '' || 'none';
var bShow = '' || 'none';
if( iShow === 'block'){
$('#u581206 .search2 .btnClickShow i').slideToggle("slow");
}
if( spanShow === 'block'){
$('#u581206 .search2 .btnClickShow span').slideToggle("slow");
}
if( bShow === 'block'){
$('#u581206 .search2 .btnClickShow b').slideToggle("slow");
}
});
}else if(this.indexStore.search_oppen_style == '2'){
//样式3
var isClick = this.indexStore.isShowStyle3Icon || 'open';
//是否开启图标显示
var $dom = $('#u581206 .search3');
if(isClick == 'open'){
$('#u581206 .iconBtn i').on('click',function(){
if($dom.hasClass('hasSelect')){
$dom.css('display','none').removeClass('hasSelect');
}else{
$dom.css('display','block').addClass('hasSelect');
}
});
}else{
$dom.css('display','block');
$('#u581206 .iconBtn').css('display','none');
}
}else if(this.indexStore.search_oppen_style == '3'){
//样式4
$('#u581206 div.search4-div, #u581206 input.search4-input').hover(function(){
$('#u581206 input.search4-input').show();
},function(){
$('#u581206 input.search4-input').hide();
});
}else if(this.indexStore.search_oppen_style == '4'){
$('#u581206 .search-left').off();
$('#u581206 .search-left').on('click',function () {
$(this).toggleClass('select-visible');
$(this).find('.search-left-btm').fadeToggle(".3","linear");
});
var $li = $('#u581206 .search-left-btm ul li');
$.each( $li,function (index,value) {
$(value).removeClass('checked-items');
$(value).on('click',function () {
removeLiClass($li);
$(this).addClass('checked-items');
_this.cnashu = $(this).data('type');
$('#u581206 #searchs5 .search-left-top span').text($(this).text());
});
});
// 移除其他li的class checked-items
function removeLiClass(item) {
$.each(item,function (index,value) {
$(value).removeClass('checked-items');
});
}
// 动态获取 下拉框选项
function getLi(){
var $ul = $('#u581206 .search-left-btm ul');
var $li = $('#u581206 .search-left-btm ul > li');
$.ajax({
url:location.host + '?m=mine&a=searchNav',
success:function(val){
var val = JSON.parse(val);
var i=0;
$.each(val,function(item,index){
$li.eq(i).text(index).attr('data-type',item).css('display','block');
if(i == 0){
$('#u581206 #searchs5 .search-left-top span').text(index);
$li.eq(i).addClass('checked-items')
_this.cnashu = item;
}
i++;
});
}
});
}
getLi();
}
//挂件动画
try{
$.allWidgetAnimate(this,$('#u581206'));
}catch(e){};
},
ready:function(){
if(typeof templet!="undefined"){
templet.checkaction(this);
}
//将搜索之后 返回时 输入框清空
$('#u581206 input').val('');
// 兼容placeholder searchCon
// 客户端 样式3的边框样式
$('#u581206 input.ivu-input').css({
borderTopStyle:this.indexStore.searchs_border_top_style,
borderTopColor:this.indexStore.searchs_border_top_color,
borderTopWidth:this.indexStore.searchs_border_top_width,
borderRightStyle:this.indexStore.searchs_border_right_style,
borderRightColor:this.indexStore.searchs_border_right_color,
borderRightWidth:this.indexStore.searchs_border_right_width,
borderBottomStyle:this.indexStore.searchs_border_bottom_style,
borderBottomColor:this.indexStore.searchs_border_bottom_color,
borderBottomWidth:this.indexStore.searchs_border_bottom_width,
borderLeftStyle:this.indexStore.searchs_border_left_style,
borderLeftColor:this.indexStore.searchs_border_left_color,
borderLeftWidth:this.indexStore.searchs_border_left_width,
});
if(this.indexStore.search_oppen_style == 2){
}
}
});
}
}
if('' == '0' || '1' == '0'){
//样式1
var ad = new AdMove("u704003");
$('#u704003').css('zIndex','999999');
var times = '' || '10'
ad.Run(parseInt(times));
//关闭点击事件
$("#u704003 #open_page").on('click',function(){
$('#u704003').css("display","none");
});
};
if( parseInt($.browser.version) === 8 ){
console.log('ie8')
}else {
//只有dom存在,才绑定js
if (document.querySelector('#u704003')) {
;var num = 'u704003';
window['indexVm' + num] = new Vue({
el: "#u704003",
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":"\n\t \n
\n\n\t18516287751\n
","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":196,"height":30,"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 {
$('#u704003').css({
'position': 'fixed',
'zIndex': '999999'
});
} catch (e) {
}
;
}
//挂件动画
try {
$.allWidgetAnimate(this, $('#u704003'));
} catch (e) {
}
;
},
ready: function () {
if (this.indexStore.custom_pos_style === '2') {
var t = setTimeout(function () {
try {
$("#u704003").draggable();
$("#u704003").draggable("disable");
} catch (e) {
}
clearTimeout(t);
}, 500);
} else if (this.indexStore.custom_pos_style === '1') {
setTimeout(function () {
try {
$("#u704003").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";
}
}
});
}
}
//