(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-262c088a"],{"00ea":function(t,e,a){t.exports=a.p+"img/share_bg.418b35d5.png"},"6d9f":function(t,e,a){"use strict";a.r(e);var n=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"p_share"},[n("div",{directives:[{name:"show",rawName:"v-show",value:t.wechatBrow,expression:"wechatBrow"}],staticClass:"mask"}),n("img",{attrs:{src:a("00ea"),alt:""}}),n("div",{staticClass:"top_img"}),n("div",{staticClass:"right_text"},[t._v(" LIVE ")]),n("div",{staticClass:"qidai"}),t.shareUrl?n("div",{staticClass:"join"},[n("div",{staticClass:"u_icon"},[n("vue-qr",{attrs:{text:t.shareUrl,size:300,colorDark:"#FA5E47",colorLight:"#fff",margin:0}})],1),t._m(0)]):t._e(),n("div",{staticClass:"down_btn",on:{click:t.downloadApp}},[n("a",{attrs:{href:t.downloadUrl}},[t._v("立即下载")])]),n("div",{staticClass:"left_icon_wa"}),t._m(1),t._m(2)])},s=[function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"b_text1"},[a("span",[t._v("邀请您下载同好APP,体验不一样的娱乐生活")])])},function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"down_text_ercode1"},[a("span",[t._v("下载地址:"),a("b",[t._v("site.yueji.pro")])])])},function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"down_text_ercode2"},[a("span",[t._v("有任何疑问请联系QQ客服:")]),a("span",[t._v("934107031")])])}],i=(a("c975"),a("a9e3"),a("ac1f"),a("1276"),a("96cf"),a("1da1")),o=a("c6c6"),r=a.n(o),c=a("658f"),l=a.n(c),d={data:function(){return{download:{},downloadUrl:"",shareUrl:window.location.href,wechatBrow:!1}},components:{vueQr:l.a,MobileDetect:r.a},created:function(){this.global.isWechat&&(this.wechatBrow=!0),this.getDownloadInfo()},methods:{getDownloadInfo:function(){var t=this;return Object(i["a"])(regeneratorRuntime.mark((function e(){var a,n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return console.log("wechat"+t.global.isWechat),e.next=3,t.$http.get("/user/app/download",{params:{inviteUserId:t.$route.query.q}});case 3:a=e.sent,n=a.data,t.download=n.data,t.global.isIos&&(t.downloadUrl=t.download.ios),t.global.isAndroid&&(t.downloadUrl=t.download.android),t.global.isWechat&&(t.downloadUrl="javascrip:;");case 9:case"end":return e.stop()}}),e)})))()},downloadApp:function(){if(console.log("==="+this.global.isWechat),this.global.isWechat)return this.wechatBrow=!0,!1;Array.prototype.contains=function(t){for(o in this)if(!isNaN(parseInt(o))&&this[o].indexOf(t)>0)return o;return-1};var t=navigator.userAgent,e=new r.a(t),a=e.os(),n="",s="";if("iOS"==a)s=e.version("iPhone"),n=e.mobile();else if("AndroidOS"==a){s=e.version("Android");var i=t.split(";"),o=i.contains("Build/");if(o>-1)n=i[o].substring(0,i[o].indexOf("Build/"));else if(o=i.contains("Android"),o>-1){Number(o),Number(1);n=i[Number(o)+Number(1)]}}this.$http.post("/user/app/download",{inviteUserId:this.$route.query.q,phoneSystem:s,phoneModel:n})}}},u=d,h=(a("94d2"),a("2877")),w=Object(h["a"])(u,n,s,!1,null,"c5e7c794",null);e["default"]=w.exports},"94d2":function(t,e,a){"use strict";a("b6b7")},b6b7:function(t,e,a){}}]);