(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/drag-button/drag-button"],{"0e3f":function(t,i,e){"use strict";(function(t){Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0;var e={name:"drag-button",props:{isDock:{type:Boolean,default:!1},existTabBar:{type:Boolean,default:!1}},data:function(){return{top:0,left:0,width:0,height:0,offsetWidth:0,offsetHeight:0,windowWidth:0,windowHeight:0,isMove:!0,edge:10,text:"客服"}},mounted:function(){var i=this,e=t.getSystemInfoSync();this.windowWidth=e.windowWidth,this.windowHeight=e.windowHeight,e.windowTop&&(this.windowHeight+=e.windowTop),console.log(e);var n=t.createSelectorQuery().in(this);n.select("#_drag_button").boundingClientRect((function(t){i.width=t.width,i.height=t.height,i.offsetWidth=t.width/2,i.offsetHeight=t.height/2,i.left=i.windowWidth-i.width-i.edge,i.top=i.windowHeight-i.height-i.edge})).exec()},methods:{click:function(){this.$emit("btnClick")},touchstart:function(t){this.$emit("btnTouchstart")},touchmove:function(t){if(1!==t.touches.length)return!1;this.isMove=!0,this.left=t.touches[0].clientX-this.offsetWidth;var i=t.touches[0].clientY-this.offsetHeight,e=this.windowHeight-this.height-this.edge;ie?e:i},touchend:function(t){if(this.isDock){var i=this.windowWidth-this.width-this.edge;this.left