diff --git a/pages/fertilizer_machine/fertilizer_machine.vue b/pages/fertilizer_machine/fertilizer_machine.vue index 6bc7b96..01d36d5 100644 --- a/pages/fertilizer_machine/fertilizer_machine.vue +++ b/pages/fertilizer_machine/fertilizer_machine.vue @@ -224,7 +224,7 @@ indexs: 1, inputData1: [], - timer: null + // timer: null }; }, watch: { @@ -234,13 +234,13 @@ this.deviceId = option.id this.dataInit() let that = this - this.timer = setInterval(function() { - that.dataInit(); - that.getReg(); - }, 3000); + // this.timer = setInterval(function() { + // that.dataInit(); + // that.getReg(); + // }, 3000); }, onUnload() { - clearTimeout(this.timer) + // clearTimeout(this.timer) }, onPullDownRefresh() { uni.showLoading({ diff --git a/unpackage/dist/dev/.sourcemap/mp-weixin/pages/fertilizer_machine/fertilizer_machine.js.map b/unpackage/dist/dev/.sourcemap/mp-weixin/pages/fertilizer_machine/fertilizer_machine.js.map index b2280b1..e2aabbd 100644 --- a/unpackage/dist/dev/.sourcemap/mp-weixin/pages/fertilizer_machine/fertilizer_machine.js.map +++ b/unpackage/dist/dev/.sourcemap/mp-weixin/pages/fertilizer_machine/fertilizer_machine.js.map @@ -1 +1 @@ -{"version":3,"sources":["uni-app:///main.js",null,"webpack:///C:/Users/PC/Desktop/2023-2-13/云上温室/wszhyWx/pages/fertilizer_machine/fertilizer_machine.vue?aa6b","webpack:///C:/Users/PC/Desktop/2023-2-13/云上温室/wszhyWx/pages/fertilizer_machine/fertilizer_machine.vue?f02e","webpack:///C:/Users/PC/Desktop/2023-2-13/云上温室/wszhyWx/pages/fertilizer_machine/fertilizer_machine.vue?96a6","uni-app:///pages/fertilizer_machine/fertilizer_machine.vue","webpack:///C:/Users/PC/Desktop/2023-2-13/云上温室/wszhyWx/pages/fertilizer_machine/fertilizer_machine.vue?9225","webpack:///C:/Users/PC/Desktop/2023-2-13/云上温室/wszhyWx/pages/fertilizer_machine/fertilizer_machine.vue?894d"],"names":["wx","__webpack_require_UNI_MP_PLUGIN__","__webpack_require__","createPage","Page","data","background","backgroundColor","dataInfo2_list","image","title","timer","signalCurrent","show","rightList2","irrigate_value1","irrigate_value2","irrigate_value3","deviceId","inputData","centerBottom","right2Index","openType","left1Act","topActive","indexs","inputData1","watch","onLoad","that","onUnload","clearTimeout","onPullDownRefresh","uni","methods","toWebView","url","countData10","dataInit","type","getReg","equipmentId","pattern","regNum","console","padString","getType00","change00","list","target","value","getDataInfo2","getData29","typeNumber","getData30","changeData10","change","regAddress","num","delayTimer","clearInterval","changeData","getcenterBottom","countData","str","index","dataCode","typeList","countType"],"mappings":";;;;;;;;;;;;;AAAA;AAGA;AACA;AAHA;AACAA,EAAE,CAACC,iCAAiC,GAAGC,mBAAmB;AAG1DC,UAAU,CAACC,2BAAI,CAAC,C;;;;;;;;;;;;;ACLhB;AAAA;AAAA;AAAA;AAAA;AAAA;AAA2I;AAC3I;AACsE;AACL;AACsC;;;AAGvG;AACgL;AAChL,gBAAgB,yLAAU;AAC1B,EAAE,wFAAM;AACR,EAAE,yGAAM;AACR,EAAE,kHAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,6GAAU;AACZ;AACA;;AAEA;AACe,gF;;;;;;;;;;;;ACvBf;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA,aAAa,2OAEN;AACP,KAAK;AACL;AACA,aAAa,qOAEN;AACP,KAAK;AACL;AACA,aAAa,qOAEN;AACP,KAAK;AACL;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;AC5EA;AAAA;AAAA;AAAA;AAAmqB,CAAgB,wrBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;eC+JvrB;EACAC;IACA;MACA;MACAC;QACAC;MACA;MACA;;MAEAC;QACAC;QACAC;QACAC;MACA,GACA;QACAF;QACAC;QACAC;MACA,GACA;QACAF;QACAC;QACAC;MACA,GACA;QACAF;QACAC;QACAC;MACA,GACA;QACAF;QACAC;QACAC;MACA,GACA;QACAF;QACAC;QACAC;MACA,EACA;MAEAC;MAEAC;MACAC,uBACA,UACA,UACA,UACA,SACA,SACA,SACA,OACA;MACAC;MACAC;MACAC;MACAC;MACAC;MACAC;MACAC;MACAC;MACAC;MAEAC;MACAC;MACAC;MAEAf;IACA;EACA;EACAgB,QAEA;EACAC;IACA;IACA;IACA;IACA;MACAC;MACAA;IACA;EACA;EACAC;IACAC;EACA;EACAC;IACAC;MACAvB;IACA;IACA;IACA;EACA;EACAwB;IACAC;MACAF;QACAG;MACA;IACA;IACAC;MACA;QACA;MACA;QACA;MACA;IACA;IACAC;MAAA;MACA;MACA;MACA;MACA;MACA;MACA;QACA;QACA;QAAA;QACA;MACA;MACA;QACAF;QACA/B;MACA;QACA;UACA4B;UACAA;UACA;UACA;UACA;UACA;UACA;QACA;UACAJ;YACAnB;YACA6B;UACA;QACA;MACA;IAGA;IACAC;MAAA;MACA;MACA;MACA;MACA;MACA;QACAC;QACAC;QAAA;QACAC;MACA;MAEA;QACAP;QACA/B;MACA;QACAuC;QACA;UACAX;UACAA;UACA;UACA;UACA,gGACA;UACAW;QACA;UACAf;YACAnB;YACA6B;UACA;QACA;MACA;IACA;IACAM;MACA;IACA;IACAC;MACA;MACAF;MACA;QACA;MACA;QACA;MACA;QACA;MACA;QACA;MACA;IACA;IACAG;MACAd;QACAvB;MACA;MACA;MACA;MACA;QACAsC;MACA;QACAA;MACA;MACA;QACAA;MACA;QACAA;MACA;MACA;QACAA;MACA;QACAA;MACA;MACA;MACA;QACAC;UACAC;QACA;MACA;MACA;IACA;IACAC;MACA;MACA;MACA;MACA;MACA;MACA;MACA;IACA;IACA;IACAC;MACA;MACA;MACA;MACA;QACA;UACAC;QACA;MACA;MACA;MACA;MACA;MACA;QACA;UACA;QACA;MACA;IACA;IACA;IACAC;MACA;MACA;MACA;MACA;MACA;MACA;MACA;MACA;IAAA,CAEA;IACAC;MACA;MACA;QACAN;UACAC;QACA;MACA;MACA;IACA;IACA;IACAM;MACA;QACAf;QACAgB;QACAC;MACA;MACA;IACA;IACA;IACAC;MAAA;MACA;MACA;MACA;MACA;MACA;MAEA;QACA;QACA;UACA9B;UACA+B;QACA;MACA;IACA;IACAC;MAAA;MACA;MACA;QACAzB;QACA/B;MACA;QACA;UACA4B;UACA;UAEAJ;YACAnB;YACA6B;UACA;QACA;UACAV;YACAnB;YACA6B;UACA;QACA;MACA;IACA;IACAuB;MACA;MACA;MACA;MACA;MACA;MACA;MACA;MACA;QACA;UACA;QACA;MACA;MACA;QACA;UACA;QACA;MACA;MACA;QACA;UACA;QACA;MACA;MACA;QACA;UACA;QACA;MACA;IACA;IACAC;MACA;QACA;MACA;QACA;MACA;IACA;EAAA,2EACAC;IACA;EACA,kFACA3D;IACA;MACA;IACA;MACA;IACA;EACA,4EACA4D;IACA;MACA;IACA;MACA;IACA;MACA;IACA;MACA;IACA;MACA;IACA;MACA;IACA;MACA;IACA;EACA,8EAMA5D;IACA;EACA,8EACAA;IACA;EACA,8EACAA;IAEA;EACA,gFACA6D;IAAA;IACA;IAEA;IACAC;MAEA;QACAvB;QACAwB;MACA;IACA;IAGA;MACA;IACA;MACA;IACA;MACA;IACA;MACA;IACA;EACA,oFACAH;IACA;EACA,wEAEAA;IACA;IACA;IACA;EACA,4EAEA;IACA;IACA;IACA;EACA;AAEA;AAAA,2B;;;;;;;;;;;;;AC3kBA;AAAA;AAAA;AAAA;AAAkxC,CAAgB,+uCAAG,EAAC,C;;;;;;;;;;;ACAtyC;AACA,OAAO,KAAU,EAAE,kBAKd","file":"pages/fertilizer_machine/fertilizer_machine.js","sourcesContent":["import 'uni-pages';\n// @ts-ignore\nwx.__webpack_require_UNI_MP_PLUGIN__ = __webpack_require__;\nimport Vue from 'vue'\nimport Page from './pages/fertilizer_machine/fertilizer_machine.vue'\ncreatePage(Page)","import { render, staticRenderFns, recyclableRender, components } from \"./fertilizer_machine.vue?vue&type=template&id=04917a06&scoped=true&\"\nvar renderjs\nimport script from \"./fertilizer_machine.vue?vue&type=script&lang=js&\"\nexport * from \"./fertilizer_machine.vue?vue&type=script&lang=js&\"\nimport style0 from \"./fertilizer_machine.vue?vue&type=style&index=0&id=04917a06&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!D:\\\\HbuilderX\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\runtime\\\\componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"04917a06\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"pages/fertilizer_machine/fertilizer_machine.vue\"\nexport default component.exports","export * from \"-!D:\\\\HbuilderX\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\templateLoader.js??vue-loader-options!D:\\\\HbuilderX\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--17-0!D:\\\\HbuilderX\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\template.js!D:\\\\HbuilderX\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-uni-app-loader\\\\page-meta.js!D:\\\\HbuilderX\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\HbuilderX\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./fertilizer_machine.vue?vue&type=template&id=04917a06&scoped=true&\"","var components\ntry {\n components = {\n uNavbar: function () {\n return import(\n /* webpackChunkName: \"node-modules/uview-ui/components/u-navbar/u-navbar\" */ \"uview-ui/components/u-navbar/u-navbar.vue\"\n )\n },\n uPopup: function () {\n return import(\n /* webpackChunkName: \"node-modules/uview-ui/components/u-popup/u-popup\" */ \"uview-ui/components/u-popup/u-popup.vue\"\n )\n },\n uToast: function () {\n return import(\n /* webpackChunkName: \"node-modules/uview-ui/components/u-toast/u-toast\" */ \"uview-ui/components/u-toast/u-toast.vue\"\n )\n },\n }\n} catch (e) {\n if (\n e.message.indexOf(\"Cannot find module\") !== -1 &&\n e.message.indexOf(\".vue\") !== -1\n ) {\n console.error(e.message)\n console.error(\"1. 排查组件名称拼写是否正确\")\n console.error(\n \"2. 排查组件是否符合 easycom 规范,文档:https://uniapp.dcloud.net.cn/collocation/pages?id=easycom\"\n )\n console.error(\n \"3. 若组件不符合 easycom 规范,需手动引入,并在 components 中注册该组件\"\n )\n } else {\n throw e\n }\n}\nvar render = function () {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n var l0 = _vm.__map(64, function (item, index) {\n var $orig = _vm.__get_orig(item)\n var g0 = _vm.centerBottom.indexOf(index)\n return {\n $orig: $orig,\n g0: g0,\n }\n })\n var m0 = _vm.countData100(_vm.inputData[\"6\"])\n var m1 = _vm.countData100(_vm.inputData[\"8\"])\n var m2 = _vm.countData100(_vm.inputData[\"7\"])\n var m3 = _vm.countData100(_vm.inputData[\"9\"])\n var l1 = _vm.__map(_vm.rightList2, function (item, index) {\n var $orig = _vm.__get_orig(item)\n var g1 = _vm.right2Index.indexOf(index)\n return {\n $orig: $orig,\n g1: g1,\n }\n })\n _vm.$mp.data = Object.assign(\n {},\n {\n $root: {\n l0: l0,\n m0: m0,\n m1: m1,\n m2: m2,\n m3: m3,\n l1: l1,\n },\n }\n )\n}\nvar recyclableRender = false\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns, recyclableRender, components }","import mod from \"-!D:\\\\HbuilderX\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!D:\\\\HbuilderX\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--13-1!D:\\\\HbuilderX\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!D:\\\\HbuilderX\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\HbuilderX\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./fertilizer_machine.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!D:\\\\HbuilderX\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!D:\\\\HbuilderX\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--13-1!D:\\\\HbuilderX\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!D:\\\\HbuilderX\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\HbuilderX\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./fertilizer_machine.vue?vue&type=script&lang=js&\"","\r\n\r\n\r\n\r\n","import mod from \"-!D:\\\\HbuilderX\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--8-oneOf-1-0!D:\\\\HbuilderX\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-1!D:\\\\HbuilderX\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!D:\\\\HbuilderX\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-2!D:\\\\HbuilderX\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--8-oneOf-1-3!D:\\\\HbuilderX\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\sass-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-4!D:\\\\HbuilderX\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-5!D:\\\\HbuilderX\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\HbuilderX\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./fertilizer_machine.vue?vue&type=style&index=0&id=04917a06&lang=scss&scoped=true&\"; export default mod; export * from \"-!D:\\\\HbuilderX\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--8-oneOf-1-0!D:\\\\HbuilderX\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-1!D:\\\\HbuilderX\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!D:\\\\HbuilderX\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-2!D:\\\\HbuilderX\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--8-oneOf-1-3!D:\\\\HbuilderX\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\sass-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-4!D:\\\\HbuilderX\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-5!D:\\\\HbuilderX\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\HbuilderX\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./fertilizer_machine.vue?vue&type=style&index=0&id=04917a06&lang=scss&scoped=true&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1696667560237\n var cssReload = require(\"D:/HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/hmr/hotModuleReplacement.js\")(module.id, {\"hmr\":true,\"publicPath\":\"../../\",\"locals\":false});\n module.hot.dispose(cssReload);\n module.hot.accept(undefined, cssReload);\n }\n "],"sourceRoot":""} \ No newline at end of file +{"version":3,"sources":["uni-app:///main.js",null,"webpack:///C:/Users/PC/Desktop/2023-2-13/云上温室/wszhyWx/pages/fertilizer_machine/fertilizer_machine.vue?aa6b","webpack:///C:/Users/PC/Desktop/2023-2-13/云上温室/wszhyWx/pages/fertilizer_machine/fertilizer_machine.vue?f02e","webpack:///C:/Users/PC/Desktop/2023-2-13/云上温室/wszhyWx/pages/fertilizer_machine/fertilizer_machine.vue?96a6","uni-app:///pages/fertilizer_machine/fertilizer_machine.vue","webpack:///C:/Users/PC/Desktop/2023-2-13/云上温室/wszhyWx/pages/fertilizer_machine/fertilizer_machine.vue?9225","webpack:///C:/Users/PC/Desktop/2023-2-13/云上温室/wszhyWx/pages/fertilizer_machine/fertilizer_machine.vue?894d"],"names":["wx","__webpack_require_UNI_MP_PLUGIN__","__webpack_require__","createPage","Page","data","background","backgroundColor","dataInfo2_list","image","title","timer","signalCurrent","show","rightList2","irrigate_value1","irrigate_value2","irrigate_value3","deviceId","inputData","centerBottom","right2Index","openType","left1Act","topActive","indexs","inputData1","watch","onLoad","onUnload","onPullDownRefresh","uni","methods","toWebView","url","countData10","dataInit","that","type","getReg","equipmentId","pattern","regNum","console","padString","getType00","change00","list","target","value","getDataInfo2","getData29","typeNumber","getData30","changeData10","change","regAddress","num","delayTimer","clearInterval","changeData","getcenterBottom","countData","str","index","dataCode","typeList","countType"],"mappings":";;;;;;;;;;;;;AAAA;AAGA;AACA;AAHA;AACAA,EAAE,CAACC,iCAAiC,GAAGC,mBAAmB;AAG1DC,UAAU,CAACC,2BAAI,CAAC,C;;;;;;;;;;;;;ACLhB;AAAA;AAAA;AAAA;AAAA;AAAA;AAA2I;AAC3I;AACsE;AACL;AACsC;;;AAGvG;AACgL;AAChL,gBAAgB,yLAAU;AAC1B,EAAE,wFAAM;AACR,EAAE,yGAAM;AACR,EAAE,kHAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,6GAAU;AACZ;AACA;;AAEA;AACe,gF;;;;;;;;;;;;ACvBf;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA,aAAa,2OAEN;AACP,KAAK;AACL;AACA,aAAa,qOAEN;AACP,KAAK;AACL;AACA,aAAa,qOAEN;AACP,KAAK;AACL;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;AC5EA;AAAA;AAAA;AAAA;AAAmqB,CAAgB,wrBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;eC+JvrB;EACAC;IACA;MACA;MACAC;QACAC;MACA;MACA;;MAEAC;QACAC;QACAC;QACAC;MACA,GACA;QACAF;QACAC;QACAC;MACA,GACA;QACAF;QACAC;QACAC;MACA,GACA;QACAF;QACAC;QACAC;MACA,GACA;QACAF;QACAC;QACAC;MACA,GACA;QACAF;QACAC;QACAC;MACA,EACA;MAEAC;MAEAC;MACAC,uBACA,UACA,UACA,UACA,SACA,SACA,SACA,OACA;MACAC;MACAC;MACAC;MACAC;MACAC;MACAC;MACAC;MACAC;MACAC;MAEAC;MACAC;MACAC;;MAEA;IACA;EACA;;EACAC,QAEA;EACAC;IACA;IACA;IACA;IACA;IACA;IACA;IACA;EACA;EACAC;IACA;EAAA,CACA;EACAC;IACAC;MACArB;IACA;IACA;IACA;EACA;EACAsB;IACAC;MACAF;QACAG;MACA;IACA;IACAC;MACA;QACA;MACA;QACA;MACA;IACA;IACAC;MAAA;MACA;MACA;MACA;MACA;MACA;MACA;QACA;QACA;QAAA;QACA;MACA;MACA;QACAF;QACA7B;MACA;QACA;UACA0B;UACAA;UACA;UACA;UACA;UACA;UACA;QACA;UACAM;YACA3B;YACA4B;UACA;QACA;MACA;IAGA;IACAC;MAAA;MACA;MACA;MACA;MACA;MACA;QACAC;QACAC;QAAA;QACAC;MACA;MAEA;QACAR;QACA7B;MACA;QACAsC;QACA;UACAZ;UACAA;UACA;UACA;UACA,gGACA;UACAY;QACA;UACAN;YACA3B;YACA4B;UACA;QACA;MACA;IACA;IACAM;MACA;IACA;IACAC;MACA;MACAF;MACA;QACA;MACA;QACA;MACA;QACA;MACA;QACA;MACA;IACA;IACAG;MACAf;QACArB;MACA;MACA;MACA;MACA;QACAqC;MACA;QACAA;MACA;MACA;QACAA;MACA;QACAA;MACA;MACA;QACAA;MACA;QACAA;MACA;MACA;MACA;QACAC;UACAC;QACA;MACA;MACA;IACA;IACAC;MACA;MACA;MACA;MACA;MACA;MACA;MACA;IACA;IACA;IACAC;MACA;MACA;MACA;MACA;QACA;UACAC;QACA;MACA;MACA;MACA;MACA;MACA;QACA;UACA;QACA;MACA;IACA;IACA;IACAC;MACA;MACA;MACA;MACA;MACA;MACA;MACA;MACA;IAAA,CAEA;IACAC;MACA;MACA;QACAN;UACAC;QACA;MACA;MACA;IACA;IACA;IACAM;MACA;QACAf;QACAgB;QACAC;MACA;MACA;IACA;IACA;IACAC;MAAA;MACA;MACA;MACA;MACA;MACA;MAEA;QACA;QACA;UACArB;UACAsB;QACA;MACA;IACA;IACAC;MAAA;MACA;MACA;QACA1B;QACA7B;MACA;QACA;UACA0B;UACA;UAEAM;YACA3B;YACA4B;UACA;QACA;UACAD;YACA3B;YACA4B;UACA;QACA;MACA;IACA;IACAuB;MACA;MACA;MACA;MACA;MACA;MACA;MACA;MACA;QACA;UACA;QACA;MACA;MACA;QACA;UACA;QACA;MACA;MACA;QACA;UACA;QACA;MACA;MACA;QACA;UACA;QACA;MACA;IACA;IACAC;MACA;QACA;MACA;QACA;MACA;IACA;EAAA,2EACAC;IACA;EACA,kFACA1D;IACA;MACA;IACA;MACA;IACA;EACA,4EACA2D;IACA;MACA;IACA;MACA;IACA;MACA;IACA;MACA;IACA;MACA;IACA;MACA;IACA;MACA;IACA;EACA,8EAMA3D;IACA;EACA,8EACAA;IACA;EACA,8EACAA;IAEA;EACA,gFACA4D;IAAA;IACA;IAEA;IACAC;MAEA;QACAvB;QACAwB;MACA;IACA;IAGA;MACA;IACA;MACA;IACA;MACA;IACA;MACA;IACA;EACA,oFACAH;IACA;EACA,wEAEAA;IACA;IACA;IACA;EACA,4EAEA;IACA;IACA;IACA;EACA;AAEA;AAAA,2B;;;;;;;;;;;;;AC3kBA;AAAA;AAAA;AAAA;AAAkxC,CAAgB,+uCAAG,EAAC,C;;;;;;;;;;;ACAtyC;AACA,OAAO,KAAU,EAAE,kBAKd","file":"pages/fertilizer_machine/fertilizer_machine.js","sourcesContent":["import 'uni-pages';\n// @ts-ignore\nwx.__webpack_require_UNI_MP_PLUGIN__ = __webpack_require__;\nimport Vue from 'vue'\nimport Page from './pages/fertilizer_machine/fertilizer_machine.vue'\ncreatePage(Page)","import { render, staticRenderFns, recyclableRender, components } from \"./fertilizer_machine.vue?vue&type=template&id=04917a06&scoped=true&\"\nvar renderjs\nimport script from \"./fertilizer_machine.vue?vue&type=script&lang=js&\"\nexport * from \"./fertilizer_machine.vue?vue&type=script&lang=js&\"\nimport style0 from \"./fertilizer_machine.vue?vue&type=style&index=0&id=04917a06&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!D:\\\\HbuilderX\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\runtime\\\\componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"04917a06\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"pages/fertilizer_machine/fertilizer_machine.vue\"\nexport default component.exports","export * from \"-!D:\\\\HbuilderX\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\templateLoader.js??vue-loader-options!D:\\\\HbuilderX\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--17-0!D:\\\\HbuilderX\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\template.js!D:\\\\HbuilderX\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-uni-app-loader\\\\page-meta.js!D:\\\\HbuilderX\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\HbuilderX\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./fertilizer_machine.vue?vue&type=template&id=04917a06&scoped=true&\"","var components\ntry {\n components = {\n uNavbar: function () {\n return import(\n /* webpackChunkName: \"node-modules/uview-ui/components/u-navbar/u-navbar\" */ \"uview-ui/components/u-navbar/u-navbar.vue\"\n )\n },\n uPopup: function () {\n return import(\n /* webpackChunkName: \"node-modules/uview-ui/components/u-popup/u-popup\" */ \"uview-ui/components/u-popup/u-popup.vue\"\n )\n },\n uToast: function () {\n return import(\n /* webpackChunkName: \"node-modules/uview-ui/components/u-toast/u-toast\" */ \"uview-ui/components/u-toast/u-toast.vue\"\n )\n },\n }\n} catch (e) {\n if (\n e.message.indexOf(\"Cannot find module\") !== -1 &&\n e.message.indexOf(\".vue\") !== -1\n ) {\n console.error(e.message)\n console.error(\"1. 排查组件名称拼写是否正确\")\n console.error(\n \"2. 排查组件是否符合 easycom 规范,文档:https://uniapp.dcloud.net.cn/collocation/pages?id=easycom\"\n )\n console.error(\n \"3. 若组件不符合 easycom 规范,需手动引入,并在 components 中注册该组件\"\n )\n } else {\n throw e\n }\n}\nvar render = function () {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n var l0 = _vm.__map(64, function (item, index) {\n var $orig = _vm.__get_orig(item)\n var g0 = _vm.centerBottom.indexOf(index)\n return {\n $orig: $orig,\n g0: g0,\n }\n })\n var m0 = _vm.countData100(_vm.inputData[\"6\"])\n var m1 = _vm.countData100(_vm.inputData[\"8\"])\n var m2 = _vm.countData100(_vm.inputData[\"7\"])\n var m3 = _vm.countData100(_vm.inputData[\"9\"])\n var l1 = _vm.__map(_vm.rightList2, function (item, index) {\n var $orig = _vm.__get_orig(item)\n var g1 = _vm.right2Index.indexOf(index)\n return {\n $orig: $orig,\n g1: g1,\n }\n })\n _vm.$mp.data = Object.assign(\n {},\n {\n $root: {\n l0: l0,\n m0: m0,\n m1: m1,\n m2: m2,\n m3: m3,\n l1: l1,\n },\n }\n )\n}\nvar recyclableRender = false\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns, recyclableRender, components }","import mod from \"-!D:\\\\HbuilderX\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!D:\\\\HbuilderX\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--13-1!D:\\\\HbuilderX\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!D:\\\\HbuilderX\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\HbuilderX\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./fertilizer_machine.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!D:\\\\HbuilderX\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!D:\\\\HbuilderX\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--13-1!D:\\\\HbuilderX\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!D:\\\\HbuilderX\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\HbuilderX\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./fertilizer_machine.vue?vue&type=script&lang=js&\"","\r\n\r\n\r\n\r\n","import mod from \"-!D:\\\\HbuilderX\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--8-oneOf-1-0!D:\\\\HbuilderX\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-1!D:\\\\HbuilderX\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!D:\\\\HbuilderX\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-2!D:\\\\HbuilderX\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--8-oneOf-1-3!D:\\\\HbuilderX\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\sass-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-4!D:\\\\HbuilderX\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-5!D:\\\\HbuilderX\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\HbuilderX\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./fertilizer_machine.vue?vue&type=style&index=0&id=04917a06&lang=scss&scoped=true&\"; export default mod; export * from \"-!D:\\\\HbuilderX\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--8-oneOf-1-0!D:\\\\HbuilderX\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-1!D:\\\\HbuilderX\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!D:\\\\HbuilderX\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-2!D:\\\\HbuilderX\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--8-oneOf-1-3!D:\\\\HbuilderX\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\sass-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-4!D:\\\\HbuilderX\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-5!D:\\\\HbuilderX\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\HbuilderX\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./fertilizer_machine.vue?vue&type=style&index=0&id=04917a06&lang=scss&scoped=true&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1696674847998\n var cssReload = require(\"D:/HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/hmr/hotModuleReplacement.js\")(module.id, {\"hmr\":true,\"publicPath\":\"../../\",\"locals\":false});\n module.hot.dispose(cssReload);\n module.hot.accept(undefined, cssReload);\n }\n "],"sourceRoot":""} \ No newline at end of file diff --git a/unpackage/dist/dev/mp-weixin/pages/fertilizer_machine/fertilizer_machine.js b/unpackage/dist/dev/mp-weixin/pages/fertilizer_machine/fertilizer_machine.js index 07ea098..7c55f31 100644 --- a/unpackage/dist/dev/mp-weixin/pages/fertilizer_machine/fertilizer_machine.js +++ b/unpackage/dist/dev/mp-weixin/pages/fertilizer_machine/fertilizer_machine.js @@ -412,22 +412,24 @@ var _default = { left1Act: -1, topActive: 0, indexs: 1, - inputData1: [], - timer: null + inputData1: [] + + // timer: null }; }, + watch: {}, onLoad: function onLoad(option) { this.deviceId = option.id; this.dataInit(); var that = this; - this.timer = setInterval(function () { - that.dataInit(); - that.getReg(); - }, 3000); + // this.timer = setInterval(function() { + // that.dataInit(); + // that.getReg(); + // }, 3000); }, onUnload: function onUnload() { - clearTimeout(this.timer); + // clearTimeout(this.timer) }, onPullDownRefresh: function onPullDownRefresh() { uni.showLoading({