wx-program
parent
9dfa41bd24
commit
7d47c1782c
|
@ -122,6 +122,15 @@
|
||||||
"navigationBarTitleText" : "",
|
"navigationBarTitleText" : "",
|
||||||
"enablePullDownRefresh" : false
|
"enablePullDownRefresh" : false
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"path" : "pages/fertilizer_machine_new/fertilizer_machine_new",
|
||||||
|
"style" :
|
||||||
|
{
|
||||||
|
"navigationBarTitleText": "",
|
||||||
|
"navigationStyle": "custom",
|
||||||
|
"enablePullDownRefresh": true
|
||||||
|
}
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"globalStyle": {
|
"globalStyle": {
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -76,9 +76,18 @@
|
||||||
methods: {
|
methods: {
|
||||||
// 离线或者在线
|
// 离线或者在线
|
||||||
toFertilizer(item) {
|
toFertilizer(item) {
|
||||||
|
//灌溉组1/20
|
||||||
|
|
||||||
|
if(item.deviceName==1||item.deviceName==20){
|
||||||
|
uni.navigateTo({
|
||||||
|
url: '/pages/fertilizer_machine_new/fertilizer_machine_new?id=' + item.deviceId
|
||||||
|
})
|
||||||
|
}else{
|
||||||
uni.navigateTo({
|
uni.navigateTo({
|
||||||
url: '/pages/fertilizer_machine/fertilizer_machine?id=' + item.deviceId
|
url: '/pages/fertilizer_machine/fertilizer_machine?id=' + item.deviceId
|
||||||
})
|
})
|
||||||
|
}
|
||||||
|
|
||||||
},
|
},
|
||||||
|
|
||||||
// 根据用户id查询对应的设备数据
|
// 根据用户id查询对应的设备数据
|
||||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -13,7 +13,8 @@
|
||||||
"pages/target_water_fertilizer_PH/target_water_fertilizer_PH",
|
"pages/target_water_fertilizer_PH/target_water_fertilizer_PH",
|
||||||
"pages/web_view/web_view",
|
"pages/web_view/web_view",
|
||||||
"pages/controller/controller",
|
"pages/controller/controller",
|
||||||
"pages/web_view_controller/web_view_controller"
|
"pages/web_view_controller/web_view_controller",
|
||||||
|
"pages/fertilizer_machine_new/fertilizer_machine_new"
|
||||||
],
|
],
|
||||||
"subPackages": [],
|
"subPackages": [],
|
||||||
"window": {
|
"window": {
|
||||||
|
|
|
@ -1557,7 +1557,7 @@ function initData(vueOptions, context) {
|
||||||
try {
|
try {
|
||||||
data = data.call(context); // 支持 Vue.prototype 上挂的数据
|
data = data.call(context); // 支持 Vue.prototype 上挂的数据
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
if (Object({"NODE_ENV":"development","VUE_APP_DARK_MODE":"false","VUE_APP_NAME":"greenhouse-wisdom-applet","VUE_APP_PLATFORM":"mp-weixin","BASE_URL":"/"}).VUE_APP_DEBUG) {
|
if (Object({"VUE_APP_DARK_MODE":"false","VUE_APP_NAME":"greenhouse-wisdom-applet","VUE_APP_PLATFORM":"mp-weixin","NODE_ENV":"development","BASE_URL":"/"}).VUE_APP_DEBUG) {
|
||||||
console.warn('根据 Vue 的 data 函数初始化小程序 data 失败,请尽量确保 data 函数中不访问 vm 对象,否则可能影响首次数据渲染速度。', data);
|
console.warn('根据 Vue 的 data 函数初始化小程序 data 失败,请尽量确保 data 函数中不访问 vm 对象,否则可能影响首次数据渲染速度。', data);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -8923,7 +8923,7 @@ function type(obj) {
|
||||||
|
|
||||||
function flushCallbacks$1(vm) {
|
function flushCallbacks$1(vm) {
|
||||||
if (vm.__next_tick_callbacks && vm.__next_tick_callbacks.length) {
|
if (vm.__next_tick_callbacks && vm.__next_tick_callbacks.length) {
|
||||||
if (Object({"NODE_ENV":"development","VUE_APP_DARK_MODE":"false","VUE_APP_NAME":"greenhouse-wisdom-applet","VUE_APP_PLATFORM":"mp-weixin","BASE_URL":"/"}).VUE_APP_DEBUG) {
|
if (Object({"VUE_APP_DARK_MODE":"false","VUE_APP_NAME":"greenhouse-wisdom-applet","VUE_APP_PLATFORM":"mp-weixin","NODE_ENV":"development","BASE_URL":"/"}).VUE_APP_DEBUG) {
|
||||||
var mpInstance = vm.$scope;
|
var mpInstance = vm.$scope;
|
||||||
console.log('[' + (+new Date) + '][' + (mpInstance.is || mpInstance.route) + '][' + vm._uid +
|
console.log('[' + (+new Date) + '][' + (mpInstance.is || mpInstance.route) + '][' + vm._uid +
|
||||||
']:flushCallbacks[' + vm.__next_tick_callbacks.length + ']');
|
']:flushCallbacks[' + vm.__next_tick_callbacks.length + ']');
|
||||||
|
@ -8944,14 +8944,14 @@ function nextTick$1(vm, cb) {
|
||||||
//1.nextTick 之前 已 setData 且 setData 还未回调完成
|
//1.nextTick 之前 已 setData 且 setData 还未回调完成
|
||||||
//2.nextTick 之前存在 render watcher
|
//2.nextTick 之前存在 render watcher
|
||||||
if (!vm.__next_tick_pending && !hasRenderWatcher(vm)) {
|
if (!vm.__next_tick_pending && !hasRenderWatcher(vm)) {
|
||||||
if(Object({"NODE_ENV":"development","VUE_APP_DARK_MODE":"false","VUE_APP_NAME":"greenhouse-wisdom-applet","VUE_APP_PLATFORM":"mp-weixin","BASE_URL":"/"}).VUE_APP_DEBUG){
|
if(Object({"VUE_APP_DARK_MODE":"false","VUE_APP_NAME":"greenhouse-wisdom-applet","VUE_APP_PLATFORM":"mp-weixin","NODE_ENV":"development","BASE_URL":"/"}).VUE_APP_DEBUG){
|
||||||
var mpInstance = vm.$scope;
|
var mpInstance = vm.$scope;
|
||||||
console.log('[' + (+new Date) + '][' + (mpInstance.is || mpInstance.route) + '][' + vm._uid +
|
console.log('[' + (+new Date) + '][' + (mpInstance.is || mpInstance.route) + '][' + vm._uid +
|
||||||
']:nextVueTick');
|
']:nextVueTick');
|
||||||
}
|
}
|
||||||
return nextTick(cb, vm)
|
return nextTick(cb, vm)
|
||||||
}else{
|
}else{
|
||||||
if(Object({"NODE_ENV":"development","VUE_APP_DARK_MODE":"false","VUE_APP_NAME":"greenhouse-wisdom-applet","VUE_APP_PLATFORM":"mp-weixin","BASE_URL":"/"}).VUE_APP_DEBUG){
|
if(Object({"VUE_APP_DARK_MODE":"false","VUE_APP_NAME":"greenhouse-wisdom-applet","VUE_APP_PLATFORM":"mp-weixin","NODE_ENV":"development","BASE_URL":"/"}).VUE_APP_DEBUG){
|
||||||
var mpInstance$1 = vm.$scope;
|
var mpInstance$1 = vm.$scope;
|
||||||
console.log('[' + (+new Date) + '][' + (mpInstance$1.is || mpInstance$1.route) + '][' + vm._uid +
|
console.log('[' + (+new Date) + '][' + (mpInstance$1.is || mpInstance$1.route) + '][' + vm._uid +
|
||||||
']:nextMPTick');
|
']:nextMPTick');
|
||||||
|
@ -9047,7 +9047,7 @@ var patch = function(oldVnode, vnode) {
|
||||||
});
|
});
|
||||||
var diffData = this.$shouldDiffData === false ? data : diff(data, mpData);
|
var diffData = this.$shouldDiffData === false ? data : diff(data, mpData);
|
||||||
if (Object.keys(diffData).length) {
|
if (Object.keys(diffData).length) {
|
||||||
if (Object({"NODE_ENV":"development","VUE_APP_DARK_MODE":"false","VUE_APP_NAME":"greenhouse-wisdom-applet","VUE_APP_PLATFORM":"mp-weixin","BASE_URL":"/"}).VUE_APP_DEBUG) {
|
if (Object({"VUE_APP_DARK_MODE":"false","VUE_APP_NAME":"greenhouse-wisdom-applet","VUE_APP_PLATFORM":"mp-weixin","NODE_ENV":"development","BASE_URL":"/"}).VUE_APP_DEBUG) {
|
||||||
console.log('[' + (+new Date) + '][' + (mpInstance.is || mpInstance.route) + '][' + this._uid +
|
console.log('[' + (+new Date) + '][' + (mpInstance.is || mpInstance.route) + '][' + this._uid +
|
||||||
']差量更新',
|
']差量更新',
|
||||||
JSON.stringify(diffData));
|
JSON.stringify(diffData));
|
||||||
|
@ -12647,7 +12647,7 @@ function _extends() {
|
||||||
var formatRegExp = /%[sdj%]/g;
|
var formatRegExp = /%[sdj%]/g;
|
||||||
var warning = function warning() {}; // don't print warning message when in production env or node runtime
|
var warning = function warning() {}; // don't print warning message when in production env or node runtime
|
||||||
|
|
||||||
if (typeof process !== 'undefined' && Object({"NODE_ENV":"development","VUE_APP_DARK_MODE":"false","VUE_APP_NAME":"greenhouse-wisdom-applet","VUE_APP_PLATFORM":"mp-weixin","BASE_URL":"/"}) && "development" !== 'production' && typeof window !== 'undefined' && typeof document !== 'undefined') {
|
if (typeof process !== 'undefined' && Object({"VUE_APP_DARK_MODE":"false","VUE_APP_NAME":"greenhouse-wisdom-applet","VUE_APP_PLATFORM":"mp-weixin","NODE_ENV":"development","BASE_URL":"/"}) && "development" !== 'production' && typeof window !== 'undefined' && typeof document !== 'undefined') {
|
||||||
warning = function warning(type, errors) {
|
warning = function warning(type, errors) {
|
||||||
if (typeof console !== 'undefined' && console.warn) {
|
if (typeof console !== 'undefined' && console.warn) {
|
||||||
if (errors.every(function (e) {
|
if (errors.every(function (e) {
|
||||||
|
@ -22351,6 +22351,13 @@ var _default = {
|
||||||
"navigationBarTitleText": "",
|
"navigationBarTitleText": "",
|
||||||
"enablePullDownRefresh": false
|
"enablePullDownRefresh": false
|
||||||
}
|
}
|
||||||
|
}, {
|
||||||
|
"path": "pages/fertilizer_machine_new/fertilizer_machine_new",
|
||||||
|
"style": {
|
||||||
|
"navigationBarTitleText": "",
|
||||||
|
"navigationStyle": "custom",
|
||||||
|
"enablePullDownRefresh": true
|
||||||
|
}
|
||||||
}],
|
}],
|
||||||
"globalStyle": {
|
"globalStyle": {
|
||||||
"navigationBarTextStyle": "black",
|
"navigationBarTextStyle": "black",
|
||||||
|
|
|
@ -0,0 +1,956 @@
|
||||||
|
(global["webpackJsonp"] = global["webpackJsonp"] || []).push([["pages/fertilizer_machine_new/fertilizer_machine_new"],{
|
||||||
|
|
||||||
|
/***/ 376:
|
||||||
|
/*!*****************************************************************************************************!*\
|
||||||
|
!*** D:/前端/云上温室/wszhyWx/main.js?{"page":"pages%2Ffertilizer_machine_new%2Ffertilizer_machine_new"} ***!
|
||||||
|
\*****************************************************************************************************/
|
||||||
|
/*! no static exports found */
|
||||||
|
/***/ (function(module, exports, __webpack_require__) {
|
||||||
|
|
||||||
|
"use strict";
|
||||||
|
/* WEBPACK VAR INJECTION */(function(wx, createPage) {
|
||||||
|
|
||||||
|
var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
|
||||||
|
__webpack_require__(/*! uni-pages */ 26);
|
||||||
|
var _vue = _interopRequireDefault(__webpack_require__(/*! vue */ 25));
|
||||||
|
var _fertilizer_machine_new = _interopRequireDefault(__webpack_require__(/*! ./pages/fertilizer_machine_new/fertilizer_machine_new.vue */ 377));
|
||||||
|
// @ts-ignore
|
||||||
|
wx.__webpack_require_UNI_MP_PLUGIN__ = __webpack_require__;
|
||||||
|
createPage(_fertilizer_machine_new.default);
|
||||||
|
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/wx.js */ 1)["default"], __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["createPage"]))
|
||||||
|
|
||||||
|
/***/ }),
|
||||||
|
|
||||||
|
/***/ 377:
|
||||||
|
/*!**********************************************************************************!*\
|
||||||
|
!*** D:/前端/云上温室/wszhyWx/pages/fertilizer_machine_new/fertilizer_machine_new.vue ***!
|
||||||
|
\**********************************************************************************/
|
||||||
|
/*! no static exports found */
|
||||||
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||||
|
|
||||||
|
"use strict";
|
||||||
|
__webpack_require__.r(__webpack_exports__);
|
||||||
|
/* harmony import */ var _fertilizer_machine_new_vue_vue_type_template_id_60331366_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./fertilizer_machine_new.vue?vue&type=template&id=60331366&scoped=true& */ 378);
|
||||||
|
/* harmony import */ var _fertilizer_machine_new_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./fertilizer_machine_new.vue?vue&type=script&lang=js& */ 380);
|
||||||
|
/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _fertilizer_machine_new_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__) if(["default"].indexOf(__WEBPACK_IMPORT_KEY__) < 0) (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _fertilizer_machine_new_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__[key]; }) }(__WEBPACK_IMPORT_KEY__));
|
||||||
|
/* harmony import */ var _fertilizer_machine_new_vue_vue_type_style_index_0_id_60331366_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./fertilizer_machine_new.vue?vue&type=style&index=0&id=60331366&lang=scss&scoped=true& */ 382);
|
||||||
|
/* harmony import */ var _HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/runtime/componentNormalizer.js */ 32);
|
||||||
|
|
||||||
|
var renderjs
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/* normalize component */
|
||||||
|
|
||||||
|
var component = Object(_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_3__["default"])(
|
||||||
|
_fertilizer_machine_new_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__["default"],
|
||||||
|
_fertilizer_machine_new_vue_vue_type_template_id_60331366_scoped_true___WEBPACK_IMPORTED_MODULE_0__["render"],
|
||||||
|
_fertilizer_machine_new_vue_vue_type_template_id_60331366_scoped_true___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"],
|
||||||
|
false,
|
||||||
|
null,
|
||||||
|
"60331366",
|
||||||
|
null,
|
||||||
|
false,
|
||||||
|
_fertilizer_machine_new_vue_vue_type_template_id_60331366_scoped_true___WEBPACK_IMPORTED_MODULE_0__["components"],
|
||||||
|
renderjs
|
||||||
|
)
|
||||||
|
|
||||||
|
component.options.__file = "pages/fertilizer_machine_new/fertilizer_machine_new.vue"
|
||||||
|
/* harmony default export */ __webpack_exports__["default"] = (component.exports);
|
||||||
|
|
||||||
|
/***/ }),
|
||||||
|
|
||||||
|
/***/ 378:
|
||||||
|
/*!*****************************************************************************************************************************!*\
|
||||||
|
!*** D:/前端/云上温室/wszhyWx/pages/fertilizer_machine_new/fertilizer_machine_new.vue?vue&type=template&id=60331366&scoped=true& ***!
|
||||||
|
\*****************************************************************************************************************************/
|
||||||
|
/*! exports provided: render, staticRenderFns, recyclableRender, components */
|
||||||
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||||
|
|
||||||
|
"use strict";
|
||||||
|
__webpack_require__.r(__webpack_exports__);
|
||||||
|
/* harmony import */ var _HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_17_0_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_fertilizer_machine_new_vue_vue_type_template_id_60331366_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--17-0!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./fertilizer_machine_new.vue?vue&type=template&id=60331366&scoped=true& */ 379);
|
||||||
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "render", function() { return _HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_17_0_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_fertilizer_machine_new_vue_vue_type_template_id_60331366_scoped_true___WEBPACK_IMPORTED_MODULE_0__["render"]; });
|
||||||
|
|
||||||
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return _HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_17_0_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_fertilizer_machine_new_vue_vue_type_template_id_60331366_scoped_true___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"]; });
|
||||||
|
|
||||||
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "recyclableRender", function() { return _HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_17_0_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_fertilizer_machine_new_vue_vue_type_template_id_60331366_scoped_true___WEBPACK_IMPORTED_MODULE_0__["recyclableRender"]; });
|
||||||
|
|
||||||
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "components", function() { return _HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_17_0_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_fertilizer_machine_new_vue_vue_type_template_id_60331366_scoped_true___WEBPACK_IMPORTED_MODULE_0__["components"]; });
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/***/ }),
|
||||||
|
|
||||||
|
/***/ 379:
|
||||||
|
/*!*****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
|
||||||
|
!*** ./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--17-0!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!D:/前端/云上温室/wszhyWx/pages/fertilizer_machine_new/fertilizer_machine_new.vue?vue&type=template&id=60331366&scoped=true& ***!
|
||||||
|
\*****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
|
||||||
|
/*! exports provided: render, staticRenderFns, recyclableRender, components */
|
||||||
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||||
|
|
||||||
|
"use strict";
|
||||||
|
__webpack_require__.r(__webpack_exports__);
|
||||||
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "render", function() { return render; });
|
||||||
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return staticRenderFns; });
|
||||||
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "recyclableRender", function() { return recyclableRender; });
|
||||||
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "components", function() { return components; });
|
||||||
|
var components
|
||||||
|
try {
|
||||||
|
components = {
|
||||||
|
uNavbar: function () {
|
||||||
|
return __webpack_require__.e(/*! import() | node-modules/uview-ui/components/u-navbar/u-navbar */ "node-modules/uview-ui/components/u-navbar/u-navbar").then(__webpack_require__.bind(null, /*! uview-ui/components/u-navbar/u-navbar.vue */ 175))
|
||||||
|
},
|
||||||
|
uPopup: function () {
|
||||||
|
return __webpack_require__.e(/*! import() | node-modules/uview-ui/components/u-popup/u-popup */ "node-modules/uview-ui/components/u-popup/u-popup").then(__webpack_require__.bind(null, /*! uview-ui/components/u-popup/u-popup.vue */ 235))
|
||||||
|
},
|
||||||
|
uToast: function () {
|
||||||
|
return __webpack_require__.e(/*! import() | node-modules/uview-ui/components/u-toast/u-toast */ "node-modules/uview-ui/components/u-toast/u-toast").then(__webpack_require__.bind(null, /*! uview-ui/components/u-toast/u-toast.vue */ 242))
|
||||||
|
},
|
||||||
|
}
|
||||||
|
} catch (e) {
|
||||||
|
if (
|
||||||
|
e.message.indexOf("Cannot find module") !== -1 &&
|
||||||
|
e.message.indexOf(".vue") !== -1
|
||||||
|
) {
|
||||||
|
console.error(e.message)
|
||||||
|
console.error("1. 排查组件名称拼写是否正确")
|
||||||
|
console.error(
|
||||||
|
"2. 排查组件是否符合 easycom 规范,文档:https://uniapp.dcloud.net.cn/collocation/pages?id=easycom"
|
||||||
|
)
|
||||||
|
console.error(
|
||||||
|
"3. 若组件不符合 easycom 规范,需手动引入,并在 components 中注册该组件"
|
||||||
|
)
|
||||||
|
} else {
|
||||||
|
throw e
|
||||||
|
}
|
||||||
|
}
|
||||||
|
var render = function () {
|
||||||
|
var _vm = this
|
||||||
|
var _h = _vm.$createElement
|
||||||
|
var _c = _vm._self._c || _h
|
||||||
|
var l0 = _vm.__map(64, function (item, index) {
|
||||||
|
var $orig = _vm.__get_orig(item)
|
||||||
|
var g0 = _vm.centerBottom.indexOf(index)
|
||||||
|
return {
|
||||||
|
$orig: $orig,
|
||||||
|
g0: g0,
|
||||||
|
}
|
||||||
|
})
|
||||||
|
var l1 = _vm.__map(_vm.rightList2.slice(0, 4), function (item, index) {
|
||||||
|
var $orig = _vm.__get_orig(item)
|
||||||
|
var g1 = _vm.right2Index.indexOf(index)
|
||||||
|
return {
|
||||||
|
$orig: $orig,
|
||||||
|
g1: g1,
|
||||||
|
}
|
||||||
|
})
|
||||||
|
var l2 = _vm.__map(_vm.rightList2.slice(4, 8), function (item, index) {
|
||||||
|
var $orig = _vm.__get_orig(item)
|
||||||
|
var g2 = _vm.right2Index.indexOf(index + 4)
|
||||||
|
return {
|
||||||
|
$orig: $orig,
|
||||||
|
g2: g2,
|
||||||
|
}
|
||||||
|
})
|
||||||
|
_vm.$mp.data = Object.assign(
|
||||||
|
{},
|
||||||
|
{
|
||||||
|
$root: {
|
||||||
|
l0: l0,
|
||||||
|
l1: l1,
|
||||||
|
l2: l2,
|
||||||
|
},
|
||||||
|
}
|
||||||
|
)
|
||||||
|
}
|
||||||
|
var recyclableRender = false
|
||||||
|
var staticRenderFns = []
|
||||||
|
render._withStripped = true
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/***/ }),
|
||||||
|
|
||||||
|
/***/ 380:
|
||||||
|
/*!***********************************************************************************************************!*\
|
||||||
|
!*** D:/前端/云上温室/wszhyWx/pages/fertilizer_machine_new/fertilizer_machine_new.vue?vue&type=script&lang=js& ***!
|
||||||
|
\***********************************************************************************************************/
|
||||||
|
/*! no static exports found */
|
||||||
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||||
|
|
||||||
|
"use strict";
|
||||||
|
__webpack_require__.r(__webpack_exports__);
|
||||||
|
/* harmony import */ var _HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_13_1_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_fertilizer_machine_new_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--13-1!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./fertilizer_machine_new.vue?vue&type=script&lang=js& */ 381);
|
||||||
|
/* harmony import */ var _HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_13_1_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_fertilizer_machine_new_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_13_1_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_fertilizer_machine_new_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__);
|
||||||
|
/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_13_1_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_fertilizer_machine_new_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__) if(["default"].indexOf(__WEBPACK_IMPORT_KEY__) < 0) (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_13_1_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_fertilizer_machine_new_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__));
|
||||||
|
/* harmony default export */ __webpack_exports__["default"] = (_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_13_1_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_fertilizer_machine_new_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0___default.a);
|
||||||
|
|
||||||
|
/***/ }),
|
||||||
|
|
||||||
|
/***/ 381:
|
||||||
|
/*!******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
|
||||||
|
!*** ./node_modules/babel-loader/lib!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--13-1!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!D:/前端/云上温室/wszhyWx/pages/fertilizer_machine_new/fertilizer_machine_new.vue?vue&type=script&lang=js& ***!
|
||||||
|
\******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
|
||||||
|
/*! no static exports found */
|
||||||
|
/***/ (function(module, exports, __webpack_require__) {
|
||||||
|
|
||||||
|
"use strict";
|
||||||
|
/* WEBPACK VAR INJECTION */(function(uni) {
|
||||||
|
|
||||||
|
var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
|
||||||
|
Object.defineProperty(exports, "__esModule", {
|
||||||
|
value: true
|
||||||
|
});
|
||||||
|
exports.default = void 0;
|
||||||
|
var _defineProperty2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/defineProperty */ 11));
|
||||||
|
var _methods;
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
var _default = {
|
||||||
|
data: function data() {
|
||||||
|
return {
|
||||||
|
// 头部导航背景
|
||||||
|
background: {
|
||||||
|
backgroundColor: '#24B383'
|
||||||
|
},
|
||||||
|
// 输出电磁阀
|
||||||
|
|
||||||
|
dataInfo2_list: [{
|
||||||
|
image: '../../static/icon_1.png',
|
||||||
|
title: '灌溉剩余时长',
|
||||||
|
timer: '0min'
|
||||||
|
}, {
|
||||||
|
image: '../../static/icon_2.png',
|
||||||
|
title: '灌溉瞬时流量',
|
||||||
|
timer: '0L/h'
|
||||||
|
}, {
|
||||||
|
image: '../../static/icon_3.png',
|
||||||
|
title: '本次灌溉量',
|
||||||
|
timer: '0L'
|
||||||
|
}, {
|
||||||
|
image: '../../static/icon_4.png',
|
||||||
|
title: '启动方式',
|
||||||
|
timer: '无'
|
||||||
|
},
|
||||||
|
// {
|
||||||
|
// image: '../../static/icon_5.png',
|
||||||
|
// title: '使用灌溉配方号',
|
||||||
|
// timer: '0'
|
||||||
|
// },
|
||||||
|
{
|
||||||
|
image: '../../static/icon_6.png',
|
||||||
|
title: '执行灌溉组号',
|
||||||
|
timer: '0'
|
||||||
|
}],
|
||||||
|
signalCurrent: 0,
|
||||||
|
show: false,
|
||||||
|
rightList2: ['外控信号1#', '外控信号2#', '外控信号3#', '外控信号4#', '高液位信号', '中液位信号', '低液位信号', '电机信号'],
|
||||||
|
irrigate_value1: 0,
|
||||||
|
irrigate_value2: 0,
|
||||||
|
irrigate_value3: 0,
|
||||||
|
deviceId: 0,
|
||||||
|
inputData: [],
|
||||||
|
centerBottom: [],
|
||||||
|
right2Index: [],
|
||||||
|
openType: '',
|
||||||
|
left1Act: [0, 0],
|
||||||
|
topActive: 0,
|
||||||
|
indexs: 1,
|
||||||
|
inputData1: [],
|
||||||
|
timer_: null,
|
||||||
|
readFs_byid_name_obj: {},
|
||||||
|
readFs_byid_list: ['solenoidOne', 'solenoidTwo', 'solenoidThree', 'solenoidFour', 'solenoidFive', 'solenoidSix', 'solenoidSeven', 'solenoidEight', 'solenoidNine', 'solenoidTen', 'solenoidElven', 'solenoidTwelve', 'solenoidThirteen', 'solenoidFourteen', 'solenoidFifteen', 'solenoidSixteen'],
|
||||||
|
readFs_byid_name: '',
|
||||||
|
actList1: ["0", "0", "0", "0"]
|
||||||
|
};
|
||||||
|
},
|
||||||
|
watch: {},
|
||||||
|
onLoad: function onLoad(option) {
|
||||||
|
this.deviceId = option.id;
|
||||||
|
uni.showLoading({
|
||||||
|
title: '加载中...'
|
||||||
|
});
|
||||||
|
this.dataInit();
|
||||||
|
var that = this;
|
||||||
|
this.timer_ = setInterval(function () {
|
||||||
|
that.dataInit();
|
||||||
|
}, 5000);
|
||||||
|
|
||||||
|
// 查看用户施肥机名称信息
|
||||||
|
this.getReadFs_byid();
|
||||||
|
},
|
||||||
|
onUnload: function onUnload() {
|
||||||
|
var that = this;
|
||||||
|
clearTimeout(that.timer_);
|
||||||
|
},
|
||||||
|
onPullDownRefresh: function onPullDownRefresh() {
|
||||||
|
uni.showLoading({
|
||||||
|
title: '加载中...'
|
||||||
|
});
|
||||||
|
this.dataInit();
|
||||||
|
},
|
||||||
|
methods: (_methods = {
|
||||||
|
toWebView: function toWebView(id) {
|
||||||
|
// console.log(id);
|
||||||
|
uni.navigateTo({
|
||||||
|
url: '/pages/web_view/web_view?id=' + id + '&deviceId=' + this.deviceId
|
||||||
|
});
|
||||||
|
},
|
||||||
|
countData10: function countData10(data) {
|
||||||
|
if (data) {
|
||||||
|
return data / 10;
|
||||||
|
} else {
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
},
|
||||||
|
dataInit: function dataInit() {
|
||||||
|
var _this = this;
|
||||||
|
// uni.showLoading({
|
||||||
|
// title: '加载中...'
|
||||||
|
// })
|
||||||
|
var that = this;
|
||||||
|
var deviceId = this.deviceId;
|
||||||
|
var data = {
|
||||||
|
"equipmentId": deviceId,
|
||||||
|
"pattern": 0,
|
||||||
|
//需要根据文档填写 //6目标ph-数值
|
||||||
|
"regNum": 72
|
||||||
|
};
|
||||||
|
this.$http({
|
||||||
|
url: this.api.readFs_state,
|
||||||
|
data: data
|
||||||
|
}).then(function (res) {
|
||||||
|
if (res.code == 200) {
|
||||||
|
uni.hideLoading();
|
||||||
|
uni.stopPullDownRefresh();
|
||||||
|
_this.inputData = res.data;
|
||||||
|
_this.getData30(); //数据30/进水出水泵
|
||||||
|
_this.getData29(); //数据29 启动方式/信号
|
||||||
|
_this.getDataInfo2();
|
||||||
|
_this.getcenterBottom(); //获取电磁阀
|
||||||
|
} else {
|
||||||
|
that.$refs.uToast.show({
|
||||||
|
title: res.msg,
|
||||||
|
type: 'error'
|
||||||
|
});
|
||||||
|
}
|
||||||
|
});
|
||||||
|
},
|
||||||
|
// 查看用户施肥机名称信息
|
||||||
|
getReadFs_byid: function getReadFs_byid() {
|
||||||
|
var _this2 = this;
|
||||||
|
var deviceId = this.deviceId;
|
||||||
|
this.$http({
|
||||||
|
url: this.api.readFs_byid + '?deviceId=' + deviceId,
|
||||||
|
method: 'GET'
|
||||||
|
}).then(function (res) {
|
||||||
|
if (res.code == 200) {
|
||||||
|
_this2.readFs_byid_name_obj = res.data;
|
||||||
|
}
|
||||||
|
});
|
||||||
|
},
|
||||||
|
changeIndexOpen: function changeIndexOpen(active) {
|
||||||
|
if (this.actList1[active] == '1') {
|
||||||
|
this.actList1[active] = '0';
|
||||||
|
} else {
|
||||||
|
this.actList1[active] = '1';
|
||||||
|
}
|
||||||
|
var revList = this.actList1.slice().reverse();
|
||||||
|
var num = revList.join("");
|
||||||
|
var dataNum = {
|
||||||
|
target: {
|
||||||
|
value: parseInt(num, 2)
|
||||||
|
}
|
||||||
|
};
|
||||||
|
this.$forceUpdate();
|
||||||
|
this.changeBtn(10 + (this.indexs - 1) + "59", dataNum);
|
||||||
|
// this.change(10 + (this.indexs - 1) + "59", dataNum);
|
||||||
|
},
|
||||||
|
changeBtn: function changeBtn(code, el) {
|
||||||
|
var data = {
|
||||||
|
equipmentId: this.deviceId,
|
||||||
|
regAddress: code,
|
||||||
|
num: el.target.value
|
||||||
|
};
|
||||||
|
this.delayTimerBtn(0, data);
|
||||||
|
},
|
||||||
|
//切换btn的限制 写入停止后j*100毫秒调取函数
|
||||||
|
delayTimerBtn: function delayTimerBtn(i, data) {
|
||||||
|
var _this3 = this;
|
||||||
|
var that = this;
|
||||||
|
//整体接口
|
||||||
|
var j = 10;
|
||||||
|
//避免开启多个计时器
|
||||||
|
this.timer && clearInterval(this.timer);
|
||||||
|
this.timer = setInterval(function () {
|
||||||
|
++i;
|
||||||
|
if (i == j) {
|
||||||
|
that.changeData(data);
|
||||||
|
clearInterval(_this3.timer);
|
||||||
|
}
|
||||||
|
}, 100);
|
||||||
|
},
|
||||||
|
get59: function get59() {
|
||||||
|
var _this4 = this;
|
||||||
|
this.actList1 = [];
|
||||||
|
var num = this.inputData1[10 + (this.indexs - 1) + "59"];
|
||||||
|
var num1 = this.padString(num.toString(2), 4);
|
||||||
|
var openListNew = [];
|
||||||
|
openListNew = num1.split("");
|
||||||
|
openListNew.forEach(function (el, index) {
|
||||||
|
_this4.actList1.push(openListNew[openListNew.length - index - 1]);
|
||||||
|
});
|
||||||
|
},
|
||||||
|
getReg: function getReg() {
|
||||||
|
var _this5 = this;
|
||||||
|
uni.showLoading({
|
||||||
|
title: '加载中...'
|
||||||
|
});
|
||||||
|
var that = this;
|
||||||
|
var data = {
|
||||||
|
equipmentId: this.deviceId,
|
||||||
|
pattern: 10 + (this.indexs - 1) + "00",
|
||||||
|
//需要根据文档填写 //6目标ph-数值
|
||||||
|
regNum: 75
|
||||||
|
};
|
||||||
|
this.$http({
|
||||||
|
url: this.api.readFs_reg,
|
||||||
|
data: data
|
||||||
|
}).then(function (res) {
|
||||||
|
// console.log(res, 11);
|
||||||
|
if (res.code == 200) {
|
||||||
|
uni.hideLoading();
|
||||||
|
// uni.stopPullDownRefresh();
|
||||||
|
_this5.inputData1 = res.data;
|
||||||
|
_this5.getType00();
|
||||||
|
_this5.get59();
|
||||||
|
_this5.inputData1[10 + (_this5.indexs - 1) + '01'] = _this5.countData10(_this5.inputData1[10 + (_this5.indexs - 1) + '01']);
|
||||||
|
// console.log(this.inputData1[10 + (this.indexs - 1) + '01'], 111);
|
||||||
|
} else {
|
||||||
|
that.$refs.uToast.show({
|
||||||
|
title: res.msg,
|
||||||
|
type: 'error'
|
||||||
|
});
|
||||||
|
}
|
||||||
|
});
|
||||||
|
},
|
||||||
|
padString: function padString(str, length) {
|
||||||
|
return str.padStart(length, '0');
|
||||||
|
},
|
||||||
|
getType00: function getType00() {
|
||||||
|
var number = this.padString(this.inputData1[10 + (this.indexs - 1) + "00"].toString(2), 3);
|
||||||
|
// console.log(number);
|
||||||
|
if (Number(number[0])) {
|
||||||
|
this.topActive = 1;
|
||||||
|
} else if (Number(number[1])) {
|
||||||
|
this.topActive = 2;
|
||||||
|
} else if (Number(number[2])) {
|
||||||
|
this.topActive = 3;
|
||||||
|
} else {
|
||||||
|
this.topActive = 0;
|
||||||
|
}
|
||||||
|
},
|
||||||
|
change00: function change00(index) {
|
||||||
|
uni.showLoading({
|
||||||
|
title: '加载中...'
|
||||||
|
});
|
||||||
|
this.topActive = index;
|
||||||
|
var list = ["0", "0", "0"];
|
||||||
|
if (index == 1) {
|
||||||
|
list[0] = "1";
|
||||||
|
} else {
|
||||||
|
list[0] = "0";
|
||||||
|
}
|
||||||
|
if (index == 2) {
|
||||||
|
list[1] = "1";
|
||||||
|
} else {
|
||||||
|
list[1] = "0";
|
||||||
|
}
|
||||||
|
if (index == 3) {
|
||||||
|
list[2] = "1";
|
||||||
|
} else {
|
||||||
|
list[2] = "0";
|
||||||
|
}
|
||||||
|
var num = list.join("");
|
||||||
|
var dataNum = {
|
||||||
|
target: {
|
||||||
|
value: parseInt(num, 2)
|
||||||
|
}
|
||||||
|
};
|
||||||
|
this.change(10 + (this.indexs - 1) + "00", dataNum);
|
||||||
|
},
|
||||||
|
getDataInfo2: function getDataInfo2() {
|
||||||
|
var inputData = this.inputData;
|
||||||
|
this.dataInfo2_list[0].timer = this.countData(inputData['36']) + 'min';
|
||||||
|
this.dataInfo2_list[1].timer = this.countData(inputData['28']) + 'L/h';
|
||||||
|
this.dataInfo2_list[2].timer = this.countData(inputData['37']) + 'L';
|
||||||
|
// this.dataInfo2_list[3].timer=this.countData(inputData['28'])
|
||||||
|
this.dataInfo2_list[4].timer = this.countData(inputData['31']);
|
||||||
|
this.dataInfo2_list[5].timer = this.countData(inputData['38']);
|
||||||
|
},
|
||||||
|
//什么方式启动的灌溉
|
||||||
|
getData29: function getData29() {
|
||||||
|
var number = this.padString(this.inputData['29'].toString(2), 14);
|
||||||
|
var index = 6;
|
||||||
|
var typeNumber = -1;
|
||||||
|
for (var i = 0; i < index; i++) {
|
||||||
|
if (Number(number[i])) {
|
||||||
|
typeNumber = i;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
this.openType = this.getType29(typeNumber);
|
||||||
|
this.dataInfo2_list[3].timer = this.getType29(typeNumber);
|
||||||
|
var statusIndex = 8;
|
||||||
|
var list = [];
|
||||||
|
for (var j = 0; j < statusIndex; j++) {
|
||||||
|
if (Number(number[number.length - 1 - j])) {
|
||||||
|
if (j == 0) {
|
||||||
|
list.push(1);
|
||||||
|
} else if (j == 1) {
|
||||||
|
list.push(0);
|
||||||
|
} else {
|
||||||
|
list.push(j);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
this.right2Index = list;
|
||||||
|
},
|
||||||
|
//进水泵和出水泵状态
|
||||||
|
getData30: function getData30() {
|
||||||
|
var number = this.padString(this.inputData['30'].toString(2), 2);
|
||||||
|
this.left1Act = number;
|
||||||
|
// if (this.inputData['30'].bit0 == 1) {
|
||||||
|
// this.left1Act = 1
|
||||||
|
// } else if (this.inputData['30'].bit1 == 1) {
|
||||||
|
// this.left1Act = 2
|
||||||
|
// } else {
|
||||||
|
// this.left1Act = 3
|
||||||
|
// }
|
||||||
|
// if (Number(number[0])) {
|
||||||
|
// this.left1Act = 1
|
||||||
|
// }
|
||||||
|
// if (Number(number[1])) {
|
||||||
|
// this.left1Act = 0
|
||||||
|
// }
|
||||||
|
// if (Number(number[0])&&Number(number[1])) {
|
||||||
|
// this.left1Act = 3
|
||||||
|
// }else {
|
||||||
|
// this.left1Act = -1
|
||||||
|
// }
|
||||||
|
},
|
||||||
|
changeData10: function changeData10(code, el) {
|
||||||
|
var data = el.target.value * 10;
|
||||||
|
var sendData = {
|
||||||
|
target: {
|
||||||
|
value: data
|
||||||
|
}
|
||||||
|
};
|
||||||
|
this.change(code, sendData);
|
||||||
|
},
|
||||||
|
//间隔灌溉天数
|
||||||
|
change: function change(code, el) {
|
||||||
|
var data = {
|
||||||
|
equipmentId: this.deviceId,
|
||||||
|
regAddress: code,
|
||||||
|
num: el.target.value
|
||||||
|
};
|
||||||
|
this.delayTimer(0, data);
|
||||||
|
},
|
||||||
|
//限制 写入停止后j*100毫秒调取函数
|
||||||
|
delayTimer: function delayTimer(i, data) {
|
||||||
|
var _this6 = this;
|
||||||
|
var that = this;
|
||||||
|
//整体接口
|
||||||
|
var j = 5;
|
||||||
|
//避免开启多个计时器
|
||||||
|
this.timer && clearInterval(this.timer);
|
||||||
|
this.timer = setInterval(function () {
|
||||||
|
++i;
|
||||||
|
if (i == j) {
|
||||||
|
that.changeData(data);
|
||||||
|
clearInterval(_this6.timer);
|
||||||
|
}
|
||||||
|
}, 100);
|
||||||
|
},
|
||||||
|
changeData: function changeData(data) {
|
||||||
|
var that = this;
|
||||||
|
this.$http({
|
||||||
|
url: this.api.writeFs,
|
||||||
|
data: data
|
||||||
|
}).then(function (res) {
|
||||||
|
if (res.code == 200) {
|
||||||
|
uni.hideLoading();
|
||||||
|
// this.getReg()
|
||||||
|
|
||||||
|
that.$refs.uToast.show({
|
||||||
|
title: res.msg,
|
||||||
|
type: 'success'
|
||||||
|
});
|
||||||
|
} else {
|
||||||
|
that.$refs.uToast.show({
|
||||||
|
title: res.msg,
|
||||||
|
type: 'error'
|
||||||
|
});
|
||||||
|
}
|
||||||
|
});
|
||||||
|
},
|
||||||
|
getcenterBottom: function getcenterBottom() {
|
||||||
|
this.centerBottom = [];
|
||||||
|
var inputData = this.inputData;
|
||||||
|
var list1 = this.padString(inputData['32'].toString(2), 16);
|
||||||
|
var list2 = this.padString(inputData['33'].toString(2), 16);
|
||||||
|
var list3 = this.padString(inputData['34'].toString(2), 16);
|
||||||
|
var list4 = this.padString(inputData['35'].toString(2), 16);
|
||||||
|
var number = 16;
|
||||||
|
for (var i = 0; i < number; i++) {
|
||||||
|
if (Number(list1[list1.length - 1 - i])) {
|
||||||
|
this.centerBottom.push(i);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
for (var j = 0; j < number; j++) {
|
||||||
|
if (Number(list2[list2.length - 1 - j])) {
|
||||||
|
this.centerBottom.push(j + 16);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
for (var k = 0; k < number; k++) {
|
||||||
|
if (Number(list3[list3.length - 1 - k])) {
|
||||||
|
this.centerBottom.push(k + 32);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
for (var l = 0; l < number; l++) {
|
||||||
|
if (Number(list4[list4.length - 1 - l])) {
|
||||||
|
this.centerBottom.push(l + 48);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
countData: function countData(data) {
|
||||||
|
if (data) {
|
||||||
|
return data;
|
||||||
|
} else {
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}, (0, _defineProperty2.default)(_methods, "padString", function padString(str, length) {
|
||||||
|
return str.padStart(length, '0');
|
||||||
|
}), (0, _defineProperty2.default)(_methods, "countData100", function countData100(data) {
|
||||||
|
if (data) {
|
||||||
|
return data / 100;
|
||||||
|
} else {
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
}), (0, _defineProperty2.default)(_methods, "getType29", function getType29(index) {
|
||||||
|
if (index == 0) {
|
||||||
|
return '手动开启动';
|
||||||
|
} else if (index == 1) {
|
||||||
|
return '外控模式启动';
|
||||||
|
} else if (index == 2) {
|
||||||
|
return '光照积累启动';
|
||||||
|
} else if (index == 3) {
|
||||||
|
return '土壤湿度控制';
|
||||||
|
} else if (index == 4) {
|
||||||
|
return '间隔启动';
|
||||||
|
} else if (index == 5) {
|
||||||
|
return '定时启动';
|
||||||
|
} else {
|
||||||
|
return '无';
|
||||||
|
}
|
||||||
|
}), (0, _defineProperty2.default)(_methods, "countType1", function countType1(data) {
|
||||||
|
return data - 400;
|
||||||
|
}), (0, _defineProperty2.default)(_methods, "countType2", function countType2(data) {
|
||||||
|
return data / 10;
|
||||||
|
}), (0, _defineProperty2.default)(_methods, "countType3", function countType3(data) {
|
||||||
|
return (data - 400) / 10;
|
||||||
|
}), (0, _defineProperty2.default)(_methods, "getTypeData", function getTypeData(dataCode, typeCode) {
|
||||||
|
var _this7 = this;
|
||||||
|
var typeList = this.$store.state.typeList;
|
||||||
|
var countType = 0;
|
||||||
|
typeList.forEach(function (el, index) {
|
||||||
|
if (el.value == _this7.inputData1[typeCode]) {
|
||||||
|
console.log(_this7.inputData1[typeCode], 111, el.countType);
|
||||||
|
countType = el.countType;
|
||||||
|
}
|
||||||
|
});
|
||||||
|
if (countType == 0) {
|
||||||
|
return this.inputData[dataCode];
|
||||||
|
} else if (countType == 1) {
|
||||||
|
return this.countType1(this.inputData[dataCode]);
|
||||||
|
} else if (countType == 2) {
|
||||||
|
return this.countType2(this.inputData[dataCode]);
|
||||||
|
} else if (countType == 3) {
|
||||||
|
return this.countType3(this.inputData[dataCode]);
|
||||||
|
}
|
||||||
|
}), (0, _defineProperty2.default)(_methods, "signalHandler", function signalHandler(index) {
|
||||||
|
this.signalCurrent = index;
|
||||||
|
}), (0, _defineProperty2.default)(_methods, "showPop", function showPop(index) {
|
||||||
|
var _this8 = this;
|
||||||
|
this.show = true;
|
||||||
|
this.indexs = index;
|
||||||
|
this.getReg();
|
||||||
|
this.readFs_byid_list.forEach(function (el, j) {
|
||||||
|
if (index == j + 1) {
|
||||||
|
_this8.readFs_byid_name = _this8.readFs_byid_name_obj[el];
|
||||||
|
}
|
||||||
|
});
|
||||||
|
}), (0, _defineProperty2.default)(_methods, "closePop", function closePop() {
|
||||||
|
// this.dataInit();
|
||||||
|
// this.getReg();
|
||||||
|
this.show = false;
|
||||||
|
}), _methods)
|
||||||
|
};
|
||||||
|
exports.default = _default;
|
||||||
|
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
|
||||||
|
|
||||||
|
/***/ }),
|
||||||
|
|
||||||
|
/***/ 382:
|
||||||
|
/*!********************************************************************************************************************************************!*\
|
||||||
|
!*** D:/前端/云上温室/wszhyWx/pages/fertilizer_machine_new/fertilizer_machine_new.vue?vue&type=style&index=0&id=60331366&lang=scss&scoped=true& ***!
|
||||||
|
\********************************************************************************************************************************************/
|
||||||
|
/*! no static exports found */
|
||||||
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||||
|
|
||||||
|
"use strict";
|
||||||
|
__webpack_require__.r(__webpack_exports__);
|
||||||
|
/* harmony import */ var _HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_fertilizer_machine_new_vue_vue_type_style_index_0_id_60331366_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--8-oneOf-1-2!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src??ref--8-oneOf-1-3!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--8-oneOf-1-5!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./fertilizer_machine_new.vue?vue&type=style&index=0&id=60331366&lang=scss&scoped=true& */ 383);
|
||||||
|
/* harmony import */ var _HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_fertilizer_machine_new_vue_vue_type_style_index_0_id_60331366_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_fertilizer_machine_new_vue_vue_type_style_index_0_id_60331366_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
|
||||||
|
/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_fertilizer_machine_new_vue_vue_type_style_index_0_id_60331366_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__) if(["default"].indexOf(__WEBPACK_IMPORT_KEY__) < 0) (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_fertilizer_machine_new_vue_vue_type_style_index_0_id_60331366_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__));
|
||||||
|
/* harmony default export */ __webpack_exports__["default"] = (_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_fertilizer_machine_new_vue_vue_type_style_index_0_id_60331366_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0___default.a);
|
||||||
|
|
||||||
|
/***/ }),
|
||||||
|
|
||||||
|
/***/ 383:
|
||||||
|
/*!************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
|
||||||
|
!*** ./node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!./node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--8-oneOf-1-2!./node_modules/postcss-loader/src??ref--8-oneOf-1-3!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--8-oneOf-1-5!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!D:/前端/云上温室/wszhyWx/pages/fertilizer_machine_new/fertilizer_machine_new.vue?vue&type=style&index=0&id=60331366&lang=scss&scoped=true& ***!
|
||||||
|
\************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
|
||||||
|
/*! no static exports found */
|
||||||
|
/***/ (function(module, exports, __webpack_require__) {
|
||||||
|
|
||||||
|
// extracted by mini-css-extract-plugin
|
||||||
|
if(false) { var cssReload; }
|
||||||
|
|
||||||
|
|
||||||
|
/***/ })
|
||||||
|
|
||||||
|
},[[376,"common/runtime","common/vendor"]]]);
|
||||||
|
//# sourceMappingURL=../../../.sourcemap/mp-weixin/pages/fertilizer_machine_new/fertilizer_machine_new.js.map
|
|
@ -0,0 +1,10 @@
|
||||||
|
{
|
||||||
|
"navigationBarTitleText": "",
|
||||||
|
"navigationStyle": "custom",
|
||||||
|
"enablePullDownRefresh": true,
|
||||||
|
"usingComponents": {
|
||||||
|
"u-navbar": "/node-modules/uview-ui/components/u-navbar/u-navbar",
|
||||||
|
"u-popup": "/node-modules/uview-ui/components/u-popup/u-popup",
|
||||||
|
"u-toast": "/node-modules/uview-ui/components/u-toast/u-toast"
|
||||||
|
}
|
||||||
|
}
|
File diff suppressed because one or more lines are too long
|
@ -0,0 +1,540 @@
|
||||||
|
@charset "UTF-8";
|
||||||
|
/**
|
||||||
|
* 这里是uni-app内置的常用样式变量
|
||||||
|
*
|
||||||
|
* uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
|
||||||
|
* 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
/**
|
||||||
|
* 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
|
||||||
|
*
|
||||||
|
* 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
|
||||||
|
*/
|
||||||
|
/* 颜色变量 */
|
||||||
|
/* 行为相关颜色 */
|
||||||
|
/* 文字基本颜色 */
|
||||||
|
/* 背景颜色 */
|
||||||
|
/* 边框颜色 */
|
||||||
|
/* 尺寸变量 */
|
||||||
|
/* 文字尺寸 */
|
||||||
|
/* 图片尺寸 */
|
||||||
|
/* Border Radius */
|
||||||
|
/* 水平间距 */
|
||||||
|
/* 垂直间距 */
|
||||||
|
/* 透明度 */
|
||||||
|
/* 文章场景相关 */
|
||||||
|
.fertilizer_machine.data-v-60331366 {
|
||||||
|
width: 100%;
|
||||||
|
min-height: 100vh;
|
||||||
|
background-color: #F5F6FA;
|
||||||
|
}
|
||||||
|
.fertilizer_machine .btn.data-v-60331366 {
|
||||||
|
width: 190rpx;
|
||||||
|
height: 66rpx;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
}
|
||||||
|
.fertilizer_machine .btn > image.data-v-60331366 {
|
||||||
|
width: 30rpx;
|
||||||
|
height: 30rpx;
|
||||||
|
}
|
||||||
|
.fertilizer_machine .btn > image.fan-img.data-v-60331366 {
|
||||||
|
-webkit-animation: rotate-data-v-60331366 5s linear infinite;
|
||||||
|
animation: rotate-data-v-60331366 5s linear infinite;
|
||||||
|
/* 持续时间为 5 秒,线性缓动,无限循环 */
|
||||||
|
/* 定义旋转动画 */
|
||||||
|
}
|
||||||
|
@-webkit-keyframes rotate-data-v-60331366 {
|
||||||
|
from {
|
||||||
|
-webkit-transform: rotate(0deg);
|
||||||
|
transform: rotate(0deg);
|
||||||
|
}
|
||||||
|
to {
|
||||||
|
-webkit-transform: rotate(360deg);
|
||||||
|
transform: rotate(360deg);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@keyframes rotate-data-v-60331366 {
|
||||||
|
from {
|
||||||
|
-webkit-transform: rotate(0deg);
|
||||||
|
transform: rotate(0deg);
|
||||||
|
}
|
||||||
|
to {
|
||||||
|
-webkit-transform: rotate(360deg);
|
||||||
|
transform: rotate(360deg);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.fertilizer_machine .btn ._span.data-v-60331366 {
|
||||||
|
margin-left: 10rpx;
|
||||||
|
}
|
||||||
|
.fertilizer_machine .btn.btn-on.data-v-60331366 {
|
||||||
|
background: linear-gradient(0deg, #54CDA4, #27B584);
|
||||||
|
border-radius: 10rpx;
|
||||||
|
}
|
||||||
|
.fertilizer_machine .btn.btn-on ._span.data-v-60331366 {
|
||||||
|
color: #fff !important;
|
||||||
|
}
|
||||||
|
.fertilizer_machine .btn.btn-off.data-v-60331366 {
|
||||||
|
background: #EFFCF7;
|
||||||
|
border: 2px solid rgba(58, 187, 144, 0.25);
|
||||||
|
border-radius: 10rpx;
|
||||||
|
box-sizing: border-box;
|
||||||
|
}
|
||||||
|
.fertilizer_machine .btn.btn-off ._span.data-v-60331366 {
|
||||||
|
font-weight: bold;
|
||||||
|
color: #24B383;
|
||||||
|
}
|
||||||
|
.fertilizer_machine .content.data-v-60331366 {
|
||||||
|
box-sizing: border-box;
|
||||||
|
padding: 20rpx 30rpx;
|
||||||
|
}
|
||||||
|
.fertilizer_machine .content .output_valve.data-v-60331366 {
|
||||||
|
width: 690rpx;
|
||||||
|
background: #FFFFFF;
|
||||||
|
box-shadow: 0rpx 4rpx 20rpx 0rpx rgba(153, 153, 153, 0.1);
|
||||||
|
border-radius: 20rpx;
|
||||||
|
box-sizing: border-box;
|
||||||
|
padding: 20rpx;
|
||||||
|
}
|
||||||
|
.fertilizer_machine .content .output_valve .title.data-v-60331366 {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
}
|
||||||
|
.fertilizer_machine .content .output_valve .title > image.data-v-60331366 {
|
||||||
|
width: 50rpx;
|
||||||
|
height: 50rpx;
|
||||||
|
margin-right: 16rpx;
|
||||||
|
}
|
||||||
|
.fertilizer_machine .content .output_valve .title > text.data-v-60331366 {
|
||||||
|
font-size: 30rpx;
|
||||||
|
font-family: PingFang-SC-Bold;
|
||||||
|
font-weight: bold;
|
||||||
|
color: #333333;
|
||||||
|
}
|
||||||
|
.fertilizer_machine .content .output_valve .detail.data-v-60331366 {
|
||||||
|
margin-top: 16rpx;
|
||||||
|
display: flex;
|
||||||
|
flex-wrap: wrap;
|
||||||
|
}
|
||||||
|
.fertilizer_machine .content .output_valve .detail .item.data-v-60331366 {
|
||||||
|
flex-shrink: 0;
|
||||||
|
width: 90rpx;
|
||||||
|
height: 54rpx;
|
||||||
|
background: #EFFCF7;
|
||||||
|
border: 2px solid rgba(58, 187, 144, 0.25);
|
||||||
|
border-radius: 10rpx;
|
||||||
|
font-size: 28rpx;
|
||||||
|
font-family: PingFang-SC-Bold;
|
||||||
|
font-weight: bold;
|
||||||
|
color: #24B383;
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
align-items: center;
|
||||||
|
margin: 5rpx 8rpx;
|
||||||
|
flex-shrink: 0;
|
||||||
|
}
|
||||||
|
.fertilizer_machine .content .dataInfo1.data-v-60331366 {
|
||||||
|
width: 690rpx;
|
||||||
|
height: 180rpx;
|
||||||
|
background: #FFFFFF;
|
||||||
|
box-shadow: 0rpx 4rpx 20rpx 0rpx rgba(153, 153, 153, 0.1);
|
||||||
|
border-radius: 20rpx;
|
||||||
|
margin-top: 15rpx;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: space-around;
|
||||||
|
}
|
||||||
|
.fertilizer_machine .content .dataInfo1 .item.data-v-60331366,
|
||||||
|
.fertilizer_machine .content .dataInfo1 .item1.data-v-60331366 {
|
||||||
|
width: 25%;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
flex-shrink: 0;
|
||||||
|
}
|
||||||
|
.fertilizer_machine .content .dataInfo1 .item > text.data-v-60331366:nth-child(2),
|
||||||
|
.fertilizer_machine .content .dataInfo1 .item1 > text.data-v-60331366:nth-child(2) {
|
||||||
|
font-size: 24rpx;
|
||||||
|
font-family: PingFang-SC-Bold;
|
||||||
|
font-weight: bold;
|
||||||
|
color: #333333;
|
||||||
|
margin: 6rpx 0 8rpx 0;
|
||||||
|
}
|
||||||
|
.fertilizer_machine .content .dataInfo1 .item > text.data-v-60331366:nth-child(3),
|
||||||
|
.fertilizer_machine .content .dataInfo1 .item1 > text.data-v-60331366:nth-child(3) {
|
||||||
|
font-size: 28rpx;
|
||||||
|
font-family: PingFang-SC-Bold;
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
.fertilizer_machine .content .dataInfo1 .item .img.data-v-60331366 {
|
||||||
|
height: 59rpx;
|
||||||
|
}
|
||||||
|
.fertilizer_machine .content .dataInfo1 .item .img > image.data-v-60331366 {
|
||||||
|
width: 45rpx;
|
||||||
|
height: 59rpx;
|
||||||
|
}
|
||||||
|
.fertilizer_machine .content .dataInfo1 .item > text.data-v-60331366:nth-child(3) {
|
||||||
|
color: #1EA6F5;
|
||||||
|
}
|
||||||
|
.fertilizer_machine .content .dataInfo1 .item1 .img.data-v-60331366 {
|
||||||
|
height: 59rpx;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
}
|
||||||
|
.fertilizer_machine .content .dataInfo1 .item1 .img > image.data-v-60331366 {
|
||||||
|
width: 52rpx;
|
||||||
|
height: 42rpx;
|
||||||
|
}
|
||||||
|
.fertilizer_machine .content .dataInfo1 .item1 > text.data-v-60331366:nth-child(3) {
|
||||||
|
color: #3EC195;
|
||||||
|
}
|
||||||
|
.fertilizer_machine .content .dataInfo2.data-v-60331366 {
|
||||||
|
width: 690rpx;
|
||||||
|
height: 480rpx;
|
||||||
|
background: #FFFFFF;
|
||||||
|
box-shadow: 0rpx 4rpx 20rpx 0rpx rgba(153, 153, 153, 0.1);
|
||||||
|
border-radius: 20rpx;
|
||||||
|
margin-top: 15rpx;
|
||||||
|
box-sizing: border-box;
|
||||||
|
padding: 9rpx 0rpx 19rpx;
|
||||||
|
}
|
||||||
|
.fertilizer_machine .content .dataInfo2 .top.data-v-60331366 {
|
||||||
|
width: 100%;
|
||||||
|
display: flex;
|
||||||
|
flex-wrap: wrap;
|
||||||
|
justify-content: space-evenly;
|
||||||
|
}
|
||||||
|
.fertilizer_machine .content .dataInfo2 .top .item.data-v-60331366 {
|
||||||
|
width: 33%;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
justify-content: center;
|
||||||
|
align-items: center;
|
||||||
|
}
|
||||||
|
.fertilizer_machine .content .dataInfo2 .top .item > image.data-v-60331366 {
|
||||||
|
width: 108rpx;
|
||||||
|
height: 108rpx;
|
||||||
|
}
|
||||||
|
.fertilizer_machine .content .dataInfo2 .top .item > text.data-v-60331366:nth-child(2) {
|
||||||
|
font-size: 24rpx;
|
||||||
|
font-family: PingFang SC;
|
||||||
|
font-weight: bold;
|
||||||
|
color: #333333;
|
||||||
|
}
|
||||||
|
.fertilizer_machine .content .dataInfo2 .top .item > text.data-v-60331366:nth-child(3) {
|
||||||
|
font-size: 30rpx;
|
||||||
|
font-family: PingFang SC;
|
||||||
|
font-weight: bold;
|
||||||
|
color: #1EA6F5;
|
||||||
|
}
|
||||||
|
.fertilizer_machine .content .dataInfo2 .bottom.data-v-60331366 {
|
||||||
|
box-sizing: border-box;
|
||||||
|
padding: 8rpx 30rpx;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: space-between;
|
||||||
|
}
|
||||||
|
.fertilizer_machine .content .dataInfo2 .bottom .btn-1 > image.data-v-60331366 {
|
||||||
|
width: 39rpx;
|
||||||
|
height: 28rpx;
|
||||||
|
margin-right: 10rpx;
|
||||||
|
}
|
||||||
|
.fertilizer_machine .content .dataInfo2 .bottom .btn-2 > image.data-v-60331366 {
|
||||||
|
width: 27rpx;
|
||||||
|
height: 33rpx;
|
||||||
|
margin-right: 10rpx;
|
||||||
|
}
|
||||||
|
.fertilizer_machine .content .dataInfo2 .bottom .in.data-v-60331366 {
|
||||||
|
width: 300rpx;
|
||||||
|
height: 80rpx;
|
||||||
|
background: linear-gradient(0deg, #54CDA4, #27B584);
|
||||||
|
border-radius: 10rpx;
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
align-items: center;
|
||||||
|
}
|
||||||
|
.fertilizer_machine .content .dataInfo2 .bottom .in text.data-v-60331366 {
|
||||||
|
font-size: 30rpx;
|
||||||
|
font-family: PingFang-SC-Bold;
|
||||||
|
font-weight: bold;
|
||||||
|
color: #FFFFFF;
|
||||||
|
}
|
||||||
|
.fertilizer_machine .content .dataInfo2 .bottom .out.data-v-60331366 {
|
||||||
|
width: 300rpx;
|
||||||
|
height: 80rpx;
|
||||||
|
background: #EFFCF7;
|
||||||
|
border: 2px solid rgba(58, 187, 144, 0.25);
|
||||||
|
border-radius: 10rpx;
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
align-items: center;
|
||||||
|
}
|
||||||
|
.fertilizer_machine .content .dataInfo2 .bottom .out text.data-v-60331366 {
|
||||||
|
font-size: 30rpx;
|
||||||
|
font-family: PingFang-SC-Bold;
|
||||||
|
font-weight: bold;
|
||||||
|
color: #24B383;
|
||||||
|
}
|
||||||
|
.fertilizer_machine .content .signal.data-v-60331366 {
|
||||||
|
width: 690rpx;
|
||||||
|
height: 180rpx;
|
||||||
|
background: #FFFFFF;
|
||||||
|
box-shadow: 0rpx 4rpx 20rpx 0rpx rgba(153, 153, 153, 0.1);
|
||||||
|
border-radius: 20rpx;
|
||||||
|
margin-top: 15rpx;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: space-between;
|
||||||
|
white-space: nowrap;
|
||||||
|
box-sizing: border-box;
|
||||||
|
padding: 20rpx 30rpx;
|
||||||
|
}
|
||||||
|
.fertilizer_machine .content .signal > view.data-v-60331366 {
|
||||||
|
width: 100%;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: space-between;
|
||||||
|
}
|
||||||
|
.fertilizer_machine .content .signal .item.data-v-60331366 {
|
||||||
|
width: 140rpx;
|
||||||
|
height: 60rpx;
|
||||||
|
background: #EFFCF7;
|
||||||
|
border: 2px solid rgba(58, 187, 144, 0.25);
|
||||||
|
border-radius: 10rpx;
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
align-items: center;
|
||||||
|
font-size: 24rpx;
|
||||||
|
font-family: PingFang-SC-Bold;
|
||||||
|
font-weight: bold;
|
||||||
|
color: #24B383;
|
||||||
|
}
|
||||||
|
.fertilizer_machine .content .signal .item_act.data-v-60331366 {
|
||||||
|
width: 140rpx;
|
||||||
|
height: 60rpx;
|
||||||
|
background: linear-gradient(0deg, #54CDA4, #27B584);
|
||||||
|
border-radius: 10rpx;
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
align-items: center;
|
||||||
|
font-size: 24rpx;
|
||||||
|
font-family: PingFang-SC-Bold;
|
||||||
|
font-weight: bold;
|
||||||
|
color: #FFFFFF;
|
||||||
|
}
|
||||||
|
.fertilizer_machine .content .set.data-v-60331366 {
|
||||||
|
width: 690rpx;
|
||||||
|
background-color: #F5F6FA;
|
||||||
|
margin-top: 15rpx;
|
||||||
|
}
|
||||||
|
.fertilizer_machine .content .set .item.data-v-60331366 {
|
||||||
|
height: 80rpx;
|
||||||
|
background: #FFFFFF;
|
||||||
|
box-shadow: 0rpx 4rpx 20rpx 0rpx rgba(153, 153, 153, 0.1);
|
||||||
|
border-radius: 15rpx;
|
||||||
|
display: flex;
|
||||||
|
justify-content: space-between;
|
||||||
|
align-items: center;
|
||||||
|
box-sizing: border-box;
|
||||||
|
padding: 0 30rpx 0 33rpx;
|
||||||
|
margin-bottom: 15rpx;
|
||||||
|
}
|
||||||
|
.fertilizer_machine .content .set .item .left.data-v-60331366 {
|
||||||
|
font-size: 30rpx;
|
||||||
|
font-family: PingFang-SC-Bold;
|
||||||
|
font-weight: bold;
|
||||||
|
color: #333333;
|
||||||
|
}
|
||||||
|
.fertilizer_machine .content .set .item .right.data-v-60331366 {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
}
|
||||||
|
.fertilizer_machine .content .set .item .right > text.data-v-60331366 {
|
||||||
|
font-size: 30rpx;
|
||||||
|
font-family: PingFang-SC-Bold;
|
||||||
|
font-weight: bold;
|
||||||
|
color: #999999;
|
||||||
|
margin-right: 20rpx;
|
||||||
|
}
|
||||||
|
.fertilizer_machine .content .set .item .right > image.data-v-60331366 {
|
||||||
|
width: 16rpx;
|
||||||
|
height: 8rpx;
|
||||||
|
}
|
||||||
|
.fertilizer_machine .content.data-v-60331366 .u-mode-center-box {
|
||||||
|
background-color: transparent;
|
||||||
|
}
|
||||||
|
.fertilizer_machine .content .irrigate_time1.data-v-60331366,
|
||||||
|
.fertilizer_machine .content .irrigate_time2.data-v-60331366,
|
||||||
|
.fertilizer_machine .content .irrigate_time3.data-v-60331366 {
|
||||||
|
height: 126rpx;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
font-size: 30rpx;
|
||||||
|
font-family: PingFang-SC-Bold;
|
||||||
|
font-weight: bold;
|
||||||
|
color: #333333;
|
||||||
|
box-sizing: border-box;
|
||||||
|
padding-left: 30rpx;
|
||||||
|
}
|
||||||
|
.fertilizer_machine .content .irrigate_time1 .irrigate_input.data-v-60331366,
|
||||||
|
.fertilizer_machine .content .irrigate_time2 .irrigate_input.data-v-60331366,
|
||||||
|
.fertilizer_machine .content .irrigate_time3 .irrigate_input.data-v-60331366 {
|
||||||
|
width: 90rpx;
|
||||||
|
height: 66rpx;
|
||||||
|
background: #F5F6FA;
|
||||||
|
border: 2px solid #E1E2E6;
|
||||||
|
border-radius: 10rpx;
|
||||||
|
margin: 0 15rpx;
|
||||||
|
}
|
||||||
|
.fertilizer_machine .content .irrigate_time1 .irrigate_input > input.data-v-60331366,
|
||||||
|
.fertilizer_machine .content .irrigate_time2 .irrigate_input > input.data-v-60331366,
|
||||||
|
.fertilizer_machine .content .irrigate_time3 .irrigate_input > input.data-v-60331366 {
|
||||||
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
.fertilizer_machine .content .irrigate_time3.data-v-60331366 {
|
||||||
|
flex-wrap: wrap;
|
||||||
|
height: auto;
|
||||||
|
padding: 20rpx 0 20rpx 30rpx;
|
||||||
|
}
|
||||||
|
.fertilizer_machine .content .irrigate_time3 > view.data-v-60331366 {
|
||||||
|
width: 100%;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
flex-shrink: 0;
|
||||||
|
}
|
||||||
|
.fertilizer_machine .content .irrigate_time3 > view.input-text.data-v-60331366 {
|
||||||
|
justify-content: flex-start;
|
||||||
|
}
|
||||||
|
.fertilizer_machine .content .contentPop.data-v-60331366 {
|
||||||
|
width: 100%;
|
||||||
|
height: calc(100% - 70rpx);
|
||||||
|
position: relative;
|
||||||
|
}
|
||||||
|
.fertilizer_machine .content .contentPop .contentPop_box.data-v-60331366 {
|
||||||
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
|
background-color: #fff;
|
||||||
|
border-radius: 20rpx;
|
||||||
|
padding-bottom: 30rpx;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
align-items: center;
|
||||||
|
}
|
||||||
|
.fertilizer_machine .content .contentPop .contentPop_box .title.data-v-60331366 {
|
||||||
|
width: 100%;
|
||||||
|
height: 91rpx;
|
||||||
|
font-size: 34rpx;
|
||||||
|
font-family: PingFang SC;
|
||||||
|
font-weight: bold;
|
||||||
|
color: #333333;
|
||||||
|
border-bottom: 1rpx solid #DDDDDD;
|
||||||
|
text-align: center;
|
||||||
|
line-height: 91rpx;
|
||||||
|
}
|
||||||
|
.fertilizer_machine .content .contentPop .contentPop_box .line_pop.data-v-60331366 {
|
||||||
|
width: 580rpx;
|
||||||
|
height: 1rpx;
|
||||||
|
background-color: #DDDDDD;
|
||||||
|
}
|
||||||
|
.fertilizer_machine .content .contentPop .contentPop_box .control_model.data-v-60331366 {
|
||||||
|
height: 172rpx;
|
||||||
|
box-sizing: border-box;
|
||||||
|
padding: 30rpx;
|
||||||
|
}
|
||||||
|
.fertilizer_machine .content .contentPop .contentPop_box .control_model .control.data-v-60331366 {
|
||||||
|
font-size: 28rpx;
|
||||||
|
font-family: PingFang SC;
|
||||||
|
font-weight: bold;
|
||||||
|
color: #333333;
|
||||||
|
}
|
||||||
|
.fertilizer_machine .content .contentPop .contentPop_box .control_model .model.data-v-60331366 {
|
||||||
|
width: 100%;
|
||||||
|
margin-top: 12rpx;
|
||||||
|
display: flex;
|
||||||
|
}
|
||||||
|
.fertilizer_machine .content .contentPop .contentPop_box .control_model .model .auto.data-v-60331366,
|
||||||
|
.fertilizer_machine .content .contentPop .contentPop_box .control_model .model .stop.data-v-60331366,
|
||||||
|
.fertilizer_machine .content .contentPop .contentPop_box .control_model .model .hand.data-v-60331366 {
|
||||||
|
width: 120rpx;
|
||||||
|
height: 66rpx;
|
||||||
|
background: #EFFCF7;
|
||||||
|
border: 2px solid rgba(58, 187, 144, 0.25);
|
||||||
|
border-radius: 10rpx;
|
||||||
|
font-size: 28rpx;
|
||||||
|
font-family: PingFang-SC-Bold;
|
||||||
|
font-weight: bold;
|
||||||
|
color: #24B383;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
margin-right: 20rpx;
|
||||||
|
}
|
||||||
|
.fertilizer_machine .content .contentPop .contentPop_box .control_model .model .auto_act.data-v-60331366,
|
||||||
|
.fertilizer_machine .content .contentPop .contentPop_box .control_model .model .stop_act.data-v-60331366,
|
||||||
|
.fertilizer_machine .content .contentPop .contentPop_box .control_model .model .hand_act.data-v-60331366 {
|
||||||
|
width: 120rpx;
|
||||||
|
height: 66rpx;
|
||||||
|
background: linear-gradient(0deg, #54CDA4, #27B584);
|
||||||
|
border-radius: 10rpx;
|
||||||
|
font-size: 28rpx;
|
||||||
|
font-family: PingFang-SC-Bold;
|
||||||
|
font-weight: bold;
|
||||||
|
color: #EFFCF7;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
margin-right: 20rpx;
|
||||||
|
}
|
||||||
|
.fertilizer_machine .content .contentPop .contentPop_box .control_model .model .two_min.data-v-60331366 {
|
||||||
|
width: 140rpx;
|
||||||
|
height: 66rpx;
|
||||||
|
background: #F5F6FA;
|
||||||
|
border: 2px solid #E1E2E6;
|
||||||
|
border-radius: 10rpx;
|
||||||
|
font-size: 34rpx;
|
||||||
|
font-family: PingFang-SC-Bold;
|
||||||
|
font-weight: bold;
|
||||||
|
color: #333333;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
}
|
||||||
|
.fertilizer_machine .content .contentPop .contentPop_box .changeMoreBtn.data-v-60331366 {
|
||||||
|
width: 340rpx;
|
||||||
|
height: 80rpx;
|
||||||
|
background: linear-gradient(0deg, #57CFA6, #25B383);
|
||||||
|
box-shadow: 0rpx 3rpx 15rpx 0rpx rgba(36, 179, 131, 0.35);
|
||||||
|
border-radius: 15rpx;
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
align-items: center;
|
||||||
|
margin: 30rpx auto;
|
||||||
|
}
|
||||||
|
.fertilizer_machine .content .contentPop .contentPop_box .changeMoreBtn > image.data-v-60331366 {
|
||||||
|
width: 30rpx;
|
||||||
|
height: 30rpx;
|
||||||
|
margin-right: 16rpx;
|
||||||
|
}
|
||||||
|
.fertilizer_machine .content .contentPop .contentPop_box .changeMoreBtn > text.data-v-60331366 {
|
||||||
|
font-size: 30rpx;
|
||||||
|
font-family: PingFang-SC-Bold;
|
||||||
|
font-weight: bold;
|
||||||
|
color: #FFFFFF;
|
||||||
|
}
|
||||||
|
.fertilizer_machine .content .contentPop > image.data-v-60331366 {
|
||||||
|
width: 50rpx;
|
||||||
|
height: 50rpx;
|
||||||
|
position: absolute;
|
||||||
|
bottom: -59rpx;
|
||||||
|
left: 50%;
|
||||||
|
-webkit-transform: translate(-50%);
|
||||||
|
transform: translate(-50%);
|
||||||
|
}
|
||||||
|
|
|
@ -239,9 +239,17 @@ var _default = {
|
||||||
methods: {
|
methods: {
|
||||||
// 离线或者在线
|
// 离线或者在线
|
||||||
toFertilizer: function toFertilizer(item) {
|
toFertilizer: function toFertilizer(item) {
|
||||||
uni.navigateTo({
|
//灌溉组1/20
|
||||||
url: '/pages/fertilizer_machine/fertilizer_machine?id=' + item.deviceId
|
|
||||||
});
|
if (item.deviceName == 1 || item.deviceName == 20) {
|
||||||
|
uni.navigateTo({
|
||||||
|
url: '/pages/fertilizer_machine_new/fertilizer_machine_new?id=' + item.deviceId
|
||||||
|
});
|
||||||
|
} else {
|
||||||
|
uni.navigateTo({
|
||||||
|
url: '/pages/fertilizer_machine/fertilizer_machine?id=' + item.deviceId
|
||||||
|
});
|
||||||
|
}
|
||||||
},
|
},
|
||||||
// 根据用户id查询对应的设备数据
|
// 根据用户id查询对应的设备数据
|
||||||
getEquipmentInfo: function getEquipmentInfo(userid) {
|
getEquipmentInfo: function getEquipmentInfo(userid) {
|
||||||
|
|
Loading…
Reference in New Issue