downLoad.5f829f5b.js 3.5 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"},"573f0":function(t,n,e){"use strict";var i=e("cc30"),o=e.n(i);o.a},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)},o=[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("找不到页面了")])])}],a={data:function(){return{}},mounted:function(){},methods:{}},r=a,c=(e("f112"),e("2877")),s=Object(c["a"])(r,i,o,!1,null,"78163932",null);n["default"]=s.exports},b84e:function(t,n,e){},cc30:function(t,n,e){},cf45:function(t,n,e){"use strict";e.d(n,"a",(function(){return i})),e.d(n,"b",(function(){return o})),e.d(n,"c",(function(){return a}));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)}},o=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},a=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()])},o=[],a=e("cf45"),r={data:function(){return{isWx:Object(a["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(a["a"])().weixin?this.wxStatus=!0:/(iPhone|iPad|iPod|iOS)/i.test(navigator.userAgent)?window.location.href="https://apps.apple.com/cn/app/%E9%85%B7%E4%B9%90%E7%A7%80/id1528132269":/(Android)/i.test(navigator.userAgent)?window.location="https://sj.qq.com/myapp/detail.htm?apkName=com.jinmingyunle.colexiu":this.$toast("请用手机或移动设备打开")}}},c=r,s=(e("573f0"),e("2877")),d=Object(s["a"])(c,i,o,!1,null,"525065e2",null);n["default"]=d.exports},f112:function(t,n,e){"use strict";var i=e("b84e"),o=e.n(i);o.a}}]);