{"version":3,"sources":["webpack:///./src/views/xuexiDetail.vue?5cdb","webpack:///./src/views/xuexiDetail.vue","webpack:///./src/views/xuexiDetail.vue?e4e3","webpack:///./src/views/xuexiDetail.vue?22cf","webpack:///./src/views/xuexiDetail.vue?8119"],"names":["render","_vm","this","_c","_self","_setupProxy","staticClass","staticStyle","_v","_s","news","title","time","L","showSource","mainVideo","attrs","_e","mainContent","domProps","model","value","imgBox","callback","$$v","expression","currentImgs","_l","decImg","index","key","staticRenderFns","NewsDetail","_AbpBase","_this","_classCallCheck","userAgent","Object","newid","pageSize","pageIndex","userid","commentBox","commentList","Array","commentContent","loadmore","userInfo","anonymous","currentImgUrl","showShare","shownews","msg","isPreview","newsReadCount","screenWidth","_inherits","_createClass","location","href","fullTextUrl","u","navigator","toLowerCase","indexOf","that","$store","dispatch","type","id","then","res","console","log","date","publishTime","creationTime","Util","formatDate","Date","data","to","from","query","reload","_created","_asyncToGenerator","regeneratorRuntime","mark","_callee","domain","userId","wrap","_context","prev","next","document","body","clientWidth","abp","session","$route","undefined","ProviderKey","Property","getLoginUser","preview","getNewsByID","stop","created","apply","arguments","setTimeout","imgs","getElementsByClassName","getElementsByTagName","i","length","img","onclick","e","currentTarget","src","push","ViewerDom","getElementById","viewer","options","navbar","toolbar","images","contain","click","mps","mp","imageUrl","dataset","miniprogramAppid","miniprogramImageurl","miniprogramTitle","miniprogramPath","dom","miniprogramType","node","createElement","innerHTML","parentNode","appendChild","AbpBase","__decorate","Watch","Component","components","component"],"mappings":"kHAAA,W,2CCAA,IAAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAUF,EAAIG,MAAMC,YAAY,OAAOF,EAAG,MAAM,CAACG,YAAY,iBAAiBC,YAAY,CAAC,WAAa,YAAY,CAACJ,EAAG,MAAM,CAACG,YAAY,aAAaC,YAAY,CAAC,WAAa,SAAS,CAACJ,EAAG,MAAM,CAACA,EAAG,MAAM,CAACG,YAAY,WAAW,CAACH,EA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QC,QAAS,EAClDJ,EAAkBE,OAAeC,QAAQE,SAAU,EACnDL,EAAkBE,OAAeI,OAASjE,EAAKvC,YACjDsF,YAAW,WACV,IAAImB,EAAUnC,SAASkB,uBAAuB,cAAc,GAC1DC,qBAAqB,OACR,MAAXgB,GAAmBA,EAAQd,OAAS,GACvCc,EAAQ,GAAGC,UAEV,MAsBN,IAAIC,EAAMrC,SAASmB,qBAAqB,kBACxC,IAASC,EAAI,EAAGA,EAAIiB,EAAIhB,OAAQD,IAAK,CACpC,IAAIkB,EAAKD,EAAIjB,GAETmB,GADmBD,EAAGE,QAAQC,iBACnBH,EAAGE,QAAQE,qBAEtBC,GADkBL,EAAGE,QAAQI,gBACVN,EAAGE,QAAQG,kBAE9BE,GADkBP,EAAGE,QAAQM,gBAEhC,uhBAKgBP,EALhB,mYAgBAI,EAhBA,gHAkB+BJ,EAlB/B,iLA0BGQ,EAAO/C,SAASgD,cAAc,OAClCD,EAAKE,UAAYJ,EACjBP,EAAGY,WAAWC,YAAYJ,MAEzB,SAlP0B,CAASK,QA8FvCC,EAAA,CADCC,eAAM,U,gIA7FatH,EAAUqH,EAAA,CAH9BE,eAAU,CACVC,WAAY,MAEQxH,WCjB+W,I,wBCQjYyH,EAAY,eACd,EACAzJ,EACA+B,GACA,EACA,KACA,WACA,MAIa,aAAA0H,E","file":"js/chunk-7121e07e.81fc6ede.js","sourcesContent":["export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--10-oneOf-1-0!../../node_modules/css-loader/index.js??ref--10-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--10-oneOf-1-2!../../node_modules/less-loader/dist/cjs.js??ref--10-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./xuexiDetail.vue?vue&type=style&index=0&id=71b8b3ae&prod&lang=less&scoped=scoped\"","var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"newsDetailWrap\",staticStyle:{\"background\":\"#f2f2f2\"}},[_c('div',{staticClass:\"newsDetail\",staticStyle:{\"background\":\"#fff\"}},[_c('div',[_c('div',{staticClass:\"newsTop\"},[_c('div',{staticClass:\"title\"},[_vm._v(_vm._s(_vm.news.title))]),_c('div',{staticClass:\"time\"},[_vm._v(\"\\n\\t\\t\\t\\t\\t\"+_vm._s(_vm.news.time)+\"\\n\\t\\t\\t\\t\\t\"),_c('span',{staticStyle:{\"margin-left\":\"40rpx\"}},[_vm._v(_vm._s(_vm.L('来源'))+\":\"+_vm._s(_vm.news.showSource))])])]),_c('div',{staticClass:\"newscot\"},[(_vm.news.mainVideo != null && _vm.news.mainVideo != '')?_c('div',{staticClass:\"newsimg\"},[_c('video',{staticClass:\"newimg\",attrs:{\"id\":\"myVideo\",\"controls\":\"\",\"preload\":\"auto\",\"width\":\"100%\",\"height\":\"100%\"}},[_c('source',{attrs:{\"type\":\"video/mp4\",\"src\":_vm.news.mainVideo}})])]):_vm._e(),(_vm.news.mainContent != null && _vm.news.mainContent != '')?_c('div',{staticClass:\"newscontent\",domProps:{\"innerHTML\":_vm._s(_vm.news.mainContent)}}):_vm._e()])])]),_c('Modal',{staticClass:\"newImgBox\",attrs:{\"closable\":false,\"footer-hide\":true,\"title\":\"Image\"},model:{value:(_vm.imgBox),callback:function ($$v) {_vm.imgBox=$$v},expression:\"imgBox\"}},[_c('viewer',{staticClass:\"descimgBox\",attrs:{\"id\":\"viewer\",\"images\":_vm.currentImgs}},_vm._l((_vm.currentImgs),function(decImg,index){return _c('img',{key:index,staticStyle:{\"width\":\"100%\"},attrs:{\"src\":decImg}})}),0)],1)],1)\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 wx from 'weixin-js-sdk';\r\n\timport AbpBase from '@/lib/abpbase';\r\n\timport Viewer from 'v-viewer'\r\n\timport videojs from 'video.js';\r\n\timport 'viewerjs/dist/viewer.css'\r\n\t@Component({\r\n\t\tcomponents: {}\r\n\t})\r\n\texport default class NewsDetail extends AbpBase {\r\n\t\tuserAgent: string = \"\";\r\n\t\tnews: Object = new Object() as any;\r\n\t\tnewid: number = 0;\r\n\t\tpageSize: number = 10;\r\n\t\tpageIndex: number = 1;\r\n\t\tuserid: number = 0;\r\n\t\tcommentBox: boolean = false;\r\n\t\tcommentList: Array < Object >= new Array < Object > ();\r\n\t\tcommentContent: string = \"\";\r\n\t\tloadmore: boolean = true;\r\n\r\n\t\tuserInfo: Object = new Object();\r\n\t\tanonymous: boolean = false;\r\n\t\timgBox: boolean = false;\r\n\t\tcurrentImgs: Array < Object >= new Array < Object > ();\r\n\t\tcurrentImgUrl: string = '';\r\n\r\n\r\n\t\tshowShare: boolean = false;\r\n\t\tshownews: number = 0; // 0加载中 1 可见 2 不可见\r\n\t\tmsg: string = '';\r\n\t\tisPreview: boolean = false;\r\n\t\tnewsReadCount: number = 0;\r\n\t\tscreenWidth:number=0;\r\n\r\n\t\thideCommentBox() {\r\n\t\t\tthis.commentContent = \"\";\r\n\t\t\tthis.commentBox = false;\r\n\t\t}\r\n\t\tgoFullText() {\r\n\t\t\tlocation.href = ((this.news as any).fullTextUrl);\r\n\t\t}\r\n\r\n\t\tshowCommentBox() {\r\n\t\t\tthis.commentContent = \"\";\r\n\t\t\tthis.commentBox = true;\r\n\t\t}\r\n\t\tshare() {\r\n\t\t\tthis.showShare = true;\r\n\r\n\t\t}\r\n\t\tisIos() {\r\n\t\t\tvar u = navigator.userAgent.toLowerCase();\r\n\t\t\tthis.userAgent = u;\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\tgetNewsByID() {\r\n\t\t\tvar that = this;\r\n\t\t\tthis.$store.dispatch({\r\n\t\t\t\ttype: 'app/getXueXiById',\r\n\t\t\t\tid: this.newid\r\n\t\t\t}).then((res) => {\r\n\t\t\t\tconsole.log(res);\r\n\t\t\t\tthat.news = res as any;\r\n\r\n\t\t\t\tvar date = (that.news as any).publishTime;\r\n\t\t\t\tif (date == null) {\r\n\t\t\t\t\tdate = (that.news as any).creationTime;\r\n\t\t\t\t}\r\n\t\t\t\t(that.news as any).time = Util.formatDate(new Date(date), 'yyyy-MM-dd hh:mm:ss');\r\n\r\n\t\t\t})\r\n\t\t}\r\n\t\t// writeNewsReadLog() {\r\n\t\t// \tvar that = this;\r\n\t\t// \tthis.$store.dispatch({\r\n\t\t// \t\ttype: 'app/writeNewsReadLog',\r\n\t\t// \t\tdata: {\r\n\t\t// \t\t\tid: that.newid\r\n\t\t// \t\t}\r\n\t\t// \t}).then((res) => {\r\n\r\n\t\t// \t})\r\n\t\t// }\r\n\r\n\t\tgetLoginUser() {\r\n\t\t\tvar that = this;\r\n\t\t\tthis.$store.dispatch({\r\n\t\t\t\ttype: 'app/getLoginUser',\r\n\t\t\t\tdata: {}\r\n\t\t\t}).then(res => {\r\n\t\t\t\tthat.userInfo = res;\r\n\t\t\t})\r\n\t\t}\r\n\t\tcancelImgBox() {\r\n\t\t\tthis.imgBox = false;\r\n\t\t}\r\n\r\n\t\t@Watch('$route')\r\n\t\troutechange(to: any, from: any) {\r\n\t\t\tif (to.query.newid != from.query.newid) {\r\n\t\t\t\tlocation.reload();\r\n\t\t\t}\r\n\t\t}\r\n\t\tasync created() {\r\n\t\t\tvar that=this;\r\n\t\t\tthat.screenWidth = document.body.clientWidth\r\n\t\t\tconsole.log(that.screenWidth)\r\n\t\t\tif (!Util.abp.session.userId) {\r\n\t\t\t\tvar domain = this.$route.query.domain as any;\r\n\t\t\t\tif (domain != undefined && domain != null && domain != '') {\r\n\t\t\t\t\tawait this.$store.dispatch({\r\n\t\t\t\t\t\ttype: 'app/externalAuthenticate',\r\n\t\t\t\t\t\tdata: {\r\n\t\t\t\t\t\t\t\"AuthProvider\": \"IDSDOMAIN\",\r\n\t\t\t\t\t\t\t\"ProviderAccessCode\": domain,\r\n\t\t\t\t\t\t\tProviderKey: \"\",\r\n\t\t\t\t\t\t\tProperty: \"\"\r\n\t\t\t\t\t\t},\r\n\t\t\t\t\t})\r\n\t\t\t\t\tlocation.reload();\r\n\t\t\t\t}\r\n\t\t\t\tvar userId = this.$route.query.userid as any;\r\n\t\t\t\tif (userId != undefined && userId != null && userId != '') {\r\n\t\t\t\t\tawait this.$store.dispatch({\r\n\t\t\t\t\t\ttype: 'app/externalAuthenticate',\r\n\t\t\t\t\t\tdata: {\r\n\t\t\t\t\t\t\t\"AuthProvider\": \"IDSID\",\r\n\t\t\t\t\t\t\t\"ProviderAccessCode\": userId,\r\n\t\t\t\t\t\t\tProviderKey: userId,\r\n\t\t\t\t\t\t\tProperty: \"\"\r\n\t\t\t\t\t\t},\r\n\t\t\t\t\t})\r\n\t\t\t\t\tlocation.reload();\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\tif (this.$route.query.newid && (this.$route.query.newid as any) > 0) {\r\n\t\t\t\tthis.newid = this.$route.query.newid as any;\r\n\t\t\t\tconsole.log(Util.abp.session.userId);\r\n\t\t\t\tif (Util.abp.session.userId) {\r\n\t\t\t\t\tthis.userid = Util.abp.session.userId;\r\n\t\t\t\t\tthis.getLoginUser();\r\n\r\n\t\t\t\t}\r\n\t\t\t\tif (this.$route.query.preview && (this.$route.query.preview as any) > 0) {\r\n\t\t\t\t\tthis.isPreview = true;\r\n\t\t\t\t}\r\n\t\t\t\tthis.getNewsByID();\r\n\t\t\t}\r\n\r\n\r\n\t\t}\r\n\t\tmounted() {\r\n\t\t\tvar that = this;\r\n\t\t\tsetTimeout(function() {\r\n\r\n\t\t\t\tvar u = navigator.userAgent.toLowerCase();\r\n\t\t\t\tconsole.log(\"u:\" + u);\r\n\t\t\t\t//统一使用组件方式查看图片可以缩放\r\n\t\t\t\tif (1==1 ||u.indexOf('iphone os 13_4') > -1 || u.indexOf('iphone os 14') > -1 || u.indexOf('ipad') > -1 ||\r\n\t\t\t\t\tu.indexOf('ipod') > -1 || that.screenWidth>=768) {\r\n\t\t\t\t\tlet imgs = document.getElementsByClassName('newscot')[0].getElementsByTagName('img');\r\n\t\t\t\t\tfor (var i = 0; i < imgs.length; i++) {\r\n\t\t\t\t\t\tvar img = imgs[i] as any;\r\n\t\t\t\t\t\timg.onclick = function(e) {\r\n\t\t\t\t\t\t\t// that.currentImgUrl = e.currentTarget.src;\r\n\t\t\t\t\t\t\t// that.currentImgs = [];\r\n\t\t\t\t\t\t\t// that.currentImgs.push(that.currentImgUrl);\r\n\t\t\t\t\t\t\t// that.imgBox = true;\r\n\t\t\t\t\t\t\t// that.$forceUpdate();\r\n\t\t\t\t\t\t\t//(window as any).gis.previewImage([e.currentTarget.src]);\r\n\t\t\t\t\t\t\tthat.currentImgUrl = e.currentTarget.src;\r\n\t\t\t\t\t\t\tthat.currentImgs = [];\r\n\t\t\t\t\t\t\tthat.currentImgs.push(that.currentImgUrl);\r\n\t\t\t\t\t\t\t//that.imgBox = true;\r\n\t\t\t\t\t\t\tconst ViewerDom = document.getElementById('viewer');\r\n\t\t\t\t\t\t\t((ViewerDom as any).viewer as any).options.title = false;\r\n\t\t\t\t\t\t\t((ViewerDom as any).viewer as any).options.navbar = false;\r\n\t\t\t\t\t\t\t((ViewerDom as any).viewer as any).options.toolbar = false;\r\n\t\t\t\t\t\t\t((ViewerDom as any).viewer as any).images = that.currentImgs;\r\n\t\t\t\t\t\t\tsetTimeout(function() {\r\n\t\t\t\t\t\t\t\tvar contain = document.getElementsByClassName('descimgBox')[0]\r\n\t\t\t\t\t\t\t\t\t.getElementsByTagName('img');;\r\n\t\t\t\t\t\t\t\tif (contain != null && contain.length > 0) {\r\n\t\t\t\t\t\t\t\t\tcontain[0].click();\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t}, 300)\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\t// img.ontouchend = function(e) {\r\n\t\t\t\t\t\t// \t(window as any).gis.previewImage([e.currentTarget.src]);\r\n\t\t\t\t\t\t// }\r\n\t\t\t\t\t}\r\n\t\t\t\t} else {\r\n\t\t\t\t\tlet imgs = document.getElementsByClassName('newscot')[0].getElementsByTagName('img');\r\n\r\n\t\t\t\t\tfor (var i = 0; i < imgs.length; i++) {\r\n\t\t\t\t\t\tvar img = imgs[i] as any;\r\n\t\t\t\t\t\timg.onclick = function(e) {\r\n\t\t\t\t\t\t\tvar img = imgs[i] as any;\r\n\t\t\t\t\t\t\timg.onclick = function(e) {\r\n\t\t\t\t\t\t\t\t(window as any).gis.previewImage([e.currentTarget.src]);\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\r\n\r\n\t\t\t\tlet mps = document.getElementsByTagName('mp-miniprogram');\r\n\t\t\t\tfor (var i = 0; i < mps.length; i++) {\r\n\t\t\t\t\tvar mp = mps[i] as any;\r\n\t\t\t\t\tvar miniprogramAppid = mp.dataset.miniprogramAppid;\r\n\t\t\t\t\tvar imageUrl = mp.dataset.miniprogramImageurl\r\n\t\t\t\t\tvar miniprogramPath = mp.dataset.miniprogramPath;\r\n\t\t\t\t\tvar miniprogramTitle = mp.dataset.miniprogramTitle;\r\n\t\t\t\t\tvar miniprogramType = mp.dataset.miniprogramType;\r\n\t\t\t\t\tvar dom =\r\n\t\t\t\t\t\t'' +\r\n\t\t\t\t\t\t'' +\r\n\t\t\t\t\t\t'' +\r\n\t\t\t\t\t\t'' +\r\n\t\t\t\t\t\t'' +\r\n\t\t\t\t\t\t'' +\r\n\t\t\t\t\t\t'' +\r\n\t\t\t\t\t\t'' +\r\n\t\t\t\t\t\t'' +\r\n\t\t\t\t\t\t'交易担保' +\r\n\t\t\t\t\t\t'小延商城' +\r\n\t\t\t\t\t\t'' +\r\n\t\t\t\t\t\t'' +\r\n\t\t\t\t\t\t'' +\r\n\t\t\t\t\t\t'' +\r\n\t\t\t\t\t\t'' +\r\n\t\t\t\t\t\tminiprogramTitle + '' +\r\n\t\t\t\t\t\t'' +\r\n\t\t\t\t\t\t'' +\r\n\t\t\t\t\t\t'' +\r\n\t\t\t\t\t\t'' +\r\n\t\t\t\t\t\t'' +\r\n\t\t\t\t\t\t'小程序' +\r\n\t\t\t\t\t\t'' +\r\n\t\t\t\t\t\t'' +\r\n\t\t\t\t\t\t'';\r\n\t\t\t\t\tvar node = document.createElement(\"div\");\r\n\t\t\t\t\tnode.innerHTML = dom;\r\n\t\t\t\t\tmp.parentNode.appendChild(node);\r\n\t\t\t\t}\r\n\t\t\t}, 2000)\r\n\t\t}\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!./xuexiDetail.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!./xuexiDetail.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./xuexiDetail.vue?vue&type=template&id=71b8b3ae&scoped=true\"\nimport script from \"./xuexiDetail.vue?vue&type=script&lang=ts\"\nexport * from \"./xuexiDetail.vue?vue&type=script&lang=ts\"\nimport style0 from \"./xuexiDetail.vue?vue&type=style&index=0&id=71b8b3ae&prod&lang=less&scoped=scoped\"\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 \"71b8b3ae\",\n null\n \n)\n\nexport default component.exports"],"sourceRoot":""}