{"remainingRequest":"/data/jenkins/workspace/badp-bcxin-web-5.x-vue/node_modules/thread-loader/dist/cjs.js!/data/jenkins/workspace/badp-bcxin-web-5.x-vue/node_modules/babel-loader/lib/index.js!/data/jenkins/workspace/badp-bcxin-web-5.x-vue/node_modules/cache-loader/dist/cjs.js??ref--0-0!/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/babel.config.js","mtime":1725957645200},{"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":456789000000},{"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":499162500000}],"contextDependencies":[],"result":["import \"core-js/modules/es6.regexp.replace\";\nimport \"core-js/modules/es6.array.sort\";\nimport { Loading } from 'element-ui';\nexport default {\n props: {\n showdialogPlatAd: {\n type: Boolean,\n default: false\n }\n },\n data: function 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: function showdialogPlatAd() {\n this.visible = this.showdialogPlatAd;\n if (this.visible) {}\n }\n },\n created: function created() {\n this.list();\n },\n methods: {\n show: function show() {\n //Home.vue 右上角点击滚动信息 显示弹窗\n this.visible = true;\n },\n list: function list() {\n var _this = this;\n this.$api.bcxplatAdlistApi(this.param, {\n onSucess: function onSucess(res) {\n if (res.data.errcode == 0) {\n _this.listArr = res.data.data.data;\n _this.listArr.sort(function (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 detail: function detail(item) {\n var _this2 = this;\n //如果点击同一个列表不加载接口\n if (this.itemid == item.items.__8fLpj6okoTusT9qs86P.value) return;\n var options = {\n target: document.querySelector(\".platAdContainerBox\"),\n text: '加载中...',\n spinner: 'el-icon-loading'\n };\n var loading = Loading.service(options); //开始加载\n this.platAdDetailHtml = \"\";\n var data = {\n msgId: item.items.__8fLpj6okoTusT9qs86P.value\n };\n this.$api.bcxplatAdlistDetailApi(data, {\n onSucess: function onSucess(res) {\n _this2.$nextTick(function () {\n // 以服务的方式调用的 Loading 需要异步关闭\n loading.close(); //关闭加载\n });\n if (res.data.errcode == 0) {\n _this2.$nextTick(function () {\n _this2.platAdDetailHtml = _this2.formatText(res.data.data.data[0].items.__Yx6slC8TldaiZwxXkV3.value);\n _this2.itemid = item.items.__8fLpj6okoTusT9qs86P.value;\n });\n }\n }\n });\n },\n formatText: function formatText(value) {\n if (value) {\n value = value.replace(/