fa8nl.com
Open in
urlscan Pro
2606:4700:3037::6815:1798
Public Scan
URL:
http://fa8nl.com/static/js/chunk-1b834514.dce5cdff.js
Submission: On March 24 via api from US — Scanned from US
Submission: On March 24 via api from US — Scanned from US
Form analysis
0 forms found in the DOMText Content
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-1b834514"],{"22ce":function(t,e,n){"use strict";n.d(e,"a",(function(){return a}));n("365c");var o=n("b775");function a(){return Object(o["a"])({url:"/web/service/list",method:"get",hideloading:!0})}},4282:function(t,e,n){},5681:function(t,e,n){},"65f8":function(t,e,n){"use strict";n("4282")},7431:function(t,e,n){"use strict";n.r(e);var o=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"app-container"},[n("div",{staticClass:"layout-content"},[t.$route.meta.keepAlive?n("keep-alive",[n("router-view")],1):n("router-view")],1),n("floatBtn"),n("div",{staticClass:"layout-footer"},[n("TabBar",{attrs:{data:t.tabbars},on:{change:t.handleChange}})],1)],1)},a=[],c=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("van-tabbar",{attrs:{fixed:"",route:""},on:{change:t.handleChange},model:{value:t.active,callback:function(e){t.active=e},expression:"active"}},t._l(t.data,(function(e,o){return n("van-tabbar-item",{key:o,staticClass:"tabBarText",attrs:{to:e.to,icon:e.icon}},[t._v(" "+t._s(t.$t("tarBar."+e.title))+" ")])})),1)],1)},i=[],r=(n("a9e3"),{name:"TabBar",props:{defaultActive:{type:Number,default:0},data:{type:Array,default:function(){return[]}}},data:function(){return{active:this.defaultActive}},methods:{handleChange:function(t){this.$emit("change",t)}}}),s=r,u=(n("e980"),n("2877")),l=Object(u["a"])(s,c,i,!1,null,"8096a14a",null),f=l.exports,d=function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("div",[o("div",{staticClass:"floatBtn",class:[{moveBtn:t.longClick},t.btnType+"Btn"],on:{touchstart:function(e){return t.touchstart(e)},touchmove:function(e){return t.touchMove(e)},touchend:function(e){return t.touchEnd(e)},click:t.click}},[o("van-image",{attrs:{width:"50",height:"50",src:n("7568")}})],1)])},h=[],v=(n("14d9"),n("22ce")),p={data:function(){return{serverInfo:{},timeOutEvent:0,longClick:0,oldMousePos:{},oldNodePos:{},btnType:"right"}},mounted:function(){this.loadServerInfo()},methods:{click:function(){this.$router.push({name:"Service"})},loadServerInfo:function(){var t=this;Object(v["a"])().then((function(e){e.data.length>0&&(t.serverInfo=e.data[0])}))},touchstart:function(t){var e=this;document.body.style.overflow="hidden",this.timeOutEvent=setTimeout((function(){e.longClick=1}),500);var n=t.currentTarget,o=t.touches[0],a=o.pageX,c=o.pageY,i=n.offsetLeft,r=n.offsetTop;this.oldMousePos={x:a,y:c},this.oldNodePos={x:i,y:r},n.style.left="".concat(i,"px"),n.style.top="".concat(r,"px")},touchMove:function(t){if(clearTimeout(this.timeOutEvent),1===this.longClick){var e=t.currentTarget,n=this.oldMousePos.x-this.oldNodePos.x,o=this.oldMousePos.y-this.oldNodePos.y,a=t.touches[0],c=a.pageX,i=a.pageY;e.style.left="".concat(c-n,"px"),e.style.top="".concat(i-o,"px")}},touchEnd:function(t){if(document.body.style.overflow="auto",clearTimeout(this.timeOutEvent),1===this.longClick){this.longClick=0;var e=t.currentTarget,n=document.body,o=n.clientWidth,a=n.clientHeight,c=e.offsetLeft,i=e.offsetTop;e.style.left=c+50>o/2?"calc(100% - 50px)":0,i<90?e.style.top="90px":i+36>a&&(e.style.top="".concat(a-36,"px")),this.btnType=c+50>o/2?"right":"left"}}}},m=p,b=(n("65f8"),Object(u["a"])(m,d,h,!1,null,"eac41eb4",null)),g=b.exports,y={name:"AppLayout",data:function(){return{tabbars:[{title:"home",to:{name:"Home"},icon:"home-o"},{title:"record",to:{name:"Record"},icon:"todo-list-o"},{title:"grabs",to:{name:"Grabs"},icon:"aim"},{title:"announcement",to:{name:"Announcement"},icon:"bullhorn-o"},{title:"Account",to:{name:"About"},icon:"user-o"}]}},components:{floatBtn:g,TabBar:f},methods:{handleChange:function(t){}}},x=y,k=Object(u["a"])(x,o,a,!1,null,null,null);e["default"]=k.exports},7568:function(t,e,n){t.exports=n.p+"static/img/server.0c417404.png"},e980:function(t,e,n){"use strict";n("5681")}}]);