{"remainingRequest":"/data/jenkins/workspace/test-v5inweb-5.x-vue/node_modules/thread-loader/dist/cjs.js!/data/jenkins/workspace/test-v5inweb-5.x-vue/node_modules/babel-loader/lib/index.js!/data/jenkins/workspace/test-v5inweb-5.x-vue/node_modules/cache-loader/dist/cjs.js??ref--0-0!/data/jenkins/workspace/test-v5inweb-5.x-vue/node_modules/vue-loader/lib/index.js??vue-loader-options!/data/jenkins/workspace/test-v5inweb-5.x-vue/src/components/homeAdvert.vue?vue&type=script&lang=js&","dependencies":[{"path":"/data/jenkins/workspace/test-v5inweb-5.x-vue/src/components/homeAdvert.vue","mtime":1739760944315},{"path":"/data/jenkins/workspace/test-v5inweb-5.x-vue/babel.config.js","mtime":1739760943855},{"path":"/data/jenkins/workspace/test-v5inweb-5.x-vue/node_modules/cache-loader/dist/cjs.js","mtime":499162500000},{"path":"/data/jenkins/workspace/test-v5inweb-5.x-vue/node_modules/thread-loader/dist/cjs.js","mtime":499162500000},{"path":"/data/jenkins/workspace/test-v5inweb-5.x-vue/node_modules/babel-loader/lib/index.js","mtime":315532800000},{"path":"/data/jenkins/workspace/test-v5inweb-5.x-vue/node_modules/cache-loader/dist/cjs.js","mtime":499162500000},{"path":"/data/jenkins/workspace/test-v5inweb-5.x-vue/node_modules/vue-loader/lib/index.js","mtime":1655715099000}],"contextDependencies":[],"result":["import \"core-js/modules/web.dom.iterable\";\nimport { Loading } from 'element-ui';\nexport default {\n inject: ['addTab'],\n data: function data() {\n return {\n bannerArr: [] //广告\n };\n },\n mounted: function mounted() {\n this.AppMarketBannerlist(); //广告列表\n },\n methods: {\n AppMarketBannerlist: function AppMarketBannerlist() {\n var _this = this;\n //广告列表\n // let options={\n // target:document.querySelector(\".homeAdvert\"), \n // text: '加载中...',\n // spinner: 'el-icon-loading',\n // }\n // const loading = Loading.service(options);//开始加载\n this.$api.AppMarketBannerlistApi({}, {\n onSucess: function onSucess(response) {\n // this.$nextTick(() => { // 以服务的方式调用的 Loading 需要异步关闭\n // loading.close();//关闭加载\n // });\n\n if (response.data.data.data) {\n var Arry = [];\n response.data.data.data.forEach(function (item) {\n var obj = {};\n obj.name = item.items['__f1dc2wtiu1VnfSPzQse'].value; //标题\n obj.pic = item.items['__cMLE2QENXQjNp1sWHE6'].value && JSON.parse(item.items['__cMLE2QENXQjNp1sWHE6'].value)[0].path; //图片\n obj.appid = item.items['__qPv375wKiySlNqrRlEi'].value; //应用id-跳转到详情页面\n obj.imgsort = item.items['__XkErrW7l1lWDQVE29vq'].value; //图片排序\n Arry.push(obj);\n });\n _this.bannerArr = Arry;\n }\n }\n });\n },\n applidetaillink: function applidetaillink(obj) {\n //进入详情\n var param = {\n id: \"applicationMarket\",\n name: '应用市场',\n linkType: 'applicationMarket',\n actionContent: \"\",\n icon: \"-1\",\n key: \"\"\n };\n this.addTab(param); //监听传递给父元素---重要父子传递 \n }\n }\n};",null]}