e4a6eaaef54ba111142f52fbc90f2f7e.json 8.4 KB

1
  1. {"remainingRequest":"D:\\front\\item\\zyAdmin\\node_modules\\vue-loader\\lib\\index.js??vue-loader-options!D:\\front\\item\\zyAdmin\\src\\components\\mobileConfig\\c_home_hot.vue?vue&type=script&lang=js","dependencies":[{"path":"D:\\front\\item\\zyAdmin\\src\\components\\mobileConfig\\c_home_hot.vue","mtime":1761614938959},{"path":"D:\\front\\item\\zyAdmin\\node_modules\\cache-loader\\dist\\cjs.js","mtime":1761614927801},{"path":"D:\\front\\item\\zyAdmin\\node_modules\\babel-loader\\lib\\index.js","mtime":1761614927320},{"path":"D:\\front\\item\\zyAdmin\\node_modules\\cache-loader\\dist\\cjs.js","mtime":1761614927801},{"path":"D:\\front\\item\\zyAdmin\\node_modules\\vue-loader\\lib\\index.js","mtime":1761614937402}],"contextDependencies":[],"result":[{"type":"Buffer","data":"base64:DQppbXBvcnQgdG9vbENvbSBmcm9tICdAL2NvbXBvbmVudHMvbW9iaWxlQ29uZmlnUmlnaHQvaW5kZXguanMnOw0KaW1wb3J0IHJpZ2h0QnRuIGZyb20gJ0AvY29tcG9uZW50cy9yaWdodEJ0bi9pbmRleC52dWUnOw0KaW1wb3J0IHsgbWFwU3RhdGUsIG1hcE11dGF0aW9ucywgbWFwQWN0aW9ucyB9IGZyb20gJ3Z1ZXgnOw0KZXhwb3J0IGRlZmF1bHQgew0KICBuYW1lOiAnY19ob21lX2hvdCcsDQogIGNvbXBvbmVudHNOYW1lOiAnaG9tZV9ob3QnLA0KICBjbmFtZTogJ+i2heWAvOeIhuasvicsDQogIHByb3BzOiB7DQogICAgYWN0aXZlSW5kZXg6IHsNCiAgICAgIHR5cGU6IG51bGwsDQogICAgfSwNCiAgICBudW06IHsNCiAgICAgIHR5cGU6IG51bGwsDQogICAgfSwNCiAgICBpbmRleDogew0KICAgICAgdHlwZTogbnVsbCwNCiAgICB9LA0KICB9LA0KICBjb21wb25lbnRzOiB7DQogICAgLi4udG9vbENvbSwNCiAgICByaWdodEJ0biwNCiAgfSwNCiAgd2F0Y2g6IHsNCiAgICBudW0oblZhbCkgew0KICAgICAgLy8gZGVidWdnZXI7DQogICAgICBsZXQgdmFsdWUgPSBKU09OLnBhcnNlKEpTT04uc3RyaW5naWZ5KHRoaXMuJHN0b3JlLnN0YXRlLm1vYmlsZENvbmZpZy5kZWZhdWx0QXJyYXlbblZhbF0pKTsNCiAgICAgIHRoaXMuY29uZmlnT2JqID0gdmFsdWU7DQogICAgfSwNCiAgICBjb25maWdPYmo6IHsNCiAgICAgIGhhbmRsZXIoblZhbCwgb1ZhbCkgew0KICAgICAgICB0aGlzLiRzdG9yZS5jb21taXQoJ21vYmlsZENvbmZpZy9VUERBVEVBUlInLCB7IG51bTogdGhpcy5udW0sIHZhbDogblZhbCB9KTsNCiAgICAgIH0sDQogICAgICBkZWVwOiB0cnVlLA0KICAgIH0sDQogICAgJ2NvbmZpZ09iai5zZXRVcC50YWJWYWwnOiB7DQogICAgICBoYW5kbGVyKG5WYWwsIG9WYWwpIHsNCiAgICAgICAgdmFyIGFyciA9IFt0aGlzLnJDb21bMF1dOw0KICAgICAgICBpZiAoblZhbCA9PSAwKSB7DQogICAgICAgICAgbGV0IHRlbXBBcnIgPSBbDQogICAgICAgICAgICB7DQogICAgICAgICAgICAgIGNvbXBvbmVudHM6IHRvb2xDb20uY19pbnB1dF9pdGVtLA0KICAgICAgICAgICAgICBjb25maWdObWU6ICd0aXRsZUNvbmZpZycsDQogICAgICAgICAgICB9LA0KICAgICAgICAgICAgew0KICAgICAgICAgICAgICBjb21wb25lbnRzOiB0b29sQ29tLmNfaW5wdXRfaXRlbSwNCiAgICAgICAgICAgICAgY29uZmlnTm1lOiAnZGVzQ29uZmlnJywNCiAgICAgICAgICAgIH0sDQogICAgICAgICAgICB7DQogICAgICAgICAgICAgIGNvbXBvbmVudHM6IHRvb2xDb20uY19tZW51X2xpc3QsDQogICAgICAgICAgICAgIGNvbmZpZ05tZTogJ21lbnVDb25maWcnLA0KICAgICAgICAgICAgfSwNCiAgICAgICAgICBdOw0KICAgICAgICAgIHRoaXMuckNvbSA9IGFyci5jb25jYXQodGVtcEFycik7DQogICAgICAgIH0gZWxzZSB7DQogICAgICAgICAgbGV0IHRlbXBBcnIgPSBbDQogICAgICAgICAgICB7DQogICAgICAgICAgICAgIGNvbXBvbmVudHM6IHRvb2xDb20uY19iZ19jb2xvciwNCiAgICAgICAgICAgICAgY29uZmlnTm1lOiAndGhlbWVDb2xvcicsDQogICAgICAgICAgICB9LA0KICAgICAgICAgICAgew0KICAgICAgICAgICAgICBjb21wb25lbnRzOiB0b29sQ29tLmNfYmdfY29sb3IsDQogICAgICAgICAgICAgIGNvbmZpZ05tZTogJ2JnQ29sb3InLA0KICAgICAgICAgICAgfSwNCiAgICAgICAgICAgIHsNCiAgICAgICAgICAgICAgY29tcG9uZW50czogdG9vbENvbS5jX2JnX2NvbG9yLA0KICAgICAgICAgICAgICBjb25maWdObWU6ICdib3hDb2xvcicsDQogICAgICAgICAgICB9LA0KICAgICAgICAgICAgew0KICAgICAgICAgICAgICBjb21wb25lbnRzOiB0b29sQ29tLmNfc2xpZGVyLA0KICAgICAgICAgICAgICBjb25maWdObWU6ICdtYkNvbmZpZycsDQogICAgICAgICAgICB9LA0KICAgICAgICAgIF07DQogICAgICAgICAgdGhpcy5yQ29tID0gYXJyLmNvbmNhdCh0ZW1wQXJyKTsNCiAgICAgICAgfQ0KICAgICAgfSwNCiAgICAgIGRlZXA6IHRydWUsDQogICAgfSwNCiAgfSwNCiAgZGF0YSgpIHsNCiAgICByZXR1cm4gew0KICAgICAgY29uZmlnT2JqOiB7fSwNCiAgICAgIHJDb206IFsNCiAgICAgICAgew0KICAgICAgICAgIGNvbXBvbmVudHM6IHRvb2xDb20uY19zZXRfdXAsDQogICAgICAgICAgY29uZmlnTm1lOiAnc2V0VXAnLA0KICAgICAgICB9LA0KICAgICAgXSwNCiAgICB9Ow0KICB9LA0KICBtb3VudGVkKCkgew0KICAgIHRoaXMuJG5leHRUaWNrKCgpID0+IHsNCiAgICAgIGxldCB2YWx1ZSA9IEpTT04ucGFyc2UoSlNPTi5zdHJpbmdpZnkodGhpcy4kc3RvcmUuc3RhdGUubW9iaWxkQ29uZmlnLmRlZmF1bHRBcnJheVt0aGlzLm51bV0pKTsNCiAgICAgIHRoaXMuY29uZmlnT2JqID0gdmFsdWU7DQogICAgfSk7DQogIH0sDQogIG1ldGhvZHM6IHsNCiAgICBnZXRDb25maWcoZGF0YSkge30sDQogICAgaGFuZGxlU3VibWl0KG5hbWUpIHsNCiAgICAgIGxldCBvYmogPSB7fTsNCiAgICAgIG9iai5hY3RpdmVJbmRleCA9IHRoaXMuYWN0aXZlSW5kZXg7DQogICAgICBvYmouZGF0YSA9IHRoaXMuY29uZmlnT2JqOw0KICAgICAgdGhpcy5hZGQob2JqKTsNCiAgICB9LA0KICAgIC4uLm1hcE11dGF0aW9ucyh7DQogICAgICBhZGQ6ICdtb2JpbGRDb25maWcvVVBEQVRFQVJSJywNCiAgICB9KSwNCiAgfSwNCn07DQo="},{"version":3,"sources":["c_home_hot.vue"],"names":[],"mappings":";AAmBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA","file":"c_home_hot.vue","sourceRoot":"src/components/mobileConfig","sourcesContent":["<template>\r\n <div class=\"mobile-config hot\">\r\n <div v-for=\"(item, key) in rCom\" :key=\"key\">\r\n <component\r\n :is=\"item.components.name\"\r\n :configObj=\"configObj\"\r\n ref=\"childData\"\r\n :configNme=\"item.configNme\"\r\n :key=\"key\"\r\n @getConfig=\"getConfig\"\r\n :index=\"activeIndex\"\r\n :num=\"item.num\"\r\n ></component>\r\n </div>\r\n <rightBtn :activeIndex=\"activeIndex\" :configObj=\"configObj\"></rightBtn>\r\n </div>\r\n</template>\r\n\r\n<script>\r\nimport toolCom from '@/components/mobileConfigRight/index.js';\r\nimport rightBtn from '@/components/rightBtn/index.vue';\r\nimport { mapState, mapMutations, mapActions } from 'vuex';\r\nexport default {\r\n name: 'c_home_hot',\r\n componentsName: 'home_hot',\r\n cname: '超值爆款',\r\n props: {\r\n activeIndex: {\r\n type: null,\r\n },\r\n num: {\r\n type: null,\r\n },\r\n index: {\r\n type: null,\r\n },\r\n },\r\n components: {\r\n ...toolCom,\r\n rightBtn,\r\n },\r\n watch: {\r\n num(nVal) {\r\n // debugger;\r\n let value = JSON.parse(JSON.stringify(this.$store.state.mobildConfig.defaultArray[nVal]));\r\n this.configObj = value;\r\n },\r\n configObj: {\r\n handler(nVal, oVal) {\r\n this.$store.commit('mobildConfig/UPDATEARR', { num: this.num, val: nVal });\r\n },\r\n deep: true,\r\n },\r\n 'configObj.setUp.tabVal': {\r\n handler(nVal, oVal) {\r\n var arr = [this.rCom[0]];\r\n if (nVal == 0) {\r\n let tempArr = [\r\n {\r\n components: toolCom.c_input_item,\r\n configNme: 'titleConfig',\r\n },\r\n {\r\n components: toolCom.c_input_item,\r\n configNme: 'desConfig',\r\n },\r\n {\r\n components: toolCom.c_menu_list,\r\n configNme: 'menuConfig',\r\n },\r\n ];\r\n this.rCom = arr.concat(tempArr);\r\n } else {\r\n let tempArr = [\r\n {\r\n components: toolCom.c_bg_color,\r\n configNme: 'themeColor',\r\n },\r\n {\r\n components: toolCom.c_bg_color,\r\n configNme: 'bgColor',\r\n },\r\n {\r\n components: toolCom.c_bg_color,\r\n configNme: 'boxColor',\r\n },\r\n {\r\n components: toolCom.c_slider,\r\n configNme: 'mbConfig',\r\n },\r\n ];\r\n this.rCom = arr.concat(tempArr);\r\n }\r\n },\r\n deep: true,\r\n },\r\n },\r\n data() {\r\n return {\r\n configObj: {},\r\n rCom: [\r\n {\r\n components: toolCom.c_set_up,\r\n configNme: 'setUp',\r\n },\r\n ],\r\n };\r\n },\r\n mounted() {\r\n this.$nextTick(() => {\r\n let value = JSON.parse(JSON.stringify(this.$store.state.mobildConfig.defaultArray[this.num]));\r\n this.configObj = value;\r\n });\r\n },\r\n methods: {\r\n getConfig(data) {},\r\n handleSubmit(name) {\r\n let obj = {};\r\n obj.activeIndex = this.activeIndex;\r\n obj.data = this.configObj;\r\n this.add(obj);\r\n },\r\n ...mapMutations({\r\n add: 'mobildConfig/UPDATEARR',\r\n }),\r\n },\r\n};\r\n</script>\r\n\r\n<style scoped lang=\"scss\">\r\n.hot {\r\n padding-right: 14px;\r\n padding-left: 14px;\r\n}\r\n</style>\r\n"]}]}