{"remainingRequest":"/data/jenkins/workspace/badp-bcxin-web-5.x-vue/node_modules/vue-loader/lib/index.js??vue-loader-options!/data/jenkins/workspace/badp-bcxin-web-5.x-vue/src/components/platAd.vue?vue&type=script&lang=js&","dependencies":[{"path":"/data/jenkins/workspace/badp-bcxin-web-5.x-vue/src/components/platAd.vue","mtime":1725957645728},{"path":"/data/jenkins/workspace/badp-bcxin-web-5.x-vue/node_modules/cache-loader/dist/cjs.js","mtime":499162500000},{"path":"/data/jenkins/workspace/badp-bcxin-web-5.x-vue/node_modules/thread-loader/dist/cjs.js","mtime":499162500000},{"path":"/data/jenkins/workspace/badp-bcxin-web-5.x-vue/node_modules/babel-loader/lib/index.js","mtime":315532800000},{"path":"/data/jenkins/workspace/badp-bcxin-web-5.x-vue/node_modules/cache-loader/dist/cjs.js","mtime":499162500000},{"path":"/data/jenkins/workspace/badp-bcxin-web-5.x-vue/node_modules/vue-loader/lib/index.js","mtime":1655715099000}],"contextDependencies":[],"result":["\nimport { Loading } from 'element-ui';\nexport default {\n props: {\n showdialogPlatAd: {\n type: Boolean,\n default: false,\n },\n },\n data(){\n return{\n visible: this.showdialogPlatAd, \n activeName:0,\n param:{\n _currpage:1,\n lines:10\n },\n listArr:[],\n platAdDetailHtml:\"\",\n itemid:'',//判断是否已经获取不加载接口\n }\n },\n watch: {\n showdialogPlatAd() {\n this.visible = this.showdialogPlatAd;\n if (this.visible) { \n }\n },\n },\n created() {\n this.list()\n },\n methods: {\n show(){//Home.vue 右上角点击滚动信息 显示弹窗\n this.visible =true\n },\n list(){\n this.$api.bcxplatAdlistApi(this.param,{ \n onSucess: res => {\n if(res.data.errcode==0){\n this.listArr=res.data.data.data\n this.listArr.sort((a,b)=>{\n return (new Date(b.items.__RHSQX3JfmxBzi1x3Obo.value)-new Date(a.items.__RHSQX3JfmxBzi1x3Obo.value))\n })\n if(this.listArr){\n this.detail(this.listArr[0])\n }\n }\n }\n }\n )\n }, \n detail(item){\n //如果点击同一个列表不加载接口\n if(this.itemid==item.items.__8fLpj6okoTusT9qs86P.value) return\n \n let options={\n target:document.querySelector(\".platAdContainerBox\"), \n text: '加载中...',\n spinner: 'el-icon-loading',\n }\n const loading = Loading.service(options);//开始加载\n this.platAdDetailHtml=\"\"\n let data={msgId:item.items.__8fLpj6okoTusT9qs86P.value}\n this.$api.bcxplatAdlistDetailApi(data,{ \n onSucess: res => {\n this.$nextTick(() => { // 以服务的方式调用的 Loading 需要异步关闭\n loading.close();//关闭加载\n });\n if(res.data.errcode==0){\n this.$nextTick(()=>{\n this.platAdDetailHtml=this.formatText(res.data.data.data[0].items.__Yx6slC8TldaiZwxXkV3.value)\n this.itemid=item.items.__8fLpj6okoTusT9qs86P.value\n });\n }\n }\n }\n )\n },\n formatText(value){\n if(value){ \n value= value.replace(/