downLoad.745fff15.js 3.4 KB

1
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["downLoad"],{"3dfc":function(t,n,e){t.exports=e.p+"img/404.b26fee6c.png"},5577:function(t,n,e){t.exports=e.p+"img/wx_bg.74659bff.png"},8063:function(t,n,e){t.exports=e.p+"img/downLoad_bg.7d537c43.png"},"8cdb":function(t,n,e){"use strict";e.r(n);var i=function(){var t=this,n=t.$createElement;t._self._c;return t._m(0)},a=[function(){var t=this,n=t.$createElement,i=t._self._c||n;return i("div",{staticClass:"errorPage"},[i("img",{attrs:{src:e("3dfc")}}),i("p",[t._v("找不到页面了")])])}],o={data:function(){return{}},mounted:function(){},methods:{}},r=o,s=(e("f112"),e("2877")),c=Object(s["a"])(r,i,a,!1,null,"78163932",null);n["default"]=c.exports},"9ae1":function(t,n,e){"use strict";var i=e("a275"),a=e.n(i);a.a},a275:function(t,n,e){},b84e:function(t,n,e){},cf45:function(t,n,e){"use strict";e.d(n,"a",(function(){return i})),e.d(n,"b",(function(){return a})),e.d(n,"c",(function(){return o}));var i=function(){var t=navigator.userAgent;return{trident:t.indexOf("Trident")>-1,presto:t.indexOf("Presto")>-1,webKit:t.indexOf("AppleWebKit")>-1,gecko:t.indexOf("Gecko")>-1&&-1==t.indexOf("KHTML"),mobile:!!t.match(/AppleWebKit.*Mobile.*/),ios:!!t.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/),android:t.indexOf("EXAMAPPA")>-1||t.indexOf("Adr")>-1,iPhone:t.indexOf("EXAMAPPI")>-1,iPad:t.indexOf("iPad")>-1,webApp:-1==t.indexOf("Safari"),weixin:t.indexOf("MicroMessenger")>-1,qq:" qq"==t.match(/\sQQ/i)}},a=function(t){var n=parseFloat(t);if(isNaN(n))return"0.00";n=Math.round(100*n)/100;var e=n.toString(),i=e.indexOf(".");i<0&&(i=e.length,e+=".");while(e.length<=i+2)e+="0";return e},o=function(t){return decodeURIComponent((new RegExp("[?|&]"+t+"=([^&;]+?)(&|#|;|$)").exec(location.href)||[,""])[1].replace(/\+/g,"%20"))||null}},eb53:function(t,n,e){"use strict";e.r(n);var i=function(){var t=this,n=t.$createElement,i=t._self._c||n;return i("div",{staticClass:"studentDownLoad",class:[t.wxStatus?"wxContainer":""]},[i("div",{staticClass:"container"},[i("img",{staticClass:"downloadBg",attrs:{src:e("8063")}}),i("van-button",{attrs:{type:"primary",round:"",block:""},on:{click:t.downloadClick}},[t._v("点击下载APP")])],1),t.wxStatus?i("div",{staticClass:"wxpopup",on:{click:function(n){t.wxStatus=!1}}},[i("img",{attrs:{src:e("5577"),alt:""}})]):t._e()])},a=[],o=e("cf45"),r={data:function(){return{isWx:Object(o["a"])().weixin,wxStatus:!1,msg:"此浏览器不支持自动转发,请更换浏览器尝试",src:""}},mounted:function(){this.downloadApp()},methods:{downloadApp:function(){var t=null,n=this.$route.query;n.url&&n.hash&&(t=n.url+"/#/"+n.hash),n.id&&(t+="?id="+n.id),1==n.memo?t="memo=1&url="+t:2==n.memo&&(t="memo=2",n.examRegistrationId&&(t+="&examRegistrationId="+n.examRegistrationId)),/(iPhone|iPad|iPod|iOS)/i.test(navigator.userAgent)?window.location.href="StudentsExam://linkUrl=".concat(t):/(Android)/i.test(navigator.userAgent)?window.location.href="studentexam://html:8888/SplashActivity?".concat(t):this.$toast("请用手机或移动设备打开")},downloadClick:function(){Object(o["a"])().weixin?this.wxStatus=!0:/(iPhone|iPad|iPod|iOS)/i.test(navigator.userAgent)||/(Android)/i.test(navigator.userAgent)?this.$toast("APP暂未开放下载通道"):this.$toast("请用手机或移动设备打开")}}},s=r,c=(e("9ae1"),e("2877")),d=Object(c["a"])(s,i,a,!1,null,"79379fd1",null);n["default"]=d.exports},f112:function(t,n,e){"use strict";var i=e("b84e"),a=e.n(i);a.a}}]);