{"version":3,"sources":["webpack:///./src/views/download.vue","webpack:///./src/views/download.vue?e18f","webpack:///./src/views/download.vue?cd0c","webpack:///./src/views/download.vue?e2f0","webpack:///./src/views/download.vue?3b97"],"names":["render","_vm","this","_c","_self","_setupProxy","staticClass","isTest","staticStyle","_v","_e","attrs","on","$event","download","isInWeixin","openApp","isInIos","staticRenderFns","NewsDetail","_AbpBase","_this","_classCallCheck","iosUrl","androidUrl","isNew","_inherits","_createClass","key","value","_created","_asyncToGenerator","regeneratorRuntime","mark","_callee","wrap","_context","prev","next","isWeiXin","isIos","$route","query","istest","isnew","location","href","$router","push","path","open","stop","created","apply","arguments","Date","getTime","ua","navigator","userAgent","toLowerCase","match","u","indexOf","undefined","window","ShowFitness","AbpBase","__decorate","Component","components","component"],"mappings":"0HAAA,IAAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAUF,EAAIG,MAAMC,YAAY,OAAOF,EAAG,MAAM,CAACG,YAAY,WAAW,CAAEL,EAAIM,OAAQJ,EAAG,MAAM,CAACK,YAAY,CAAC,MAAQ,MAAM,OAAS,OAAO,cAAc,OAAO,YAAY,OAAO,aAAa,WAAW,CAACP,EAAIQ,GAAG,wBAAwBR,EAAIS,KAAKP,EAAG,MAAM,CAACG,YAAY,MAAME,YAAY,CAAC,OAAS,aAAaG,MAAM,CAAC,GAAK,SAASR,EAAG,MAAM,CAACG,YAAY,MAAME,YAAY,CAAC,QAAU,QAAQ,OAAS,YAAY,cAAc,YAAY,OAAS,OAAO,YAAY,QAAQG,MAAM,CAAC,GAAK,OAAOC,GAAG,CAAC,MAAQ,SAASC,GAAQ,OAAOZ,EAAIa,cAAc,CAACb,EAAIQ,GAAG,mBAAoBR,EAAIc,WAAYZ,EAAG,MAAM,CAACG,YAAY,OAAOK,MAAM,CAAC,GAAK,SAAS,CAACR,EAAG,MAAM,CAACG,YAAY,WAAWE,YAAY,CAAC,IAAM,YAAY,OAAS,YAAY,MAAQ,SAASG,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m._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"content\"},[(_vm.isTest)?_c('div',{staticStyle:{\"color\":\"red\",\"height\":\"50px\",\"line-height\":\"50px\",\"font-size\":\"26px\",\"text-align\":\"center\"}},[_vm._v(\"测试安装包 Test package\")]):_vm._e(),_c('div',{staticClass:\"img\",staticStyle:{\"height\":\"323.438px\"},attrs:{\"id\":\"img\"}}),_c('div',{staticClass:\"btn\",staticStyle:{\"display\":\"block\",\"height\":\"58.4862px\",\"line-height\":\"58.4862px\",\"margin\":\"15px\",\"font-size\":\"18px\"},attrs:{\"id\":\"btn\"},on:{\"click\":function($event){return _vm.download()}}},[_vm._v(\"点此下载 Download\")]),(_vm.isInWeixin)?_c('div',{staticClass:\"mask\",attrs:{\"id\":\"mask\"}},[_c('div',{staticClass:\"mask-txt\",staticStyle:{\"top\":\"58.8663px\",\"height\":\"188.208px\",\"width\":\"375px\"},attrs:{\"id\":\"mask-txt\"}}),_c('div',{staticClass:\"mask-arrow\",staticStyle:{\"right\":\"20px\",\"top\":\"5px\",\"width\":\"56.25px\",\"height\":\"392.442px\"},attrs:{\"id\":\"mask-arrow\"}})]):_vm._e(),(_vm.openApp&&!_vm.isInWeixin)?_c('a',{staticClass:\"btn\",staticStyle:{\"display\":\"block\",\"height\":\"58.4862px\",\"line-height\":\"58.4862px\",\"margin\":\"15px\",\"font-size\":\"18px\"},attrs:{\"href\":\"gis://yfpo.com\"}},[_vm._v(\"打开APP Open APP\")]):_vm._e(),(_vm.isInIos)?_c('div',{staticClass:\"img-list\"},[_c('img',{attrs:{\"src\":\"http://yfpogis-appdown.oss-cn-shanghai.aliyuncs.com/assets/image/new-d-setp-1.png\",\"alt\":\"\"}}),_c('img',{attrs:{\"src\":\"http://yfpogis-appdown.oss-cn-shanghai.aliyuncs.com/assets/image/new-d-setp-2.png\",\"alt\":\"\"}}),_c('img',{attrs:{\"src\":\"http://yfpogis-appdown.oss-cn-shanghai.aliyuncs.com/assets/image/new-d-setp-3.png\",\"alt\":\"\"}}),_c('img',{attrs:{\"src\":\"http://yfpogis-appdown.oss-cn-shanghai.aliyuncs.com/assets/image/new-d-setp-4.png\",\"alt\":\"\"}})]):_vm._e()])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\r\n\timport {\r\n\t\tComponent,\r\n\t\tVue,\r\n\t\tInject,\r\n\t\tProp,\r\n\t\tWatch\r\n\t} from 'vue-property-decorator';\r\n\timport Util from '@/lib/util'\r\n\timport AbpBase from '@/lib/abpbase'\r\n\t@Component({\r\n\t\tcomponents: {\r\n\r\n\t\t}\r\n\t})\r\n\texport default class NewsDetail extends AbpBase {\r\n\t\tiosUrl: string = 'https://yfpogis-appdown.oss-cn-shanghai.aliyuncs.com/download/ios/manifest.plist';\r\n\t\tandroidUrl: string = 'https://yfpogis-appdown.oss-cn-shanghai.aliyuncs.com/download/android/app-release.apk';\r\n\t\tisInWeixin: boolean = false;\r\n\t\tisInIos: boolean = false;\r\n\t\tisTest: boolean = false;\r\n\t\topenApp: boolean = false;\r\n\t\tisNew:boolean=false;\r\n\t\tasync created() {\r\n\t\t\tthis.isInWeixin = this.isWeiXin();\r\n\t\t\tthis.isInIos = this.isIos();\r\n\t\t\tthis.isTest = this.$route.query.istest as any == \"1\";\r\n\t\t\tthis.isNew = this.$route.query.isnew as any == \"1\";\r\n\t\t\tif(this.isNew){\r\n\t\t\t\tif(this.isTest){\r\n\t\t\t\t\tlocation.href = '/#/downloadnew?istest=1';\r\n\t\t\t\t}\r\n\t\t\t\telse{\r\n\t\t\t\t\tthis.$router.push({\r\n\t\t\t\t\t\tpath: 'downloadnew',\t\t\t\t\t\t\r\n\t\t\t\t\t})\r\n\t\t\t\t\t//location.href = '/#/downloadnew';\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\telse{\r\n\t\t\t\tif (this.isTest) {\r\n\t\t\t\t\tthis.iosUrl = 'https://yfpogis-appdown.oss-cn-shanghai.aliyuncs.com/download/ios_test/manifest.plist';\r\n\t\t\t\t\tthis.androidUrl = 'https://yfpogis-appdown.oss-cn-shanghai.aliyuncs.com/download/android_test/app-release.apk';\r\n\t\t\t\t}\r\n\t\t\t\tthis.openApp = (this.$route.query.open as any) == \"1\";\r\n\t\t\t\tif (!this.isInWeixin && this.openApp) {\r\n\t\t\t\t\tlocation.href = 'gis://yfpo.com';\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\t\r\n\t\t}\r\n\t\tdownload() {\r\n\t\t\tif (this.isIos()) {\r\n\t\t\t\t//alert(this.L('企业级应用需要您授权信任才正常使用'));\r\n\r\n\t\t\t\tlocation.href = \"itms-services://?action=download-manifest&url=\" + this.iosUrl;\r\n\t\t\t} else {\r\n\t\t\t\tlocation.href = this.androidUrl + \"?time\" + new Date().getTime();\r\n\t\t\t}\r\n\t\t}\r\n\t\tisWeiXin() {\r\n\t\t\tvar ua = navigator.userAgent.toLowerCase() as any;\r\n\t\t\tif (ua.match(/MicroMessenger/i) == 'micromessenger') {\r\n\t\t\t\treturn true; // 是微信端\r\n\t\t\t} else {\r\n\t\t\t\treturn false;\r\n\t\t\t}\r\n\t\t}\r\n\t\tisAndroid() {\r\n\t\t\tvar u = navigator.userAgent.toLowerCase();\r\n\t\t\tif (u.indexOf(\"android\") > -1 || u.indexOf(\"linux\") > -1) {\r\n\t\t\t\tif ((window as any).ShowFitness !== undefined) return true;\r\n\t\t\t}\r\n\t\t\treturn false;\r\n\t\t}\r\n\r\n\t\tisIos() {\r\n\t\t\tvar u = navigator.userAgent.toLowerCase();\r\n\t\t\tif (u.indexOf(\"iphone\") > -1 || u.indexOf(\"ios\") > -1 || u.indexOf(\"mac\") > -1) {\r\n\t\t\t\treturn true;\r\n\t\t\t}\r\n\t\t\treturn false;\r\n\t\t}\r\n\r\n\t};\r\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--13-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./download.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--13-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./download.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./download.vue?vue&type=template&id=e4919f14&scoped=true\"\nimport script from \"./download.vue?vue&type=script&lang=ts\"\nexport * from \"./download.vue?vue&type=script&lang=ts\"\nimport style0 from \"./download.vue?vue&type=style&index=0&id=e4919f14&prod&scoped=scoped&lang=css\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"e4919f14\",\n null\n \n)\n\nexport default component.exports","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../node_modules/css-loader/index.js??ref--6-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./download.vue?vue&type=style&index=0&id=e4919f14&prod&scoped=scoped&lang=css\""],"sourceRoot":""}