{"remainingRequest":"/data/jenkins/workspace/admin.ws.baibaodun.com.cn/node_modules/vue-loader/lib/index.js??vue-loader-options!/data/jenkins/workspace/admin.ws.baibaodun.com.cn/src/views/pagediy/components/mobileConfig/c_home_comb.vue?vue&type=script&lang=js","dependencies":[{"path":"/data/jenkins/workspace/admin.ws.baibaodun.com.cn/src/views/pagediy/components/mobileConfig/c_home_comb.vue","mtime":1701741776319},{"path":"/data/jenkins/workspace/admin.ws.baibaodun.com.cn/node_modules/cache-loader/dist/cjs.js","mtime":1701741918737},{"path":"/data/jenkins/workspace/admin.ws.baibaodun.com.cn/node_modules/thread-loader/dist/cjs.js","mtime":1701741918386},{"path":"/data/jenkins/workspace/admin.ws.baibaodun.com.cn/node_modules/babel-loader/lib/index.js","mtime":1701741929501},{"path":"/data/jenkins/workspace/admin.ws.baibaodun.com.cn/node_modules/cache-loader/dist/cjs.js","mtime":1701741918737},{"path":"/data/jenkins/workspace/admin.ws.baibaodun.com.cn/node_modules/vue-loader/lib/index.js","mtime":1701741928146}],"contextDependencies":[],"result":["//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\n// +---------------------------------------------------------------------\n// | CRMEB [ CRMEB赋能开发者,助力企业发展 ]\n// +---------------------------------------------------------------------\n// | Copyright (c) 2016~2023 https://www.crmeb.com All rights reserved.\n// +---------------------------------------------------------------------\n// | Licensed CRMEB并不是自由软件,未经许可不能去掉CRMEB相关版权\n// +---------------------------------------------------------------------\n// | Author: CRMEB Team \n// +---------------------------------------------------------------------\nimport toolCom from '../mobileConfigRight/index.js';\nimport rightBtn from '../rightBtn/index.vue';\nexport default {\n name: 'c_home_comb',\n componentsName: 'home_comb',\n cname: '组合组件',\n props: {\n activeIndex: {\n type: null,\n },\n num: {\n type: null,\n },\n index: {\n type: null,\n },\n },\n components: {\n ...toolCom,\n rightBtn,\n },\n data() {\n return {\n hotIndex: 1,\n configObj: {}, // 配置对象\n rCom: [\n {\n components: toolCom.c_checked_tab,\n configNme: 'setUp',\n },\n ],\n automatic: [\n {\n components: toolCom.c_tab,\n configNme: 'tabConfig',\n },\n {\n components: toolCom.c_upload_img,\n configNme: 'logoConfig',\n },\n {\n components: toolCom.c_input_item,\n configNme: 'hotWords',\n },\n ], // 当前页面组件\n };\n },\n watch: {\n num(nVal) {\n let value = JSON.parse(JSON.stringify(this.$store.state.mobildConfig.defaultArray[nVal]));\n this.configObj = value;\n },\n configObj: {\n handler(nVal, oVal) {\n this.$store.commit('mobildConfig/UPDATEARR', { num: this.num, val: nVal });\n },\n deep: true,\n },\n 'configObj.tabConfig.tabVal': {\n handler(nVal, oVal) {\n var arr = [this.rCom[0]];\n if (nVal == 0) {\n let tempArr = [\n {\n components: toolCom.c_title,\n configNme: 'tabConfig',\n },\n {\n components: toolCom.c_txt_tab,\n configNme: 'tabConfig',\n },\n {\n components: toolCom.c_txt_tab,\n configNme: 'searConfig',\n },\n {\n components: toolCom.c_upload_img,\n configNme: 'logoConfig',\n },\n {\n components: toolCom.c_title,\n configNme: 'placeWords',\n },\n {\n components: toolCom.c_input_item,\n configNme: 'placeWords',\n },\n {\n components: toolCom.c_title,\n configNme: 'hotWords',\n },\n {\n components: toolCom.c_hot_word,\n configNme: 'hotWords',\n },\n {\n components: toolCom.c_input_item,\n configNme: 'titleConfig',\n },\n {\n components: toolCom.c_title,\n configNme: 'textColor',\n },\n {\n components: toolCom.c_bg_color,\n configNme: 'textColor',\n },\n {\n components: toolCom.c_bg_color,\n configNme: 'borderColor',\n },\n {\n components: toolCom.c_txt_tab,\n configNme: 'textPosition',\n },\n {\n components: toolCom.c_slider,\n configNme: 'contentStyle',\n },\n ];\n this.rCom = arr.concat(tempArr);\n } else if (nVal == 1) {\n let tempArr = [\n {\n components: toolCom.c_title,\n configNme: 'tabConfig',\n },\n {\n components: toolCom.c_txt_tab,\n configNme: 'tabConfig',\n },\n {\n components: toolCom.c_title,\n configNme: 'listConfig',\n },\n {\n components: toolCom.c_classify,\n configNme: 'listConfig',\n },\n {\n components: toolCom.c_title,\n configNme: 'fontColor',\n },\n {\n components: toolCom.c_bg_color,\n configNme: 'fontColor',\n },\n {\n components: toolCom.c_bg_color,\n configNme: 'checkColor',\n },\n ];\n this.rCom = arr.concat(tempArr);\n } else if (nVal == 2) {\n let tempArr = [\n {\n components: toolCom.c_title,\n configNme: 'tabConfig',\n },\n {\n components: toolCom.c_txt_tab,\n configNme: 'tabConfig',\n },\n {\n components: toolCom.c_title,\n configNme: 'swiperConfig',\n },\n {\n components: toolCom.c_menu_list,\n configNme: 'swiperConfig',\n },\n {\n components: toolCom.c_title,\n configNme: 'docConfig',\n },\n {\n components: toolCom.c_txt_tab,\n configNme: 'txtStyle',\n },\n {\n components: toolCom.c_bg_color,\n configNme: 'docColor',\n },\n {\n components: toolCom.c_txt_tab,\n configNme: 'docConfig',\n },\n {\n components: toolCom.c_slider,\n configNme: 'contentStyleBanner',\n },\n ];\n this.rCom = arr.concat(tempArr);\n }\n },\n deep: true,\n },\n },\n mounted() {\n this.$nextTick(() => {\n let value = JSON.parse(JSON.stringify(this.$store.state.mobildConfig.defaultArray[this.num]));\n this.configObj = value;\n });\n },\n methods: {\n getConfig() {\n if (this.configObj.searConfig.tabVal === 0) {\n this.configObj.logoConfig.isShow = 0;\n } else {\n this.configObj.logoConfig.isShow = 1;\n }\n },\n },\n};\n",null]}