(this["webpackJsonp"] = this["webpackJsonp"] || []).push([["app-service"],[ /* 0 */ /*!*************************************************!*\ !*** D:/项目文件/uniapp/Waterinvoice_uiapp/main.js ***! \*************************************************/ /*! no static exports found */ /***/ (function(module, exports, __webpack_require__) { "use strict"; eval("\n\nvar _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 1);\nvar _defineProperty2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/defineProperty */ 2));\n__webpack_require__(/*! uni-pages */ 6);\nvar _App = _interopRequireDefault(__webpack_require__(/*! ./App */ 150));\nvar _vue = _interopRequireDefault(__webpack_require__(/*! vue */ 98));\n__webpack_require__(/*! ./uni.promisify.adaptor */ 153);\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { (0, _defineProperty2.default)(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }\n_vue.default.config.productionTip = false;\n_App.default.mpType = 'app';\nvar app = new _vue.default(_objectSpread({}, _App.default));\napp.$mount();//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInVuaS1hcHA6Ly8vRDov6aG555uu5paH5Lu2L3VuaWFwcC9XYXRlcmludm9pY2VfdWlhcHAvbWFpbi5qcyJdLCJuYW1lcyI6WyJWdWUiLCJjb25maWciLCJwcm9kdWN0aW9uVGlwIiwiQXBwIiwibXBUeXBlIiwiYXBwIiwiJG1vdW50Il0sIm1hcHBpbmdzIjoiOzs7O0FBQUE7QUFBbUI7QUFHbkI7QUFDQTtBQUFnQztBQUFBO0FBQ2hDQSxZQUFHLENBQUNDLE1BQU0sQ0FBQ0MsYUFBYSxHQUFHLEtBQUs7QUFDaENDLFlBQUcsQ0FBQ0MsTUFBTSxHQUFHLEtBQUs7QUFDbEIsSUFBTUMsR0FBRyxHQUFHLElBQUlMLFlBQUcsbUJBQ2RHLFlBQUcsRUFDTjtBQUNGRSxHQUFHLENBQUNDLE1BQU0sRUFBRSIsImZpbGUiOiIwLmpzIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0ICd1bmktcGFnZXMnO2ltcG9ydCBBcHAgZnJvbSAnLi9BcHAnXG5cblxuaW1wb3J0IFZ1ZSBmcm9tICd2dWUnXG5pbXBvcnQgJy4vdW5pLnByb21pc2lmeS5hZGFwdG9yJ1xuVnVlLmNvbmZpZy5wcm9kdWN0aW9uVGlwID0gZmFsc2VcbkFwcC5tcFR5cGUgPSAnYXBwJ1xuY29uc3QgYXBwID0gbmV3IFZ1ZSh7XG4gIC4uLkFwcFxufSlcbmFwcC4kbW91bnQoKVxuXG5cblxuXG5cblxuXG5cblxuXG4iXSwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///0\n"); /***/ }), /* 1 */ /*!**********************************************************************!*\ !*** ./node_modules/@babel/runtime/helpers/interopRequireDefault.js ***! \**********************************************************************/ /*! no static exports found */ /***/ (function(module, exports) { function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; } module.exports = _interopRequireDefault, module.exports.__esModule = true, module.exports["default"] = module.exports; /***/ }), /* 2 */ /*!***************************************************************!*\ !*** ./node_modules/@babel/runtime/helpers/defineProperty.js ***! \***************************************************************/ /*! no static exports found */ /***/ (function(module, exports, __webpack_require__) { var toPropertyKey = __webpack_require__(/*! ./toPropertyKey.js */ 3); function _defineProperty(obj, key, value) { key = toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; } module.exports = _defineProperty, module.exports.__esModule = true, module.exports["default"] = module.exports; /***/ }), /* 3 */ /*!**************************************************************!*\ !*** ./node_modules/@babel/runtime/helpers/toPropertyKey.js ***! \**************************************************************/ /*! no static exports found */ /***/ (function(module, exports, __webpack_require__) { var _typeof = __webpack_require__(/*! ./typeof.js */ 4)["default"]; var toPrimitive = __webpack_require__(/*! ./toPrimitive.js */ 5); function _toPropertyKey(arg) { var key = toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); } module.exports = _toPropertyKey, module.exports.__esModule = true, module.exports["default"] = module.exports; /***/ }), /* 4 */ /*!*******************************************************!*\ !*** ./node_modules/@babel/runtime/helpers/typeof.js ***! \*******************************************************/ /*! no static exports found */ /***/ (function(module, exports) { function _typeof(obj) { "@babel/helpers - typeof"; return (module.exports = _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, module.exports.__esModule = true, module.exports["default"] = module.exports), _typeof(obj); } module.exports = _typeof, module.exports.__esModule = true, module.exports["default"] = module.exports; /***/ }), /* 5 */ /*!************************************************************!*\ !*** ./node_modules/@babel/runtime/helpers/toPrimitive.js ***! \************************************************************/ /*! no static exports found */ /***/ (function(module, exports, __webpack_require__) { var _typeof = __webpack_require__(/*! ./typeof.js */ 4)["default"]; function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); } module.exports = _toPrimitive, module.exports.__esModule = true, module.exports["default"] = module.exports; /***/ }), /* 6 */ /*!****************************************************!*\ !*** D:/项目文件/uniapp/Waterinvoice_uiapp/pages.json ***! \****************************************************/ /*! no static exports found */ /***/ (function(module, exports, __webpack_require__) { if (typeof Promise !== 'undefined' && !Promise.prototype.finally) { Promise.prototype.finally = function (callback) { var promise = this.constructor; return this.then(function (value) { return promise.resolve(callback()).then(function () { return value; }); }, function (reason) { return promise.resolve(callback()).then(function () { throw reason; }); }); }; } if (typeof uni !== 'undefined' && uni && uni.requireGlobal) { var global = uni.requireGlobal(); ArrayBuffer = global.ArrayBuffer; Int8Array = global.Int8Array; Uint8Array = global.Uint8Array; Uint8ClampedArray = global.Uint8ClampedArray; Int16Array = global.Int16Array; Uint16Array = global.Uint16Array; Int32Array = global.Int32Array; Uint32Array = global.Uint32Array; Float32Array = global.Float32Array; Float64Array = global.Float64Array; BigInt64Array = global.BigInt64Array; BigUint64Array = global.BigUint64Array; } if (uni.restoreGlobal) { uni.restoreGlobal(weex, plus, setTimeout, clearTimeout, setInterval, clearInterval); } __definePage('pages/index/index', function () { return Vue.extend(__webpack_require__(/*! pages/index/index.vue?mpType=page */ 7).default); }); __definePage('pages/Invoicing/Invoicing', function () { return Vue.extend(__webpack_require__(/*! pages/Invoicing/Invoicing.vue?mpType=page */ 80).default); }); __definePage('pages/Invoiced/Invoiced', function () { return Vue.extend(__webpack_require__(/*! pages/Invoiced/Invoiced.vue?mpType=page */ 135).default); }); __definePage('pages/wxlogin/wxlogin', function () { return Vue.extend(__webpack_require__(/*! pages/wxlogin/wxlogin.vue?mpType=page */ 140).default); }); __definePage('pages/wxlogin/registerphone', function () { return Vue.extend(__webpack_require__(/*! pages/wxlogin/registerphone.vue?mpType=page */ 145).default); }); /***/ }), /* 7 */ /*!***************************************************************************!*\ !*** D:/项目文件/uniapp/Waterinvoice_uiapp/pages/index/index.vue?mpType=page ***! \***************************************************************************/ /*! no static exports found */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _index_vue_vue_type_template_id_2be84a3c_scoped_true_mpType_page__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./index.vue?vue&type=template&id=2be84a3c&scoped=true&mpType=page */ 8);\n/* harmony import */ var _index_vue_vue_type_script_lang_js_mpType_page__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./index.vue?vue&type=script&lang=js&mpType=page */ 77);\n/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _index_vue_vue_type_script_lang_js_mpType_page__WEBPACK_IMPORTED_MODULE_1__) if([\"default\"].indexOf(__WEBPACK_IMPORT_KEY__) < 0) (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _index_vue_vue_type_script_lang_js_mpType_page__WEBPACK_IMPORTED_MODULE_1__[key]; }) }(__WEBPACK_IMPORT_KEY__));\n/* harmony import */ var _C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/runtime/componentNormalizer.js */ 16);\n\nvar renderjs\n\n\n\n\n/* normalize component */\n\nvar component = Object(_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(\n _index_vue_vue_type_script_lang_js_mpType_page__WEBPACK_IMPORTED_MODULE_1__[\"default\"],\n _index_vue_vue_type_template_id_2be84a3c_scoped_true_mpType_page__WEBPACK_IMPORTED_MODULE_0__[\"render\"],\n _index_vue_vue_type_template_id_2be84a3c_scoped_true_mpType_page__WEBPACK_IMPORTED_MODULE_0__[\"staticRenderFns\"],\n false,\n null,\n \"2be84a3c\",\n null,\n false,\n _index_vue_vue_type_template_id_2be84a3c_scoped_true_mpType_page__WEBPACK_IMPORTED_MODULE_0__[\"components\"],\n renderjs\n)\n\ncomponent.options.__file = \"pages/index/index.vue\"\n/* harmony default export */ __webpack_exports__[\"default\"] = (component.exports);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbbnVsbF0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQUE7QUFBeUk7QUFDekk7QUFDb0U7QUFDTDs7O0FBRy9EO0FBQ2dPO0FBQ2hPLGdCQUFnQixzT0FBVTtBQUMxQixFQUFFLHNGQUFNO0FBQ1IsRUFBRSx1R0FBTTtBQUNSLEVBQUUsZ0hBQWU7QUFDakI7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBLEVBQUUsMkdBQVU7QUFDWjtBQUNBOztBQUVBO0FBQ2UsZ0YiLCJmaWxlIjoiNy5qcyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IHJlbmRlciwgc3RhdGljUmVuZGVyRm5zLCByZWN5Y2xhYmxlUmVuZGVyLCBjb21wb25lbnRzIH0gZnJvbSBcIi4vaW5kZXgudnVlP3Z1ZSZ0eXBlPXRlbXBsYXRlJmlkPTJiZTg0YTNjJnNjb3BlZD10cnVlJm1wVHlwZT1wYWdlXCJcbnZhciByZW5kZXJqc1xuaW1wb3J0IHNjcmlwdCBmcm9tIFwiLi9pbmRleC52dWU/dnVlJnR5cGU9c2NyaXB0Jmxhbmc9anMmbXBUeXBlPXBhZ2VcIlxuZXhwb3J0ICogZnJvbSBcIi4vaW5kZXgudnVlP3Z1ZSZ0eXBlPXNjcmlwdCZsYW5nPWpzJm1wVHlwZT1wYWdlXCJcblxuXG4vKiBub3JtYWxpemUgY29tcG9uZW50ICovXG5pbXBvcnQgbm9ybWFsaXplciBmcm9tIFwiIUM6XFxcXFVzZXJzXFxcXEFkbWluaXN0cmF0b3JcXFxcRG93bmxvYWRzXFxcXEhCdWlsZGVyWC4zLjguNC4yMDIzMDUzMVxcXFxIQnVpbGRlclhcXFxccGx1Z2luc1xcXFx1bmlhcHAtY2xpXFxcXG5vZGVfbW9kdWxlc1xcXFxAZGNsb3VkaW9cXFxcdnVlLWNsaS1wbHVnaW4tdW5pXFxcXHBhY2thZ2VzXFxcXHZ1ZS1sb2FkZXJcXFxcbGliXFxcXHJ1bnRpbWVcXFxcY29tcG9uZW50Tm9ybWFsaXplci5qc1wiXG52YXIgY29tcG9uZW50ID0gbm9ybWFsaXplcihcbiAgc2NyaXB0LFxuICByZW5kZXIsXG4gIHN0YXRpY1JlbmRlckZucyxcbiAgZmFsc2UsXG4gIG51bGwsXG4gIFwiMmJlODRhM2NcIixcbiAgbnVsbCxcbiAgZmFsc2UsXG4gIGNvbXBvbmVudHMsXG4gIHJlbmRlcmpzXG4pXG5cbmNvbXBvbmVudC5vcHRpb25zLl9fZmlsZSA9IFwicGFnZXMvaW5kZXgvaW5kZXgudnVlXCJcbmV4cG9ydCBkZWZhdWx0IGNvbXBvbmVudC5leHBvcnRzIl0sInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///7\n"); /***/ }), /* 8 */ /*!*********************************************************************************************************************!*\ !*** D:/项目文件/uniapp/Waterinvoice_uiapp/pages/index/index.vue?vue&type=template&id=2be84a3c&scoped=true&mpType=page ***! \*********************************************************************************************************************/ /*! exports provided: render, staticRenderFns, recyclableRender, components */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony import */ var _C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_11_0_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_filter_modules_template_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_index_vue_vue_type_template_id_2be84a3c_scoped_true_mpType_page__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!./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--11-0!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/filter-modules-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!./index.vue?vue&type=template&id=2be84a3c&scoped=true&mpType=page */ 9); /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "render", function() { return _C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_11_0_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_filter_modules_template_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_index_vue_vue_type_template_id_2be84a3c_scoped_true_mpType_page__WEBPACK_IMPORTED_MODULE_0__["render"]; }); /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return _C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_11_0_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_filter_modules_template_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_index_vue_vue_type_template_id_2be84a3c_scoped_true_mpType_page__WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"]; }); /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "recyclableRender", function() { return _C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_11_0_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_filter_modules_template_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_index_vue_vue_type_template_id_2be84a3c_scoped_true_mpType_page__WEBPACK_IMPORTED_MODULE_0__["recyclableRender"]; }); /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "components", function() { return _C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_11_0_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_filter_modules_template_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_index_vue_vue_type_template_id_2be84a3c_scoped_true_mpType_page__WEBPACK_IMPORTED_MODULE_0__["components"]; }); /***/ }), /* 9 */ /*!*************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ !*** ./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--11-0!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/filter-modules-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!D:/项目文件/uniapp/Waterinvoice_uiapp/pages/index/index.vue?vue&type=template&id=2be84a3c&scoped=true&mpType=page ***! \*************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ /*! 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 = { uniIcons: __webpack_require__(/*! @dcloudio/uni-ui/lib/uni-icons/uni-icons.vue */ 10).default, uniDatetimePicker: __webpack_require__(/*! @dcloudio/uni-ui/lib/uni-datetime-picker/uni-datetime-picker.vue */ 17) .default, uniLoadMore: __webpack_require__(/*! @dcloudio/uni-ui/lib/uni-load-more/uni-load-more.vue */ 56) .default, uniPopup: __webpack_require__(/*! @dcloudio/uni-ui/lib/uni-popup/uni-popup.vue */ 65).default, } } 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 return _c( "view", { staticClass: _vm._$s(0, "sc", "index"), attrs: { _i: 0 } }, [ _c("view", [ _c( "view", { staticClass: _vm._$s(2, "sc", "index_title"), attrs: { _i: 2 } }, [ _c( "view", { staticClass: _vm._$s(3, "sc", "d-flex"), attrs: { _i: 3 }, on: { click: _vm.toInvoicing }, }, [ _c("uni-icons", { attrs: { type: "plus", size: "40rpx", color: "#4b93d9", _i: 4, }, }), _c("view"), ], 1 ), ] ), _c( "view", { staticClass: _vm._$s(6, "sc", "index_picker"), attrs: { _i: 6 } }, [ _c("uni-datetime-picker", { attrs: { type: "daterange", rangeSeparator: "至", _i: 7 }, on: { change: _vm.handleDateTimeChange }, model: { value: _vm._$s(7, "v-model", _vm.datetimerange), callback: function ($$v) { _vm.datetimerange = $$v }, expression: "datetimerange", }, }), ], 1 ), ]), _c( "scroll-view", { staticClass: _vm._$s(8, "sc", "scroll-Y"), attrs: { "scroll-top": _vm._$s(8, "a-scroll-top", _vm.scrollTop), _i: 8, }, on: { scrolltolower: _vm.onReachBottom1, scroll: _vm.scrolltop }, }, [ _vm._l( _vm._$s(9, "f", { forItems: _vm.universityList }), function (item, index, $20, $30) { return _c( "view", { key: _vm._$s(9, "f", { forIndex: $20, key: index }), staticClass: _vm._$s("9-" + $30, "sc", "index_list"), class: _vm._$s( "9-" + $30, "c", item.status === "已作废" ? "back1" : "back2" ), attrs: { _i: "9-" + $30 }, on: { click: function ($event) { return _vm.toviewinvoice(item.serial_number, item.status) }, }, }, [ _c( "view", { staticClass: _vm._$s( "10-" + $30, "sc", "d-flex jcontent-between" ), attrs: { _i: "10-" + $30 }, }, [ _c( "view", { staticClass: _vm._$s( "11-" + $30, "sc", "index_list_size" ), class: _vm._$s( "11-" + $30, "c", item.status === "已作废" ? "grey1" : "black" ), attrs: { _i: "11-" + $30 }, }, [ _vm._v( _vm._$s( "11-" + $30, "t0-0", _vm._s(item.serial_number) ) ), ] ), _c( "view", { staticClass: _vm._$s( "12-" + $30, "sc", "index_list_color" ), class: _vm._$s( "12-" + $30, "c", item.status === "已作废" ? "grey2" : "blue" ), attrs: { _i: "12-" + $30 }, }, [ _vm._v( _vm._$s("12-" + $30, "t0-0", _vm._s(item.status)) ), ] ), ] ), _c( "view", { staticClass: _vm._$s( "13-" + $30, "sc", "d-flex jcontent-between" ), attrs: { _i: "13-" + $30 }, }, [ _c("view"), _c("view", [ _vm._v( _vm._$s("15-" + $30, "t0-0", _vm._s(item.project_id)) ), ]), ] ), _c( "view", { staticClass: _vm._$s( "16-" + $30, "sc", "d-flex jcontent-between" ), attrs: { _i: "16-" + $30 }, }, [ _c("view"), _c( "view", { staticClass: _vm._$s( "18-" + $30, "sc", "Price_color" ), class: _vm._$s( "18-" + $30, "c", item.status === "已作废" ? "grey3" : "green" ), attrs: { _i: "18-" + $30 }, }, [ _vm._v( _vm._$s("18-" + $30, "t0-0", _vm._s(item.amount)) ), ] ), ] ), _c( "view", { staticClass: _vm._$s( "19-" + $30, "sc", "d-flex jcontent-between" ), attrs: { _i: "19-" + $30 }, }, [ _c("view"), _c("view", [ _vm._v( _vm._$s("21-" + $30, "t0-0", _vm._s(item.head_type)) ), ]), ] ), _c( "view", { staticClass: _vm._$s( "22-" + $30, "sc", "d-flex jcontent-between" ), attrs: { _i: "22-" + $30 }, }, [ _c("view"), _c("view", [ _vm._v( _vm._$s("24-" + $30, "t0-0", _vm._s(item.head_title)) ), ]), ] ), _c( "view", { staticClass: _vm._$s( "25-" + $30, "sc", "d-flex jcontent-between" ), attrs: { _i: "25-" + $30 }, }, [ _c("view"), _c("view", [ _vm._v( _vm._$s("27-" + $30, "t0-0", _vm._s(item.create_time)) ), ]), ] ), _c( "view", { class: _vm._$s( "28-" + $30, "c", item.status === "已开票" ? "index_list_box1" : item.status === "已作废" ? "index_list_box3" : "" ), attrs: { _i: "28-" + $30 }, }, [ _c( "view", { class: _vm._$s( "29-" + $30, "c", item.status === "已开票" ? "index_list_box2" : item.status === "已作废" ? "index_list_box4" : "" ), attrs: { _i: "29-" + $30 }, }, [ _vm._v( _vm._$s( "29-" + $30, "t0-0", _vm._s( item.status === "已开票" ? "已开票" : item.status === "已作废" ? "已作废" : "" ) ) ), ] ), ] ), ] ) } ), _c("uni-load-more", { attrs: { status: _vm.status, "content-text": _vm.contentText, _i: 30, }, }), ], 2 ), _vm._$s(31, "i", this.scrollTop > 1500) ? _c( "view", { attrs: { _i: 31 }, on: { click: _vm.goTop } }, [ _c("uni-icons", { attrs: { type: "arrow-up", size: "40rpx", color: "#fff", _i: 32, }, }), ], 1 ) : _vm._e(), _c( "uni-popup", { ref: "popup", attrs: { type: "bottom", "background-color": "#fff", "border-radius": "10px 10px 0 0", _i: 33, }, on: { close: _vm.close }, }, [ _c("view", [ _c("view", [ _c("button", { attrs: { _i: 36 }, on: { click: _vm.login } }), ]), ]), ] ), ], 1 ) } var recyclableRender = false var staticRenderFns = [] render._withStripped = true /***/ }), /* 10 */ /*!***************************************************************************************************!*\ !*** D:/项目文件/uniapp/Waterinvoice_uiapp/node_modules/@dcloudio/uni-ui/lib/uni-icons/uni-icons.vue ***! \***************************************************************************************************/ /*! no static exports found */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony import */ var _uni_icons_vue_vue_type_template_id_857088fc___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./uni-icons.vue?vue&type=template&id=857088fc& */ 11); /* harmony import */ var _uni_icons_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./uni-icons.vue?vue&type=script&lang=js& */ 13); /* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _uni_icons_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 _uni_icons_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__[key]; }) }(__WEBPACK_IMPORT_KEY__)); /* harmony import */ var _C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/runtime/componentNormalizer.js */ 16); var renderjs /* normalize component */ var component = Object(_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_2__["default"])( _uni_icons_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__["default"], _uni_icons_vue_vue_type_template_id_857088fc___WEBPACK_IMPORTED_MODULE_0__["render"], _uni_icons_vue_vue_type_template_id_857088fc___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"], false, null, null, null, false, _uni_icons_vue_vue_type_template_id_857088fc___WEBPACK_IMPORTED_MODULE_0__["components"], renderjs ) component.options.__file = "node_modules/@dcloudio/uni-ui/lib/uni-icons/uni-icons.vue" /* harmony default export */ __webpack_exports__["default"] = (component.exports); /***/ }), /* 11 */ /*!**********************************************************************************************************************************!*\ !*** D:/项目文件/uniapp/Waterinvoice_uiapp/node_modules/@dcloudio/uni-ui/lib/uni-icons/uni-icons.vue?vue&type=template&id=857088fc& ***! \**********************************************************************************************************************************/ /*! exports provided: render, staticRenderFns, recyclableRender, components */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony import */ var _C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_11_0_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_filter_modules_template_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_uni_icons_vue_vue_type_template_id_857088fc___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!./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--11-0!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/filter-modules-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!./uni-icons.vue?vue&type=template&id=857088fc& */ 12); /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "render", function() { return _C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_11_0_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_filter_modules_template_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_uni_icons_vue_vue_type_template_id_857088fc___WEBPACK_IMPORTED_MODULE_0__["render"]; }); /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return _C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_11_0_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_filter_modules_template_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_uni_icons_vue_vue_type_template_id_857088fc___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"]; }); /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "recyclableRender", function() { return _C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_11_0_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_filter_modules_template_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_uni_icons_vue_vue_type_template_id_857088fc___WEBPACK_IMPORTED_MODULE_0__["recyclableRender"]; }); /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "components", function() { return _C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_11_0_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_filter_modules_template_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_uni_icons_vue_vue_type_template_id_857088fc___WEBPACK_IMPORTED_MODULE_0__["components"]; }); /***/ }), /* 12 */ /*!**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ !*** ./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--11-0!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/filter-modules-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!D:/项目文件/uniapp/Waterinvoice_uiapp/node_modules/@dcloudio/uni-ui/lib/uni-icons/uni-icons.vue?vue&type=template&id=857088fc& ***! \**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ /*! 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 var render = function () { var _vm = this var _h = _vm.$createElement var _c = _vm._self._c || _h return _c( "text", { staticClass: _vm._$s(0, "sc", "uni-icons"), class: _vm._$s(0, "c", [ "uniui-" + _vm.type, _vm.customPrefix, _vm.customPrefix ? _vm.type : "", ]), style: _vm._$s(0, "s", _vm.styleObj), attrs: { _i: 0 }, on: { click: _vm._onClick }, }, [_vm._t("default", null, { _i: 1 })], 2 ) } var recyclableRender = false var staticRenderFns = [] render._withStripped = true /***/ }), /* 13 */ /*!****************************************************************************************************************************!*\ !*** D:/项目文件/uniapp/Waterinvoice_uiapp/node_modules/@dcloudio/uni-ui/lib/uni-icons/uni-icons.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 _C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_7_1_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_using_components_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_uni_icons_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!./node_modules/babel-loader/lib!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--7-1!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/using-components.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./uni-icons.vue?vue&type=script&lang=js& */ 14); /* harmony import */ var _C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_7_1_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_using_components_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_uni_icons_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_7_1_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_using_components_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_uni_icons_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__); /* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_7_1_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_using_components_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_uni_icons_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 _C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_7_1_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_using_components_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_uni_icons_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__)); /* harmony default export */ __webpack_exports__["default"] = (_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_7_1_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_using_components_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_uni_icons_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0___default.a); /***/ }), /* 14 */ /*!*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ !*** ./node_modules/babel-loader/lib!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--7-1!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/using-components.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!D:/项目文件/uniapp/Waterinvoice_uiapp/node_modules/@dcloudio/uni-ui/lib/uni-icons/uni-icons.vue?vue&type=script&lang=js& ***! \*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ /*! no static exports found */ /***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = void 0; var _uniicons_file_vue = __webpack_require__(/*! ./uniicons_file_vue.js */ 15); // // // // // // // // // // // var getVal = function getVal(val) { var reg = /^[0-9]*$/g; return typeof val === 'number' || reg.test(val) ? val + 'px' : val; }; /** * Icons 图标 * @description 用于展示 icons 图标 * @tutorial https://ext.dcloud.net.cn/plugin?id=28 * @property {Number} size 图标大小 * @property {String} type 图标图案,参考示例 * @property {String} color 图标颜色 * @property {String} customPrefix 自定义图标 * @event {Function} click 点击 Icon 触发事件 */ var _default = { name: 'UniIcons', emits: ['click'], props: { type: { type: String, default: '' }, color: { type: String, default: '#333333' }, size: { type: [Number, String], default: 16 }, customPrefix: { type: String, default: '' }, fontFamily: { type: String, default: '' } }, data: function data() { return { icons: _uniicons_file_vue.fontData }; }, computed: { unicode: function unicode() { var _this = this; var code = this.icons.find(function (v) { return v.font_class === _this.type; }); if (code) { return code.unicode; } return ''; }, iconSize: function iconSize() { return getVal(this.size); }, styleObj: function styleObj() { if (this.fontFamily !== '') { return "color: ".concat(this.color, "; font-size: ").concat(this.iconSize, "; font-family: ").concat(this.fontFamily, ";"); } return "color: ".concat(this.color, "; font-size: ").concat(this.iconSize, ";"); } }, methods: { _onClick: function _onClick() { this.$emit('click'); } } }; exports.default = _default; /***/ }), /* 15 */ /*!**********************************************************************************************************!*\ !*** D:/项目文件/uniapp/Waterinvoice_uiapp/node_modules/@dcloudio/uni-ui/lib/uni-icons/uniicons_file_vue.js ***! \**********************************************************************************************************/ /*! no static exports found */ /***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.fontData = void 0; var fontData = [{ "font_class": "arrow-down", "unicode": "\uE6BE" }, { "font_class": "arrow-left", "unicode": "\uE6BC" }, { "font_class": "arrow-right", "unicode": "\uE6BB" }, { "font_class": "arrow-up", "unicode": "\uE6BD" }, { "font_class": "auth", "unicode": "\uE6AB" }, { "font_class": "auth-filled", "unicode": "\uE6CC" }, { "font_class": "back", "unicode": "\uE6B9" }, { "font_class": "bars", "unicode": "\uE627" }, { "font_class": "calendar", "unicode": "\uE6A0" }, { "font_class": "calendar-filled", "unicode": "\uE6C0" }, { "font_class": "camera", "unicode": "\uE65A" }, { "font_class": "camera-filled", "unicode": "\uE658" }, { "font_class": "cart", "unicode": "\uE631" }, { "font_class": "cart-filled", "unicode": "\uE6D0" }, { "font_class": "chat", "unicode": "\uE65D" }, { "font_class": "chat-filled", "unicode": "\uE659" }, { "font_class": "chatboxes", "unicode": "\uE696" }, { "font_class": "chatboxes-filled", "unicode": "\uE692" }, { "font_class": "chatbubble", "unicode": "\uE697" }, { "font_class": "chatbubble-filled", "unicode": "\uE694" }, { "font_class": "checkbox", "unicode": "\uE62B" }, { "font_class": "checkbox-filled", "unicode": "\uE62C" }, { "font_class": "checkmarkempty", "unicode": "\uE65C" }, { "font_class": "circle", "unicode": "\uE65B" }, { "font_class": "circle-filled", "unicode": "\uE65E" }, { "font_class": "clear", "unicode": "\uE66D" }, { "font_class": "close", "unicode": "\uE673" }, { "font_class": "closeempty", "unicode": "\uE66C" }, { "font_class": "cloud-download", "unicode": "\uE647" }, { "font_class": "cloud-download-filled", "unicode": "\uE646" }, { "font_class": "cloud-upload", "unicode": "\uE645" }, { "font_class": "cloud-upload-filled", "unicode": "\uE648" }, { "font_class": "color", "unicode": "\uE6CF" }, { "font_class": "color-filled", "unicode": "\uE6C9" }, { "font_class": "compose", "unicode": "\uE67F" }, { "font_class": "contact", "unicode": "\uE693" }, { "font_class": "contact-filled", "unicode": "\uE695" }, { "font_class": "down", "unicode": "\uE6B8" }, { "font_class": "bottom", "unicode": "\uE6B8" }, { "font_class": "download", "unicode": "\uE68D" }, { "font_class": "download-filled", "unicode": "\uE681" }, { "font_class": "email", "unicode": "\uE69E" }, { "font_class": "email-filled", "unicode": "\uE69A" }, { "font_class": "eye", "unicode": "\uE651" }, { "font_class": "eye-filled", "unicode": "\uE66A" }, { "font_class": "eye-slash", "unicode": "\uE6B3" }, { "font_class": "eye-slash-filled", "unicode": "\uE6B4" }, { "font_class": "fire", "unicode": "\uE6A1" }, { "font_class": "fire-filled", "unicode": "\uE6C5" }, { "font_class": "flag", "unicode": "\uE65F" }, { "font_class": "flag-filled", "unicode": "\uE660" }, { "font_class": "folder-add", "unicode": "\uE6A9" }, { "font_class": "folder-add-filled", "unicode": "\uE6C8" }, { "font_class": "font", "unicode": "\uE6A3" }, { "font_class": "forward", "unicode": "\uE6BA" }, { "font_class": "gear", "unicode": "\uE664" }, { "font_class": "gear-filled", "unicode": "\uE661" }, { "font_class": "gift", "unicode": "\uE6A4" }, { "font_class": "gift-filled", "unicode": "\uE6C4" }, { "font_class": "hand-down", "unicode": "\uE63D" }, { "font_class": "hand-down-filled", "unicode": "\uE63C" }, { "font_class": "hand-up", "unicode": "\uE63F" }, { "font_class": "hand-up-filled", "unicode": "\uE63E" }, { "font_class": "headphones", "unicode": "\uE630" }, { "font_class": "heart", "unicode": "\uE639" }, { "font_class": "heart-filled", "unicode": "\uE641" }, { "font_class": "help", "unicode": "\uE679" }, { "font_class": "help-filled", "unicode": "\uE674" }, { "font_class": "home", "unicode": "\uE662" }, { "font_class": "home-filled", "unicode": "\uE663" }, { "font_class": "image", "unicode": "\uE670" }, { "font_class": "image-filled", "unicode": "\uE678" }, { "font_class": "images", "unicode": "\uE650" }, { "font_class": "images-filled", "unicode": "\uE64B" }, { "font_class": "info", "unicode": "\uE669" }, { "font_class": "info-filled", "unicode": "\uE649" }, { "font_class": "left", "unicode": "\uE6B7" }, { "font_class": "link", "unicode": "\uE6A5" }, { "font_class": "list", "unicode": "\uE644" }, { "font_class": "location", "unicode": "\uE6AE" }, { "font_class": "location-filled", "unicode": "\uE6AF" }, { "font_class": "locked", "unicode": "\uE66B" }, { "font_class": "locked-filled", "unicode": "\uE668" }, { "font_class": "loop", "unicode": "\uE633" }, { "font_class": "mail-open", "unicode": "\uE643" }, { "font_class": "mail-open-filled", "unicode": "\uE63A" }, { "font_class": "map", "unicode": "\uE667" }, { "font_class": "map-filled", "unicode": "\uE666" }, { "font_class": "map-pin", "unicode": "\uE6AD" }, { "font_class": "map-pin-ellipse", "unicode": "\uE6AC" }, { "font_class": "medal", "unicode": "\uE6A2" }, { "font_class": "medal-filled", "unicode": "\uE6C3" }, { "font_class": "mic", "unicode": "\uE671" }, { "font_class": "mic-filled", "unicode": "\uE677" }, { "font_class": "micoff", "unicode": "\uE67E" }, { "font_class": "micoff-filled", "unicode": "\uE6B0" }, { "font_class": "minus", "unicode": "\uE66F" }, { "font_class": "minus-filled", "unicode": "\uE67D" }, { "font_class": "more", "unicode": "\uE64D" }, { "font_class": "more-filled", "unicode": "\uE64E" }, { "font_class": "navigate", "unicode": "\uE66E" }, { "font_class": "navigate-filled", "unicode": "\uE67A" }, { "font_class": "notification", "unicode": "\uE6A6" }, { "font_class": "notification-filled", "unicode": "\uE6C1" }, { "font_class": "paperclip", "unicode": "\uE652" }, { "font_class": "paperplane", "unicode": "\uE672" }, { "font_class": "paperplane-filled", "unicode": "\uE675" }, { "font_class": "person", "unicode": "\uE699" }, { "font_class": "person-filled", "unicode": "\uE69D" }, { "font_class": "personadd", "unicode": "\uE69F" }, { "font_class": "personadd-filled", "unicode": "\uE698" }, { "font_class": "personadd-filled-copy", "unicode": "\uE6D1" }, { "font_class": "phone", "unicode": "\uE69C" }, { "font_class": "phone-filled", "unicode": "\uE69B" }, { "font_class": "plus", "unicode": "\uE676" }, { "font_class": "plus-filled", "unicode": "\uE6C7" }, { "font_class": "plusempty", "unicode": "\uE67B" }, { "font_class": "pulldown", "unicode": "\uE632" }, { "font_class": "pyq", "unicode": "\uE682" }, { "font_class": "qq", "unicode": "\uE680" }, { "font_class": "redo", "unicode": "\uE64A" }, { "font_class": "redo-filled", "unicode": "\uE655" }, { "font_class": "refresh", "unicode": "\uE657" }, { "font_class": "refresh-filled", "unicode": "\uE656" }, { "font_class": "refreshempty", "unicode": "\uE6BF" }, { "font_class": "reload", "unicode": "\uE6B2" }, { "font_class": "right", "unicode": "\uE6B5" }, { "font_class": "scan", "unicode": "\uE62A" }, { "font_class": "search", "unicode": "\uE654" }, { "font_class": "settings", "unicode": "\uE653" }, { "font_class": "settings-filled", "unicode": "\uE6CE" }, { "font_class": "shop", "unicode": "\uE62F" }, { "font_class": "shop-filled", "unicode": "\uE6CD" }, { "font_class": "smallcircle", "unicode": "\uE67C" }, { "font_class": "smallcircle-filled", "unicode": "\uE665" }, { "font_class": "sound", "unicode": "\uE684" }, { "font_class": "sound-filled", "unicode": "\uE686" }, { "font_class": "spinner-cycle", "unicode": "\uE68A" }, { "font_class": "staff", "unicode": "\uE6A7" }, { "font_class": "staff-filled", "unicode": "\uE6CB" }, { "font_class": "star", "unicode": "\uE688" }, { "font_class": "star-filled", "unicode": "\uE68F" }, { "font_class": "starhalf", "unicode": "\uE683" }, { "font_class": "trash", "unicode": "\uE687" }, { "font_class": "trash-filled", "unicode": "\uE685" }, { "font_class": "tune", "unicode": "\uE6AA" }, { "font_class": "tune-filled", "unicode": "\uE6CA" }, { "font_class": "undo", "unicode": "\uE64F" }, { "font_class": "undo-filled", "unicode": "\uE64C" }, { "font_class": "up", "unicode": "\uE6B6" }, { "font_class": "top", "unicode": "\uE6B6" }, { "font_class": "upload", "unicode": "\uE690" }, { "font_class": "upload-filled", "unicode": "\uE68E" }, { "font_class": "videocam", "unicode": "\uE68C" }, { "font_class": "videocam-filled", "unicode": "\uE689" }, { "font_class": "vip", "unicode": "\uE6A8" }, { "font_class": "vip-filled", "unicode": "\uE6C6" }, { "font_class": "wallet", "unicode": "\uE6B1" }, { "font_class": "wallet-filled", "unicode": "\uE6C2" }, { "font_class": "weibo", "unicode": "\uE68B" }, { "font_class": "weixin", "unicode": "\uE691" }]; // export const fontData = JSON.parse(fontDataJson) exports.fontData = fontData; /***/ }), /* 16 */ /*!**********************************************************************************************************!*\ !*** ./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/runtime/componentNormalizer.js ***! \**********************************************************************************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return normalizeComponent; }); /* globals __VUE_SSR_CONTEXT__ */ // IMPORTANT: Do NOT use ES2015 features in this file (except for modules). // This module is a runtime utility for cleaner component module output and will // be included in the final webpack user bundle. function normalizeComponent ( scriptExports, render, staticRenderFns, functionalTemplate, injectStyles, scopeId, moduleIdentifier, /* server only */ shadowMode, /* vue-cli only */ components, // fixed by xxxxxx auto components renderjs // fixed by xxxxxx renderjs ) { // Vue.extend constructor export interop var options = typeof scriptExports === 'function' ? scriptExports.options : scriptExports // fixed by xxxxxx auto components if (components) { if (!options.components) { options.components = {} } var hasOwn = Object.prototype.hasOwnProperty for (var name in components) { if (hasOwn.call(components, name) && !hasOwn.call(options.components, name)) { options.components[name] = components[name] } } } // fixed by xxxxxx renderjs if (renderjs) { if(typeof renderjs.beforeCreate === 'function'){ renderjs.beforeCreate = [renderjs.beforeCreate] } (renderjs.beforeCreate || (renderjs.beforeCreate = [])).unshift(function() { this[renderjs.__module] = this }); (options.mixins || (options.mixins = [])).push(renderjs) } // render functions if (render) { options.render = render options.staticRenderFns = staticRenderFns options._compiled = true } // functional template if (functionalTemplate) { options.functional = true } // scopedId if (scopeId) { options._scopeId = 'data-v-' + scopeId } var hook if (moduleIdentifier) { // server build hook = function (context) { // 2.3 injection context = context || // cached call (this.$vnode && this.$vnode.ssrContext) || // stateful (this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext) // functional // 2.2 with runInNewContext: true if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') { context = __VUE_SSR_CONTEXT__ } // inject component styles if (injectStyles) { injectStyles.call(this, context) } // register component module identifier for async chunk inferrence if (context && context._registeredComponents) { context._registeredComponents.add(moduleIdentifier) } } // used by ssr in case component is cached and beforeCreate // never gets called options._ssrRegister = hook } else if (injectStyles) { hook = shadowMode ? function () { injectStyles.call(this, this.$root.$options.shadowRoot) } : injectStyles } if (hook) { if (options.functional) { // for template-only hot-reload because in that case the render fn doesn't // go through the normalizer options._injectStyles = hook // register for functioal component in vue file var originalRender = options.render options.render = function renderWithStyleInjection (h, context) { hook.call(context) return originalRender(h, context) } } else { // inject component registration as beforeCreate hook var existing = options.beforeCreate options.beforeCreate = existing ? [].concat(existing, hook) : [hook] } } return { exports: scriptExports, options: options } } /***/ }), /* 17 */ /*!***********************************************************************************************************************!*\ !*** D:/项目文件/uniapp/Waterinvoice_uiapp/node_modules/@dcloudio/uni-ui/lib/uni-datetime-picker/uni-datetime-picker.vue ***! \***********************************************************************************************************************/ /*! no static exports found */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony import */ var _uni_datetime_picker_vue_vue_type_template_id_7a59f80e___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./uni-datetime-picker.vue?vue&type=template&id=7a59f80e& */ 18); /* harmony import */ var _uni_datetime_picker_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./uni-datetime-picker.vue?vue&type=script&lang=js& */ 20); /* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _uni_datetime_picker_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 _uni_datetime_picker_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__[key]; }) }(__WEBPACK_IMPORT_KEY__)); /* harmony import */ var _C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/runtime/componentNormalizer.js */ 16); var renderjs /* normalize component */ var component = Object(_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_2__["default"])( _uni_datetime_picker_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__["default"], _uni_datetime_picker_vue_vue_type_template_id_7a59f80e___WEBPACK_IMPORTED_MODULE_0__["render"], _uni_datetime_picker_vue_vue_type_template_id_7a59f80e___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"], false, null, null, null, false, _uni_datetime_picker_vue_vue_type_template_id_7a59f80e___WEBPACK_IMPORTED_MODULE_0__["components"], renderjs ) component.options.__file = "node_modules/@dcloudio/uni-ui/lib/uni-datetime-picker/uni-datetime-picker.vue" /* harmony default export */ __webpack_exports__["default"] = (component.exports); /***/ }), /* 18 */ /*!******************************************************************************************************************************************************!*\ !*** D:/项目文件/uniapp/Waterinvoice_uiapp/node_modules/@dcloudio/uni-ui/lib/uni-datetime-picker/uni-datetime-picker.vue?vue&type=template&id=7a59f80e& ***! \******************************************************************************************************************************************************/ /*! exports provided: render, staticRenderFns, recyclableRender, components */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony import */ var _C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_11_0_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_filter_modules_template_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_uni_datetime_picker_vue_vue_type_template_id_7a59f80e___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!./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--11-0!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/filter-modules-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!./uni-datetime-picker.vue?vue&type=template&id=7a59f80e& */ 19); /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "render", function() { return _C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_11_0_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_filter_modules_template_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_uni_datetime_picker_vue_vue_type_template_id_7a59f80e___WEBPACK_IMPORTED_MODULE_0__["render"]; }); /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return _C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_11_0_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_filter_modules_template_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_uni_datetime_picker_vue_vue_type_template_id_7a59f80e___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"]; }); /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "recyclableRender", function() { return _C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_11_0_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_filter_modules_template_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_uni_datetime_picker_vue_vue_type_template_id_7a59f80e___WEBPACK_IMPORTED_MODULE_0__["recyclableRender"]; }); /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "components", function() { return _C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_11_0_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_filter_modules_template_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_uni_datetime_picker_vue_vue_type_template_id_7a59f80e___WEBPACK_IMPORTED_MODULE_0__["components"]; }); /***/ }), /* 19 */ /*!**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ !*** ./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--11-0!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/filter-modules-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!D:/项目文件/uniapp/Waterinvoice_uiapp/node_modules/@dcloudio/uni-ui/lib/uni-datetime-picker/uni-datetime-picker.vue?vue&type=template&id=7a59f80e& ***! \**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ /*! 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 = { uniIcons: __webpack_require__(/*! @dcloudio/uni-ui/lib/uni-icons/uni-icons.vue */ 10).default, } } 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 return _c( "view", { staticClass: _vm._$s(0, "sc", "uni-date"), attrs: { _i: 0 } }, [ _c( "view", { staticClass: _vm._$s(1, "sc", "uni-date-editor"), attrs: { _i: 1 }, on: { click: _vm.show }, }, [ _vm._t( "default", [ _c( "view", { staticClass: _vm._$s(3, "sc", "uni-date-editor--x"), class: _vm._$s(3, "c", { "uni-date-editor--x__disabled": _vm.disabled, "uni-date-x--border": _vm.border, }), attrs: { _i: 3 }, }, [ _vm._$s(4, "i", !_vm.isRange) ? _c( "view", { staticClass: _vm._$s( 4, "sc", "uni-date-x uni-date-single" ), attrs: { _i: 4 }, }, [ _c("uni-icons", { staticClass: _vm._$s(5, "sc", "icon-calendar"), attrs: { type: "calendar", color: "#c0c4cc", size: "22", _i: 5, }, }), _c( "view", { staticClass: _vm._$s( 6, "sc", "uni-date__x-input" ), attrs: { _i: 6 }, }, [ _vm._v( _vm._$s( 6, "t0-0", _vm._s( _vm.displayValue || _vm.singlePlaceholderText ) ) ), ] ), ], 1 ) : _c( "view", { staticClass: _vm._$s( 7, "sc", "uni-date-x uni-date-range" ), attrs: { _i: 7 }, }, [ _c("uni-icons", { staticClass: _vm._$s(8, "sc", "icon-calendar"), attrs: { type: "calendar", color: "#c0c4cc", size: "22", _i: 8, }, }), _c( "view", { staticClass: _vm._$s( 9, "sc", "uni-date__x-input text-center" ), attrs: { _i: 9 }, }, [ _vm._v( _vm._$s( 9, "t0-0", _vm._s( _vm.displayRangeValue.startDate || _vm.startPlaceholderText ) ) ), ] ), _c( "view", { staticClass: _vm._$s(10, "sc", "range-separator"), attrs: { _i: 10 }, }, [ _vm._v( _vm._$s(10, "t0-0", _vm._s(_vm.rangeSeparator)) ), ] ), _c( "view", { staticClass: _vm._$s( 11, "sc", "uni-date__x-input text-center" ), attrs: { _i: 11 }, }, [ _vm._v( _vm._$s( 11, "t0-0", _vm._s( _vm.displayRangeValue.endDate || _vm.endPlaceholderText ) ) ), ] ), ], 1 ), _vm._$s(12, "i", _vm.showClearIcon) ? _c( "view", { staticClass: _vm._$s( 12, "sc", "uni-date__icon-clear" ), attrs: { _i: 12 }, on: { click: function ($event) { $event.stopPropagation() return _vm.clear($event) }, }, }, [ _c("uni-icons", { attrs: { type: "clear", color: "#c0c4cc", size: "22", _i: 13, }, }), ], 1 ) : _vm._e(), ] ), ], { _i: 2 } ), ], 2 ), _c("view", { directives: [ { name: "show", rawName: "v-show", value: _vm._$s(14, "v-show", _vm.pickerVisible), expression: "_$s(14,'v-show',pickerVisible)", }, ], staticClass: _vm._$s(14, "sc", "uni-date-mask--pc"), attrs: { _i: 14 }, on: { click: _vm.close }, }), _vm._$s(15, "i", !_vm.isPhone) ? _c( "view", { directives: [ { name: "show", rawName: "v-show", value: _vm._$s(15, "v-show", _vm.pickerVisible), expression: "_$s(15,'v-show',pickerVisible)", }, ], ref: "datePicker", staticClass: _vm._$s(15, "sc", "uni-date-picker__container"), attrs: { _i: 15 }, }, [ _vm._$s(16, "i", !_vm.isRange) ? _c( "view", { staticClass: _vm._$s(16, "sc", "uni-date-single--x"), style: _vm._$s(16, "s", _vm.pickerPositionStyle), attrs: { _i: 16 }, }, [ _c("view", { staticClass: _vm._$s(17, "sc", "uni-popper__arrow"), attrs: { _i: 17 }, }), _vm._$s(18, "i", _vm.hasTime) ? _c( "view", { staticClass: _vm._$s( 18, "sc", "uni-date-changed popup-x-header" ), attrs: { _i: 18 }, }, [ _c("input", { directives: [ { name: "model", rawName: "v-model", value: _vm.inputDate, expression: "inputDate", }, ], staticClass: _vm._$s( 19, "sc", "uni-date__input text-center" ), attrs: { placeholder: _vm._$s( 19, "a-placeholder", _vm.selectDateText ), _i: 19, }, domProps: { value: _vm._$s(19, "v-model", _vm.inputDate), }, on: { input: function ($event) { if ($event.target.composing) { return } _vm.inputDate = $event.target.value }, }, }), _c( "time-picker", { attrs: { type: "time", border: false, disabled: !_vm.inputDate, start: _vm.timepickerStartTime, end: _vm.timepickerEndTime, hideSecond: _vm.hideSecond, _i: 20, }, model: { value: _vm._$s( 20, "v-model", _vm.pickerTime ), callback: function ($$v) { _vm.pickerTime = $$v }, expression: "pickerTime", }, }, [ _c("input", { directives: [ { name: "model", rawName: "v-model", value: _vm.pickerTime, expression: "pickerTime", }, ], staticClass: _vm._$s( 21, "sc", "uni-date__input text-center" ), attrs: { placeholder: _vm._$s( 21, "a-placeholder", _vm.selectTimeText ), disabled: _vm._$s( 21, "a-disabled", !_vm.inputDate ), _i: 21, }, domProps: { value: _vm._$s( 21, "v-model", _vm.pickerTime ), }, on: { input: function ($event) { if ($event.target.composing) { return } _vm.pickerTime = $event.target.value }, }, }), ] ), ], 1 ) : _vm._e(), _c("Calendar", { ref: "pcSingle", attrs: { showMonth: false, "start-date": _vm.calendarRange.startDate, "end-date": _vm.calendarRange.endDate, date: _vm.calendarDate, "default-value": _vm.defaultValue, _i: 22, }, on: { change: _vm.singleChange }, }), _vm._$s(23, "i", _vm.hasTime) ? _c( "view", { staticClass: _vm._$s(23, "sc", "popup-x-footer"), attrs: { _i: 23 }, }, [ _c( "text", { staticClass: _vm._$s( 24, "sc", "confirm-text" ), attrs: { _i: 24 }, on: { click: _vm.confirmSingleChange }, }, [ _vm._v( _vm._$s(24, "t0-0", _vm._s(_vm.okText)) ), ] ), ] ) : _vm._e(), ], 1 ) : _c( "view", { staticClass: _vm._$s(25, "sc", "uni-date-range--x"), style: _vm._$s(25, "s", _vm.pickerPositionStyle), attrs: { _i: 25 }, }, [ _c("view", { staticClass: _vm._$s(26, "sc", "uni-popper__arrow"), attrs: { _i: 26 }, }), _vm._$s(27, "i", _vm.hasTime) ? _c( "view", { staticClass: _vm._$s( 27, "sc", "popup-x-header uni-date-changed" ), attrs: { _i: 27 }, }, [ _c( "view", { staticClass: _vm._$s( 28, "sc", "popup-x-header--datetime" ), attrs: { _i: 28 }, }, [ _c("input", { directives: [ { name: "model", rawName: "v-model", value: _vm.tempRange.startDate, expression: "tempRange.startDate", }, ], staticClass: _vm._$s( 29, "sc", "uni-date__input uni-date-range__input" ), attrs: { placeholder: _vm._$s( 29, "a-placeholder", _vm.startDateText ), _i: 29, }, domProps: { value: _vm._$s( 29, "v-model", _vm.tempRange.startDate ), }, on: { input: function ($event) { if ($event.target.composing) { return } _vm.$set( _vm.tempRange, "startDate", $event.target.value ) }, }, }), _c( "time-picker", { attrs: { type: "time", start: _vm.timepickerStartTime, border: false, disabled: !_vm.tempRange.startDate, hideSecond: _vm.hideSecond, _i: 30, }, model: { value: _vm._$s( 30, "v-model", _vm.tempRange.startTime ), callback: function ($$v) { _vm.$set( _vm.tempRange, "startTime", $$v ) }, expression: "tempRange.startTime", }, }, [ _c("input", { directives: [ { name: "model", rawName: "v-model", value: _vm.tempRange.startTime, expression: "tempRange.startTime", }, ], staticClass: _vm._$s( 31, "sc", "uni-date__input uni-date-range__input" ), attrs: { placeholder: _vm._$s( 31, "a-placeholder", _vm.startTimeText ), disabled: _vm._$s( 31, "a-disabled", !_vm.tempRange.startDate ), _i: 31, }, domProps: { value: _vm._$s( 31, "v-model", _vm.tempRange.startTime ), }, on: { input: function ($event) { if ($event.target.composing) { return } _vm.$set( _vm.tempRange, "startTime", $event.target.value ) }, }, }), ] ), ], 1 ), _c("uni-icons", { attrs: { type: "arrowthinright", color: "#999", _i: 32, }, }), _c( "view", { staticClass: _vm._$s( 33, "sc", "popup-x-header--datetime" ), attrs: { _i: 33 }, }, [ _c("input", { directives: [ { name: "model", rawName: "v-model", value: _vm.tempRange.endDate, expression: "tempRange.endDate", }, ], staticClass: _vm._$s( 34, "sc", "uni-date__input uni-date-range__input" ), attrs: { placeholder: _vm._$s( 34, "a-placeholder", _vm.endDateText ), _i: 34, }, domProps: { value: _vm._$s( 34, "v-model", _vm.tempRange.endDate ), }, on: { input: function ($event) { if ($event.target.composing) { return } _vm.$set( _vm.tempRange, "endDate", $event.target.value ) }, }, }), _c( "time-picker", { attrs: { type: "time", end: _vm.timepickerEndTime, border: false, disabled: !_vm.tempRange.endDate, hideSecond: _vm.hideSecond, _i: 35, }, model: { value: _vm._$s( 35, "v-model", _vm.tempRange.endTime ), callback: function ($$v) { _vm.$set( _vm.tempRange, "endTime", $$v ) }, expression: "tempRange.endTime", }, }, [ _c("input", { directives: [ { name: "model", rawName: "v-model", value: _vm.tempRange.endTime, expression: "tempRange.endTime", }, ], staticClass: _vm._$s( 36, "sc", "uni-date__input uni-date-range__input" ), attrs: { placeholder: _vm._$s( 36, "a-placeholder", _vm.endTimeText ), disabled: _vm._$s( 36, "a-disabled", !_vm.tempRange.endDate ), _i: 36, }, domProps: { value: _vm._$s( 36, "v-model", _vm.tempRange.endTime ), }, on: { input: function ($event) { if ($event.target.composing) { return } _vm.$set( _vm.tempRange, "endTime", $event.target.value ) }, }, }), ] ), ], 1 ), ], 1 ) : _vm._e(), _c( "view", { staticClass: _vm._$s(37, "sc", "popup-x-body"), attrs: { _i: 37 }, }, [ _c("Calendar", { ref: "left", attrs: { showMonth: false, "start-date": _vm.calendarRange.startDate, "end-date": _vm.calendarRange.endDate, range: true, pleStatus: _vm.endMultipleStatus, _i: 38, }, on: { change: _vm.leftChange, firstEnterCale: _vm.updateRightCale, }, }), _c("Calendar", { ref: "right", attrs: { showMonth: false, "start-date": _vm.calendarRange.startDate, "end-date": _vm.calendarRange.endDate, range: true, pleStatus: _vm.startMultipleStatus, _i: 39, }, on: { change: _vm.rightChange, firstEnterCale: _vm.updateLeftCale, }, }), ], 1 ), _vm._$s(40, "i", _vm.hasTime) ? _c( "view", { staticClass: _vm._$s(40, "sc", "popup-x-footer"), attrs: { _i: 40 }, }, [ _c( "text", { attrs: { _i: 41 }, on: { click: _vm.clear } }, [ _vm._v( _vm._$s(41, "t0-0", _vm._s(_vm.clearText)) ), ] ), _c( "text", { staticClass: _vm._$s( 42, "sc", "confirm-text" ), attrs: { _i: 42 }, on: { click: _vm.confirmRangeChange }, }, [ _vm._v( _vm._$s(42, "t0-0", _vm._s(_vm.okText)) ), ] ), ] ) : _vm._e(), ] ), ] ) : _vm._e(), _vm._$s(43, "i", _vm.isPhone) ? _c("Calendar", { ref: "mobile", attrs: { clearDate: false, date: _vm.calendarDate, defTime: _vm.mobileCalendarTime, "start-date": _vm.calendarRange.startDate, "end-date": _vm.calendarRange.endDate, selectableTimes: _vm.mobSelectableTime, startPlaceholder: _vm.startPlaceholder, endPlaceholder: _vm.endPlaceholder, "default-value": _vm.defaultValue, pleStatus: _vm.endMultipleStatus, showMonth: false, range: _vm.isRange, hasTime: _vm.hasTime, insert: false, hideSecond: _vm.hideSecond, _i: 43, }, on: { confirm: _vm.mobileChange, maskClose: _vm.close, change: _vm.calendarClick, }, }) : _vm._e(), ], 1 ) } var recyclableRender = false var staticRenderFns = [] render._withStripped = true /***/ }), /* 20 */ /*!************************************************************************************************************************************************!*\ !*** D:/项目文件/uniapp/Waterinvoice_uiapp/node_modules/@dcloudio/uni-ui/lib/uni-datetime-picker/uni-datetime-picker.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 _C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_7_1_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_using_components_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_uni_datetime_picker_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!./node_modules/babel-loader/lib!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--7-1!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/using-components.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./uni-datetime-picker.vue?vue&type=script&lang=js& */ 21); /* harmony import */ var _C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_7_1_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_using_components_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_uni_datetime_picker_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_7_1_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_using_components_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_uni_datetime_picker_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__); /* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_7_1_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_using_components_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_uni_datetime_picker_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 _C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_7_1_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_using_components_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_uni_datetime_picker_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__)); /* harmony default export */ __webpack_exports__["default"] = (_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_7_1_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_using_components_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_uni_datetime_picker_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0___default.a); /***/ }), /* 21 */ /*!*****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ !*** ./node_modules/babel-loader/lib!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--7-1!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/using-components.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!D:/项目文件/uniapp/Waterinvoice_uiapp/node_modules/@dcloudio/uni-ui/lib/uni-datetime-picker/uni-datetime-picker.vue?vue&type=script&lang=js& ***! \*****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ /*! no static exports found */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 1); Object.defineProperty(exports, "__esModule", { value: true }); exports.default = void 0; var _slicedToArray2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/slicedToArray */ 22)); var _calendar = _interopRequireDefault(__webpack_require__(/*! ./calendar.vue */ 28)); var _timePicker = _interopRequireDefault(__webpack_require__(/*! ./time-picker.vue */ 45)); var _uniI18n = __webpack_require__(/*! @dcloudio/uni-i18n */ 50); var _index = _interopRequireDefault(__webpack_require__(/*! ./i18n/index.js */ 52)); var _util = __webpack_require__(/*! ./util */ 33); // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // /** * DatetimePicker 时间选择器 * @description 同时支持 PC 和移动端使用日历选择日期和日期范围 * @tutorial https://ext.dcloud.net.cn/plugin?id=3962 * @property {String} type 选择器类型 * @property {String|Number|Array|Date} value 绑定值 * @property {String} placeholder 单选择时的占位内容 * @property {String} start 起始时间 * @property {String} end 终止时间 * @property {String} start-placeholder 范围选择时开始日期的占位内容 * @property {String} end-placeholder 范围选择时结束日期的占位内容 * @property {String} range-separator 选择范围时的分隔符 * @property {Boolean} border = [true|false] 是否有边框 * @property {Boolean} disabled = [true|false] 是否禁用 * @property {Boolean} clearIcon = [true|false] 是否显示清除按钮(仅PC端适用) * @property {[String} defaultValue 选择器打开时默认显示的时间 * @event {Function} change 确定日期时触发的事件 * @event {Function} maskClick 点击遮罩层触发的事件 * @event {Function} show 打开弹出层 * @event {Function} close 关闭弹出层 * @event {Function} clear 清除上次选中的状态和值 **/ var _default = { name: 'UniDatetimePicker', options: { virtualHost: true }, components: { Calendar: _calendar.default, TimePicker: _timePicker.default }, data: function data() { return { isRange: false, hasTime: false, displayValue: '', inputDate: '', calendarDate: '', pickerTime: '', calendarRange: { startDate: '', startTime: '', endDate: '', endTime: '' }, displayRangeValue: { startDate: '', endDate: '' }, tempRange: { startDate: '', startTime: '', endDate: '', endTime: '' }, // 左右日历同步数据 startMultipleStatus: { before: '', after: '', data: [], fulldate: '' }, endMultipleStatus: { before: '', after: '', data: [], fulldate: '' }, pickerVisible: false, pickerPositionStyle: null, isEmitValue: false, isPhone: false, isFirstShow: true, i18nT: function i18nT() {} }; }, props: { type: { type: String, default: 'datetime' }, value: { type: [String, Number, Array, Date], default: '' }, modelValue: { type: [String, Number, Array, Date], default: '' }, start: { type: [Number, String], default: '' }, end: { type: [Number, String], default: '' }, returnType: { type: String, default: 'string' }, placeholder: { type: String, default: '' }, startPlaceholder: { type: String, default: '' }, endPlaceholder: { type: String, default: '' }, rangeSeparator: { type: String, default: '-' }, border: { type: [Boolean], default: true }, disabled: { type: [Boolean], default: false }, clearIcon: { type: [Boolean], default: true }, hideSecond: { type: [Boolean], default: false }, defaultValue: { type: [String, Object, Array], default: '' } }, watch: { type: { immediate: true, handler: function handler(newVal) { this.hasTime = newVal.indexOf('time') !== -1; this.isRange = newVal.indexOf('range') !== -1; } }, value: { immediate: true, handler: function handler(newVal) { if (this.isEmitValue) { this.isEmitValue = false; return; } this.initPicker(newVal); } }, start: { immediate: true, handler: function handler(newVal) { if (!newVal) return; this.calendarRange.startDate = (0, _util.getDate)(newVal); if (this.hasTime) { this.calendarRange.startTime = (0, _util.getTime)(newVal); } } }, end: { immediate: true, handler: function handler(newVal) { if (!newVal) return; this.calendarRange.endDate = (0, _util.getDate)(newVal); if (this.hasTime) { this.calendarRange.endTime = (0, _util.getTime)(newVal, this.hideSecond); } } } }, computed: { timepickerStartTime: function timepickerStartTime() { var activeDate = this.isRange ? this.tempRange.startDate : this.inputDate; return activeDate === this.calendarRange.startDate ? this.calendarRange.startTime : ''; }, timepickerEndTime: function timepickerEndTime() { var activeDate = this.isRange ? this.tempRange.endDate : this.inputDate; return activeDate === this.calendarRange.endDate ? this.calendarRange.endTime : ''; }, mobileCalendarTime: function mobileCalendarTime() { var timeRange = { start: this.tempRange.startTime, end: this.tempRange.endTime }; return this.isRange ? timeRange : this.pickerTime; }, mobSelectableTime: function mobSelectableTime() { return { start: this.calendarRange.startTime, end: this.calendarRange.endTime }; }, datePopupWidth: function datePopupWidth() { // todo return this.isRange ? 653 : 301; }, /** * for i18n */ singlePlaceholderText: function singlePlaceholderText() { return this.placeholder || (this.type === 'date' ? this.selectDateText : this.selectDateTimeText); }, startPlaceholderText: function startPlaceholderText() { return this.startPlaceholder || this.startDateText; }, endPlaceholderText: function endPlaceholderText() { return this.endPlaceholder || this.endDateText; }, selectDateText: function selectDateText() { return this.i18nT("uni-datetime-picker.selectDate"); }, selectDateTimeText: function selectDateTimeText() { return this.i18nT("uni-datetime-picker.selectDateTime"); }, selectTimeText: function selectTimeText() { return this.i18nT("uni-datetime-picker.selectTime"); }, startDateText: function startDateText() { return this.startPlaceholder || this.i18nT("uni-datetime-picker.startDate"); }, startTimeText: function startTimeText() { return this.i18nT("uni-datetime-picker.startTime"); }, endDateText: function endDateText() { return this.endPlaceholder || this.i18nT("uni-datetime-picker.endDate"); }, endTimeText: function endTimeText() { return this.i18nT("uni-datetime-picker.endTime"); }, okText: function okText() { return this.i18nT("uni-datetime-picker.ok"); }, clearText: function clearText() { return this.i18nT("uni-datetime-picker.clear"); }, showClearIcon: function showClearIcon() { return this.clearIcon && !this.disabled && (this.displayValue || this.displayRangeValue.startDate && this.displayRangeValue.endDate); } }, created: function created() { this.initI18nT(); this.platform(); }, methods: { initI18nT: function initI18nT() { var vueI18n = (0, _uniI18n.initVueI18n)(_index.default); this.i18nT = vueI18n.t; }, initPicker: function initPicker(newVal) { var _this = this; if (!newVal && !this.defaultValue || Array.isArray(newVal) && !newVal.length) { this.$nextTick(function () { _this.clear(false); }); return; } if (!Array.isArray(newVal) && !this.isRange) { if (newVal) { this.displayValue = this.inputDate = this.calendarDate = (0, _util.getDate)(newVal); if (this.hasTime) { this.pickerTime = (0, _util.getTime)(newVal, this.hideSecond); this.displayValue = "".concat(this.displayValue, " ").concat(this.pickerTime); } } else if (this.defaultValue) { this.inputDate = this.calendarDate = (0, _util.getDate)(this.defaultValue); if (this.hasTime) { this.pickerTime = (0, _util.getTime)(this.defaultValue, this.hideSecond); } } } else { var _newVal = (0, _slicedToArray2.default)(newVal, 2), before = _newVal[0], after = _newVal[1]; if (!before && !after) return; var beforeDate = (0, _util.getDate)(before); var beforeTime = (0, _util.getTime)(before, this.hideSecond); var afterDate = (0, _util.getDate)(after); var afterTime = (0, _util.getTime)(after, this.hideSecond); var startDate = beforeDate; var endDate = afterDate; this.displayRangeValue.startDate = this.tempRange.startDate = startDate; this.displayRangeValue.endDate = this.tempRange.endDate = endDate; if (this.hasTime) { this.displayRangeValue.startDate = "".concat(beforeDate, " ").concat(beforeTime); this.displayRangeValue.endDate = "".concat(afterDate, " ").concat(afterTime); this.tempRange.startTime = beforeTime; this.tempRange.endTime = afterTime; } var defaultRange = { before: beforeDate, after: afterDate }; this.startMultipleStatus = Object.assign({}, this.startMultipleStatus, defaultRange, { which: 'right' }); this.endMultipleStatus = Object.assign({}, this.endMultipleStatus, defaultRange, { which: 'left' }); } }, updateLeftCale: function updateLeftCale(e) { var left = this.$refs.left; // 设置范围选 left.cale.setHoverMultiple(e.after); left.setDate(this.$refs.left.nowDate.fullDate); }, updateRightCale: function updateRightCale(e) { var right = this.$refs.right; // 设置范围选 right.cale.setHoverMultiple(e.after); right.setDate(this.$refs.right.nowDate.fullDate); }, platform: function platform() { if (typeof navigator !== "undefined") { this.isPhone = navigator.userAgent.toLowerCase().indexOf('mobile') !== -1; return; } var _uni$getSystemInfoSyn = uni.getSystemInfoSync(), windowWidth = _uni$getSystemInfoSyn.windowWidth; this.isPhone = windowWidth <= 500; this.windowWidth = windowWidth; }, show: function show() { var _this2 = this; this.$emit("show"); if (this.disabled) { return; } this.platform(); if (this.isPhone) { setTimeout(function () { _this2.$refs.mobile.open(); }, 0); return; } this.pickerPositionStyle = { top: '10px' }; var dateEditor = uni.createSelectorQuery().in(this).select(".uni-date-editor"); dateEditor.boundingClientRect(function (rect) { if (_this2.windowWidth - rect.left < _this2.datePopupWidth) { _this2.pickerPositionStyle.right = 0; } }).exec(); setTimeout(function () { _this2.pickerVisible = !_this2.pickerVisible; if (!_this2.isPhone && _this2.isRange && _this2.isFirstShow) { _this2.isFirstShow = false; var _this2$calendarRange = _this2.calendarRange, startDate = _this2$calendarRange.startDate, endDate = _this2$calendarRange.endDate; if (startDate && endDate) { if (_this2.diffDate(startDate, endDate) < 30) { _this2.$refs.right.changeMonth('pre'); } } else { // this.$refs.right.changeMonth('next') if (_this2.isPhone) { _this2.$refs.right.cale.lastHover = false; } } } }, 50); }, close: function close() { var _this3 = this; setTimeout(function () { _this3.pickerVisible = false; _this3.$emit('maskClick', _this3.value); _this3.$refs.mobile && _this3.$refs.mobile.close(); }, 20); }, setEmit: function setEmit(value) { if (this.returnType === "timestamp" || this.returnType === "date") { if (!Array.isArray(value)) { if (!this.hasTime) { value = value + ' ' + '00:00:00'; } value = this.createTimestamp(value); if (this.returnType === "date") { value = new Date(value); } } else { if (!this.hasTime) { value[0] = value[0] + ' ' + '00:00:00'; value[1] = value[1] + ' ' + '00:00:00'; } value[0] = this.createTimestamp(value[0]); value[1] = this.createTimestamp(value[1]); if (this.returnType === "date") { value[0] = new Date(value[0]); value[1] = new Date(value[1]); } } } this.$emit('update:modelValue', value); this.$emit('input', value); this.$emit('change', value); this.isEmitValue = true; }, createTimestamp: function createTimestamp(date) { date = (0, _util.fixIosDateFormat)(date); return Date.parse(new Date(date)); }, singleChange: function singleChange(e) { this.calendarDate = this.inputDate = e.fulldate; if (this.hasTime) return; this.confirmSingleChange(); }, confirmSingleChange: function confirmSingleChange() { if (!(0, _util.checkDate)(this.inputDate)) { var now = new Date(); this.calendarDate = this.inputDate = (0, _util.getDate)(now); this.pickerTime = (0, _util.getTime)(now, this.hideSecond); } var startLaterInputDate = false; var startDate, startTime; if (this.start) { var startString = this.start; if (typeof this.start === 'number') { startString = (0, _util.getDateTime)(this.start, this.hideSecond); } var _startString$split = startString.split(' '); var _startString$split2 = (0, _slicedToArray2.default)(_startString$split, 2); startDate = _startString$split2[0]; startTime = _startString$split2[1]; if (this.start && !(0, _util.dateCompare)(startDate, this.inputDate)) { startLaterInputDate = true; this.inputDate = startDate; } } var endEarlierInputDate = false; var endDate, endTime; if (this.end) { var endString = this.end; if (typeof this.end === 'number') { endString = (0, _util.getDateTime)(this.end, this.hideSecond); } var _endString$split = endString.split(' '); var _endString$split2 = (0, _slicedToArray2.default)(_endString$split, 2); endDate = _endString$split2[0]; endTime = _endString$split2[1]; if (this.end && !(0, _util.dateCompare)(this.inputDate, endDate)) { endEarlierInputDate = true; this.inputDate = endDate; } } if (this.hasTime) { if (startLaterInputDate) { this.pickerTime = startTime || (0, _util.getDefaultSecond)(this.hideSecond); } if (endEarlierInputDate) { this.pickerTime = endTime || (0, _util.getDefaultSecond)(this.hideSecond); } if (!this.pickerTime) { this.pickerTime = (0, _util.getTime)(Date.now(), this.hideSecond); } this.displayValue = "".concat(this.inputDate, " ").concat(this.pickerTime); } else { this.displayValue = this.inputDate; } this.setEmit(this.displayValue); this.pickerVisible = false; }, leftChange: function leftChange(e) { var _e$range = e.range, before = _e$range.before, after = _e$range.after; this.rangeChange(before, after); var obj = { before: e.range.before, after: e.range.after, data: e.range.data, fulldate: e.fulldate }; this.startMultipleStatus = Object.assign({}, this.startMultipleStatus, obj); this.$emit('calendarClick', e); }, rightChange: function rightChange(e) { var _e$range2 = e.range, before = _e$range2.before, after = _e$range2.after; this.rangeChange(before, after); var obj = { before: e.range.before, after: e.range.after, data: e.range.data, fulldate: e.fulldate }; this.endMultipleStatus = Object.assign({}, this.endMultipleStatus, obj); this.$emit('calendarClick', e); }, mobileChange: function mobileChange(e) { if (this.isRange) { var _e$range3 = e.range, before = _e$range3.before, after = _e$range3.after; if (!before) { return; } this.handleStartAndEnd(before, after, true); if (this.hasTime) { var _e$timeRange = e.timeRange, startTime = _e$timeRange.startTime, endTime = _e$timeRange.endTime; this.tempRange.startTime = startTime; this.tempRange.endTime = endTime; } this.confirmRangeChange(); } else { if (this.hasTime) { this.displayValue = e.fulldate + ' ' + e.time; } else { this.displayValue = e.fulldate; } this.setEmit(this.displayValue); } this.$refs.mobile.close(); }, rangeChange: function rangeChange(before, after) { if (!(before && after)) return; this.handleStartAndEnd(before, after, true); if (this.hasTime) return; this.confirmRangeChange(); }, confirmRangeChange: function confirmRangeChange() { if (!this.tempRange.startDate || !this.tempRange.endDate) { this.pickerVisible = false; return; } if (!(0, _util.checkDate)(this.tempRange.startDate)) { this.tempRange.startDate = (0, _util.getDate)(Date.now()); } if (!(0, _util.checkDate)(this.tempRange.endDate)) { this.tempRange.endDate = (0, _util.getDate)(Date.now()); } var start, end; var startDateLaterRangeStartDate = false; var startDateLaterRangeEndDate = false; var startDate, startTime; if (this.start) { var startString = this.start; if (typeof this.start === 'number') { startString = (0, _util.getDateTime)(this.start, this.hideSecond); } var _startString$split3 = startString.split(' '); var _startString$split4 = (0, _slicedToArray2.default)(_startString$split3, 2); startDate = _startString$split4[0]; startTime = _startString$split4[1]; if (this.start && !(0, _util.dateCompare)(this.start, this.tempRange.startDate)) { startDateLaterRangeStartDate = true; this.tempRange.startDate = startDate; } if (this.start && !(0, _util.dateCompare)(this.start, this.tempRange.endDate)) { startDateLaterRangeEndDate = true; this.tempRange.endDate = startDate; } } var endDateEarlierRangeStartDate = false; var endDateEarlierRangeEndDate = false; var endDate, endTime; if (this.end) { var endString = this.end; if (typeof this.end === 'number') { endString = (0, _util.getDateTime)(this.end, this.hideSecond); } var _endString$split3 = endString.split(' '); var _endString$split4 = (0, _slicedToArray2.default)(_endString$split3, 2); endDate = _endString$split4[0]; endTime = _endString$split4[1]; if (this.end && !(0, _util.dateCompare)(this.tempRange.startDate, this.end)) { endDateEarlierRangeStartDate = true; this.tempRange.startDate = endDate; } if (this.end && !(0, _util.dateCompare)(this.tempRange.endDate, this.end)) { endDateEarlierRangeEndDate = true; this.tempRange.endDate = endDate; } } if (!this.hasTime) { start = this.displayRangeValue.startDate = this.tempRange.startDate; end = this.displayRangeValue.endDate = this.tempRange.endDate; } else { if (startDateLaterRangeStartDate) { this.tempRange.startTime = startTime || (0, _util.getDefaultSecond)(this.hideSecond); } else if (endDateEarlierRangeStartDate) { this.tempRange.startTime = endTime || (0, _util.getDefaultSecond)(this.hideSecond); } if (!this.tempRange.startTime) { this.tempRange.startTime = (0, _util.getTime)(Date.now(), this.hideSecond); } if (startDateLaterRangeEndDate) { this.tempRange.endTime = startTime || (0, _util.getDefaultSecond)(this.hideSecond); } else if (endDateEarlierRangeEndDate) { this.tempRange.endTime = endTime || (0, _util.getDefaultSecond)(this.hideSecond); } if (!this.tempRange.endTime) { this.tempRange.endTime = (0, _util.getTime)(Date.now(), this.hideSecond); } start = this.displayRangeValue.startDate = "".concat(this.tempRange.startDate, " ").concat(this.tempRange.startTime); end = this.displayRangeValue.endDate = "".concat(this.tempRange.endDate, " ").concat(this.tempRange.endTime); } if (!(0, _util.dateCompare)(start, end)) { var _ref = [end, start]; start = _ref[0]; end = _ref[1]; } this.displayRangeValue.startDate = start; this.displayRangeValue.endDate = end; var displayRange = [start, end]; this.setEmit(displayRange); this.pickerVisible = false; }, handleStartAndEnd: function handleStartAndEnd(before, after) { var temp = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false; if (!before) return; if (!after) after = before; var type = temp ? 'tempRange' : 'range'; var isStartEarlierEnd = (0, _util.dateCompare)(before, after); this[type].startDate = isStartEarlierEnd ? before : after; this[type].endDate = isStartEarlierEnd ? after : before; }, /** * 比较时间大小 */ dateCompare: function dateCompare(startDate, endDate) { // 计算截止时间 startDate = new Date(startDate.replace('-', '/').replace('-', '/')); // 计算详细项的截止时间 endDate = new Date(endDate.replace('-', '/').replace('-', '/')); return startDate <= endDate; }, /** * 比较时间差 */ diffDate: function diffDate(startDate, endDate) { // 计算截止时间 startDate = new Date(startDate.replace('-', '/').replace('-', '/')); // 计算详细项的截止时间 endDate = new Date(endDate.replace('-', '/').replace('-', '/')); var diff = (endDate - startDate) / (24 * 60 * 60 * 1000); return Math.abs(diff); }, clear: function clear() { var needEmit = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : true; if (!this.isRange) { this.displayValue = ''; this.inputDate = ''; this.pickerTime = ''; if (this.isPhone) { this.$refs.mobile && this.$refs.mobile.clearCalender(); } else { this.$refs.pcSingle && this.$refs.pcSingle.clearCalender(); } if (needEmit) { this.$emit('change', ''); this.$emit('input', ''); this.$emit('update:modelValue', ''); } } else { this.displayRangeValue.startDate = ''; this.displayRangeValue.endDate = ''; this.tempRange.startDate = ''; this.tempRange.startTime = ''; this.tempRange.endDate = ''; this.tempRange.endTime = ''; if (this.isPhone) { this.$refs.mobile && this.$refs.mobile.clearCalender(); } else { this.$refs.left && this.$refs.left.clearCalender(); this.$refs.right && this.$refs.right.clearCalender(); this.$refs.right && this.$refs.right.changeMonth('next'); } if (needEmit) { this.$emit('change', []); this.$emit('input', []); this.$emit('update:modelValue', []); } } }, calendarClick: function calendarClick(e) { this.$emit('calendarClick', e); } } }; exports.default = _default; /***/ }), /* 22 */ /*!**************************************************************!*\ !*** ./node_modules/@babel/runtime/helpers/slicedToArray.js ***! \**************************************************************/ /*! no static exports found */ /***/ (function(module, exports, __webpack_require__) { var arrayWithHoles = __webpack_require__(/*! ./arrayWithHoles.js */ 23); var iterableToArrayLimit = __webpack_require__(/*! ./iterableToArrayLimit.js */ 24); var unsupportedIterableToArray = __webpack_require__(/*! ./unsupportedIterableToArray.js */ 25); var nonIterableRest = __webpack_require__(/*! ./nonIterableRest.js */ 27); function _slicedToArray(arr, i) { return arrayWithHoles(arr) || iterableToArrayLimit(arr, i) || unsupportedIterableToArray(arr, i) || nonIterableRest(); } module.exports = _slicedToArray, module.exports.__esModule = true, module.exports["default"] = module.exports; /***/ }), /* 23 */ /*!***************************************************************!*\ !*** ./node_modules/@babel/runtime/helpers/arrayWithHoles.js ***! \***************************************************************/ /*! no static exports found */ /***/ (function(module, exports) { function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; } module.exports = _arrayWithHoles, module.exports.__esModule = true, module.exports["default"] = module.exports; /***/ }), /* 24 */ /*!*********************************************************************!*\ !*** ./node_modules/@babel/runtime/helpers/iterableToArrayLimit.js ***! \*********************************************************************/ /*! no static exports found */ /***/ (function(module, exports) { function _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0) { ; } } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i["return"] && (_r = _i["return"](), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } } module.exports = _iterableToArrayLimit, module.exports.__esModule = true, module.exports["default"] = module.exports; /***/ }), /* 25 */ /*!***************************************************************************!*\ !*** ./node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js ***! \***************************************************************************/ /*! no static exports found */ /***/ (function(module, exports, __webpack_require__) { var arrayLikeToArray = __webpack_require__(/*! ./arrayLikeToArray.js */ 26); function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return arrayLikeToArray(o, minLen); } module.exports = _unsupportedIterableToArray, module.exports.__esModule = true, module.exports["default"] = module.exports; /***/ }), /* 26 */ /*!*****************************************************************!*\ !*** ./node_modules/@babel/runtime/helpers/arrayLikeToArray.js ***! \*****************************************************************/ /*! no static exports found */ /***/ (function(module, exports) { function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; } module.exports = _arrayLikeToArray, module.exports.__esModule = true, module.exports["default"] = module.exports; /***/ }), /* 27 */ /*!****************************************************************!*\ !*** ./node_modules/@babel/runtime/helpers/nonIterableRest.js ***! \****************************************************************/ /*! no static exports found */ /***/ (function(module, exports) { function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } module.exports = _nonIterableRest, module.exports.__esModule = true, module.exports["default"] = module.exports; /***/ }), /* 28 */ /*!************************************************************************************************************!*\ !*** D:/项目文件/uniapp/Waterinvoice_uiapp/node_modules/@dcloudio/uni-ui/lib/uni-datetime-picker/calendar.vue ***! \************************************************************************************************************/ /*! no static exports found */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony import */ var _calendar_vue_vue_type_template_id_30e33e03___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./calendar.vue?vue&type=template&id=30e33e03& */ 29); /* harmony import */ var _calendar_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./calendar.vue?vue&type=script&lang=js& */ 31); /* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _calendar_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 _calendar_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__[key]; }) }(__WEBPACK_IMPORT_KEY__)); /* harmony import */ var _C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/runtime/componentNormalizer.js */ 16); var renderjs /* normalize component */ var component = Object(_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_2__["default"])( _calendar_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__["default"], _calendar_vue_vue_type_template_id_30e33e03___WEBPACK_IMPORTED_MODULE_0__["render"], _calendar_vue_vue_type_template_id_30e33e03___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"], false, null, null, null, false, _calendar_vue_vue_type_template_id_30e33e03___WEBPACK_IMPORTED_MODULE_0__["components"], renderjs ) component.options.__file = "node_modules/@dcloudio/uni-ui/lib/uni-datetime-picker/calendar.vue" /* harmony default export */ __webpack_exports__["default"] = (component.exports); /***/ }), /* 29 */ /*!*******************************************************************************************************************************************!*\ !*** D:/项目文件/uniapp/Waterinvoice_uiapp/node_modules/@dcloudio/uni-ui/lib/uni-datetime-picker/calendar.vue?vue&type=template&id=30e33e03& ***! \*******************************************************************************************************************************************/ /*! exports provided: render, staticRenderFns, recyclableRender, components */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony import */ var _C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_11_0_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_filter_modules_template_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_calendar_vue_vue_type_template_id_30e33e03___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!./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--11-0!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/filter-modules-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!./calendar.vue?vue&type=template&id=30e33e03& */ 30); /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "render", function() { return _C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_11_0_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_filter_modules_template_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_calendar_vue_vue_type_template_id_30e33e03___WEBPACK_IMPORTED_MODULE_0__["render"]; }); /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return _C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_11_0_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_filter_modules_template_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_calendar_vue_vue_type_template_id_30e33e03___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"]; }); /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "recyclableRender", function() { return _C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_11_0_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_filter_modules_template_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_calendar_vue_vue_type_template_id_30e33e03___WEBPACK_IMPORTED_MODULE_0__["recyclableRender"]; }); /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "components", function() { return _C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_11_0_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_filter_modules_template_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_calendar_vue_vue_type_template_id_30e33e03___WEBPACK_IMPORTED_MODULE_0__["components"]; }); /***/ }), /* 30 */ /*!***********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ !*** ./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--11-0!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/filter-modules-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!D:/项目文件/uniapp/Waterinvoice_uiapp/node_modules/@dcloudio/uni-ui/lib/uni-datetime-picker/calendar.vue?vue&type=template&id=30e33e03& ***! \***********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ /*! 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 = { uniIcons: __webpack_require__(/*! @dcloudio/uni-ui/lib/uni-icons/uni-icons.vue */ 10).default, } } 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 return _c( "view", { staticClass: _vm._$s(0, "sc", "uni-calendar"), attrs: { _i: 0 }, on: { mouseleave: _vm.leaveCale }, }, [ _vm._$s(1, "i", !_vm.insert && _vm.show) ? _c("view", { staticClass: _vm._$s(1, "sc", "uni-calendar__mask"), class: _vm._$s(1, "c", { "uni-calendar--mask-show": _vm.aniMaskShow, }), attrs: { _i: 1 }, on: { click: _vm.maskClick }, }) : _vm._e(), _vm._$s(2, "i", _vm.insert || _vm.show) ? _c( "view", { staticClass: _vm._$s(2, "sc", "uni-calendar__content"), class: _vm._$s(2, "c", { "uni-calendar--fixed": !_vm.insert, "uni-calendar--ani-show": _vm.aniMaskShow, "uni-calendar__content-mobile": _vm.aniMaskShow, }), attrs: { _i: 2 }, }, [ _c( "view", { staticClass: _vm._$s(3, "sc", "uni-calendar__header"), class: _vm._$s(3, "c", { "uni-calendar__header-mobile": !_vm.insert, }), attrs: { _i: 3 }, }, [ _c( "view", { staticClass: _vm._$s( 4, "sc", "uni-calendar__header-btn-box" ), attrs: { _i: 4 }, on: { click: function ($event) { $event.stopPropagation() return _vm.changeMonth("pre") }, }, }, [ _c("view", { staticClass: _vm._$s( 5, "sc", "uni-calendar__header-btn uni-calendar--left" ), attrs: { _i: 5 }, }), ] ), _c( "picker", { attrs: { value: _vm._$s(6, "a-value", _vm.date), _i: 6 }, on: { change: _vm.bindDateChange }, }, [ _c( "text", { staticClass: _vm._$s( 7, "sc", "uni-calendar__header-text" ), attrs: { _i: 7 }, }, [ _vm._v( _vm._$s( 7, "t0-0", _vm._s( (_vm.nowDate.year || "") + _vm.yearText + (_vm.nowDate.month || "") + _vm.monthText ) ) ), ] ), ] ), _c( "view", { staticClass: _vm._$s( 8, "sc", "uni-calendar__header-btn-box" ), attrs: { _i: 8 }, on: { click: function ($event) { $event.stopPropagation() return _vm.changeMonth("next") }, }, }, [ _c("view", { staticClass: _vm._$s( 9, "sc", "uni-calendar__header-btn uni-calendar--right" ), attrs: { _i: 9 }, }), ] ), _vm._$s(10, "i", !_vm.insert) ? _c( "view", { staticClass: _vm._$s(10, "sc", "dialog-close"), attrs: { _i: 10 }, on: { click: _vm.maskClick }, }, [ _c("view", { staticClass: _vm._$s(11, "sc", "dialog-close-plus"), attrs: { _i: 11 }, }), _c("view", { staticClass: _vm._$s( 12, "sc", "dialog-close-plus dialog-close-rotate" ), attrs: { _i: 12 }, }), ] ) : _vm._e(), ] ), _c( "view", { staticClass: _vm._$s(13, "sc", "uni-calendar__box"), attrs: { _i: 13 }, }, [ _vm._$s(14, "i", _vm.showMonth) ? _c( "view", { staticClass: _vm._$s( 14, "sc", "uni-calendar__box-bg" ), attrs: { _i: 14 }, }, [ _c( "text", { staticClass: _vm._$s( 15, "sc", "uni-calendar__box-bg-text" ), attrs: { _i: 15 }, }, [ _vm._v( _vm._$s(15, "t0-0", _vm._s(_vm.nowDate.month)) ), ] ), ] ) : _vm._e(), _c( "view", { staticClass: _vm._$s(16, "sc", "uni-calendar__weeks"), attrs: { _i: 16 }, }, [ _c( "view", { staticClass: _vm._$s( 17, "sc", "uni-calendar__weeks-day" ), attrs: { _i: 17 }, }, [ _c( "text", { staticClass: _vm._$s( 18, "sc", "uni-calendar__weeks-day-text" ), attrs: { _i: 18 }, }, [_vm._v(_vm._$s(18, "t0-0", _vm._s(_vm.SUNText)))] ), ] ), _c( "view", { staticClass: _vm._$s( 19, "sc", "uni-calendar__weeks-day" ), attrs: { _i: 19 }, }, [ _c( "text", { staticClass: _vm._$s( 20, "sc", "uni-calendar__weeks-day-text" ), attrs: { _i: 20 }, }, [_vm._v(_vm._$s(20, "t0-0", _vm._s(_vm.MONText)))] ), ] ), _c( "view", { staticClass: _vm._$s( 21, "sc", "uni-calendar__weeks-day" ), attrs: { _i: 21 }, }, [ _c( "text", { staticClass: _vm._$s( 22, "sc", "uni-calendar__weeks-day-text" ), attrs: { _i: 22 }, }, [_vm._v(_vm._$s(22, "t0-0", _vm._s(_vm.TUEText)))] ), ] ), _c( "view", { staticClass: _vm._$s( 23, "sc", "uni-calendar__weeks-day" ), attrs: { _i: 23 }, }, [ _c( "text", { staticClass: _vm._$s( 24, "sc", "uni-calendar__weeks-day-text" ), attrs: { _i: 24 }, }, [_vm._v(_vm._$s(24, "t0-0", _vm._s(_vm.WEDText)))] ), ] ), _c( "view", { staticClass: _vm._$s( 25, "sc", "uni-calendar__weeks-day" ), attrs: { _i: 25 }, }, [ _c( "text", { staticClass: _vm._$s( 26, "sc", "uni-calendar__weeks-day-text" ), attrs: { _i: 26 }, }, [_vm._v(_vm._$s(26, "t0-0", _vm._s(_vm.THUText)))] ), ] ), _c( "view", { staticClass: _vm._$s( 27, "sc", "uni-calendar__weeks-day" ), attrs: { _i: 27 }, }, [ _c( "text", { staticClass: _vm._$s( 28, "sc", "uni-calendar__weeks-day-text" ), attrs: { _i: 28 }, }, [_vm._v(_vm._$s(28, "t0-0", _vm._s(_vm.FRIText)))] ), ] ), _c( "view", { staticClass: _vm._$s( 29, "sc", "uni-calendar__weeks-day" ), attrs: { _i: 29 }, }, [ _c( "text", { staticClass: _vm._$s( 30, "sc", "uni-calendar__weeks-day-text" ), attrs: { _i: 30 }, }, [_vm._v(_vm._$s(30, "t0-0", _vm._s(_vm.SATText)))] ), ] ), ] ), _vm._l( _vm._$s(31, "f", { forItems: _vm.weeks }), function (item, weekIndex, $20, $30) { return _c( "view", { key: _vm._$s(31, "f", { forIndex: $20, key: weekIndex, }), staticClass: _vm._$s( "31-" + $30, "sc", "uni-calendar__weeks" ), attrs: { _i: "31-" + $30 }, }, _vm._l( _vm._$s(32 + "-" + $30, "f", { forItems: item }), function (weeks, weeksIndex, $21, $31) { return _c( "view", { key: _vm._$s(32 + "-" + $30, "f", { forIndex: $21, key: weeksIndex, }), staticClass: _vm._$s( "32-" + $30 + "-" + $31, "sc", "uni-calendar__weeks-item" ), attrs: { _i: "32-" + $30 + "-" + $31 }, }, [ _c("calendar-item", { staticClass: _vm._$s( "33-" + $30 + "-" + $31, "sc", "uni-calendar-item--hook" ), attrs: { weeks: weeks, calendar: _vm.calendar, selected: _vm.selected, checkHover: _vm.range, _i: "33-" + $30 + "-" + $31, }, on: { change: _vm.choiceDate, handleMouse: _vm.handleMouse, }, }), ], 1 ) } ), 0 ) } ), ], 2 ), _vm._$s(34, "i", !_vm.insert && !_vm.range && _vm.hasTime) ? _c( "view", { staticClass: _vm._$s( 34, "sc", "uni-date-changed uni-calendar--fixed-top" ), attrs: { _i: 34 }, }, [ _c( "view", { staticClass: _vm._$s( 35, "sc", "uni-date-changed--time-date" ), attrs: { _i: 35 }, }, [ _vm._v( _vm._$s( 35, "t0-0", _vm._s( _vm.tempSingleDate ? _vm.tempSingleDate : _vm.selectDateText ) ) ), ] ), _c("time-picker", { staticClass: _vm._$s(36, "sc", "time-picker-style"), attrs: { type: "time", start: _vm.timepickerStartTime, end: _vm.timepickerEndTime, disabled: !_vm.tempSingleDate, border: false, "hide-second": _vm.hideSecond, _i: 36, }, model: { value: _vm._$s(36, "v-model", _vm.time), callback: function ($$v) { _vm.time = $$v }, expression: "time", }, }), ], 1 ) : _vm._e(), _vm._$s(37, "i", !_vm.insert && _vm.range && _vm.hasTime) ? _c( "view", { staticClass: _vm._$s( 37, "sc", "uni-date-changed uni-calendar--fixed-top" ), attrs: { _i: 37 }, }, [ _c( "view", { staticClass: _vm._$s( 38, "sc", "uni-date-changed--time-start" ), attrs: { _i: 38 }, }, [ _c( "view", { staticClass: _vm._$s( 39, "sc", "uni-date-changed--time-date" ), attrs: { _i: 39 }, }, [ _vm._v( _vm._$s( 39, "t0-0", _vm._s( _vm.tempRange.before ? _vm.tempRange.before : _vm.startDateText ) ) ), ] ), _c("time-picker", { staticClass: _vm._$s(40, "sc", "time-picker-style"), attrs: { type: "time", start: _vm.timepickerStartTime, border: false, "hide-second": _vm.hideSecond, disabled: !_vm.tempRange.before, _i: 40, }, model: { value: _vm._$s( 40, "v-model", _vm.timeRange.startTime ), callback: function ($$v) { _vm.$set(_vm.timeRange, "startTime", $$v) }, expression: "timeRange.startTime", }, }), ], 1 ), _c( "view", [ _c("uni-icons", { attrs: { type: "arrowthinright", color: "#999", _i: 42, }, }), ], 1 ), _c( "view", { staticClass: _vm._$s( 43, "sc", "uni-date-changed--time-end" ), attrs: { _i: 43 }, }, [ _c( "view", { staticClass: _vm._$s( 44, "sc", "uni-date-changed--time-date" ), attrs: { _i: 44 }, }, [ _vm._v( _vm._$s( 44, "t0-0", _vm._s( _vm.tempRange.after ? _vm.tempRange.after : _vm.endDateText ) ) ), ] ), _c("time-picker", { staticClass: _vm._$s(45, "sc", "time-picker-style"), attrs: { type: "time", end: _vm.timepickerEndTime, border: false, "hide-second": _vm.hideSecond, disabled: !_vm.tempRange.after, _i: 45, }, model: { value: _vm._$s( 45, "v-model", _vm.timeRange.endTime ), callback: function ($$v) { _vm.$set(_vm.timeRange, "endTime", $$v) }, expression: "timeRange.endTime", }, }), ], 1 ), ] ) : _vm._e(), _vm._$s(46, "i", !_vm.insert) ? _c( "view", { staticClass: _vm._$s( 46, "sc", "uni-date-changed uni-date-btn--ok" ), attrs: { _i: 46 }, }, [ _c( "view", { staticClass: _vm._$s( 47, "sc", "uni-datetime-picker--btn" ), attrs: { _i: 47 }, on: { click: _vm.confirm }, }, [_vm._v(_vm._$s(47, "t0-0", _vm._s(_vm.confirmText)))] ), ] ) : _vm._e(), ] ) : _vm._e(), ] ) } var recyclableRender = false var staticRenderFns = [] render._withStripped = true /***/ }), /* 31 */ /*!*************************************************************************************************************************************!*\ !*** D:/项目文件/uniapp/Waterinvoice_uiapp/node_modules/@dcloudio/uni-ui/lib/uni-datetime-picker/calendar.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 _C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_7_1_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_using_components_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_calendar_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!./node_modules/babel-loader/lib!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--7-1!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/using-components.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./calendar.vue?vue&type=script&lang=js& */ 32); /* harmony import */ var _C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_7_1_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_using_components_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_calendar_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_7_1_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_using_components_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_calendar_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__); /* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_7_1_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_using_components_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_calendar_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 _C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_7_1_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_using_components_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_calendar_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__)); /* harmony default export */ __webpack_exports__["default"] = (_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_7_1_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_using_components_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_calendar_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0___default.a); /***/ }), /* 32 */ /*!******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ !*** ./node_modules/babel-loader/lib!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--7-1!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/using-components.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!D:/项目文件/uniapp/Waterinvoice_uiapp/node_modules/@dcloudio/uni-ui/lib/uni-datetime-picker/calendar.vue?vue&type=script&lang=js& ***! \******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ /*! no static exports found */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 1); Object.defineProperty(exports, "__esModule", { value: true }); exports.default = void 0; var _defineProperty2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/defineProperty */ 2)); var _slicedToArray2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/slicedToArray */ 22)); var _util = __webpack_require__(/*! ./util.js */ 33); var _calendarItem = _interopRequireDefault(__webpack_require__(/*! ./calendar-item.vue */ 40)); var _timePicker = _interopRequireDefault(__webpack_require__(/*! ./time-picker.vue */ 45)); var _uniI18n = __webpack_require__(/*! @dcloudio/uni-i18n */ 50); var _index = _interopRequireDefault(__webpack_require__(/*! ./i18n/index.js */ 52)); function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; } function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { (0, _defineProperty2.default)(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; } var _initVueI18n = (0, _uniI18n.initVueI18n)(_index.default), t = _initVueI18n.t; /** * Calendar 日历 * @description 日历组件可以查看日期,选择任意范围内的日期,打点操作。常用场景如:酒店日期预订、火车机票选择购买日期、上下班打卡等 * @tutorial https://ext.dcloud.net.cn/plugin?id=56 * @property {String} date 自定义当前时间,默认为今天 * @property {String} startDate 日期选择范围-开始日期 * @property {String} endDate 日期选择范围-结束日期 * @property {Boolean} range 范围选择 * @property {Boolean} insert = [true|false] 插入模式,默认为false * @value true 弹窗模式 * @value false 插入模式 * @property {Boolean} clearDate = [true|false] 弹窗模式是否清空上次选择内容 * @property {Array} selected 打点,期待格式[{date: '2019-06-27', info: '签到', data: { custom: '自定义信息', name: '自定义消息头',xxx:xxx... }}] * @property {Boolean} showMonth 是否选择月份为背景 * @property {[String} defaultValue 选择器打开时默认显示的时间 * @event {Function} change 日期改变,`insert :ture` 时生效 * @event {Function} confirm 确认选择`insert :false` 时生效 * @event {Function} monthSwitch 切换月份时触发 * @example */ var _default2 = { components: { calendarItem: _calendarItem.default, timePicker: _timePicker.default }, options: { virtualHost: true }, props: { date: { type: String, default: '' }, defTime: { type: [String, Object], default: '' }, selectableTimes: { type: [Object], default: function _default() { return {}; } }, selected: { type: Array, default: function _default() { return []; } }, startDate: { type: String, default: '' }, endDate: { type: String, default: '' }, startPlaceholder: { type: String, default: '' }, endPlaceholder: { type: String, default: '' }, range: { type: Boolean, default: false }, hasTime: { type: Boolean, default: false }, insert: { type: Boolean, default: true }, showMonth: { type: Boolean, default: true }, clearDate: { type: Boolean, default: true }, checkHover: { type: Boolean, default: true }, hideSecond: { type: [Boolean], default: false }, pleStatus: { type: Object, default: function _default() { return { before: '', after: '', data: [], fulldate: '' }; } }, defaultValue: { type: [String, Object, Array], default: '' } }, data: function data() { return { show: false, weeks: [], calendar: {}, nowDate: {}, aniMaskShow: false, firstEnter: true, time: '', timeRange: { startTime: '', endTime: '' }, tempSingleDate: '', tempRange: { before: '', after: '' } }; }, watch: { date: { immediate: true, handler: function handler(newVal) { var _this = this; if (!this.range) { this.tempSingleDate = newVal; setTimeout(function () { _this.init(newVal); }, 100); } } }, defTime: { immediate: true, handler: function handler(newVal) { if (!this.range) { this.time = newVal; } else { this.timeRange.startTime = newVal.start; this.timeRange.endTime = newVal.end; } } }, startDate: function startDate(val) { // 字节小程序 watch 早于 created if (!this.cale) { return; } this.cale.setStartDate(val); this.cale.setDate(this.nowDate.fullDate); this.weeks = this.cale.weeks; }, endDate: function endDate(val) { // 字节小程序 watch 早于 created if (!this.cale) { return; } this.cale.setEndDate(val); this.cale.setDate(this.nowDate.fullDate); this.weeks = this.cale.weeks; }, selected: function selected(newVal) { // 字节小程序 watch 早于 created if (!this.cale) { return; } this.cale.setSelectInfo(this.nowDate.fullDate, newVal); this.weeks = this.cale.weeks; }, pleStatus: { immediate: true, handler: function handler(newVal) { var _this2 = this; var before = newVal.before, after = newVal.after, fulldate = newVal.fulldate, which = newVal.which; this.tempRange.before = before; this.tempRange.after = after; setTimeout(function () { if (fulldate) { _this2.cale.setHoverMultiple(fulldate); if (before && after) { _this2.cale.lastHover = true; if (_this2.rangeWithinMonth(after, before)) return; _this2.setDate(before); } else { _this2.cale.setMultiple(fulldate); _this2.setDate(_this2.nowDate.fullDate); _this2.calendar.fullDate = ''; _this2.cale.lastHover = false; } } else { // 字节小程序 watch 早于 created if (!_this2.cale) { return; } _this2.cale.setDefaultMultiple(before, after); if (which === 'left' && before) { _this2.setDate(before); _this2.weeks = _this2.cale.weeks; } else if (after) { _this2.setDate(after); _this2.weeks = _this2.cale.weeks; } _this2.cale.lastHover = true; } }, 16); } } }, computed: { timepickerStartTime: function timepickerStartTime() { var activeDate = this.range ? this.tempRange.before : this.calendar.fullDate; return activeDate === this.startDate ? this.selectableTimes.start : ''; }, timepickerEndTime: function timepickerEndTime() { var activeDate = this.range ? this.tempRange.after : this.calendar.fullDate; return activeDate === this.endDate ? this.selectableTimes.end : ''; }, /** * for i18n */ selectDateText: function selectDateText() { return t("uni-datetime-picker.selectDate"); }, startDateText: function startDateText() { return this.startPlaceholder || t("uni-datetime-picker.startDate"); }, endDateText: function endDateText() { return this.endPlaceholder || t("uni-datetime-picker.endDate"); }, okText: function okText() { return t("uni-datetime-picker.ok"); }, yearText: function yearText() { return t("uni-datetime-picker.year"); }, monthText: function monthText() { return t("uni-datetime-picker.month"); }, MONText: function MONText() { return t("uni-calender.MON"); }, TUEText: function TUEText() { return t("uni-calender.TUE"); }, WEDText: function WEDText() { return t("uni-calender.WED"); }, THUText: function THUText() { return t("uni-calender.THU"); }, FRIText: function FRIText() { return t("uni-calender.FRI"); }, SATText: function SATText() { return t("uni-calender.SAT"); }, SUNText: function SUNText() { return t("uni-calender.SUN"); }, confirmText: function confirmText() { return t("uni-calender.confirm"); } }, created: function created() { // 获取日历方法实例 this.cale = new _util.Calendar({ selected: this.selected, startDate: this.startDate, endDate: this.endDate, range: this.range }); // 选中某一天 this.init(this.date); }, methods: { leaveCale: function leaveCale() { this.firstEnter = true; }, handleMouse: function handleMouse(weeks) { if (weeks.disable) return; if (this.cale.lastHover) return; var _this$cale$multipleSt = this.cale.multipleStatus, before = _this$cale$multipleSt.before, after = _this$cale$multipleSt.after; if (!before) return; this.calendar = weeks; // 设置范围选 this.cale.setHoverMultiple(this.calendar.fullDate); this.weeks = this.cale.weeks; // hover时,进入一个日历,更新另一个 if (this.firstEnter) { this.$emit('firstEnterCale', this.cale.multipleStatus); this.firstEnter = false; } }, rangeWithinMonth: function rangeWithinMonth(A, B) { var _A$split = A.split('-'), _A$split2 = (0, _slicedToArray2.default)(_A$split, 2), yearA = _A$split2[0], monthA = _A$split2[1]; var _B$split = B.split('-'), _B$split2 = (0, _slicedToArray2.default)(_B$split, 2), yearB = _B$split2[0], monthB = _B$split2[1]; return yearA === yearB && monthA === monthB; }, // 蒙版点击事件 maskClick: function maskClick() { this.close(); this.$emit('maskClose'); }, clearCalender: function clearCalender() { if (this.range) { this.timeRange.startTime = ''; this.timeRange.endTime = ''; this.tempRange.before = ''; this.tempRange.after = ''; this.cale.multipleStatus.before = ''; this.cale.multipleStatus.after = ''; this.cale.multipleStatus.data = []; this.cale.lastHover = false; } else { this.time = ''; this.tempSingleDate = ''; } this.calendar.fullDate = ''; this.setDate(new Date()); }, bindDateChange: function bindDateChange(e) { var value = e.detail.value + '-1'; this.setDate(value); }, /** * 初始化日期显示 * @param {Object} date */ init: function init(date) { // 字节小程序 watch 早于 created if (!this.cale) { return; } this.cale.setDate(date || new Date()); this.weeks = this.cale.weeks; this.nowDate = this.cale.getInfo(date); this.calendar = _objectSpread({}, this.nowDate); if (!date) { // 优化date为空默认不选中今天 this.calendar.fullDate = ''; if (this.defaultValue && !this.range) { // 暂时只支持移动端非范围选择 var defaultDate = new Date(this.defaultValue); var fullDate = (0, _util.getDate)(defaultDate); var year = defaultDate.getFullYear(); var month = defaultDate.getMonth() + 1; var _date = defaultDate.getDate(); var day = defaultDate.getDay(); this.calendar = { fullDate: fullDate, year: year, month: month, date: _date, day: day }, this.tempSingleDate = fullDate; this.time = (0, _util.getTime)(defaultDate, this.hideSecond); } } }, /** * 打开日历弹窗 */ open: function open() { var _this3 = this; // 弹窗模式并且清理数据 if (this.clearDate && !this.insert) { this.cale.cleanMultipleStatus(); this.init(this.date); } this.show = true; this.$nextTick(function () { setTimeout(function () { _this3.aniMaskShow = true; }, 50); }); }, /** * 关闭日历弹窗 */ close: function close() { var _this4 = this; this.aniMaskShow = false; this.$nextTick(function () { setTimeout(function () { _this4.show = false; _this4.$emit('close'); }, 300); }); }, /** * 确认按钮 */ confirm: function confirm() { this.setEmit('confirm'); this.close(); }, /** * 变化触发 */ change: function change(isSingleChange) { if (!this.insert && !isSingleChange) return; this.setEmit('change'); }, /** * 选择月份触发 */ monthSwitch: function monthSwitch() { var _this$nowDate = this.nowDate, year = _this$nowDate.year, month = _this$nowDate.month; this.$emit('monthSwitch', { year: year, month: Number(month) }); }, /** * 派发事件 * @param {Object} name */ setEmit: function setEmit(name) { if (!this.range) { if (!this.calendar.fullDate) { this.calendar = this.cale.getInfo(new Date()); this.tempSingleDate = this.calendar.fullDate; } if (this.hasTime && !this.time) { this.time = (0, _util.getTime)(new Date(), this.hideSecond); } } var _this$calendar = this.calendar, year = _this$calendar.year, month = _this$calendar.month, date = _this$calendar.date, fullDate = _this$calendar.fullDate, extraInfo = _this$calendar.extraInfo; this.$emit(name, { range: this.cale.multipleStatus, year: year, month: month, date: date, time: this.time, timeRange: this.timeRange, fulldate: fullDate, extraInfo: extraInfo || {} }); }, /** * 选择天触发 * @param {Object} weeks */ choiceDate: function choiceDate(weeks) { if (weeks.disable) return; this.calendar = weeks; this.calendar.userChecked = true; // 设置多选 this.cale.setMultiple(this.calendar.fullDate, true); this.weeks = this.cale.weeks; this.tempSingleDate = this.calendar.fullDate; var beforeDate = new Date(this.cale.multipleStatus.before).getTime(); var afterDate = new Date(this.cale.multipleStatus.after).getTime(); if (beforeDate > afterDate && afterDate) { this.tempRange.before = this.cale.multipleStatus.after; this.tempRange.after = this.cale.multipleStatus.before; } else { this.tempRange.before = this.cale.multipleStatus.before; this.tempRange.after = this.cale.multipleStatus.after; } this.change(true); }, changeMonth: function changeMonth(type) { var newDate; if (type === 'pre') { newDate = this.cale.getPreMonthObj(this.nowDate.fullDate).fullDate; } else if (type === 'next') { newDate = this.cale.getNextMonthObj(this.nowDate.fullDate).fullDate; } this.setDate(newDate); this.monthSwitch(); }, /** * 设置日期 * @param {Object} date */ setDate: function setDate(date) { this.cale.setDate(date); this.weeks = this.cale.weeks; this.nowDate = this.cale.getInfo(date); } } }; exports.default = _default2; /***/ }), /* 33 */ /*!*******************************************************************************************************!*\ !*** D:/项目文件/uniapp/Waterinvoice_uiapp/node_modules/@dcloudio/uni-ui/lib/uni-datetime-picker/util.js ***! \*******************************************************************************************************/ /*! no static exports found */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 1); Object.defineProperty(exports, "__esModule", { value: true }); exports.Calendar = void 0; exports.addZero = addZero; exports.checkDate = checkDate; exports.dateCompare = dateCompare; exports.fixIosDateFormat = fixIosDateFormat; exports.getDate = getDate; exports.getDateTime = getDateTime; exports.getDefaultSecond = getDefaultSecond; exports.getTime = getTime; var _toConsumableArray2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/toConsumableArray */ 34)); var _classCallCheck2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/classCallCheck */ 38)); var _createClass2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/createClass */ 39)); var Calendar = /*#__PURE__*/function () { function Calendar() { var _ref = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}, selected = _ref.selected, startDate = _ref.startDate, endDate = _ref.endDate, range = _ref.range; (0, _classCallCheck2.default)(this, Calendar); // 当前日期 this.date = this.getDateObj(new Date()); // 当前初入日期 // 打点信息 this.selected = selected || []; // 起始时间 this.startDate = startDate; // 终止时间 this.endDate = endDate; // 是否范围选择 this.range = range; // 多选状态 this.cleanMultipleStatus(); // 每周日期 this.weeks = {}; this.lastHover = false; } /** * 设置日期 * @param {Object} date */ (0, _createClass2.default)(Calendar, [{ key: "setDate", value: function setDate(date) { var selectDate = this.getDateObj(date); this.getWeeks(selectDate.fullDate); } /** * 清理多选状态 */ }, { key: "cleanMultipleStatus", value: function cleanMultipleStatus() { this.multipleStatus = { before: '', after: '', data: [] }; } }, { key: "setStartDate", value: function setStartDate(startDate) { this.startDate = startDate; } }, { key: "setEndDate", value: function setEndDate(endDate) { this.endDate = endDate; } }, { key: "getPreMonthObj", value: function getPreMonthObj(date) { date = fixIosDateFormat(date); date = new Date(date); var oldMonth = date.getMonth(); date.setMonth(oldMonth - 1); var newMonth = date.getMonth(); if (oldMonth !== 0 && newMonth - oldMonth === 0) { date.setMonth(newMonth - 1); } return this.getDateObj(date); } }, { key: "getNextMonthObj", value: function getNextMonthObj(date) { date = fixIosDateFormat(date); date = new Date(date); var oldMonth = date.getMonth(); date.setMonth(oldMonth + 1); var newMonth = date.getMonth(); if (newMonth - oldMonth > 1) { date.setMonth(newMonth - 1); } return this.getDateObj(date); } /** * 获取指定格式Date对象 */ }, { key: "getDateObj", value: function getDateObj(date) { date = fixIosDateFormat(date); date = new Date(date); return { fullDate: getDate(date), year: date.getFullYear(), month: addZero(date.getMonth() + 1), date: addZero(date.getDate()), day: date.getDay() }; } /** * 获取上一个月日期集合 */ }, { key: "getPreMonthDays", value: function getPreMonthDays(amount, dateObj) { var result = []; for (var i = amount - 1; i >= 0; i--) { var month = dateObj.month - 1; result.push({ date: new Date(dateObj.year, month, -i).getDate(), month: month, disable: true }); } return result; } /** * 获取本月日期集合 */ }, { key: "getCurrentMonthDays", value: function getCurrentMonthDays(amount, dateObj) { var _this = this; var result = []; var fullDate = this.date.fullDate; var _loop = function _loop(i) { var currentDate = "".concat(dateObj.year, "-").concat(dateObj.month, "-").concat(addZero(i)); var isToday = fullDate === currentDate; // 获取打点信息 var info = _this.selected && _this.selected.find(function (item) { if (_this.dateEqual(currentDate, item.date)) { return item; } }); // 日期禁用 var disableBefore = true; var disableAfter = true; if (_this.startDate) { disableBefore = dateCompare(_this.startDate, currentDate); } if (_this.endDate) { disableAfter = dateCompare(currentDate, _this.endDate); } var multiples = _this.multipleStatus.data; var multiplesStatus = -1; if (_this.range && multiples) { multiplesStatus = multiples.findIndex(function (item) { return _this.dateEqual(item, currentDate); }); } var checked = multiplesStatus !== -1; result.push({ fullDate: currentDate, year: dateObj.year, date: i, multiple: _this.range ? checked : false, beforeMultiple: _this.isLogicBefore(currentDate, _this.multipleStatus.before, _this.multipleStatus.after), afterMultiple: _this.isLogicAfter(currentDate, _this.multipleStatus.before, _this.multipleStatus.after), month: dateObj.month, disable: _this.startDate && !dateCompare(_this.startDate, currentDate) || _this.endDate && !dateCompare(currentDate, _this.endDate), isToday: isToday, userChecked: false, extraInfo: info }); }; for (var i = 1; i <= amount; i++) { _loop(i); } return result; } /** * 获取下一个月日期集合 */ }, { key: "_getNextMonthDays", value: function _getNextMonthDays(amount, dateObj) { var result = []; var month = dateObj.month + 1; for (var i = 1; i <= amount; i++) { result.push({ date: i, month: month, disable: true }); } return result; } /** * 获取当前日期详情 * @param {Object} date */ }, { key: "getInfo", value: function getInfo(date) { var _this2 = this; if (!date) { date = new Date(); } return this.calendar.find(function (item) { return item.fullDate === _this2.getDateObj(date).fullDate; }); } /** * 比较时间是否相等 */ }, { key: "dateEqual", value: function dateEqual(before, after) { before = new Date(fixIosDateFormat(before)); after = new Date(fixIosDateFormat(after)); return before.valueOf() === after.valueOf(); } /** * 比较真实起始日期 */ }, { key: "isLogicBefore", value: function isLogicBefore(currentDate, before, after) { var logicBefore = before; if (before && after) { logicBefore = dateCompare(before, after) ? before : after; } return this.dateEqual(logicBefore, currentDate); } }, { key: "isLogicAfter", value: function isLogicAfter(currentDate, before, after) { var logicAfter = after; if (before && after) { logicAfter = dateCompare(before, after) ? after : before; } return this.dateEqual(logicAfter, currentDate); } /** * 获取日期范围内所有日期 * @param {Object} begin * @param {Object} end */ }, { key: "geDateAll", value: function geDateAll(begin, end) { var arr = []; var ab = begin.split('-'); var ae = end.split('-'); var db = new Date(); db.setFullYear(ab[0], ab[1] - 1, ab[2]); var de = new Date(); de.setFullYear(ae[0], ae[1] - 1, ae[2]); var unixDb = db.getTime() - 24 * 60 * 60 * 1000; var unixDe = de.getTime() - 24 * 60 * 60 * 1000; for (var k = unixDb; k <= unixDe;) { k = k + 24 * 60 * 60 * 1000; arr.push(this.getDateObj(new Date(parseInt(k))).fullDate); } return arr; } /** * 获取多选状态 */ }, { key: "setMultiple", value: function setMultiple(fullDate) { if (!this.range) return; var _this$multipleStatus = this.multipleStatus, before = _this$multipleStatus.before, after = _this$multipleStatus.after; if (before && after) { if (!this.lastHover) { this.lastHover = true; return; } this.multipleStatus.before = fullDate; this.multipleStatus.after = ''; this.multipleStatus.data = []; this.multipleStatus.fulldate = ''; this.lastHover = false; } else { if (!before) { this.multipleStatus.before = fullDate; this.multipleStatus.after = undefined; this.lastHover = false; } else { this.multipleStatus.after = fullDate; if (dateCompare(this.multipleStatus.before, this.multipleStatus.after)) { this.multipleStatus.data = this.geDateAll(this.multipleStatus.before, this.multipleStatus.after); } else { this.multipleStatus.data = this.geDateAll(this.multipleStatus.after, this.multipleStatus.before); } this.lastHover = true; } } this.getWeeks(fullDate); } /** * 鼠标 hover 更新多选状态 */ }, { key: "setHoverMultiple", value: function setHoverMultiple(fullDate) { //抖音小程序点击会触发hover事件,需要避免一下 if (!this.range || this.lastHover) return; var before = this.multipleStatus.before; if (!before) { this.multipleStatus.before = fullDate; } else { this.multipleStatus.after = fullDate; if (dateCompare(this.multipleStatus.before, this.multipleStatus.after)) { this.multipleStatus.data = this.geDateAll(this.multipleStatus.before, this.multipleStatus.after); } else { this.multipleStatus.data = this.geDateAll(this.multipleStatus.after, this.multipleStatus.before); } } this.getWeeks(fullDate); } /** * 更新默认值多选状态 */ }, { key: "setDefaultMultiple", value: function setDefaultMultiple(before, after) { this.multipleStatus.before = before; this.multipleStatus.after = after; if (before && after) { if (dateCompare(before, after)) { this.multipleStatus.data = this.geDateAll(before, after); this.getWeeks(after); } else { this.multipleStatus.data = this.geDateAll(after, before); this.getWeeks(before); } } } /** * 获取每周数据 * @param {Object} dateData */ }, { key: "getWeeks", value: function getWeeks(dateData) { var _this$getDateObj = this.getDateObj(dateData), year = _this$getDateObj.year, month = _this$getDateObj.month; var preMonthDayAmount = new Date(year, month - 1, 1).getDay(); var preMonthDays = this.getPreMonthDays(preMonthDayAmount, this.getDateObj(dateData)); var currentMonthDayAmount = new Date(year, month, 0).getDate(); var currentMonthDays = this.getCurrentMonthDays(currentMonthDayAmount, this.getDateObj(dateData)); var nextMonthDayAmount = 42 - preMonthDayAmount - currentMonthDayAmount; var nextMonthDays = this._getNextMonthDays(nextMonthDayAmount, this.getDateObj(dateData)); var calendarDays = [].concat((0, _toConsumableArray2.default)(preMonthDays), (0, _toConsumableArray2.default)(currentMonthDays), (0, _toConsumableArray2.default)(nextMonthDays)); var weeks = new Array(6); for (var i = 0; i < calendarDays.length; i++) { var index = Math.floor(i / 7); if (!weeks[index]) { weeks[index] = new Array(7); } weeks[index][i % 7] = calendarDays[i]; } this.calendar = calendarDays; this.weeks = weeks; } }]); return Calendar; }(); exports.Calendar = Calendar; function getDateTime(date, hideSecond) { return "".concat(getDate(date), " ").concat(getTime(date, hideSecond)); } function getDate(date) { date = fixIosDateFormat(date); date = new Date(date); var year = date.getFullYear(); var month = date.getMonth() + 1; var day = date.getDate(); return "".concat(year, "-").concat(addZero(month), "-").concat(addZero(day)); } function getTime(date, hideSecond) { date = fixIosDateFormat(date); date = new Date(date); var hour = date.getHours(); var minute = date.getMinutes(); var second = date.getSeconds(); return hideSecond ? "".concat(addZero(hour), ":").concat(addZero(minute)) : "".concat(addZero(hour), ":").concat(addZero(minute), ":").concat(addZero(second)); } function addZero(num) { if (num < 10) { num = "0".concat(num); } return num; } function getDefaultSecond(hideSecond) { return hideSecond ? '00:00' : '00:00:00'; } function dateCompare(startDate, endDate) { startDate = new Date(fixIosDateFormat(startDate)); endDate = new Date(fixIosDateFormat(endDate)); return startDate <= endDate; } function checkDate(date) { var dateReg = /((19|20)\d{2})(-|\/)\d{1,2}(-|\/)\d{1,2}/g; return date.match(dateReg); } //ios低版本15及以下,无法匹配 没有 ’秒‘ 时的情况,所以需要在末尾 秒 加上 问号 var dateTimeReg = /^\d{4}-(0?[1-9]|1[012])-(0?[1-9]|[12][0-9]|3[01])( [0-5]?[0-9]:[0-5]?[0-9](:[0-5]?[0-9])?)?$/; function fixIosDateFormat(value) { if (typeof value === 'string' && dateTimeReg.test(value)) { value = value.replace(/-/g, '/'); } return value; } /***/ }), /* 34 */ /*!******************************************************************!*\ !*** ./node_modules/@babel/runtime/helpers/toConsumableArray.js ***! \******************************************************************/ /*! no static exports found */ /***/ (function(module, exports, __webpack_require__) { var arrayWithoutHoles = __webpack_require__(/*! ./arrayWithoutHoles.js */ 35); var iterableToArray = __webpack_require__(/*! ./iterableToArray.js */ 36); var unsupportedIterableToArray = __webpack_require__(/*! ./unsupportedIterableToArray.js */ 25); var nonIterableSpread = __webpack_require__(/*! ./nonIterableSpread.js */ 37); function _toConsumableArray(arr) { return arrayWithoutHoles(arr) || iterableToArray(arr) || unsupportedIterableToArray(arr) || nonIterableSpread(); } module.exports = _toConsumableArray, module.exports.__esModule = true, module.exports["default"] = module.exports; /***/ }), /* 35 */ /*!******************************************************************!*\ !*** ./node_modules/@babel/runtime/helpers/arrayWithoutHoles.js ***! \******************************************************************/ /*! no static exports found */ /***/ (function(module, exports, __webpack_require__) { var arrayLikeToArray = __webpack_require__(/*! ./arrayLikeToArray.js */ 26); function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return arrayLikeToArray(arr); } module.exports = _arrayWithoutHoles, module.exports.__esModule = true, module.exports["default"] = module.exports; /***/ }), /* 36 */ /*!****************************************************************!*\ !*** ./node_modules/@babel/runtime/helpers/iterableToArray.js ***! \****************************************************************/ /*! no static exports found */ /***/ (function(module, exports) { function _iterableToArray(iter) { if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); } module.exports = _iterableToArray, module.exports.__esModule = true, module.exports["default"] = module.exports; /***/ }), /* 37 */ /*!******************************************************************!*\ !*** ./node_modules/@babel/runtime/helpers/nonIterableSpread.js ***! \******************************************************************/ /*! no static exports found */ /***/ (function(module, exports) { function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } module.exports = _nonIterableSpread, module.exports.__esModule = true, module.exports["default"] = module.exports; /***/ }), /* 38 */ /*!***************************************************************!*\ !*** ./node_modules/@babel/runtime/helpers/classCallCheck.js ***! \***************************************************************/ /*! no static exports found */ /***/ (function(module, exports) { function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } module.exports = _classCallCheck, module.exports.__esModule = true, module.exports["default"] = module.exports; /***/ }), /* 39 */ /*!************************************************************!*\ !*** ./node_modules/@babel/runtime/helpers/createClass.js ***! \************************************************************/ /*! no static exports found */ /***/ (function(module, exports, __webpack_require__) { var toPropertyKey = __webpack_require__(/*! ./toPropertyKey.js */ 3); function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, toPropertyKey(descriptor.key), descriptor); } } function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; } module.exports = _createClass, module.exports.__esModule = true, module.exports["default"] = module.exports; /***/ }), /* 40 */ /*!*****************************************************************************************************************!*\ !*** D:/项目文件/uniapp/Waterinvoice_uiapp/node_modules/@dcloudio/uni-ui/lib/uni-datetime-picker/calendar-item.vue ***! \*****************************************************************************************************************/ /*! no static exports found */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony import */ var _calendar_item_vue_vue_type_template_id_a5e26266___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./calendar-item.vue?vue&type=template&id=a5e26266& */ 41); /* harmony import */ var _calendar_item_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./calendar-item.vue?vue&type=script&lang=js& */ 43); /* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _calendar_item_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 _calendar_item_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__[key]; }) }(__WEBPACK_IMPORT_KEY__)); /* harmony import */ var _C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/runtime/componentNormalizer.js */ 16); var renderjs /* normalize component */ var component = Object(_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_2__["default"])( _calendar_item_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__["default"], _calendar_item_vue_vue_type_template_id_a5e26266___WEBPACK_IMPORTED_MODULE_0__["render"], _calendar_item_vue_vue_type_template_id_a5e26266___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"], false, null, null, null, false, _calendar_item_vue_vue_type_template_id_a5e26266___WEBPACK_IMPORTED_MODULE_0__["components"], renderjs ) component.options.__file = "node_modules/@dcloudio/uni-ui/lib/uni-datetime-picker/calendar-item.vue" /* harmony default export */ __webpack_exports__["default"] = (component.exports); /***/ }), /* 41 */ /*!************************************************************************************************************************************************!*\ !*** D:/项目文件/uniapp/Waterinvoice_uiapp/node_modules/@dcloudio/uni-ui/lib/uni-datetime-picker/calendar-item.vue?vue&type=template&id=a5e26266& ***! \************************************************************************************************************************************************/ /*! exports provided: render, staticRenderFns, recyclableRender, components */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony import */ var _C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_11_0_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_filter_modules_template_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_calendar_item_vue_vue_type_template_id_a5e26266___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!./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--11-0!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/filter-modules-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!./calendar-item.vue?vue&type=template&id=a5e26266& */ 42); /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "render", function() { return _C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_11_0_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_filter_modules_template_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_calendar_item_vue_vue_type_template_id_a5e26266___WEBPACK_IMPORTED_MODULE_0__["render"]; }); /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return _C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_11_0_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_filter_modules_template_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_calendar_item_vue_vue_type_template_id_a5e26266___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"]; }); /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "recyclableRender", function() { return _C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_11_0_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_filter_modules_template_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_calendar_item_vue_vue_type_template_id_a5e26266___WEBPACK_IMPORTED_MODULE_0__["recyclableRender"]; }); /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "components", function() { return _C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_11_0_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_filter_modules_template_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_calendar_item_vue_vue_type_template_id_a5e26266___WEBPACK_IMPORTED_MODULE_0__["components"]; }); /***/ }), /* 42 */ /*!****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ !*** ./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--11-0!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/filter-modules-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!D:/项目文件/uniapp/Waterinvoice_uiapp/node_modules/@dcloudio/uni-ui/lib/uni-datetime-picker/calendar-item.vue?vue&type=template&id=a5e26266& ***! \****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ /*! 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 var render = function () { var _vm = this var _h = _vm.$createElement var _c = _vm._self._c || _h return _c( "view", { staticClass: _vm._$s(0, "sc", "uni-calendar-item__weeks-box"), class: _vm._$s(0, "c", { "uni-calendar-item--disable": _vm.weeks.disable, "uni-calendar-item--before-checked-x": _vm.weeks.beforeMultiple, "uni-calendar-item--multiple": _vm.weeks.multiple, "uni-calendar-item--after-checked-x": _vm.weeks.afterMultiple, }), attrs: { _i: 0 }, on: { click: function ($event) { return _vm.choiceDate(_vm.weeks) }, mouseenter: function ($event) { return _vm.handleMousemove(_vm.weeks) }, }, }, [ _c( "view", { staticClass: _vm._$s(1, "sc", "uni-calendar-item__weeks-box-item"), class: _vm._$s(1, "c", { "uni-calendar-item--checked": _vm.calendar.fullDate === _vm.weeks.fullDate && (_vm.calendar.userChecked || !_vm.checkHover), "uni-calendar-item--checked-range-text": _vm.checkHover, "uni-calendar-item--before-checked": _vm.weeks.beforeMultiple, "uni-calendar-item--multiple": _vm.weeks.multiple, "uni-calendar-item--after-checked": _vm.weeks.afterMultiple, "uni-calendar-item--disable": _vm.weeks.disable, }), attrs: { _i: 1 }, }, [ _vm._$s(2, "i", _vm.selected && _vm.weeks.extraInfo) ? _c("text", { staticClass: _vm._$s( 2, "sc", "uni-calendar-item__weeks-box-circle" ), attrs: { _i: 2 }, }) : _vm._e(), _c( "text", { staticClass: _vm._$s( 3, "sc", "uni-calendar-item__weeks-box-text uni-calendar-item__weeks-box-text-disable uni-calendar-item--checked-text" ), attrs: { _i: 3 }, }, [_vm._v(_vm._$s(3, "t0-0", _vm._s(_vm.weeks.date)))] ), ] ), _c("view", { class: _vm._$s(4, "c", { "uni-calendar-item--today": _vm.weeks.isToday, }), attrs: { _i: 4 }, }), ] ) } var recyclableRender = false var staticRenderFns = [] render._withStripped = true /***/ }), /* 43 */ /*!******************************************************************************************************************************************!*\ !*** D:/项目文件/uniapp/Waterinvoice_uiapp/node_modules/@dcloudio/uni-ui/lib/uni-datetime-picker/calendar-item.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 _C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_7_1_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_using_components_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_calendar_item_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!./node_modules/babel-loader/lib!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--7-1!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/using-components.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./calendar-item.vue?vue&type=script&lang=js& */ 44); /* harmony import */ var _C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_7_1_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_using_components_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_calendar_item_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_7_1_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_using_components_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_calendar_item_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__); /* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_7_1_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_using_components_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_calendar_item_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 _C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_7_1_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_using_components_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_calendar_item_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__)); /* harmony default export */ __webpack_exports__["default"] = (_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_7_1_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_using_components_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_calendar_item_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0___default.a); /***/ }), /* 44 */ /*!***********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ !*** ./node_modules/babel-loader/lib!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--7-1!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/using-components.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!D:/项目文件/uniapp/Waterinvoice_uiapp/node_modules/@dcloudio/uni-ui/lib/uni-datetime-picker/calendar-item.vue?vue&type=script&lang=js& ***! \***********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ /*! no static exports found */ /***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = void 0; // // // // // // // // // // // // // // // // // // // // // // var _default2 = { props: { weeks: { type: Object, default: function _default() { return {}; } }, calendar: { type: Object, default: function _default() { return {}; } }, selected: { type: Array, default: function _default() { return []; } }, checkHover: { type: Boolean, default: false } }, methods: { choiceDate: function choiceDate(weeks) { this.$emit('change', weeks); }, handleMousemove: function handleMousemove(weeks) { this.$emit('handleMouse', weeks); } } }; exports.default = _default2; /***/ }), /* 45 */ /*!***************************************************************************************************************!*\ !*** D:/项目文件/uniapp/Waterinvoice_uiapp/node_modules/@dcloudio/uni-ui/lib/uni-datetime-picker/time-picker.vue ***! \***************************************************************************************************************/ /*! no static exports found */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony import */ var _time_picker_vue_vue_type_template_id_7f4a7e4e___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./time-picker.vue?vue&type=template&id=7f4a7e4e& */ 46); /* harmony import */ var _time_picker_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./time-picker.vue?vue&type=script&lang=js& */ 48); /* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _time_picker_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 _time_picker_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__[key]; }) }(__WEBPACK_IMPORT_KEY__)); /* harmony import */ var _C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/runtime/componentNormalizer.js */ 16); var renderjs /* normalize component */ var component = Object(_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_2__["default"])( _time_picker_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__["default"], _time_picker_vue_vue_type_template_id_7f4a7e4e___WEBPACK_IMPORTED_MODULE_0__["render"], _time_picker_vue_vue_type_template_id_7f4a7e4e___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"], false, null, null, null, false, _time_picker_vue_vue_type_template_id_7f4a7e4e___WEBPACK_IMPORTED_MODULE_0__["components"], renderjs ) component.options.__file = "node_modules/@dcloudio/uni-ui/lib/uni-datetime-picker/time-picker.vue" /* harmony default export */ __webpack_exports__["default"] = (component.exports); /***/ }), /* 46 */ /*!**********************************************************************************************************************************************!*\ !*** D:/项目文件/uniapp/Waterinvoice_uiapp/node_modules/@dcloudio/uni-ui/lib/uni-datetime-picker/time-picker.vue?vue&type=template&id=7f4a7e4e& ***! \**********************************************************************************************************************************************/ /*! exports provided: render, staticRenderFns, recyclableRender, components */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony import */ var _C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_11_0_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_filter_modules_template_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_time_picker_vue_vue_type_template_id_7f4a7e4e___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!./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--11-0!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/filter-modules-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!./time-picker.vue?vue&type=template&id=7f4a7e4e& */ 47); /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "render", function() { return _C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_11_0_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_filter_modules_template_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_time_picker_vue_vue_type_template_id_7f4a7e4e___WEBPACK_IMPORTED_MODULE_0__["render"]; }); /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return _C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_11_0_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_filter_modules_template_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_time_picker_vue_vue_type_template_id_7f4a7e4e___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"]; }); /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "recyclableRender", function() { return _C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_11_0_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_filter_modules_template_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_time_picker_vue_vue_type_template_id_7f4a7e4e___WEBPACK_IMPORTED_MODULE_0__["recyclableRender"]; }); /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "components", function() { return _C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_11_0_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_filter_modules_template_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_time_picker_vue_vue_type_template_id_7f4a7e4e___WEBPACK_IMPORTED_MODULE_0__["components"]; }); /***/ }), /* 47 */ /*!**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ !*** ./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--11-0!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/filter-modules-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!D:/项目文件/uniapp/Waterinvoice_uiapp/node_modules/@dcloudio/uni-ui/lib/uni-datetime-picker/time-picker.vue?vue&type=template&id=7f4a7e4e& ***! \**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ /*! 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 var render = function () { var _vm = this var _h = _vm.$createElement var _c = _vm._self._c || _h return _c( "view", { staticClass: _vm._$s(0, "sc", "uni-datetime-picker"), attrs: { _i: 0 } }, [ _c( "view", { attrs: { _i: 1 }, on: { click: _vm.initTimePicker } }, [ _vm._t( "default", [ _c( "view", { staticClass: _vm._$s( 3, "sc", "uni-datetime-picker-timebox-pointer" ), class: _vm._$s(3, "c", { "uni-datetime-picker-disabled": _vm.disabled, "uni-datetime-picker-timebox": _vm.border, }), attrs: { _i: 3 }, }, [ _c( "text", { staticClass: _vm._$s(4, "sc", "uni-datetime-picker-text"), attrs: { _i: 4 }, }, [_vm._v(_vm._$s(4, "t0-0", _vm._s(_vm.time)))] ), _vm._$s(5, "i", !_vm.time) ? _c( "view", { staticClass: _vm._$s( 5, "sc", "uni-datetime-picker-time" ), attrs: { _i: 5 }, }, [ _c( "text", { staticClass: _vm._$s( 6, "sc", "uni-datetime-picker-text" ), attrs: { _i: 6 }, }, [ _vm._v( _vm._$s(6, "t0-0", _vm._s(_vm.selectTimeText)) ), ] ), ] ) : _vm._e(), ] ), ], { _i: 2 } ), ], 2 ), _vm._$s(7, "i", _vm.visible) ? _c("view", { staticClass: _vm._$s(7, "sc", "uni-datetime-picker-mask"), attrs: { id: "mask", _i: 7 }, on: { click: _vm.tiggerTimePicker }, }) : _vm._e(), _vm._$s(8, "i", _vm.visible) ? _c( "view", { staticClass: _vm._$s(8, "sc", "uni-datetime-picker-popup"), class: _vm._$s(8, "c", [ _vm.dateShow && _vm.timeShow ? "" : "fix-nvue-height", ]), style: _vm._$s(8, "s", _vm.fixNvueBug), attrs: { _i: 8 }, }, [ _c( "view", { staticClass: _vm._$s(9, "sc", "uni-title"), attrs: { _i: 9 }, }, [ _c( "text", { staticClass: _vm._$s( 10, "sc", "uni-datetime-picker-text" ), attrs: { _i: 10 }, }, [_vm._v(_vm._$s(10, "t0-0", _vm._s(_vm.selectTimeText)))] ), ] ), _vm._$s(11, "i", _vm.dateShow) ? _c( "view", { staticClass: _vm._$s( 11, "sc", "uni-datetime-picker__container-box" ), attrs: { _i: 11 }, }, [ _c( "picker-view", { staticClass: _vm._$s( 12, "sc", "uni-datetime-picker-view" ), attrs: { "indicator-style": _vm._$s( 12, "a-indicator-style", _vm.indicatorStyle ), value: _vm._$s(12, "a-value", _vm.ymd), _i: 12, }, on: { change: _vm.bindDateChange }, }, [ _c( "picker-view-column", _vm._l( _vm._$s(14, "f", { forItems: _vm.years }), function (item, index, $20, $30) { return _c( "view", { key: _vm._$s(14, "f", { forIndex: $20, key: index, }), staticClass: _vm._$s( "14-" + $30, "sc", "uni-datetime-picker-item" ), attrs: { _i: "14-" + $30 }, }, [ _c( "text", { staticClass: _vm._$s( "15-" + $30, "sc", "uni-datetime-picker-item" ), attrs: { _i: "15-" + $30 }, }, [ _vm._v( _vm._$s( "15-" + $30, "t0-0", _vm._s(_vm.lessThanTen(item)) ) ), ] ), ] ) } ), 0 ), _c( "picker-view-column", _vm._l( _vm._$s(17, "f", { forItems: _vm.months }), function (item, index, $21, $31) { return _c( "view", { key: _vm._$s(17, "f", { forIndex: $21, key: index, }), staticClass: _vm._$s( "17-" + $31, "sc", "uni-datetime-picker-item" ), attrs: { _i: "17-" + $31 }, }, [ _c( "text", { staticClass: _vm._$s( "18-" + $31, "sc", "uni-datetime-picker-item" ), attrs: { _i: "18-" + $31 }, }, [ _vm._v( _vm._$s( "18-" + $31, "t0-0", _vm._s(_vm.lessThanTen(item)) ) ), ] ), ] ) } ), 0 ), _c( "picker-view-column", _vm._l( _vm._$s(20, "f", { forItems: _vm.days }), function (item, index, $22, $32) { return _c( "view", { key: _vm._$s(20, "f", { forIndex: $22, key: index, }), staticClass: _vm._$s( "20-" + $32, "sc", "uni-datetime-picker-item" ), attrs: { _i: "20-" + $32 }, }, [ _c( "text", { staticClass: _vm._$s( "21-" + $32, "sc", "uni-datetime-picker-item" ), attrs: { _i: "21-" + $32 }, }, [ _vm._v( _vm._$s( "21-" + $32, "t0-0", _vm._s(_vm.lessThanTen(item)) ) ), ] ), ] ) } ), 0 ), ] ), _c("text", { staticClass: _vm._$s( 22, "sc", "uni-datetime-picker-sign sign-left" ), attrs: { _i: 22 }, }), _c("text", { staticClass: _vm._$s( 23, "sc", "uni-datetime-picker-sign sign-right" ), attrs: { _i: 23 }, }), ] ) : _vm._e(), _vm._$s(24, "i", _vm.timeShow) ? _c( "view", { staticClass: _vm._$s( 24, "sc", "uni-datetime-picker__container-box" ), attrs: { _i: 24 }, }, [ _c( "picker-view", { staticClass: _vm._$s( 25, "sc", "uni-datetime-picker-view" ), class: _vm._$s(25, "c", [ _vm.hideSecond ? "time-hide-second" : "", ]), attrs: { "indicator-style": _vm._$s( 25, "a-indicator-style", _vm.indicatorStyle ), value: _vm._$s(25, "a-value", _vm.hms), _i: 25, }, on: { change: _vm.bindTimeChange }, }, [ _c( "picker-view-column", _vm._l( _vm._$s(27, "f", { forItems: _vm.hours }), function (item, index, $23, $33) { return _c( "view", { key: _vm._$s(27, "f", { forIndex: $23, key: index, }), staticClass: _vm._$s( "27-" + $33, "sc", "uni-datetime-picker-item" ), attrs: { _i: "27-" + $33 }, }, [ _c( "text", { staticClass: _vm._$s( "28-" + $33, "sc", "uni-datetime-picker-item" ), attrs: { _i: "28-" + $33 }, }, [ _vm._v( _vm._$s( "28-" + $33, "t0-0", _vm._s(_vm.lessThanTen(item)) ) ), ] ), ] ) } ), 0 ), _c( "picker-view-column", _vm._l( _vm._$s(30, "f", { forItems: _vm.minutes }), function (item, index, $24, $34) { return _c( "view", { key: _vm._$s(30, "f", { forIndex: $24, key: index, }), staticClass: _vm._$s( "30-" + $34, "sc", "uni-datetime-picker-item" ), attrs: { _i: "30-" + $34 }, }, [ _c( "text", { staticClass: _vm._$s( "31-" + $34, "sc", "uni-datetime-picker-item" ), attrs: { _i: "31-" + $34 }, }, [ _vm._v( _vm._$s( "31-" + $34, "t0-0", _vm._s(_vm.lessThanTen(item)) ) ), ] ), ] ) } ), 0 ), _vm._$s(32, "i", !_vm.hideSecond) ? _c( "picker-view-column", _vm._l( _vm._$s(33, "f", { forItems: _vm.seconds }), function (item, index, $25, $35) { return _c( "view", { key: _vm._$s(33, "f", { forIndex: $25, key: index, }), staticClass: _vm._$s( "33-" + $35, "sc", "uni-datetime-picker-item" ), attrs: { _i: "33-" + $35 }, }, [ _c( "text", { staticClass: _vm._$s( "34-" + $35, "sc", "uni-datetime-picker-item" ), attrs: { _i: "34-" + $35 }, }, [ _vm._v( _vm._$s( "34-" + $35, "t0-0", _vm._s(_vm.lessThanTen(item)) ) ), ] ), ] ) } ), 0 ) : _vm._e(), ] ), _c("text", { staticClass: _vm._$s( 35, "sc", "uni-datetime-picker-sign" ), class: _vm._$s(35, "c", [ _vm.hideSecond ? "sign-center" : "sign-left", ]), attrs: { _i: 35 }, }), _vm._$s(36, "i", !_vm.hideSecond) ? _c("text", { staticClass: _vm._$s( 36, "sc", "uni-datetime-picker-sign sign-right" ), attrs: { _i: 36 }, }) : _vm._e(), ] ) : _vm._e(), _c( "view", { staticClass: _vm._$s(37, "sc", "uni-datetime-picker-btn"), attrs: { _i: 37 }, }, [ _c( "view", { attrs: { _i: 38 }, on: { click: _vm.clearTime } }, [ _c( "text", { staticClass: _vm._$s( 39, "sc", "uni-datetime-picker-btn-text" ), attrs: { _i: 39 }, }, [_vm._v(_vm._$s(39, "t0-0", _vm._s(_vm.clearText)))] ), ] ), _c( "view", { staticClass: _vm._$s( 40, "sc", "uni-datetime-picker-btn-group" ), attrs: { _i: 40 }, }, [ _c( "view", { staticClass: _vm._$s( 41, "sc", "uni-datetime-picker-cancel" ), attrs: { _i: 41 }, on: { click: _vm.tiggerTimePicker }, }, [ _c( "text", { staticClass: _vm._$s( 42, "sc", "uni-datetime-picker-btn-text" ), attrs: { _i: 42 }, }, [ _vm._v( _vm._$s(42, "t0-0", _vm._s(_vm.cancelText)) ), ] ), ] ), _c( "view", { attrs: { _i: 43 }, on: { click: _vm.setTime } }, [ _c( "text", { staticClass: _vm._$s( 44, "sc", "uni-datetime-picker-btn-text" ), attrs: { _i: 44 }, }, [_vm._v(_vm._$s(44, "t0-0", _vm._s(_vm.okText)))] ), ] ), ] ), ] ), ] ) : _vm._e(), ] ) } var recyclableRender = false var staticRenderFns = [] render._withStripped = true /***/ }), /* 48 */ /*!****************************************************************************************************************************************!*\ !*** D:/项目文件/uniapp/Waterinvoice_uiapp/node_modules/@dcloudio/uni-ui/lib/uni-datetime-picker/time-picker.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 _C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_7_1_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_using_components_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_time_picker_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!./node_modules/babel-loader/lib!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--7-1!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/using-components.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./time-picker.vue?vue&type=script&lang=js& */ 49); /* harmony import */ var _C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_7_1_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_using_components_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_time_picker_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_7_1_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_using_components_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_time_picker_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__); /* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_7_1_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_using_components_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_time_picker_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 _C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_7_1_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_using_components_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_time_picker_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__)); /* harmony default export */ __webpack_exports__["default"] = (_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_7_1_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_using_components_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_time_picker_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0___default.a); /***/ }), /* 49 */ /*!*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ !*** ./node_modules/babel-loader/lib!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--7-1!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/using-components.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!D:/项目文件/uniapp/Waterinvoice_uiapp/node_modules/@dcloudio/uni-ui/lib/uni-datetime-picker/time-picker.vue?vue&type=script&lang=js& ***! \*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ /*! no static exports found */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 1); Object.defineProperty(exports, "__esModule", { value: true }); exports.default = void 0; var _uniI18n = __webpack_require__(/*! @dcloudio/uni-i18n */ 50); var _index = _interopRequireDefault(__webpack_require__(/*! ./i18n/index.js */ 52)); var _util = __webpack_require__(/*! ./util */ 33); // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // var _initVueI18n = (0, _uniI18n.initVueI18n)(_index.default), t = _initVueI18n.t; /** * DatetimePicker 时间选择器 * @description 可以同时选择日期和时间的选择器 * @tutorial https://ext.dcloud.net.cn/plugin?id=xxx * @property {String} type = [datetime | date | time] 显示模式 * @property {Boolean} multiple = [true|false] 是否多选 * @property {String|Number} value 默认值 * @property {String|Number} start 起始日期或时间 * @property {String|Number} end 起始日期或时间 * @property {String} return-type = [timestamp | string] * @event {Function} change 选中发生变化触发 */ var _default = { name: 'UniDatetimePicker', data: function data() { return { indicatorStyle: "height: 50px;", visible: false, fixNvueBug: {}, dateShow: true, timeShow: true, title: '日期和时间', // 输入框当前时间 time: '', // 当前的年月日时分秒 year: 1920, month: 0, day: 0, hour: 0, minute: 0, second: 0, // 起始时间 startYear: 1920, startMonth: 1, startDay: 1, startHour: 0, startMinute: 0, startSecond: 0, // 结束时间 endYear: 2120, endMonth: 12, endDay: 31, endHour: 23, endMinute: 59, endSecond: 59 }; }, options: { virtualHost: true }, props: { type: { type: String, default: 'datetime' }, value: { type: [String, Number], default: '' }, modelValue: { type: [String, Number], default: '' }, start: { type: [Number, String], default: '' }, end: { type: [Number, String], default: '' }, returnType: { type: String, default: 'string' }, disabled: { type: [Boolean, String], default: false }, border: { type: [Boolean, String], default: true }, hideSecond: { type: [Boolean, String], default: false } }, watch: { value: { handler: function handler(newVal) { if (newVal) { this.parseValue((0, _util.fixIosDateFormat)(newVal)); this.initTime(false); } else { this.time = ''; this.parseValue(Date.now()); } }, immediate: true }, type: { handler: function handler(newValue) { if (newValue === 'date') { this.dateShow = true; this.timeShow = false; this.title = '日期'; } else if (newValue === 'time') { this.dateShow = false; this.timeShow = true; this.title = '时间'; } else { this.dateShow = true; this.timeShow = true; this.title = '日期和时间'; } }, immediate: true }, start: { handler: function handler(newVal) { this.parseDatetimeRange((0, _util.fixIosDateFormat)(newVal), 'start'); }, immediate: true }, end: { handler: function handler(newVal) { this.parseDatetimeRange((0, _util.fixIosDateFormat)(newVal), 'end'); }, immediate: true }, // 月、日、时、分、秒可选范围变化后,检查当前值是否在范围内,不在则当前值重置为可选范围第一项 months: function months(newVal) { this.checkValue('month', this.month, newVal); }, days: function days(newVal) { this.checkValue('day', this.day, newVal); }, hours: function hours(newVal) { this.checkValue('hour', this.hour, newVal); }, minutes: function minutes(newVal) { this.checkValue('minute', this.minute, newVal); }, seconds: function seconds(newVal) { this.checkValue('second', this.second, newVal); } }, computed: { // 当前年、月、日、时、分、秒选择范围 years: function years() { return this.getCurrentRange('year'); }, months: function months() { return this.getCurrentRange('month'); }, days: function days() { return this.getCurrentRange('day'); }, hours: function hours() { return this.getCurrentRange('hour'); }, minutes: function minutes() { return this.getCurrentRange('minute'); }, seconds: function seconds() { return this.getCurrentRange('second'); }, // picker 当前值数组 ymd: function ymd() { return [this.year - this.minYear, this.month - this.minMonth, this.day - this.minDay]; }, hms: function hms() { return [this.hour - this.minHour, this.minute - this.minMinute, this.second - this.minSecond]; }, // 当前 date 是 start currentDateIsStart: function currentDateIsStart() { return this.year === this.startYear && this.month === this.startMonth && this.day === this.startDay; }, // 当前 date 是 end currentDateIsEnd: function currentDateIsEnd() { return this.year === this.endYear && this.month === this.endMonth && this.day === this.endDay; }, // 当前年、月、日、时、分、秒的最小值和最大值 minYear: function minYear() { return this.startYear; }, maxYear: function maxYear() { return this.endYear; }, minMonth: function minMonth() { if (this.year === this.startYear) { return this.startMonth; } else { return 1; } }, maxMonth: function maxMonth() { if (this.year === this.endYear) { return this.endMonth; } else { return 12; } }, minDay: function minDay() { if (this.year === this.startYear && this.month === this.startMonth) { return this.startDay; } else { return 1; } }, maxDay: function maxDay() { if (this.year === this.endYear && this.month === this.endMonth) { return this.endDay; } else { return this.daysInMonth(this.year, this.month); } }, minHour: function minHour() { if (this.type === 'datetime') { if (this.currentDateIsStart) { return this.startHour; } else { return 0; } } if (this.type === 'time') { return this.startHour; } }, maxHour: function maxHour() { if (this.type === 'datetime') { if (this.currentDateIsEnd) { return this.endHour; } else { return 23; } } if (this.type === 'time') { return this.endHour; } }, minMinute: function minMinute() { if (this.type === 'datetime') { if (this.currentDateIsStart && this.hour === this.startHour) { return this.startMinute; } else { return 0; } } if (this.type === 'time') { if (this.hour === this.startHour) { return this.startMinute; } else { return 0; } } }, maxMinute: function maxMinute() { if (this.type === 'datetime') { if (this.currentDateIsEnd && this.hour === this.endHour) { return this.endMinute; } else { return 59; } } if (this.type === 'time') { if (this.hour === this.endHour) { return this.endMinute; } else { return 59; } } }, minSecond: function minSecond() { if (this.type === 'datetime') { if (this.currentDateIsStart && this.hour === this.startHour && this.minute === this.startMinute) { return this.startSecond; } else { return 0; } } if (this.type === 'time') { if (this.hour === this.startHour && this.minute === this.startMinute) { return this.startSecond; } else { return 0; } } }, maxSecond: function maxSecond() { if (this.type === 'datetime') { if (this.currentDateIsEnd && this.hour === this.endHour && this.minute === this.endMinute) { return this.endSecond; } else { return 59; } } if (this.type === 'time') { if (this.hour === this.endHour && this.minute === this.endMinute) { return this.endSecond; } else { return 59; } } }, /** * for i18n */ selectTimeText: function selectTimeText() { return t("uni-datetime-picker.selectTime"); }, okText: function okText() { return t("uni-datetime-picker.ok"); }, clearText: function clearText() { return t("uni-datetime-picker.clear"); }, cancelText: function cancelText() { return t("uni-datetime-picker.cancel"); } }, mounted: function mounted() {}, methods: { /** * @param {Object} item * 小于 10 在前面加个 0 */ lessThanTen: function lessThanTen(item) { return item < 10 ? '0' + item : item; }, /** * 解析时分秒字符串,例如:00:00:00 * @param {String} timeString */ parseTimeType: function parseTimeType(timeString) { if (timeString) { var timeArr = timeString.split(':'); this.hour = Number(timeArr[0]); this.minute = Number(timeArr[1]); this.second = Number(timeArr[2]); } }, /** * 解析选择器初始值,类型可以是字符串、时间戳,例如:2000-10-02、'08:30:00'、 1610695109000 * @param {String | Number} datetime */ initPickerValue: function initPickerValue(datetime) { var defaultValue = null; if (datetime) { defaultValue = this.compareValueWithStartAndEnd(datetime, this.start, this.end); } else { defaultValue = Date.now(); defaultValue = this.compareValueWithStartAndEnd(defaultValue, this.start, this.end); } this.parseValue(defaultValue); }, /** * 初始值规则: * - 用户设置初始值 value * - 设置了起始时间 start、终止时间 end,并 start < value < end,初始值为 value, 否则初始值为 start * - 只设置了起始时间 start,并 start < value,初始值为 value,否则初始值为 start * - 只设置了终止时间 end,并 value < end,初始值为 value,否则初始值为 end * - 无起始终止时间,则初始值为 value * - 无初始值 value,则初始值为当前本地时间 Date.now() * @param {Object} value * @param {Object} dateBase */ compareValueWithStartAndEnd: function compareValueWithStartAndEnd(value, start, end) { var winner = null; value = this.superTimeStamp(value); start = this.superTimeStamp(start); end = this.superTimeStamp(end); if (start && end) { if (value < start) { winner = new Date(start); } else if (value > end) { winner = new Date(end); } else { winner = new Date(value); } } else if (start && !end) { winner = start <= value ? new Date(value) : new Date(start); } else if (!start && end) { winner = value <= end ? new Date(value) : new Date(end); } else { winner = new Date(value); } return winner; }, /** * 转换为可比较的时间戳,接受日期、时分秒、时间戳 * @param {Object} value */ superTimeStamp: function superTimeStamp(value) { var dateBase = ''; if (this.type === 'time' && value && typeof value === 'string') { var now = new Date(); var year = now.getFullYear(); var month = now.getMonth() + 1; var day = now.getDate(); dateBase = year + '/' + month + '/' + day + ' '; } if (Number(value)) { value = parseInt(value); dateBase = 0; } return this.createTimeStamp(dateBase + value); }, /** * 解析默认值 value,字符串、时间戳 * @param {Object} defaultTime */ parseValue: function parseValue(value) { if (!value) { return; } if (this.type === 'time' && typeof value === "string") { this.parseTimeType(value); } else { var defaultDate = null; defaultDate = new Date(value); if (this.type !== 'time') { this.year = defaultDate.getFullYear(); this.month = defaultDate.getMonth() + 1; this.day = defaultDate.getDate(); } if (this.type !== 'date') { this.hour = defaultDate.getHours(); this.minute = defaultDate.getMinutes(); this.second = defaultDate.getSeconds(); } } if (this.hideSecond) { this.second = 0; } }, /** * 解析可选择时间范围 start、end,年月日字符串、时间戳 * @param {Object} defaultTime */ parseDatetimeRange: function parseDatetimeRange(point, pointType) { // 时间为空,则重置为初始值 if (!point) { if (pointType === 'start') { this.startYear = 1920; this.startMonth = 1; this.startDay = 1; this.startHour = 0; this.startMinute = 0; this.startSecond = 0; } if (pointType === 'end') { this.endYear = 2120; this.endMonth = 12; this.endDay = 31; this.endHour = 23; this.endMinute = 59; this.endSecond = 59; } return; } if (this.type === 'time') { var pointArr = point.split(':'); this[pointType + 'Hour'] = Number(pointArr[0]); this[pointType + 'Minute'] = Number(pointArr[1]); this[pointType + 'Second'] = Number(pointArr[2]); } else { if (!point) { pointType === 'start' ? this.startYear = this.year - 60 : this.endYear = this.year + 60; return; } if (Number(point)) { point = parseInt(point); } // datetime 的 end 没有时分秒, 则不限制 var hasTime = /[0-9]:[0-9]/; if (this.type === 'datetime' && pointType === 'end' && typeof point === 'string' && !hasTime.test(point)) { point = point + ' 23:59:59'; } var pointDate = new Date(point); this[pointType + 'Year'] = pointDate.getFullYear(); this[pointType + 'Month'] = pointDate.getMonth() + 1; this[pointType + 'Day'] = pointDate.getDate(); if (this.type === 'datetime') { this[pointType + 'Hour'] = pointDate.getHours(); this[pointType + 'Minute'] = pointDate.getMinutes(); this[pointType + 'Second'] = pointDate.getSeconds(); } } }, // 获取 年、月、日、时、分、秒 当前可选范围 getCurrentRange: function getCurrentRange(value) { var range = []; for (var i = this['min' + this.capitalize(value)]; i <= this['max' + this.capitalize(value)]; i++) { range.push(i); } return range; }, // 字符串首字母大写 capitalize: function capitalize(str) { return str.charAt(0).toUpperCase() + str.slice(1); }, // 检查当前值是否在范围内,不在则当前值重置为可选范围第一项 checkValue: function checkValue(name, value, values) { if (values.indexOf(value) === -1) { this[name] = values[0]; } }, // 每个月的实际天数 daysInMonth: function daysInMonth(year, month) { // Use 1 for January, 2 for February, etc. return new Date(year, month, 0).getDate(); }, /** * 生成时间戳 * @param {Object} time */ createTimeStamp: function createTimeStamp(time) { if (!time) return; if (typeof time === "number") { return time; } else { time = time.replace(/-/g, '/'); if (this.type === 'date') { time = time + ' ' + '00:00:00'; } return Date.parse(time); } }, /** * 生成日期或时间的字符串 */ createDomSting: function createDomSting() { var yymmdd = this.year + '-' + this.lessThanTen(this.month) + '-' + this.lessThanTen(this.day); var hhmmss = this.lessThanTen(this.hour) + ':' + this.lessThanTen(this.minute); if (!this.hideSecond) { hhmmss = hhmmss + ':' + this.lessThanTen(this.second); } if (this.type === 'date') { return yymmdd; } else if (this.type === 'time') { return hhmmss; } else { return yymmdd + ' ' + hhmmss; } }, /** * 初始化返回值,并抛出 change 事件 */ initTime: function initTime() { var emit = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : true; this.time = this.createDomSting(); if (!emit) return; if (this.returnType === 'timestamp' && this.type !== 'time') { this.$emit('change', this.createTimeStamp(this.time)); this.$emit('input', this.createTimeStamp(this.time)); this.$emit('update:modelValue', this.createTimeStamp(this.time)); } else { this.$emit('change', this.time); this.$emit('input', this.time); this.$emit('update:modelValue', this.time); } }, /** * 用户选择日期或时间更新 data * @param {Object} e */ bindDateChange: function bindDateChange(e) { var val = e.detail.value; this.year = this.years[val[0]]; this.month = this.months[val[1]]; this.day = this.days[val[2]]; }, bindTimeChange: function bindTimeChange(e) { var val = e.detail.value; this.hour = this.hours[val[0]]; this.minute = this.minutes[val[1]]; this.second = this.seconds[val[2]]; }, /** * 初始化弹出层 */ initTimePicker: function initTimePicker() { if (this.disabled) return; var value = (0, _util.fixIosDateFormat)(this.time); this.initPickerValue(value); this.visible = !this.visible; }, /** * 触发或关闭弹框 */ tiggerTimePicker: function tiggerTimePicker(e) { this.visible = !this.visible; }, /** * 用户点击“清空”按钮,清空当前值 */ clearTime: function clearTime() { this.time = ''; this.$emit('change', this.time); this.$emit('input', this.time); this.$emit('update:modelValue', this.time); this.tiggerTimePicker(); }, /** * 用户点击“确定”按钮 */ setTime: function setTime() { this.initTime(); this.tiggerTimePicker(); } } }; exports.default = _default; /***/ }), /* 50 */ /*!*************************************************************!*\ !*** ./node_modules/@dcloudio/uni-i18n/dist/uni-i18n.es.js ***! \*************************************************************/ /*! no static exports found */ /***/ (function(module, exports, __webpack_require__) { "use strict"; /* WEBPACK VAR INJECTION */(function(global) { var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 1); Object.defineProperty(exports, "__esModule", { value: true }); exports.LOCALE_ZH_HANT = exports.LOCALE_ZH_HANS = exports.LOCALE_FR = exports.LOCALE_ES = exports.LOCALE_EN = exports.I18n = exports.Formatter = void 0; exports.compileI18nJsonStr = compileI18nJsonStr; exports.hasI18nJson = hasI18nJson; exports.initVueI18n = initVueI18n; exports.isI18nStr = isI18nStr; exports.isString = void 0; exports.normalizeLocale = normalizeLocale; exports.parseI18nJson = parseI18nJson; exports.resolveLocale = resolveLocale; var _slicedToArray2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/slicedToArray */ 22)); var _classCallCheck2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/classCallCheck */ 38)); var _createClass2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/createClass */ 39)); var _typeof2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/typeof */ 4)); var isObject = function isObject(val) { return val !== null && (0, _typeof2.default)(val) === 'object'; }; var defaultDelimiters = ['{', '}']; var BaseFormatter = /*#__PURE__*/function () { function BaseFormatter() { (0, _classCallCheck2.default)(this, BaseFormatter); this._caches = Object.create(null); } (0, _createClass2.default)(BaseFormatter, [{ key: "interpolate", value: function interpolate(message, values) { var delimiters = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : defaultDelimiters; if (!values) { return [message]; } var tokens = this._caches[message]; if (!tokens) { tokens = parse(message, delimiters); this._caches[message] = tokens; } return compile(tokens, values); } }]); return BaseFormatter; }(); exports.Formatter = BaseFormatter; var RE_TOKEN_LIST_VALUE = /^(?:\d)+/; var RE_TOKEN_NAMED_VALUE = /^(?:\w)+/; function parse(format, _ref) { var _ref2 = (0, _slicedToArray2.default)(_ref, 2), startDelimiter = _ref2[0], endDelimiter = _ref2[1]; var tokens = []; var position = 0; var text = ''; while (position < format.length) { var char = format[position++]; if (char === startDelimiter) { if (text) { tokens.push({ type: 'text', value: text }); } text = ''; var sub = ''; char = format[position++]; while (char !== undefined && char !== endDelimiter) { sub += char; char = format[position++]; } var isClosed = char === endDelimiter; var type = RE_TOKEN_LIST_VALUE.test(sub) ? 'list' : isClosed && RE_TOKEN_NAMED_VALUE.test(sub) ? 'named' : 'unknown'; tokens.push({ value: sub, type: type }); } // else if (char === '%') { // // when found rails i18n syntax, skip text capture // if (format[position] !== '{') { // text += char // } // } else { text += char; } } text && tokens.push({ type: 'text', value: text }); return tokens; } function compile(tokens, values) { var compiled = []; var index = 0; var mode = Array.isArray(values) ? 'list' : isObject(values) ? 'named' : 'unknown'; if (mode === 'unknown') { return compiled; } while (index < tokens.length) { var token = tokens[index]; switch (token.type) { case 'text': compiled.push(token.value); break; case 'list': compiled.push(values[parseInt(token.value, 10)]); break; case 'named': if (mode === 'named') { compiled.push(values[token.value]); } else { if (true) { console.warn("Type of token '".concat(token.type, "' and format of value '").concat(mode, "' don't match!")); } } break; case 'unknown': if (true) { console.warn("Detect 'unknown' type of token!"); } break; } index++; } return compiled; } var LOCALE_ZH_HANS = 'zh-Hans'; exports.LOCALE_ZH_HANS = LOCALE_ZH_HANS; var LOCALE_ZH_HANT = 'zh-Hant'; exports.LOCALE_ZH_HANT = LOCALE_ZH_HANT; var LOCALE_EN = 'en'; exports.LOCALE_EN = LOCALE_EN; var LOCALE_FR = 'fr'; exports.LOCALE_FR = LOCALE_FR; var LOCALE_ES = 'es'; exports.LOCALE_ES = LOCALE_ES; var hasOwnProperty = Object.prototype.hasOwnProperty; var hasOwn = function hasOwn(val, key) { return hasOwnProperty.call(val, key); }; var defaultFormatter = new BaseFormatter(); function include(str, parts) { return !!parts.find(function (part) { return str.indexOf(part) !== -1; }); } function startsWith(str, parts) { return parts.find(function (part) { return str.indexOf(part) === 0; }); } function normalizeLocale(locale, messages) { if (!locale) { return; } locale = locale.trim().replace(/_/g, '-'); if (messages && messages[locale]) { return locale; } locale = locale.toLowerCase(); if (locale === 'chinese') { // 支付宝 return LOCALE_ZH_HANS; } if (locale.indexOf('zh') === 0) { if (locale.indexOf('-hans') > -1) { return LOCALE_ZH_HANS; } if (locale.indexOf('-hant') > -1) { return LOCALE_ZH_HANT; } if (include(locale, ['-tw', '-hk', '-mo', '-cht'])) { return LOCALE_ZH_HANT; } return LOCALE_ZH_HANS; } var locales = [LOCALE_EN, LOCALE_FR, LOCALE_ES]; if (messages && Object.keys(messages).length > 0) { locales = Object.keys(messages); } var lang = startsWith(locale, locales); if (lang) { return lang; } } var I18n = /*#__PURE__*/function () { function I18n(_ref3) { var locale = _ref3.locale, fallbackLocale = _ref3.fallbackLocale, messages = _ref3.messages, watcher = _ref3.watcher, formater = _ref3.formater; (0, _classCallCheck2.default)(this, I18n); this.locale = LOCALE_EN; this.fallbackLocale = LOCALE_EN; this.message = {}; this.messages = {}; this.watchers = []; if (fallbackLocale) { this.fallbackLocale = fallbackLocale; } this.formater = formater || defaultFormatter; this.messages = messages || {}; this.setLocale(locale || LOCALE_EN); if (watcher) { this.watchLocale(watcher); } } (0, _createClass2.default)(I18n, [{ key: "setLocale", value: function setLocale(locale) { var _this = this; var oldLocale = this.locale; this.locale = normalizeLocale(locale, this.messages) || this.fallbackLocale; if (!this.messages[this.locale]) { // 可能初始化时不存在 this.messages[this.locale] = {}; } this.message = this.messages[this.locale]; // 仅发生变化时,通知 if (oldLocale !== this.locale) { this.watchers.forEach(function (watcher) { watcher(_this.locale, oldLocale); }); } } }, { key: "getLocale", value: function getLocale() { return this.locale; } }, { key: "watchLocale", value: function watchLocale(fn) { var _this2 = this; var index = this.watchers.push(fn) - 1; return function () { _this2.watchers.splice(index, 1); }; } }, { key: "add", value: function add(locale, message) { var override = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : true; var curMessages = this.messages[locale]; if (curMessages) { if (override) { Object.assign(curMessages, message); } else { Object.keys(message).forEach(function (key) { if (!hasOwn(curMessages, key)) { curMessages[key] = message[key]; } }); } } else { this.messages[locale] = message; } } }, { key: "f", value: function f(message, values, delimiters) { return this.formater.interpolate(message, values, delimiters).join(''); } }, { key: "t", value: function t(key, locale, values) { var message = this.message; if (typeof locale === 'string') { locale = normalizeLocale(locale, this.messages); locale && (message = this.messages[locale]); } else { values = locale; } if (!hasOwn(message, key)) { console.warn("Cannot translate the value of keypath ".concat(key, ". Use the value of keypath as default.")); return key; } return this.formater.interpolate(message[key], values).join(''); } }]); return I18n; }(); exports.I18n = I18n; function watchAppLocale(appVm, i18n) { // 需要保证 watch 的触发在组件渲染之前 if (appVm.$watchLocale) { // vue2 appVm.$watchLocale(function (newLocale) { i18n.setLocale(newLocale); }); } else { appVm.$watch(function () { return appVm.$locale; }, function (newLocale) { i18n.setLocale(newLocale); }); } } function getDefaultLocale() { if (typeof uni !== 'undefined' && uni.getLocale) { return uni.getLocale(); } // 小程序平台,uni 和 uni-i18n 互相引用,导致访问不到 uni,故在 global 上挂了 getLocale if (typeof global !== 'undefined' && global.getLocale) { return global.getLocale(); } return LOCALE_EN; } function initVueI18n(locale) { var messages = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; var fallbackLocale = arguments.length > 2 ? arguments[2] : undefined; var watcher = arguments.length > 3 ? arguments[3] : undefined; // 兼容旧版本入参 if (typeof locale !== 'string') { var _ref4 = [messages, locale]; locale = _ref4[0]; messages = _ref4[1]; } if (typeof locale !== 'string') { // 因为小程序平台,uni-i18n 和 uni 互相引用,导致此时访问 uni 时,为 undefined locale = getDefaultLocale(); } if (typeof fallbackLocale !== 'string') { fallbackLocale = typeof __uniConfig !== 'undefined' && __uniConfig.fallbackLocale || LOCALE_EN; } var i18n = new I18n({ locale: locale, fallbackLocale: fallbackLocale, messages: messages, watcher: watcher }); var _t = function t(key, values) { if (typeof getApp !== 'function') { // app view /* eslint-disable no-func-assign */ _t = function t(key, values) { return i18n.t(key, values); }; } else { var isWatchedAppLocale = false; _t = function t(key, values) { var appVm = getApp().$vm; // 可能$vm还不存在,比如在支付宝小程序中,组件定义较早,在props的default里使用了t()函数(如uni-goods-nav),此时app还未初始化 // options: { // type: Array, // default () { // return [{ // icon: 'shop', // text: t("uni-goods-nav.options.shop"), // }, { // icon: 'cart', // text: t("uni-goods-nav.options.cart") // }] // } // }, if (appVm) { // 触发响应式 appVm.$locale; if (!isWatchedAppLocale) { isWatchedAppLocale = true; watchAppLocale(appVm, i18n); } } return i18n.t(key, values); }; } return _t(key, values); }; return { i18n: i18n, f: function f(message, values, delimiters) { return i18n.f(message, values, delimiters); }, t: function t(key, values) { return _t(key, values); }, add: function add(locale, message) { var override = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : true; return i18n.add(locale, message, override); }, watch: function watch(fn) { return i18n.watchLocale(fn); }, getLocale: function getLocale() { return i18n.getLocale(); }, setLocale: function setLocale(newLocale) { return i18n.setLocale(newLocale); } }; } var isString = function isString(val) { return typeof val === 'string'; }; exports.isString = isString; var formater; function hasI18nJson(jsonObj, delimiters) { if (!formater) { formater = new BaseFormatter(); } return walkJsonObj(jsonObj, function (jsonObj, key) { var value = jsonObj[key]; if (isString(value)) { if (isI18nStr(value, delimiters)) { return true; } } else { return hasI18nJson(value, delimiters); } }); } function parseI18nJson(jsonObj, values, delimiters) { if (!formater) { formater = new BaseFormatter(); } walkJsonObj(jsonObj, function (jsonObj, key) { var value = jsonObj[key]; if (isString(value)) { if (isI18nStr(value, delimiters)) { jsonObj[key] = compileStr(value, values, delimiters); } } else { parseI18nJson(value, values, delimiters); } }); return jsonObj; } function compileI18nJsonStr(jsonStr, _ref5) { var locale = _ref5.locale, locales = _ref5.locales, delimiters = _ref5.delimiters; if (!isI18nStr(jsonStr, delimiters)) { return jsonStr; } if (!formater) { formater = new BaseFormatter(); } var localeValues = []; Object.keys(locales).forEach(function (name) { if (name !== locale) { localeValues.push({ locale: name, values: locales[name] }); } }); localeValues.unshift({ locale: locale, values: locales[locale] }); try { return JSON.stringify(compileJsonObj(JSON.parse(jsonStr), localeValues, delimiters), null, 2); } catch (e) {} return jsonStr; } function isI18nStr(value, delimiters) { return value.indexOf(delimiters[0]) > -1; } function compileStr(value, values, delimiters) { return formater.interpolate(value, values, delimiters).join(''); } function compileValue(jsonObj, key, localeValues, delimiters) { var value = jsonObj[key]; if (isString(value)) { // 存在国际化 if (isI18nStr(value, delimiters)) { jsonObj[key] = compileStr(value, localeValues[0].values, delimiters); if (localeValues.length > 1) { // 格式化国际化语言 var valueLocales = jsonObj[key + 'Locales'] = {}; localeValues.forEach(function (localValue) { valueLocales[localValue.locale] = compileStr(value, localValue.values, delimiters); }); } } } else { compileJsonObj(value, localeValues, delimiters); } } function compileJsonObj(jsonObj, localeValues, delimiters) { walkJsonObj(jsonObj, function (jsonObj, key) { compileValue(jsonObj, key, localeValues, delimiters); }); return jsonObj; } function walkJsonObj(jsonObj, walk) { if (Array.isArray(jsonObj)) { for (var i = 0; i < jsonObj.length; i++) { if (walk(jsonObj, i)) { return true; } } } else if (isObject(jsonObj)) { for (var key in jsonObj) { if (walk(jsonObj, key)) { return true; } } } return false; } function resolveLocale(locales) { return function (locale) { if (!locale) { return locale; } locale = normalizeLocale(locale) || locale; return resolveLocaleChain(locale).find(function (locale) { return locales.indexOf(locale) > -1; }); }; } function resolveLocaleChain(locale) { var chain = []; var tokens = locale.split('-'); while (tokens.length) { chain.push(tokens.join('-')); tokens.pop(); } return chain; } /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../../../webpack/buildin/global.js */ 51))) /***/ }), /* 51 */ /*!***********************************!*\ !*** (webpack)/buildin/global.js ***! \***********************************/ /*! no static exports found */ /***/ (function(module, exports) { var g; // This works in non-strict mode g = (function() { return this; })(); try { // This works if eval is allowed (see CSP) g = g || new Function("return this")(); } catch (e) { // This works if the window reference is available if (typeof window === "object") g = window; } // g can still be undefined, but nothing to do about it... // We return undefined, instead of nothing here, so it's // easier to handle this case. if(!global) { ...} module.exports = g; /***/ }), /* 52 */ /*!*************************************************************************************************************!*\ !*** D:/项目文件/uniapp/Waterinvoice_uiapp/node_modules/@dcloudio/uni-ui/lib/uni-datetime-picker/i18n/index.js ***! \*************************************************************************************************************/ /*! no static exports found */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 1); Object.defineProperty(exports, "__esModule", { value: true }); exports.default = void 0; var _en = _interopRequireDefault(__webpack_require__(/*! ./en.json */ 53)); var _zhHans = _interopRequireDefault(__webpack_require__(/*! ./zh-Hans.json */ 54)); var _zhHant = _interopRequireDefault(__webpack_require__(/*! ./zh-Hant.json */ 55)); var _default = { en: _en.default, 'zh-Hans': _zhHans.default, 'zh-Hant': _zhHant.default }; exports.default = _default; /***/ }), /* 53 */ /*!************************************************************************************************************!*\ !*** D:/项目文件/uniapp/Waterinvoice_uiapp/node_modules/@dcloudio/uni-ui/lib/uni-datetime-picker/i18n/en.json ***! \************************************************************************************************************/ /*! exports provided: uni-datetime-picker.selectDate, uni-datetime-picker.selectTime, uni-datetime-picker.selectDateTime, uni-datetime-picker.startDate, uni-datetime-picker.endDate, uni-datetime-picker.startTime, uni-datetime-picker.endTime, uni-datetime-picker.ok, uni-datetime-picker.clear, uni-datetime-picker.cancel, uni-datetime-picker.year, uni-datetime-picker.month, uni-calender.MON, uni-calender.TUE, uni-calender.WED, uni-calender.THU, uni-calender.FRI, uni-calender.SAT, uni-calender.SUN, uni-calender.confirm, default */ /***/ (function(module) { module.exports = JSON.parse("{\"uni-datetime-picker.selectDate\":\"select date\",\"uni-datetime-picker.selectTime\":\"select time\",\"uni-datetime-picker.selectDateTime\":\"select date and time\",\"uni-datetime-picker.startDate\":\"start date\",\"uni-datetime-picker.endDate\":\"end date\",\"uni-datetime-picker.startTime\":\"start time\",\"uni-datetime-picker.endTime\":\"end time\",\"uni-datetime-picker.ok\":\"ok\",\"uni-datetime-picker.clear\":\"clear\",\"uni-datetime-picker.cancel\":\"cancel\",\"uni-datetime-picker.year\":\"-\",\"uni-datetime-picker.month\":\"\",\"uni-calender.MON\":\"MON\",\"uni-calender.TUE\":\"TUE\",\"uni-calender.WED\":\"WED\",\"uni-calender.THU\":\"THU\",\"uni-calender.FRI\":\"FRI\",\"uni-calender.SAT\":\"SAT\",\"uni-calender.SUN\":\"SUN\",\"uni-calender.confirm\":\"confirm\"}"); /***/ }), /* 54 */ /*!*****************************************************************************************************************!*\ !*** D:/项目文件/uniapp/Waterinvoice_uiapp/node_modules/@dcloudio/uni-ui/lib/uni-datetime-picker/i18n/zh-Hans.json ***! \*****************************************************************************************************************/ /*! exports provided: uni-datetime-picker.selectDate, uni-datetime-picker.selectTime, uni-datetime-picker.selectDateTime, uni-datetime-picker.startDate, uni-datetime-picker.endDate, uni-datetime-picker.startTime, uni-datetime-picker.endTime, uni-datetime-picker.ok, uni-datetime-picker.clear, uni-datetime-picker.cancel, uni-datetime-picker.year, uni-datetime-picker.month, uni-calender.SUN, uni-calender.MON, uni-calender.TUE, uni-calender.WED, uni-calender.THU, uni-calender.FRI, uni-calender.SAT, uni-calender.confirm, default */ /***/ (function(module) { module.exports = JSON.parse("{\"uni-datetime-picker.selectDate\":\"选择日期\",\"uni-datetime-picker.selectTime\":\"选择时间\",\"uni-datetime-picker.selectDateTime\":\"选择日期时间\",\"uni-datetime-picker.startDate\":\"开始日期\",\"uni-datetime-picker.endDate\":\"结束日期\",\"uni-datetime-picker.startTime\":\"开始时间\",\"uni-datetime-picker.endTime\":\"结束时间\",\"uni-datetime-picker.ok\":\"确定\",\"uni-datetime-picker.clear\":\"清除\",\"uni-datetime-picker.cancel\":\"取消\",\"uni-datetime-picker.year\":\"年\",\"uni-datetime-picker.month\":\"月\",\"uni-calender.SUN\":\"日\",\"uni-calender.MON\":\"一\",\"uni-calender.TUE\":\"二\",\"uni-calender.WED\":\"三\",\"uni-calender.THU\":\"四\",\"uni-calender.FRI\":\"五\",\"uni-calender.SAT\":\"六\",\"uni-calender.confirm\":\"确认\"}"); /***/ }), /* 55 */ /*!*****************************************************************************************************************!*\ !*** D:/项目文件/uniapp/Waterinvoice_uiapp/node_modules/@dcloudio/uni-ui/lib/uni-datetime-picker/i18n/zh-Hant.json ***! \*****************************************************************************************************************/ /*! exports provided: uni-datetime-picker.selectDate, uni-datetime-picker.selectTime, uni-datetime-picker.selectDateTime, uni-datetime-picker.startDate, uni-datetime-picker.endDate, uni-datetime-picker.startTime, uni-datetime-picker.endTime, uni-datetime-picker.ok, uni-datetime-picker.clear, uni-datetime-picker.cancel, uni-datetime-picker.year, uni-datetime-picker.month, uni-calender.SUN, uni-calender.MON, uni-calender.TUE, uni-calender.WED, uni-calender.THU, uni-calender.FRI, uni-calender.SAT, uni-calender.confirm, default */ /***/ (function(module) { module.exports = JSON.parse("{\"uni-datetime-picker.selectDate\":\"選擇日期\",\"uni-datetime-picker.selectTime\":\"選擇時間\",\"uni-datetime-picker.selectDateTime\":\"選擇日期時間\",\"uni-datetime-picker.startDate\":\"開始日期\",\"uni-datetime-picker.endDate\":\"結束日期\",\"uni-datetime-picker.startTime\":\"開始时间\",\"uni-datetime-picker.endTime\":\"結束时间\",\"uni-datetime-picker.ok\":\"確定\",\"uni-datetime-picker.clear\":\"清除\",\"uni-datetime-picker.cancel\":\"取消\",\"uni-datetime-picker.year\":\"年\",\"uni-datetime-picker.month\":\"月\",\"uni-calender.SUN\":\"日\",\"uni-calender.MON\":\"一\",\"uni-calender.TUE\":\"二\",\"uni-calender.WED\":\"三\",\"uni-calender.THU\":\"四\",\"uni-calender.FRI\":\"五\",\"uni-calender.SAT\":\"六\",\"uni-calender.confirm\":\"確認\"}"); /***/ }), /* 56 */ /*!***********************************************************************************************************!*\ !*** D:/项目文件/uniapp/Waterinvoice_uiapp/node_modules/@dcloudio/uni-ui/lib/uni-load-more/uni-load-more.vue ***! \***********************************************************************************************************/ /*! no static exports found */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony import */ var _uni_load_more_vue_vue_type_template_id_154342f4___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./uni-load-more.vue?vue&type=template&id=154342f4& */ 57); /* harmony import */ var _uni_load_more_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./uni-load-more.vue?vue&type=script&lang=js& */ 59); /* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _uni_load_more_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 _uni_load_more_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__[key]; }) }(__WEBPACK_IMPORT_KEY__)); /* harmony import */ var _C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/runtime/componentNormalizer.js */ 16); var renderjs /* normalize component */ var component = Object(_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_2__["default"])( _uni_load_more_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__["default"], _uni_load_more_vue_vue_type_template_id_154342f4___WEBPACK_IMPORTED_MODULE_0__["render"], _uni_load_more_vue_vue_type_template_id_154342f4___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"], false, null, null, null, false, _uni_load_more_vue_vue_type_template_id_154342f4___WEBPACK_IMPORTED_MODULE_0__["components"], renderjs ) component.options.__file = "node_modules/@dcloudio/uni-ui/lib/uni-load-more/uni-load-more.vue" /* harmony default export */ __webpack_exports__["default"] = (component.exports); /***/ }), /* 57 */ /*!******************************************************************************************************************************************!*\ !*** D:/项目文件/uniapp/Waterinvoice_uiapp/node_modules/@dcloudio/uni-ui/lib/uni-load-more/uni-load-more.vue?vue&type=template&id=154342f4& ***! \******************************************************************************************************************************************/ /*! exports provided: render, staticRenderFns, recyclableRender, components */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony import */ var _C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_11_0_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_filter_modules_template_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_uni_load_more_vue_vue_type_template_id_154342f4___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!./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--11-0!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/filter-modules-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!./uni-load-more.vue?vue&type=template&id=154342f4& */ 58); /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "render", function() { return _C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_11_0_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_filter_modules_template_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_uni_load_more_vue_vue_type_template_id_154342f4___WEBPACK_IMPORTED_MODULE_0__["render"]; }); /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return _C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_11_0_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_filter_modules_template_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_uni_load_more_vue_vue_type_template_id_154342f4___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"]; }); /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "recyclableRender", function() { return _C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_11_0_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_filter_modules_template_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_uni_load_more_vue_vue_type_template_id_154342f4___WEBPACK_IMPORTED_MODULE_0__["recyclableRender"]; }); /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "components", function() { return _C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_11_0_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_filter_modules_template_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_uni_load_more_vue_vue_type_template_id_154342f4___WEBPACK_IMPORTED_MODULE_0__["components"]; }); /***/ }), /* 58 */ /*!**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ !*** ./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--11-0!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/filter-modules-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!D:/项目文件/uniapp/Waterinvoice_uiapp/node_modules/@dcloudio/uni-ui/lib/uni-load-more/uni-load-more.vue?vue&type=template&id=154342f4& ***! \**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ /*! 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 var render = function () { var _vm = this var _h = _vm.$createElement var _c = _vm._self._c || _h return _c( "view", { staticClass: _vm._$s(0, "sc", "uni-load-more"), attrs: { _i: 0 }, on: { click: _vm.onClick }, }, [ _vm._$s( 1, "i", !_vm.webviewHide && (_vm.iconType === "circle" || (_vm.iconType === "auto" && _vm.platform === "android")) && _vm.status === "loading" && _vm.showIcon ) ? _c( "view", { staticClass: _vm._$s( 1, "sc", "uni-load-more__img uni-load-more__img--android-MP" ), style: _vm._$s(1, "s", { width: _vm.iconSize + "px", height: _vm.iconSize + "px", }), attrs: { _i: 1 }, }, [ _c("view", { staticClass: _vm._$s(2, "sc", "uni-load-more__img-icon"), style: _vm._$s(2, "s", { borderTopColor: _vm.color, borderTopWidth: _vm.iconSize / 12, }), attrs: { _i: 2 }, }), _c("view", { staticClass: _vm._$s(3, "sc", "uni-load-more__img-icon"), style: _vm._$s(3, "s", { borderTopColor: _vm.color, borderTopWidth: _vm.iconSize / 12, }), attrs: { _i: 3 }, }), _c("view", { staticClass: _vm._$s(4, "sc", "uni-load-more__img-icon"), style: _vm._$s(4, "s", { borderTopColor: _vm.color, borderTopWidth: _vm.iconSize / 12, }), attrs: { _i: 4 }, }), ] ) : _vm._$s( 5, "e", !_vm.webviewHide && _vm.status === "loading" && _vm.showIcon ) ? _c( "view", { staticClass: _vm._$s( 5, "sc", "uni-load-more__img uni-load-more__img--ios-H5" ), style: _vm._$s(5, "s", { width: _vm.iconSize + "px", height: _vm.iconSize + "px", }), attrs: { _i: 5 }, }, [ _c("image", { attrs: { src: _vm._$s(6, "a-src", _vm.imgBase64), _i: 6 }, }), ] ) : _vm._e(), _vm._$s(7, "i", _vm.showText) ? _c( "text", { staticClass: _vm._$s(7, "sc", "uni-load-more__text"), style: _vm._$s(7, "s", { color: _vm.color }), attrs: { _i: 7 }, }, [ _vm._v( _vm._$s( 7, "t0-0", _vm._s( _vm.status === "more" ? _vm.contentdownText : _vm.status === "loading" ? _vm.contentrefreshText : _vm.contentnomoreText ) ) ), ] ) : _vm._e(), ] ) } var recyclableRender = false var staticRenderFns = [] render._withStripped = true /***/ }), /* 59 */ /*!************************************************************************************************************************************!*\ !*** D:/项目文件/uniapp/Waterinvoice_uiapp/node_modules/@dcloudio/uni-ui/lib/uni-load-more/uni-load-more.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 _C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_7_1_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_using_components_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_uni_load_more_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!./node_modules/babel-loader/lib!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--7-1!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/using-components.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./uni-load-more.vue?vue&type=script&lang=js& */ 60); /* harmony import */ var _C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_7_1_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_using_components_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_uni_load_more_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_7_1_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_using_components_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_uni_load_more_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__); /* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_7_1_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_using_components_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_uni_load_more_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 _C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_7_1_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_using_components_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_uni_load_more_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__)); /* harmony default export */ __webpack_exports__["default"] = (_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_7_1_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_using_components_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_uni_load_more_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0___default.a); /***/ }), /* 60 */ /*!*****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ !*** ./node_modules/babel-loader/lib!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--7-1!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/using-components.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!D:/项目文件/uniapp/Waterinvoice_uiapp/node_modules/@dcloudio/uni-ui/lib/uni-load-more/uni-load-more.vue?vue&type=script&lang=js& ***! \*****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ /*! no static exports found */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 1); Object.defineProperty(exports, "__esModule", { value: true }); exports.default = void 0; var _uniI18n = __webpack_require__(/*! @dcloudio/uni-i18n */ 50); var _index = _interopRequireDefault(__webpack_require__(/*! ./i18n/index.js */ 61)); // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // var platform; setTimeout(function () { platform = uni.getSystemInfoSync().platform; }, 16); var _initVueI18n = (0, _uniI18n.initVueI18n)(_index.default), t = _initVueI18n.t; /** * LoadMore 加载更多 * @description 用于列表中,做滚动加载使用,展示 loading 的各种状态 * @tutorial https://ext.dcloud.net.cn/plugin?id=29 * @property {String} status = [more|loading|noMore] loading 的状态 * @value more loading前 * @value loading loading中 * @value noMore 没有更多了 * @property {Number} iconSize 指定图标大小 * @property {Boolean} iconSize = [true|false] 是否显示 loading 图标 * @property {String} iconType = [snow|circle|auto] 指定图标样式 * @value snow ios雪花加载样式 * @value circle 安卓唤醒加载样式 * @value auto 根据平台自动选择加载样式 * @property {String} color 图标和文字颜色 * @property {Object} contentText 各状态文字说明,值为:{contentdown: "上拉显示更多",contentrefresh: "正在加载...",contentnomore: "没有更多数据了"} * @event {Function} clickLoadMore 点击加载更多时触发 */ var _default2 = { name: 'UniLoadMore', emits: ['clickLoadMore'], props: { status: { // 上拉的状态:more-loading前;loading-loading中;noMore-没有更多了 type: String, default: 'more' }, showIcon: { type: Boolean, default: true }, iconType: { type: String, default: 'auto' }, iconSize: { type: Number, default: 24 }, color: { type: String, default: '#777777' }, contentText: { type: Object, default: function _default() { return { contentdown: '', contentrefresh: '', contentnomore: '' }; } }, showText: { type: Boolean, default: true } }, data: function data() { return { webviewHide: false, platform: platform, imgBase64: 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvd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ulfNCNe/xTsP3bp8ikzJs5BF+5PNfAQYAPaseTdsEcaYAAAAASUVORK5CYII=' }; }, computed: { iconSnowWidth: function iconSnowWidth() { return (Math.floor(this.iconSize / 24) || 1) * 2; }, contentdownText: function contentdownText() { return this.contentText.contentdown || t("uni-load-more.contentdown"); }, contentrefreshText: function contentrefreshText() { return this.contentText.contentrefresh || t("uni-load-more.contentrefresh"); }, contentnomoreText: function contentnomoreText() { return this.contentText.contentnomore || t("uni-load-more.contentnomore"); } }, mounted: function mounted() { var _this = this; var pages = getCurrentPages(); var page = pages[pages.length - 1]; var currentWebview = page.$getAppWebview(); currentWebview.addEventListener('hide', function () { _this.webviewHide = true; }); currentWebview.addEventListener('show', function () { _this.webviewHide = false; }); }, methods: { onClick: function onClick() { this.$emit('clickLoadMore', { detail: { status: this.status } }); } } }; exports.default = _default2; /***/ }), /* 61 */ /*!*******************************************************************************************************!*\ !*** D:/项目文件/uniapp/Waterinvoice_uiapp/node_modules/@dcloudio/uni-ui/lib/uni-load-more/i18n/index.js ***! \*******************************************************************************************************/ /*! no static exports found */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 1); Object.defineProperty(exports, "__esModule", { value: true }); exports.default = void 0; var _en = _interopRequireDefault(__webpack_require__(/*! ./en.json */ 62)); var _zhHans = _interopRequireDefault(__webpack_require__(/*! ./zh-Hans.json */ 63)); var _zhHant = _interopRequireDefault(__webpack_require__(/*! ./zh-Hant.json */ 64)); var _default = { en: _en.default, 'zh-Hans': _zhHans.default, 'zh-Hant': _zhHant.default }; exports.default = _default; /***/ }), /* 62 */ /*!******************************************************************************************************!*\ !*** D:/项目文件/uniapp/Waterinvoice_uiapp/node_modules/@dcloudio/uni-ui/lib/uni-load-more/i18n/en.json ***! \******************************************************************************************************/ /*! exports provided: uni-load-more.contentdown, uni-load-more.contentrefresh, uni-load-more.contentnomore, default */ /***/ (function(module) { module.exports = JSON.parse("{\"uni-load-more.contentdown\":\"Pull up to show more\",\"uni-load-more.contentrefresh\":\"loading...\",\"uni-load-more.contentnomore\":\"No more data\"}"); /***/ }), /* 63 */ /*!***********************************************************************************************************!*\ !*** D:/项目文件/uniapp/Waterinvoice_uiapp/node_modules/@dcloudio/uni-ui/lib/uni-load-more/i18n/zh-Hans.json ***! \***********************************************************************************************************/ /*! exports provided: uni-load-more.contentdown, uni-load-more.contentrefresh, uni-load-more.contentnomore, default */ /***/ (function(module) { module.exports = JSON.parse("{\"uni-load-more.contentdown\":\"上拉显示更多\",\"uni-load-more.contentrefresh\":\"正在加载...\",\"uni-load-more.contentnomore\":\"没有更多数据了\"}"); /***/ }), /* 64 */ /*!***********************************************************************************************************!*\ !*** D:/项目文件/uniapp/Waterinvoice_uiapp/node_modules/@dcloudio/uni-ui/lib/uni-load-more/i18n/zh-Hant.json ***! \***********************************************************************************************************/ /*! exports provided: uni-load-more.contentdown, uni-load-more.contentrefresh, uni-load-more.contentnomore, default */ /***/ (function(module) { module.exports = JSON.parse("{\"uni-load-more.contentdown\":\"上拉顯示更多\",\"uni-load-more.contentrefresh\":\"正在加載...\",\"uni-load-more.contentnomore\":\"沒有更多數據了\"}"); /***/ }), /* 65 */ /*!***************************************************************************************************!*\ !*** D:/项目文件/uniapp/Waterinvoice_uiapp/node_modules/@dcloudio/uni-ui/lib/uni-popup/uni-popup.vue ***! \***************************************************************************************************/ /*! no static exports found */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony import */ var _uni_popup_vue_vue_type_template_id_2ef6b626___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./uni-popup.vue?vue&type=template&id=2ef6b626& */ 66); /* harmony import */ var _uni_popup_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./uni-popup.vue?vue&type=script&lang=js& */ 75); /* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _uni_popup_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 _uni_popup_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__[key]; }) }(__WEBPACK_IMPORT_KEY__)); /* harmony import */ var _C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/runtime/componentNormalizer.js */ 16); var renderjs /* normalize component */ var component = Object(_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_2__["default"])( _uni_popup_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__["default"], _uni_popup_vue_vue_type_template_id_2ef6b626___WEBPACK_IMPORTED_MODULE_0__["render"], _uni_popup_vue_vue_type_template_id_2ef6b626___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"], false, null, null, null, false, _uni_popup_vue_vue_type_template_id_2ef6b626___WEBPACK_IMPORTED_MODULE_0__["components"], renderjs ) component.options.__file = "node_modules/@dcloudio/uni-ui/lib/uni-popup/uni-popup.vue" /* harmony default export */ __webpack_exports__["default"] = (component.exports); /***/ }), /* 66 */ /*!**********************************************************************************************************************************!*\ !*** D:/项目文件/uniapp/Waterinvoice_uiapp/node_modules/@dcloudio/uni-ui/lib/uni-popup/uni-popup.vue?vue&type=template&id=2ef6b626& ***! \**********************************************************************************************************************************/ /*! exports provided: render, staticRenderFns, recyclableRender, components */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony import */ var _C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_11_0_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_filter_modules_template_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_uni_popup_vue_vue_type_template_id_2ef6b626___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!./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--11-0!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/filter-modules-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!./uni-popup.vue?vue&type=template&id=2ef6b626& */ 67); /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "render", function() { return _C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_11_0_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_filter_modules_template_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_uni_popup_vue_vue_type_template_id_2ef6b626___WEBPACK_IMPORTED_MODULE_0__["render"]; }); /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return _C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_11_0_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_filter_modules_template_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_uni_popup_vue_vue_type_template_id_2ef6b626___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"]; }); /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "recyclableRender", function() { return _C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_11_0_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_filter_modules_template_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_uni_popup_vue_vue_type_template_id_2ef6b626___WEBPACK_IMPORTED_MODULE_0__["recyclableRender"]; }); /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "components", function() { return _C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_11_0_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_filter_modules_template_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_uni_popup_vue_vue_type_template_id_2ef6b626___WEBPACK_IMPORTED_MODULE_0__["components"]; }); /***/ }), /* 67 */ /*!**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ !*** ./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--11-0!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/filter-modules-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!D:/项目文件/uniapp/Waterinvoice_uiapp/node_modules/@dcloudio/uni-ui/lib/uni-popup/uni-popup.vue?vue&type=template&id=2ef6b626& ***! \**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ /*! 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 = { uniTransition: __webpack_require__(/*! @dcloudio/uni-ui/lib/uni-transition/uni-transition.vue */ 68).default, } } 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 return _vm._$s(0, "i", _vm.showPopup) ? _c( "view", { staticClass: _vm._$s(0, "sc", "uni-popup"), class: _vm._$s(0, "c", [ _vm.popupstyle, _vm.isDesktop ? "fixforpc-z-index" : "", ]), attrs: { _i: 0 }, }, [ _c( "view", { attrs: { _i: 1 }, on: { touchstart: _vm.touchstart } }, [ _vm._$s(2, "i", _vm.maskShow) ? _c("uni-transition", { key: "1", attrs: { name: "mask", "mode-class": "fade", styles: _vm.maskClass, duration: _vm.duration, show: _vm.showTrans, _i: 2, }, on: { click: _vm.onTap }, }) : _vm._e(), _c( "uni-transition", { key: "2", attrs: { "mode-class": _vm.ani, name: "content", styles: _vm.transClass, duration: _vm.duration, show: _vm.showTrans, _i: 3, }, on: { click: _vm.onTap }, }, [ _c( "view", { staticClass: _vm._$s(4, "sc", "uni-popup__wrapper"), class: _vm._$s(4, "c", [_vm.popupstyle]), style: _vm._$s(4, "s", _vm.getStyles), attrs: { _i: 4 }, on: { click: _vm.clear }, }, [_vm._t("default", null, { _i: 5 })], 2 ), ] ), ], 1 ), ] ) : _vm._e() } var recyclableRender = false var staticRenderFns = [] render._withStripped = true /***/ }), /* 68 */ /*!*************************************************************************************************************!*\ !*** D:/项目文件/uniapp/Waterinvoice_uiapp/node_modules/@dcloudio/uni-ui/lib/uni-transition/uni-transition.vue ***! \*************************************************************************************************************/ /*! no static exports found */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony import */ var _uni_transition_vue_vue_type_template_id_73b1fe06___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./uni-transition.vue?vue&type=template&id=73b1fe06& */ 69); /* harmony import */ var _uni_transition_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./uni-transition.vue?vue&type=script&lang=js& */ 71); /* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _uni_transition_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 _uni_transition_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__[key]; }) }(__WEBPACK_IMPORT_KEY__)); /* harmony import */ var _C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/runtime/componentNormalizer.js */ 16); var renderjs /* normalize component */ var component = Object(_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_2__["default"])( _uni_transition_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__["default"], _uni_transition_vue_vue_type_template_id_73b1fe06___WEBPACK_IMPORTED_MODULE_0__["render"], _uni_transition_vue_vue_type_template_id_73b1fe06___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"], false, null, null, null, false, _uni_transition_vue_vue_type_template_id_73b1fe06___WEBPACK_IMPORTED_MODULE_0__["components"], renderjs ) component.options.__file = "node_modules/@dcloudio/uni-ui/lib/uni-transition/uni-transition.vue" /* harmony default export */ __webpack_exports__["default"] = (component.exports); /***/ }), /* 69 */ /*!********************************************************************************************************************************************!*\ !*** D:/项目文件/uniapp/Waterinvoice_uiapp/node_modules/@dcloudio/uni-ui/lib/uni-transition/uni-transition.vue?vue&type=template&id=73b1fe06& ***! \********************************************************************************************************************************************/ /*! exports provided: render, staticRenderFns, recyclableRender, components */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony import */ var _C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_11_0_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_filter_modules_template_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_uni_transition_vue_vue_type_template_id_73b1fe06___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!./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--11-0!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/filter-modules-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!./uni-transition.vue?vue&type=template&id=73b1fe06& */ 70); /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "render", function() { return _C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_11_0_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_filter_modules_template_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_uni_transition_vue_vue_type_template_id_73b1fe06___WEBPACK_IMPORTED_MODULE_0__["render"]; }); /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return _C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_11_0_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_filter_modules_template_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_uni_transition_vue_vue_type_template_id_73b1fe06___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"]; }); /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "recyclableRender", function() { return _C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_11_0_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_filter_modules_template_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_uni_transition_vue_vue_type_template_id_73b1fe06___WEBPACK_IMPORTED_MODULE_0__["recyclableRender"]; }); /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "components", function() { return _C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_11_0_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_filter_modules_template_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_uni_transition_vue_vue_type_template_id_73b1fe06___WEBPACK_IMPORTED_MODULE_0__["components"]; }); /***/ }), /* 70 */ /*!************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ !*** ./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--11-0!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/filter-modules-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!D:/项目文件/uniapp/Waterinvoice_uiapp/node_modules/@dcloudio/uni-ui/lib/uni-transition/uni-transition.vue?vue&type=template&id=73b1fe06& ***! \************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ /*! 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 var render = function () { var _vm = this var _h = _vm.$createElement var _c = _vm._self._c || _h return _c( "view", { directives: [ { name: "show", rawName: "v-show", value: _vm._$s(0, "v-show", _vm.isShow), expression: "_$s(0,'v-show',isShow)", }, ], ref: "ani", class: _vm._$s(0, "c", _vm.customClass), style: _vm._$s(0, "s", _vm.transformStyles), attrs: { animation: _vm._$s(0, "a-animation", _vm.animationData), _i: 0 }, on: { click: _vm.onClick }, }, [_vm._t("default", null, { _i: 1 })], 2 ) } var recyclableRender = false var staticRenderFns = [] render._withStripped = true /***/ }), /* 71 */ /*!**************************************************************************************************************************************!*\ !*** D:/项目文件/uniapp/Waterinvoice_uiapp/node_modules/@dcloudio/uni-ui/lib/uni-transition/uni-transition.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 _C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_7_1_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_using_components_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_uni_transition_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!./node_modules/babel-loader/lib!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--7-1!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/using-components.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./uni-transition.vue?vue&type=script&lang=js& */ 72); /* harmony import */ var _C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_7_1_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_using_components_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_uni_transition_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_7_1_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_using_components_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_uni_transition_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__); /* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_7_1_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_using_components_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_uni_transition_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 _C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_7_1_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_using_components_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_uni_transition_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__)); /* harmony default export */ __webpack_exports__["default"] = (_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_7_1_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_using_components_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_uni_transition_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0___default.a); /***/ }), /* 72 */ /*!*******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ !*** ./node_modules/babel-loader/lib!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--7-1!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/using-components.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!D:/项目文件/uniapp/Waterinvoice_uiapp/node_modules/@dcloudio/uni-ui/lib/uni-transition/uni-transition.vue?vue&type=script&lang=js& ***! \*******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ /*! no static exports found */ /***/ (function(module, exports, __webpack_require__) { "use strict"; /* WEBPACK VAR INJECTION */(function(__f__) { var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 1); Object.defineProperty(exports, "__esModule", { value: true }); exports.default = void 0; var _toConsumableArray2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/toConsumableArray */ 34)); var _typeof2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/typeof */ 4)); var _defineProperty2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/defineProperty */ 2)); var _createAnimation = __webpack_require__(/*! ./createAnimation */ 74); function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; } function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { (0, _defineProperty2.default)(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; } /** * Transition 过渡动画 * @description 简单过渡动画组件 * @tutorial https://ext.dcloud.net.cn/plugin?id=985 * @property {Boolean} show = [false|true] 控制组件显示或隐藏 * @property {Array|String} modeClass = [fade|slide-top|slide-right|slide-bottom|slide-left|zoom-in|zoom-out] 过渡动画类型 * @value fade 渐隐渐出过渡 * @value slide-top 由上至下过渡 * @value slide-right 由右至左过渡 * @value slide-bottom 由下至上过渡 * @value slide-left 由左至右过渡 * @value zoom-in 由小到大过渡 * @value zoom-out 由大到小过渡 * @property {Number} duration 过渡动画持续时间 * @property {Object} styles 组件样式,同 css 样式,注意带’-‘连接符的属性需要使用小驼峰写法如:`backgroundColor:red` */ var _default2 = { name: 'uniTransition', emits: ['click', 'change'], props: { show: { type: Boolean, default: false }, modeClass: { type: [Array, String], default: function _default() { return 'fade'; } }, duration: { type: Number, default: 300 }, styles: { type: Object, default: function _default() { return {}; } }, customClass: { type: String, default: '' }, onceRender: { type: Boolean, default: false } }, data: function data() { return { isShow: false, transform: '', opacity: 1, animationData: {}, durationTime: 300, config: {} }; }, watch: { show: { handler: function handler(newVal) { if (newVal) { this.open(); } else { // 避免上来就执行 close,导致动画错乱 if (this.isShow) { this.close(); } } }, immediate: true } }, computed: { // 生成样式数据 stylesObject: function stylesObject() { var styles = _objectSpread(_objectSpread({}, this.styles), {}, { 'transition-duration': this.duration / 1000 + 's' }); var transform = ''; for (var i in styles) { var line = this.toLine(i); transform += line + ':' + styles[i] + ';'; } return transform; }, // 初始化动画条件 transformStyles: function transformStyles() { return 'transform:' + this.transform + ';' + 'opacity:' + this.opacity + ';' + this.stylesObject; } }, created: function created() { // 动画默认配置 this.config = { duration: this.duration, timingFunction: 'ease', transformOrigin: '50% 50%', delay: 0 }; this.durationTime = this.duration; }, methods: { /** * ref 触发 初始化动画 */ init: function init() { var obj = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; if (obj.duration) { this.durationTime = obj.duration; } this.animation = (0, _createAnimation.createAnimation)(Object.assign(this.config, obj), this); }, /** * 点击组件触发回调 */ onClick: function onClick() { this.$emit('click', { detail: this.isShow }); }, /** * ref 触发 动画分组 * @param {Object} obj */ step: function step(obj) { var config = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; if (!this.animation) return; for (var i in obj) { try { if ((0, _typeof2.default)(obj[i]) === 'object') { var _this$animation; (_this$animation = this.animation)[i].apply(_this$animation, (0, _toConsumableArray2.default)(obj[i])); } else { this.animation[i](obj[i]); } } catch (e) { __f__("error", "\u65B9\u6CD5 ".concat(i, " \u4E0D\u5B58\u5728"), " at node_modules/@dcloudio/uni-ui/lib/uni-transition/uni-transition.vue:148"); } } this.animation.step(config); return this; }, /** * ref 触发 执行动画 */ run: function run(fn) { if (!this.animation) return; this.animation.run(fn); }, // 开始过度动画 open: function open() { var _this = this; clearTimeout(this.timer); this.transform = ''; this.isShow = true; var _this$styleInit = this.styleInit(false), opacity = _this$styleInit.opacity, transform = _this$styleInit.transform; if (typeof opacity !== 'undefined') { this.opacity = opacity; } this.transform = transform; // 确保动态样式已经生效后,执行动画,如果不加 nextTick ,会导致 wx 动画执行异常 this.$nextTick(function () { // TODO 定时器保证动画完全执行,目前有些问题,后面会取消定时器 _this.timer = setTimeout(function () { _this.animation = (0, _createAnimation.createAnimation)(_this.config, _this); _this.tranfromInit(false).step(); _this.animation.run(); _this.$emit('change', { detail: _this.isShow }); }, 20); }); }, // 关闭过度动画 close: function close(type) { var _this2 = this; if (!this.animation) return; this.tranfromInit(true).step().run(function () { _this2.isShow = false; _this2.animationData = null; _this2.animation = null; var _this2$styleInit = _this2.styleInit(false), opacity = _this2$styleInit.opacity, transform = _this2$styleInit.transform; _this2.opacity = opacity || 1; _this2.transform = transform; _this2.$emit('change', { detail: _this2.isShow }); }); }, // 处理动画开始前的默认样式 styleInit: function styleInit(type) { var _this3 = this; var styles = { transform: '' }; var buildStyle = function buildStyle(type, mode) { if (mode === 'fade') { styles.opacity = _this3.animationType(type)[mode]; } else { styles.transform += _this3.animationType(type)[mode] + ' '; } }; if (typeof this.modeClass === 'string') { buildStyle(type, this.modeClass); } else { this.modeClass.forEach(function (mode) { buildStyle(type, mode); }); } return styles; }, // 处理内置组合动画 tranfromInit: function tranfromInit(type) { var _this4 = this; var buildTranfrom = function buildTranfrom(type, mode) { var aniNum = null; if (mode === 'fade') { aniNum = type ? 0 : 1; } else { aniNum = type ? '-100%' : '0'; if (mode === 'zoom-in') { aniNum = type ? 0.8 : 1; } if (mode === 'zoom-out') { aniNum = type ? 1.2 : 1; } if (mode === 'slide-right') { aniNum = type ? '100%' : '0'; } if (mode === 'slide-bottom') { aniNum = type ? '100%' : '0'; } } _this4.animation[_this4.animationMode()[mode]](aniNum); }; if (typeof this.modeClass === 'string') { buildTranfrom(type, this.modeClass); } else { this.modeClass.forEach(function (mode) { buildTranfrom(type, mode); }); } return this.animation; }, animationType: function animationType(type) { return { fade: type ? 0 : 1, 'slide-top': "translateY(".concat(type ? '0' : '-100%', ")"), 'slide-right': "translateX(".concat(type ? '0' : '100%', ")"), 'slide-bottom': "translateY(".concat(type ? '0' : '100%', ")"), 'slide-left': "translateX(".concat(type ? '0' : '-100%', ")"), 'zoom-in': "scaleX(".concat(type ? 1 : 0.8, ") scaleY(").concat(type ? 1 : 0.8, ")"), 'zoom-out': "scaleX(".concat(type ? 1 : 1.2, ") scaleY(").concat(type ? 1 : 1.2, ")") }; }, // 内置动画类型与实际动画对应字典 animationMode: function animationMode() { return { fade: 'opacity', 'slide-top': 'translateY', 'slide-right': 'translateX', 'slide-bottom': 'translateY', 'slide-left': 'translateX', 'zoom-in': 'scale', 'zoom-out': 'scale' }; }, // 驼峰转中横线 toLine: function toLine(name) { return name.replace(/([A-Z])/g, '-$1').toLowerCase(); } } }; exports.default = _default2; /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/vue-cli-plugin-uni/lib/format-log.js */ 73)["default"])) /***/ }), /* 73 */ /*!*********************************************************************!*\ !*** ./node_modules/@dcloudio/vue-cli-plugin-uni/lib/format-log.js ***! \*********************************************************************/ /*! exports provided: log, default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "log", function() { return log; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return formatLog; }); function typof (v) { var s = Object.prototype.toString.call(v) return s.substring(8, s.length - 1) } function isDebugMode () { /* eslint-disable no-undef */ return typeof __channelId__ === 'string' && __channelId__ } function jsonStringifyReplacer (k, p) { switch (typof(p)) { case 'Function': return 'function() { [native code] }' default : return p } } function log (type) { for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) { args[_key - 1] = arguments[_key] } console[type].apply(console, args) } function formatLog () { for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) { args[_key] = arguments[_key] } var type = args.shift() if (isDebugMode()) { args.push(args.pop().replace('at ', 'uni-app:///')) return console[type].apply(console, args) } var msgs = args.map(function (v) { var type = Object.prototype.toString.call(v).toLowerCase() if (type === '[object object]' || type === '[object array]') { try { v = '---BEGIN:JSON---' + JSON.stringify(v, jsonStringifyReplacer) + '---END:JSON---' } catch (e) { v = type } } else { if (v === null) { v = '---NULL---' } else if (v === undefined) { v = '---UNDEFINED---' } else { var vType = typof(v).toUpperCase() if (vType === 'NUMBER' || vType === 'BOOLEAN') { v = '---BEGIN:' + vType + '---' + v + '---END:' + vType + '---' } else { v = String(v) } } } return v }) var msg = '' if (msgs.length > 1) { var lastMsg = msgs.pop() msg = msgs.join('---COMMA---') if (lastMsg.indexOf(' at ') === 0) { msg += lastMsg } else { msg += '---COMMA---' + lastMsg } } else { msg = msgs[0] } console[type](msg) } /***/ }), /* 74 */ /*!*************************************************************************************************************!*\ !*** D:/项目文件/uniapp/Waterinvoice_uiapp/node_modules/@dcloudio/uni-ui/lib/uni-transition/createAnimation.js ***! \*************************************************************************************************************/ /*! no static exports found */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 1); Object.defineProperty(exports, "__esModule", { value: true }); exports.createAnimation = createAnimation; var _defineProperty2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/defineProperty */ 2)); var _classCallCheck2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/classCallCheck */ 38)); var _createClass2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/createClass */ 39)); function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; } function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { (0, _defineProperty2.default)(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; } // const defaultOption = { // duration: 300, // timingFunction: 'linear', // delay: 0, // transformOrigin: '50% 50% 0' // } var MPAnimation = /*#__PURE__*/function () { function MPAnimation(options, _this) { (0, _classCallCheck2.default)(this, MPAnimation); this.options = options; // 在iOS10+QQ小程序平台下,传给原生的对象一定是个普通对象而不是Proxy对象,否则会报parameter should be Object instead of ProxyObject的错误 this.animation = uni.createAnimation(_objectSpread({}, options)); this.currentStepAnimates = {}; this.next = 0; this.$ = _this; } (0, _createClass2.default)(MPAnimation, [{ key: "_nvuePushAnimates", value: function _nvuePushAnimates(type, args) { var aniObj = this.currentStepAnimates[this.next]; var styles = {}; if (!aniObj) { styles = { styles: {}, config: {} }; } else { styles = aniObj; } if (animateTypes1.includes(type)) { if (!styles.styles.transform) { styles.styles.transform = ''; } var unit = ''; if (type === 'rotate') { unit = 'deg'; } styles.styles.transform += "".concat(type, "(").concat(args + unit, ") "); } else { styles.styles[type] = "".concat(args); } this.currentStepAnimates[this.next] = styles; } }, { key: "_animateRun", value: function _animateRun() { var styles = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; var config = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; var ref = this.$.$refs['ani'].ref; if (!ref) return; return new Promise(function (resolve, reject) { nvueAnimation.transition(ref, _objectSpread({ styles: styles }, config), function (res) { resolve(); }); }); } }, { key: "_nvueNextAnimate", value: function _nvueNextAnimate(animates) { var _this2 = this; var step = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0; var fn = arguments.length > 2 ? arguments[2] : undefined; var obj = animates[step]; if (obj) { var styles = obj.styles, config = obj.config; this._animateRun(styles, config).then(function () { step += 1; _this2._nvueNextAnimate(animates, step, fn); }); } else { this.currentStepAnimates = {}; typeof fn === 'function' && fn(); this.isEnd = true; } } }, { key: "step", value: function step() { var config = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; this.animation.step(config); return this; } }, { key: "run", value: function run(fn) { this.$.animationData = this.animation.export(); this.$.timer = setTimeout(function () { typeof fn === 'function' && fn(); }, this.$.durationTime); } }]); return MPAnimation; }(); var animateTypes1 = ['matrix', 'matrix3d', 'rotate', 'rotate3d', 'rotateX', 'rotateY', 'rotateZ', 'scale', 'scale3d', 'scaleX', 'scaleY', 'scaleZ', 'skew', 'skewX', 'skewY', 'translate', 'translate3d', 'translateX', 'translateY', 'translateZ']; var animateTypes2 = ['opacity', 'backgroundColor']; var animateTypes3 = ['width', 'height', 'left', 'right', 'top', 'bottom']; animateTypes1.concat(animateTypes2, animateTypes3).forEach(function (type) { MPAnimation.prototype[type] = function () { var _this$animation; (_this$animation = this.animation)[type].apply(_this$animation, arguments); return this; }; }); function createAnimation(option, _this) { if (!_this) return; clearTimeout(_this.timer); return new MPAnimation(option, _this); } /***/ }), /* 75 */ /*!****************************************************************************************************************************!*\ !*** D:/项目文件/uniapp/Waterinvoice_uiapp/node_modules/@dcloudio/uni-ui/lib/uni-popup/uni-popup.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 _C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_7_1_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_using_components_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_uni_popup_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!./node_modules/babel-loader/lib!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--7-1!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/using-components.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./uni-popup.vue?vue&type=script&lang=js& */ 76); /* harmony import */ var _C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_7_1_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_using_components_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_uni_popup_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_7_1_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_using_components_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_uni_popup_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__); /* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_7_1_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_using_components_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_uni_popup_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 _C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_7_1_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_using_components_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_uni_popup_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__)); /* harmony default export */ __webpack_exports__["default"] = (_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_7_1_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_using_components_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_uni_popup_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0___default.a); /***/ }), /* 76 */ /*!*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ !*** ./node_modules/babel-loader/lib!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--7-1!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/using-components.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!D:/项目文件/uniapp/Waterinvoice_uiapp/node_modules/@dcloudio/uni-ui/lib/uni-popup/uni-popup.vue?vue&type=script&lang=js& ***! \*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ /*! no static exports found */ /***/ (function(module, exports, __webpack_require__) { "use strict"; /* WEBPACK VAR INJECTION */(function(__f__) { Object.defineProperty(exports, "__esModule", { value: true }); exports.default = void 0; // // // // // // // // // // // // // // // // // // /** * PopUp 弹出层 * @description 弹出层组件,为了解决遮罩弹层的问题 * @tutorial https://ext.dcloud.net.cn/plugin?id=329 * @property {String} type = [top|center|bottom|left|right|message|dialog|share] 弹出方式 * @value top 顶部弹出 * @value center 中间弹出 * @value bottom 底部弹出 * @value left 左侧弹出 * @value right 右侧弹出 * @value message 消息提示 * @value dialog 对话框 * @value share 底部分享示例 * @property {Boolean} animation = [true|false] 是否开启动画 * @property {Boolean} maskClick = [true|false] 蒙版点击是否关闭弹窗(废弃) * @property {Boolean} isMaskClick = [true|false] 蒙版点击是否关闭弹窗 * @property {String} backgroundColor 主窗口背景色 * @property {String} maskBackgroundColor 蒙版颜色 * @property {String} borderRadius 设置圆角(左上、右上、右下和左下) 示例:"10px 10px 10px 10px" * @property {Boolean} safeArea 是否适配底部安全区 * @event {Function} change 打开关闭弹窗触发,e={show: false} * @event {Function} maskClick 点击遮罩触发 */ var _default = { name: 'uniPopup', components: {}, emits: ['change', 'maskClick'], props: { // 开启动画 animation: { type: Boolean, default: true }, // 弹出层类型,可选值,top: 顶部弹出层;bottom:底部弹出层;center:全屏弹出层 // message: 消息提示 ; dialog : 对话框 type: { type: String, default: 'center' }, // maskClick isMaskClick: { type: Boolean, default: null }, // TODO 2 个版本后废弃属性 ,使用 isMaskClick maskClick: { type: Boolean, default: null }, backgroundColor: { type: String, default: 'none' }, safeArea: { type: Boolean, default: true }, maskBackgroundColor: { type: String, default: 'rgba(0, 0, 0, 0.4)' }, borderRadius: { type: String } }, watch: { /** * 监听type类型 */ type: { handler: function handler(type) { if (!this.config[type]) return; this[this.config[type]](true); }, immediate: true }, isDesktop: { handler: function handler(newVal) { if (!this.config[newVal]) return; this[this.config[this.type]](true); }, immediate: true }, /** * 监听遮罩是否可点击 * @param {Object} val */ maskClick: { handler: function handler(val) { this.mkclick = val; }, immediate: true }, isMaskClick: { handler: function handler(val) { this.mkclick = val; }, immediate: true }, // H5 下禁止底部滚动 showPopup: function showPopup(show) {} }, data: function data() { return { duration: 300, ani: [], showPopup: false, showTrans: false, popupWidth: 0, popupHeight: 0, config: { top: 'top', bottom: 'bottom', center: 'center', left: 'left', right: 'right', message: 'top', dialog: 'center', share: 'bottom' }, maskClass: { position: 'fixed', bottom: 0, top: 0, left: 0, right: 0, backgroundColor: 'rgba(0, 0, 0, 0.4)' }, transClass: { backgroundColor: 'transparent', borderRadius: this.borderRadius || "0", position: 'fixed', left: 0, right: 0 }, maskShow: true, mkclick: true, popupstyle: 'top' }; }, computed: { getStyles: function getStyles() { var res = { backgroundColor: this.bg }; if (this.borderRadius || "0") { res = Object.assign(res, { borderRadius: this.borderRadius }); } return res; }, isDesktop: function isDesktop() { return this.popupWidth >= 500 && this.popupHeight >= 500; }, bg: function bg() { if (this.backgroundColor === '' || this.backgroundColor === 'none') { return 'transparent'; } return this.backgroundColor; } }, mounted: function mounted() { var _this = this; var fixSize = function fixSize() { var _uni$getSystemInfoSyn = uni.getSystemInfoSync(), windowWidth = _uni$getSystemInfoSyn.windowWidth, windowHeight = _uni$getSystemInfoSyn.windowHeight, windowTop = _uni$getSystemInfoSyn.windowTop, safeArea = _uni$getSystemInfoSyn.safeArea, screenHeight = _uni$getSystemInfoSyn.screenHeight, safeAreaInsets = _uni$getSystemInfoSyn.safeAreaInsets; _this.popupWidth = windowWidth; _this.popupHeight = windowHeight + (windowTop || 0); // TODO fix by mehaotian 是否适配底部安全区 ,目前微信ios 、和 app ios 计算有差异,需要框架修复 if (safeArea && _this.safeArea) { _this.safeAreaInsets = safeAreaInsets.bottom; } else { _this.safeAreaInsets = 0; } }; fixSize(); }, // TODO vue2 destroyed: function destroyed() { this.setH5Visible(); }, activated: function activated() { this.setH5Visible(!this.showPopup); }, deactivated: function deactivated() { this.setH5Visible(true); }, created: function created() { // this.mkclick = this.isMaskClick || this.maskClick if (this.isMaskClick === null && this.maskClick === null) { this.mkclick = true; } else { this.mkclick = this.isMaskClick !== null ? this.isMaskClick : this.maskClick; } if (this.animation) { this.duration = 300; } else { this.duration = 0; } // TODO 处理 message 组件生命周期异常的问题 this.messageChild = null; // TODO 解决头条冒泡的问题 this.clearPropagation = false; this.maskClass.backgroundColor = this.maskBackgroundColor; }, methods: { setH5Visible: function setH5Visible() { var visible = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : true; }, /** * 公用方法,不显示遮罩层 */ closeMask: function closeMask() { this.maskShow = false; }, /** * 公用方法,遮罩层禁止点击 */ disableMask: function disableMask() { this.mkclick = false; }, // TODO nvue 取消冒泡 clear: function clear(e) { e.stopPropagation(); this.clearPropagation = true; }, open: function open(direction) { // fix by mehaotian 处理快速打开关闭的情况 if (this.showPopup) { return; } var innerType = ['top', 'center', 'bottom', 'left', 'right', 'message', 'dialog', 'share']; if (!(direction && innerType.indexOf(direction) !== -1)) { direction = this.type; } if (!this.config[direction]) { __f__("error", '缺少类型:', direction, " at node_modules/@dcloudio/uni-ui/lib/uni-popup/uni-popup.vue:298"); return; } this[this.config[direction]](); this.$emit('change', { show: true, type: direction }); }, close: function close(type) { var _this2 = this; this.showTrans = false; this.$emit('change', { show: false, type: this.type }); clearTimeout(this.timer); // // 自定义关闭事件 // this.customOpen && this.customClose() this.timer = setTimeout(function () { _this2.showPopup = false; }, 300); }, // TODO 处理冒泡事件,头条的冒泡事件有问题 ,先这样兼容 touchstart: function touchstart() { this.clearPropagation = false; }, onTap: function onTap() { if (this.clearPropagation) { // fix by mehaotian 兼容 nvue this.clearPropagation = false; return; } this.$emit('maskClick'); if (!this.mkclick) return; this.close(); }, /** * 顶部弹出样式处理 */ top: function top(type) { var _this3 = this; this.popupstyle = this.isDesktop ? 'fixforpc-top' : 'top'; this.ani = ['slide-top']; this.transClass = { position: 'fixed', left: 0, right: 0, backgroundColor: this.bg, borderRadius: this.borderRadius || "0" }; // TODO 兼容 type 属性 ,后续会废弃 if (type) return; this.showPopup = true; this.showTrans = true; this.$nextTick(function () { if (_this3.messageChild && _this3.type === 'message') { _this3.messageChild.timerClose(); } }); }, /** * 底部弹出样式处理 */ bottom: function bottom(type) { this.popupstyle = 'bottom'; this.ani = ['slide-bottom']; this.transClass = { position: 'fixed', left: 0, right: 0, bottom: 0, paddingBottom: this.safeAreaInsets + 'px', backgroundColor: this.bg, borderRadius: this.borderRadius || "0" }; // TODO 兼容 type 属性 ,后续会废弃 if (type) return; this.showPopup = true; this.showTrans = true; }, /** * 中间弹出样式处理 */ center: function center(type) { this.popupstyle = 'center'; //微信小程序下,组合动画会出现文字向上闪动问题,再此做特殊处理 this.ani = ['zoom-out', 'fade']; this.transClass = { position: 'fixed', display: 'flex', flexDirection: 'column', bottom: 0, left: 0, right: 0, top: 0, justifyContent: 'center', alignItems: 'center', borderRadius: this.borderRadius || "0" }; // TODO 兼容 type 属性 ,后续会废弃 if (type) return; this.showPopup = true; this.showTrans = true; }, left: function left(type) { this.popupstyle = 'left'; this.ani = ['slide-left']; this.transClass = { position: 'fixed', left: 0, bottom: 0, top: 0, backgroundColor: this.bg, borderRadius: this.borderRadius || "0", display: 'flex', flexDirection: 'column' }; // TODO 兼容 type 属性 ,后续会废弃 if (type) return; this.showPopup = true; this.showTrans = true; }, right: function right(type) { this.popupstyle = 'right'; this.ani = ['slide-right']; this.transClass = { position: 'fixed', bottom: 0, right: 0, top: 0, backgroundColor: this.bg, borderRadius: this.borderRadius || "0", display: 'flex', flexDirection: 'column' }; // TODO 兼容 type 属性 ,后续会废弃 if (type) return; this.showPopup = true; this.showTrans = true; } } }; exports.default = _default; /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/vue-cli-plugin-uni/lib/format-log.js */ 73)["default"])) /***/ }), /* 77 */ /*!***************************************************************************************************!*\ !*** D:/项目文件/uniapp/Waterinvoice_uiapp/pages/index/index.vue?vue&type=script&lang=js&mpType=page ***! \***************************************************************************************************/ /*! no static exports found */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_7_1_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_using_components_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_index_vue_vue_type_script_lang_js_mpType_page__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!./node_modules/babel-loader/lib!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--7-1!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/using-components.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./index.vue?vue&type=script&lang=js&mpType=page */ 78);\n/* harmony import */ var _C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_7_1_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_using_components_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_index_vue_vue_type_script_lang_js_mpType_page__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_7_1_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_using_components_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_index_vue_vue_type_script_lang_js_mpType_page__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_7_1_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_using_components_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_index_vue_vue_type_script_lang_js_mpType_page__WEBPACK_IMPORTED_MODULE_0__) if([\"default\"].indexOf(__WEBPACK_IMPORT_KEY__) < 0) (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_7_1_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_using_components_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_index_vue_vue_type_script_lang_js_mpType_page__WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__));\n /* harmony default export */ __webpack_exports__[\"default\"] = (_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_7_1_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_using_components_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_index_vue_vue_type_script_lang_js_mpType_page__WEBPACK_IMPORTED_MODULE_0___default.a); //# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbbnVsbF0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQXV4QixDQUFnQiwweUJBQUcsRUFBQyIsImZpbGUiOiI3Ny5qcyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCBtb2QgZnJvbSBcIi0hQzpcXFxcVXNlcnNcXFxcQWRtaW5pc3RyYXRvclxcXFxEb3dubG9hZHNcXFxcSEJ1aWxkZXJYLjMuOC40LjIwMjMwNTMxXFxcXEhCdWlsZGVyWFxcXFxwbHVnaW5zXFxcXHVuaWFwcC1jbGlcXFxcbm9kZV9tb2R1bGVzXFxcXGJhYmVsLWxvYWRlclxcXFxsaWJcXFxcaW5kZXguanMhQzpcXFxcVXNlcnNcXFxcQWRtaW5pc3RyYXRvclxcXFxEb3dubG9hZHNcXFxcSEJ1aWxkZXJYLjM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0sInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///77\n"); /***/ }), /* 78 */ /*!********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ !*** ./node_modules/babel-loader/lib!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--7-1!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/using-components.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!D:/项目文件/uniapp/Waterinvoice_uiapp/pages/index/index.vue?vue&type=script&lang=js&mpType=page ***! \********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ /*! no static exports found */ /***/ (function(module, exports, __webpack_require__) { "use strict"; eval("\n\nvar _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 1);\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar _api = _interopRequireDefault(__webpack_require__(/*! @/common/js/api.js */ 79));\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\nvar _default = {\n data: function data() {\n return {\n datetimerange: [],\n //时间\n // 首页数据\n universityList: [],\n page: 1,\n //页码\n limit: 10,\n //每页显示几条\n status: 'more',\n //状态\n //显示的状态\n contentText: {\n contentdown: '查看更多',\n contentrefresh: '加载中....',\n contentnomore: '没有更多咯'\n },\n appId: '',\n redirectUri: '',\n state: '',\n scrollTop: 0,\n //滚动条位置\n start_date: '',\n //开始日期\n end_date: '' //结束日期\n };\n },\n onLoad: function onLoad(options) {\n var url = window.location.href;\n // 获取URL中的参数对象\n var params = this.getUrlParams(url);\n\n // 获取code参数\n var code = params['code'];\n\n // 获取start参数\n var start = params['start'];\n if (!uni.getStorageSync('AccessToken')) {\n this.cont();\n }\n // this.getWxCode()\n },\n onShow: function onShow() {\n if (uni.getStorageSync('AccessToken')) {\n this.getUniversityList();\n }\n },\n mounted: function mounted() {\n if (!uni.getStorageSync('AccessToken')) {\n this.$refs.popup.open();\n }\n },\n methods: {\n // 解析URL中的参数\n getUrlParams: function getUrlParams(url) {\n var params = {};\n url.replace(/[?&]+([^=&]+)=([^&]*)/gi, function (m, key, value) {\n params[key] = value;\n });\n return params;\n },\n cont: function cont() {\n var _this = this;\n var code = this.getUrlCode('code'); // 截取路径中的code,如果没有就去微信授权,如果已经获取到了就直接传code给后台获取openId\n var state1 = this.getUrlCode('state');\n var data = {\n code: code,\n state: state1\n };\n if (code && state1) {\n _api.default.wx(data, function (res) {\n if (res.code == 1) {\n _this.removepath();\n uni.showToast({\n title: res.msg,\n icon: 'none'\n });\n uni.setStorageSync('AccessToken', res.data.token);\n uni.setStorageSync('openid', res.data.openid);\n uni.setStorageSync('phone', res.data.phone);\n _this.$refs.popup.close();\n _this.getUniversityList();\n if (!res.data.phone) {\n uni.navigateTo({\n url: \"/pages/wxlogin/registerphone\"\n });\n }\n } else {\n uni.showToast({\n title: res.msg,\n icon: 'none'\n });\n _this.login();\n }\n });\n }\n },\n getWxCode: function getWxCode() {\n var _this2 = this;\n _api.default.getWxCode({}, function (res) {\n if (res.code == 1) {\n _this2.redirectUri = res.data.redirectUri;\n _this2.appId = res.data.appId;\n _this2.state = res.data.state;\n }\n });\n },\n // 首页获取数据\n getUniversityList: function getUniversityList() {\n var _this3 = this;\n var data = {\n limit: this.limit,\n page: this.page,\n start_date: this.start_date,\n end_date: this.end_date\n };\n this.status = 'loading'; // 加载中\n setTimeout(function () {\n _api.default.Home(data, function (res) {\n if (res.code == 1) {\n _this3.page = res.data.current_page;\n _this3.limit = res.data.per_page;\n if (_this3.page === 1) {\n _this3.universityList = res.data.data;\n } else {\n _this3.universityList = _this3.universityList.concat(res.data.data);\n }\n // 判断是否还有更多数据\n if (res.data.data.length < _this3.limit) {\n _this3.status = 'noMore'; // 没有更多数据\n } else {\n _this3.status = 'more'; // 还有更多数据\n }\n }\n });\n }, 1000);\n },\n //上拉加载\n onReachBottom1: function onReachBottom1() {\n if (this.status == 'noMore') {\n return;\n }\n this.page++;\n this.getUniversityList();\n },\n // 正则匹配请求地址中的参数函数\n getUrlCode: function getUrlCode(name) {\n return decodeURIComponent((new RegExp('[?|&]' + name + '=' + '([^&;]+?)(&|#|;|$)').exec(location.href) || [, ''])[1].replace(/\\+/g, '%20')) || null;\n },\n removepath: function removepath() {\n // 获取当前 URL\n var url = window.location.href;\n // 使用正则表达式去掉 code 和 state 参数并替换成#/\n var newUrl = url.replace(/[\\?&]code=[^&]*&?/, '?').replace(/[\\?&]state=[^&]*&?/, '#/');\n // 使用 replaceState 更新 URL,而不刷新页面\n window.history.replaceState({}, document.title, newUrl);\n },\n handleDateTimeChange: function handleDateTimeChange(value) {\n if (value.length == 0) {\n this.start_date = \"\";\n this.end_date = \"\";\n this.getUniversityList();\n } else {\n this.start_date = value[0];\n this.end_date = value[1];\n this.getUniversityList();\n }\n },\n // 跳转微信登录页面\n login: function login() {\n uni.navigateTo({\n url: \"/pages/wxlogin/wxlogin\"\n });\n },\n // 跳转申请发票页面\n toInvoicing: function toInvoicing() {\n uni.navigateTo({\n url: '/pages/Invoicing/Invoicing'\n });\n },\n // 获取滚动条滑动数据\n scrolltop: function scrolltop(e) {\n this.scrollTop = e.detail.scrollTop;\n },\n // 跳转回顶部\n goTop: function goTop() {\n var _this4 = this;\n // const threshold = 4000; // 阈值:当滚动位置超过这个值时才执行\n // if (this.scrollTop < threshold) {\n var duration = 500; // 动画持续时间(毫秒)\n var start = this.scrollTop; // 开始的滚动位置\n var startTime = performance.now(); // 记录开始时间\n\n var scrollToTop = function scrollToTop() {\n var currentTime = performance.now(); // 当前时间\n var elapsed = currentTime - startTime; // 计算经过的时间\n var progress = Math.min(elapsed / duration, 1); // 计算进度(0 到 1)\n\n // 使用线性插值计算新的滚动位置\n _this4.scrollTop = start * (1 - progress);\n if (progress < 1) {\n requestAnimationFrame(scrollToTop); // 继续动画\n } else {\n _this4.scrollTop = 0; // 确保最终位置为 0\n }\n };\n\n // 开始滚动到顶部的过程\n requestAnimationFrame(scrollToTop);\n // } else {\n // 如果没有达到阈值,可以选择直接滚动到顶部\n // this.scrollTop = 0; // 直接设置为 0\n // }\n },\n toviewinvoice: function toviewinvoice(serial_number, status) {\n var serial = serial_number;\n if (uni.getStorageSync('AccessToken') && status == '已开票') {\n uni.navigateTo({\n url: \"/pages/Invoiced/Invoiced?id=\".concat(1)\n });\n } else if (!uni.getStorageSync('AccessToken')) {\n uni.showToast({\n title: '请先进行登入',\n icon: 'none'\n });\n this.$refs.popup.open();\n }\n }\n }\n};\nexports.default = _default;//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInVuaS1hcHA6Ly8vRDov6aG555uu5paH5Lu2L3VuaWFwcC9XYXRlcmludm9pY2VfdWlhcHAvcGFnZXMvaW5kZXgvaW5kZXgudnVlIl0sIm5hbWVzIjpbImRhdGEiLCJkYXRldGltZXJhbmdlIiwidW5pdmVyc2l0eUxpc3QiLCJwYWdlIiwibGltaXQiLCJzdGF0dXMiLCJjb250ZW50VGV4dCIsImNvbnRlbnRkb3duIiwiY29udGVudHJlZnJlc2giLCJjb250ZW50bm9tb3JlIiwiYXBwSWQiLCJyZWRpcmVjdFVyaSIsInN0YXRlIiwic2Nyb2xsVG9wIiwic3RhcnRfZGF0ZSIsImVuZF9kYXRlIiwib25Mb2FkIiwib25TaG93IiwibW91bnRlZCIsIm1ldGhvZHMiLCJnZXRVcmxQYXJhbXMiLCJ1cmwiLCJwYXJhbXMiLCJjb250IiwiY29kZSIsIkFQSSIsInVuaSIsInRpdGxlIiwiaWNvbiIsImdldFd4Q29kZSIsImdldFVua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0XHQvKiAjaWZkZWYgSDUgKi9cclxuXHRcdFx0XHRoZWlnaHQ6IGNhbGMoMTAwdmggLSAxNTRweCk7XHJcblx0XHRcdC8qICNlbmRpZiAqL1xyXG5cdFx0XHQvKiAjaWZkZWYgTVAtV0VJWElOIHx8IEFQUC1QTFVTICovXHJcblx0XHRcdFx0aGVpZ2h0OiBjYWxjKDEwMHZoIC0gMjE4cnB4KTtcclxuXHRcdFx0LyogI2VuZGlmICovXHJcblx0XHR9XHJcblx0fVxyXG48L3N0eWxlPlxuIl0sInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///78\n"); /***/ }), /* 79 */ /*!**********************************************************!*\ !*** D:/项目文件/uniapp/Waterinvoice_uiapp/common/js/api.js ***! \**********************************************************/ /*! no static exports found */ /***/ (function(module, exports, __webpack_require__) { "use strict"; eval("\n\nvar _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 1);\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar _defineProperty2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/defineProperty */ 2));\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { (0, _defineProperty2.default)(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }\n// let baseUrl = 'http://192.168.66.219:8000'\n\nvar baseUrl = 'https://intp.xingtongworld.com';\nvar API = {\n baseUrl: baseUrl,\n // 获取SDK数据\n getJsSdkData: function getJsSdkData(data, success, fail) {\n var boolean = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : true;\n API.sendRequest('post', data, '/wechat/Wechat/getJsSdkData', success, fail, boolean);\n },\n // 获取申请数据\n getQrCode: function getQrCode(data, success, fail) {\n var boolean = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : true;\n API.sendRequest('get', data, '/api/InvoiceIssuance/getQrCode', success, fail, boolean);\n },\n // 获取申请数据\n getApplyData: function getApplyData(data, success, fail) {\n var boolean = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : true;\n API.sendRequest('get', data, '/api/InvoiceIssuance/getApplyData', success, fail, boolean);\n },\n // 首页数据列表\n Home: function Home(data, success, fail) {\n var boolean = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : true;\n API.sendRequest('post', data, '/api/InvoiceIssuance/getList', success, fail, boolean);\n },\n // 手机号获取验证码\n sendSms: function sendSms(data, success, fail) {\n var boolean = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : true;\n API.sendRequest('post', data, '/wechat/wechat/sendSms', success, fail, boolean);\n },\n // 获取微信授权登录基本信息\n getWxCode: function getWxCode(data, success, fail) {\n API.sendRequest('get', data, '/wechat/login/getWxCode', success, fail);\n },\n // 获取微信code进行登录\n wx: function wx(data, success, fail) {\n API.sendRequest('get', data, '/wechat/login/wx', success, fail);\n },\n // 通用api\n request: function request(url, data, success, fail) {\n var boolean = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : true;\n API.sendRequest('post', data, url, success, fail, boolean);\n },\n // 请求\n sendRequest: function sendRequest(method, data, url, _success, fail, boolean) {\n var types = '';\n if (method == 'post') {\n types = 'application/x-www-form-urlencoded';\n } else {\n types = 'application/json';\n }\n var requestObj = {};\n if (boolean) {\n requestObj.header = {\n 'Content-Type': types,\n 'Accept': 'application/json, text/javascript, */*; q=0.01',\n // 'Authorization': uni.getStorageSync('user_token')||''\n 'token': uni.getStorageSync('AccessToken') || ''\n };\n }\n uni.request(_objectSpread(_objectSpread({\n url: baseUrl + url,\n method: method,\n data: data\n }, requestObj), {}, {\n success: function success(res) {\n if (res.data.code == 1) {\n _success && _success(res.data);\n return;\n }\n if (res.data.code == -14) {\n uni.removeStorageSync('AccessToken');\n uni.removeStorageSync('openid');\n setTimeout(function () {\n uni.navigateTo({\n url: \"/pages/wxlogin/wxlogin\"\n });\n }, 2600);\n }\n uni.showToast({\n title: res.data.msg || res.msg,\n icon: 'none'\n });\n\n // if(res.data.code==403 || res.data.code==201){\n // \tuni.removeStorageSync('user_token');\n // \t// setTimeout(()=>{\n // \t// \tuni.reLaunch({\n // \t// \t\turl: '/pages/login/login'\n // \t// \t\t// url: '/uni_modules/uni-id-pages/pages/login/login-withpwd'\n // \t// \t})\n // \t// }, 1000)\n // }\n }\n }));\n }\n};\nvar _default = API;\nexports.default = _default;//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInVuaS1hcHA6Ly8vRDov6aG555uu5paH5Lu2L3VuaWFwcC9XYXRlcmludm9pY2VfdWlhcHAvY29tbW9uL2pzL2FwaS5qcyJdLCJuYW1lcyI6WyJiYXNlVXJsIiwiQVBJIiwiZ2V0SnNTZGtEYXRhIiwiZGF0YSIsInN1Y2Nlc3MiLCJmYWlsIiwiYm9vbGVhbiIsInNlbmRSZXF1ZXN0IiwiZ2V0UXJDb2RlIiwiZ2V0QXBwbHlEYXRhIiwiSG9tZSIsInNlbmRTbXMiLCJnZXRXeENvZGUiLCJ3eCIsInJlcXVlc3QiLCJ1cmwiLCJtZXRob2QiLCJ0eXBlcyIsInJlcXVlc3RPYmoiLCJoZWFkZXIiLCJ1bmkiLCJnZXRTdG9yYWdlU3luYyIsInJlcyIsImNvZGUiLCJyZW1vdmVTdG9yYWdlU3luYyIsInNldFRpbWVvdXQiLCJuYXZpZ2F0ZVRvIiwic2hvd1RvYXN0Iiw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Jcblx0XHRcdFx0Ly8gaWYocmVzLmRhdGEuY29kZT09NDAzIHx8IHJlcy5kYXRhLmNvZGU9PTIwMSl7XHJcblx0XHRcdFx0Ly8gXHR1bmkucmVtb3ZlU3RvcmFnZVN5bmMoJ3VzZXJfdG9rZW4nKTtcclxuXHRcdFx0XHQvLyBcdC8vIHNldFRpbWVvdXQoKCk9PntcclxuXHRcdFx0XHQvLyBcdC8vIFx0dW5pLnJlTGF1bmNoKHtcclxuXHRcdFx0XHQvLyBcdC8vIFx0XHR1cmw6ICcvcGFnZXMvbG9naW4vbG9naW4nXHJcblx0XHRcdFx0Ly8gXHQvLyBcdFx0Ly8gdXJsOiAnL3VuaV9tb2R1bGVzL3VuaS1pZC1wYWdlcy9wYWdlcy9sb2dpbi9sb2dpbi13aXRocHdkJ1xyXG5cdFx0XHRcdC8vIFx0Ly8gXHR9KVxyXG5cdFx0XHRcdC8vIFx0Ly8gfSwgMTAwMClcclxuXHRcdFx0XHQvLyB9XHJcblx0XHRcdH1cclxuXHRcdH0pXHJcblx0fVxyXG59XHJcbmV4cG9ydCBkZWZhdWx0IEFQSTsiXSwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///79\n"); /***/ }), /* 80 */ /*!***********************************************************************************!*\ !*** D:/项目文件/uniapp/Waterinvoice_uiapp/pages/Invoicing/Invoicing.vue?mpType=page ***! \***********************************************************************************/ /*! no static exports found */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _Invoicing_vue_vue_type_template_id_0d1d89a8_scoped_true_mpType_page__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Invoicing.vue?vue&type=template&id=0d1d89a8&scoped=true&mpType=page */ 81);\n/* harmony import */ var _Invoicing_vue_vue_type_script_lang_js_mpType_page__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Invoicing.vue?vue&type=script&lang=js&mpType=page */ 132);\n/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _Invoicing_vue_vue_type_script_lang_js_mpType_page__WEBPACK_IMPORTED_MODULE_1__) if([\"default\"].indexOf(__WEBPACK_IMPORT_KEY__) < 0) (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _Invoicing_vue_vue_type_script_lang_js_mpType_page__WEBPACK_IMPORTED_MODULE_1__[key]; }) }(__WEBPACK_IMPORT_KEY__));\n/* harmony import */ var _C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/runtime/componentNormalizer.js */ 16);\n\nvar renderjs\n\n\n\n\n/* normalize component */\n\nvar component = Object(_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(\n _Invoicing_vue_vue_type_script_lang_js_mpType_page__WEBPACK_IMPORTED_MODULE_1__[\"default\"],\n _Invoicing_vue_vue_type_template_id_0d1d89a8_scoped_true_mpType_page__WEBPACK_IMPORTED_MODULE_0__[\"render\"],\n _Invoicing_vue_vue_type_template_id_0d1d89a8_scoped_true_mpType_page__WEBPACK_IMPORTED_MODULE_0__[\"staticRenderFns\"],\n false,\n null,\n \"0d1d89a8\",\n null,\n false,\n _Invoicing_vue_vue_type_template_id_0d1d89a8_scoped_true_mpType_page__WEBPACK_IMPORTED_MODULE_0__[\"components\"],\n renderjs\n)\n\ncomponent.options.__file = \"pages/Invoicing/Invoicing.vue\"\n/* harmony default export */ __webpack_exports__[\"default\"] = (component.exports);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJ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bGktcGx1Z2luLXVuaVxcXFxwYWNrYWdlc1xcXFx2dWUtbG9hZGVyXFxcXGxpYlxcXFxydW50aW1lXFxcXGNvbXBvbmVudE5vcm1hbGl6ZXIuanNcIlxudmFyIGNvbXBvbmVudCA9IG5vcm1hbGl6ZXIoXG4gIHNjcmlwdCxcbiAgcmVuZGVyLFxuICBzdGF0aWNSZW5kZXJGbnMsXG4gIGZhbHNlLFxuICBudWxsLFxuICBcIjBkMWQ4OWE4XCIsXG4gIG51bGwsXG4gIGZhbHNlLFxuICBjb21wb25lbnRzLFxuICByZW5kZXJqc1xuKVxuXG5jb21wb25lbnQub3B0aW9ucy5fX2ZpbGUgPSBcInBhZ2VzL0ludm9pY2luZy9JbnZvaWNpbmcudnVlXCJcbmV4cG9ydCBkZWZhdWx0IGNvbXBvbmVudC5leHBvcnRzIl0sInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///80\n"); /***/ }), /* 81 */ /*!*****************************************************************************************************************************!*\ !*** D:/项目文件/uniapp/Waterinvoice_uiapp/pages/Invoicing/Invoicing.vue?vue&type=template&id=0d1d89a8&scoped=true&mpType=page ***! \*****************************************************************************************************************************/ /*! exports provided: render, staticRenderFns, recyclableRender, components */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony import */ var _C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_11_0_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_filter_modules_template_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Invoicing_vue_vue_type_template_id_0d1d89a8_scoped_true_mpType_page__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!./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--11-0!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/filter-modules-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!./Invoicing.vue?vue&type=template&id=0d1d89a8&scoped=true&mpType=page */ 82); /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "render", function() { return _C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_11_0_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_filter_modules_template_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Invoicing_vue_vue_type_template_id_0d1d89a8_scoped_true_mpType_page__WEBPACK_IMPORTED_MODULE_0__["render"]; }); /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return _C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_11_0_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_filter_modules_template_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Invoicing_vue_vue_type_template_id_0d1d89a8_scoped_true_mpType_page__WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"]; }); /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "recyclableRender", function() { return _C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_11_0_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_filter_modules_template_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Invoicing_vue_vue_type_template_id_0d1d89a8_scoped_true_mpType_page__WEBPACK_IMPORTED_MODULE_0__["recyclableRender"]; }); /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "components", function() { return _C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_11_0_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_filter_modules_template_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Invoicing_vue_vue_type_template_id_0d1d89a8_scoped_true_mpType_page__WEBPACK_IMPORTED_MODULE_0__["components"]; }); /***/ }), /* 82 */ /*!*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ !*** ./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--11-0!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/filter-modules-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!D:/项目文件/uniapp/Waterinvoice_uiapp/pages/Invoicing/Invoicing.vue?vue&type=template&id=0d1d89a8&scoped=true&mpType=page ***! \*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ /*! 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 = { uniForms: __webpack_require__(/*! @dcloudio/uni-ui/lib/uni-forms/uni-forms.vue */ 83).default, uniFormsItem: __webpack_require__(/*! @dcloudio/uni-ui/lib/uni-forms-item/uni-forms-item.vue */ 99).default, uniDataSelect: __webpack_require__(/*! @dcloudio/uni-ui/lib/uni-data-select/uni-data-select.vue */ 104) .default, uniDataCheckbox: __webpack_require__(/*! @dcloudio/uni-ui/lib/uni-data-checkbox/uni-data-checkbox.vue */ 117) .default, uniCombox: __webpack_require__(/*! @dcloudio/uni-ui/lib/uni-combox/uni-combox.vue */ 122) .default, uniIcons: __webpack_require__(/*! @dcloudio/uni-ui/lib/uni-icons/uni-icons.vue */ 10).default, uniEasyinput: __webpack_require__(/*! @dcloudio/uni-ui/lib/uni-easyinput/uni-easyinput.vue */ 127).default, } } 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 return _c("view", [ _c( "view", { staticClass: _vm._$s(1, "sc", "steps_box"), attrs: { _i: 1 } }, [ _vm._l( _vm._$s(2, "f", { forItems: _vm.stepsDatas }), function (item, index, $20, $30) { return [ _c( "view", { key: _vm._$s(2, "f", { forIndex: $20, keyIndex: 0, key: index + "_0", }), staticClass: _vm._$s("3-" + $30, "sc", "view_item"), attrs: { _i: "3-" + $30 }, }, [ _vm._$s( "4-" + $30, "i", _vm.stepsIndex >= index ? true : false ) ? _c("icon", {}) : _c("view", [ _vm._v(_vm._$s("5-" + $30, "t0-0", _vm._s(index + 1))), ]), _c( "text", { style: _vm._$s("6-" + $30, "s", { color: _vm.stepsIndex >= index ? "#228ded" : "#909090", }), attrs: { _i: "6-" + $30 }, }, [_vm._v(_vm._$s("6-" + $30, "t0-0", _vm._s(item.text)))] ), ] ), _vm._$s( "7-" + $30, "i", index == _vm.stepsDatas.length - 1 ? false : true ) ? _c("view", { key: _vm._$s(2, "f", { forIndex: $20, keyIndex: 1, key: index + "_1", }), class: _vm._$s("7-" + $30, "c", [ "view_line", _vm.stepsIndex <= index ? "line_bgcolor1" : "line_bgcolor", ]), attrs: { _i: "7-" + $30 }, }) : _vm._e(), ] } ), ], 2 ), _c("view", { staticClass: _vm._$s(8, "sc", "write"), attrs: { _i: 8 } }, [ _c( "view", { staticClass: _vm._$s(9, "sc", "flex flex-direction-column"), attrs: { _i: 9 }, }, [ _c( "view", { staticClass: _vm._$s(10, "sc", "header"), attrs: { _i: 10 } }, [ _vm._$s(11, "i", _vm.stepsIndex === 0) ? _c("view", [ _c("view", { staticClass: _vm._$s(12, "sc", "form-title"), attrs: { _i: 12 }, }), _c( "view", { staticClass: _vm._$s(13, "sc", "form-box"), attrs: { _i: 13 }, }, [ _c( "uni-forms", { ref: "form", attrs: { modelValue: _vm.list1, _i: 14 }, }, [ _c( "uni-forms-item", { attrs: { label: "开票项目:", required: true, name: "name", "label-width": 80, _i: 15, }, }, [ _c("uni-data-select", { attrs: { localdata: _vm.range, placeholder: "请选择开票项目", _i: 16, }, model: { value: _vm._$s( 16, "v-model", _vm.list1.project_id ), callback: function ($$v) { _vm.$set(_vm.list1, "project_id", $$v) }, expression: "list1.project_id", }, }), ], 1 ), _c( "uni-forms-item", { attrs: { label: "合并开票:", required: true, name: "name", "label-width": 80, _i: 17, }, }, [ _c("uni-data-checkbox", { attrs: { localdata: _vm.mergelist, _i: 18 }, model: { value: _vm._$s( 18, "v-model", _vm.list1.merge ), callback: function ($$v) { _vm.$set(_vm.list1, "merge", $$v) }, expression: "list1.merge", }, }), ], 1 ), _c( "uni-forms-item", { attrs: { label: "用户编号:", required: true, name: "name", "label-width": 80, _i: 19, }, }, [ _c("uni-combox", { attrs: { border: false, candidates: _vm.candidates, placeholder: "请选择或输入用户编号", _i: 20, }, model: { value: _vm._$s( 20, "v-model", _vm.list1.pucode_id ), callback: function ($$v) { _vm.$set(_vm.list1, "pucode_id", $$v) }, expression: "list1.pucode_id", }, }), ], 1 ), _c( "uni-forms-item", { attrs: { label: "到期:", required: true, name: "name", placeholder: "请选择账期", "label-width": 80, _i: 21, }, }, [ _c( "picker", { attrs: { _i: 22 }, on: { change: _vm.bindDateChange }, model: { value: _vm._$s( 22, "v-model", _vm.list1.expire_time ), callback: function ($$v) { _vm.$set(_vm.list1, "expire_time", $$v) }, expression: "list1.expire_time", }, }, [ _c( "view", { staticClass: _vm._$s( 23, "sc", "picker_box" ), attrs: { _i: 23 }, }, [ _c( "view", { staticClass: _vm._$s( 24, "sc", "uni-input" ), attrs: { _i: 24 }, }, [ _vm._v( _vm._$s( 24, "t0-0", _vm._s(_vm.list1.expire_time) ) ), ] ), _c( "view", [ _c("uni-icons", { attrs: { type: "down", size: "30rpx", _i: 26, }, }), ], 1 ), ] ), ] ), ] ), _c("view", { staticClass: _vm._$s(27, "sc", "form-title"), attrs: { _i: 27 }, }), _c( "uni-forms-item", { attrs: { label: "手机号:", required: true, name: "name", "label-width": 80, _i: 28, }, }, [ _c("uni-easyinput", { attrs: { type: "text", styles: _vm.styles, inputBorder: false, placeholder: "请输入可用手机号码", _i: 29, }, on: { blur: _vm.onInput }, model: { value: _vm._$s( 29, "v-model", _vm.list1.phone ), callback: function ($$v) { _vm.$set(_vm.list1, "phone", $$v) }, expression: "list1.phone", }, }), ], 1 ), _c( "uni-forms-item", { attrs: { label: "邮箱:", required: true, name: "name", "label-width": 80, _i: 30, }, }, [ _c("uni-easyinput", { attrs: { type: "text", inputBorder: false, placeholder: "请输入邮箱", _i: 31, }, on: { blur: _vm.validateEmail }, model: { value: _vm._$s( 31, "v-model", _vm.list1.email ), callback: function ($$v) { _vm.$set(_vm.list1, "email", $$v) }, expression: "list1.email", }, }), ], 1 ), ], 1 ), ], 1 ), ]) : _vm._e(), _vm._$s(32, "i", _vm.stepsIndex === 1) ? _c( "view", [ _c( "view", { staticClass: _vm._$s(33, "sc", "lookup"), attrs: { _i: 33 }, }, [ _c("view", { staticClass: _vm._$s(34, "sc", "lookup-title"), attrs: { _i: 34 }, }), _c( "view", { staticClass: _vm._$s(35, "sc", "lookup-title1"), attrs: { _i: 35 }, on: { click: _vm.Obtain }, }, [ _c("uni-icons", { attrs: { type: "redo-filled", size: "30rpx", color: "#007aff", _i: 36, }, }), ], 1 ), ] ), _c( "uni-forms", { ref: "form1", attrs: { modelValue: _vm.list2, _i: 37 }, }, [ _c( "uni-forms-item", { attrs: { label: "抬头类型", required: true, name: "name", "label-width": 80, _i: 38, }, }, [ _c("uni-data-checkbox", { attrs: { localdata: _vm.headerType, _i: 39 }, model: { value: _vm._$s(39, "v-model", _vm.list2.type), callback: function ($$v) { _vm.$set(_vm.list2, "type", $$v) }, expression: "list2.type", }, }), ], 1 ), _c( "uni-forms-item", { attrs: { label: "名称", required: true, name: "name", "label-width": 80, _i: 40, }, }, [ _c("uni-easyinput", { attrs: { type: "text", inputBorder: false, placeholder: "请输入抬头名称", _i: 41, }, model: { value: _vm._$s( 41, "v-model", _vm.list2.title ), callback: function ($$v) { _vm.$set(_vm.list2, "title", $$v) }, expression: "list2.title", }, }), ], 1 ), _c( "uni-forms-item", { attrs: { label: "税号", required: true, name: "name", "label-width": 80, _i: 42, }, }, [ _c("uni-easyinput", { attrs: { type: "text", inputBorder: false, placeholder: "请输入纳税人识别号", _i: 43, }, on: { blur: _vm.taxiD }, model: { value: _vm._$s( 43, "v-model", _vm.list2.tax_number ), callback: function ($$v) { _vm.$set(_vm.list2, "tax_number", $$v) }, expression: "list2.tax_number", }, }), ], 1 ), ], 1 ), ], 1 ) : _vm._e(), _vm._$s(44, "i", _vm.stepsIndex === 2) ? _c( "view", [ _c("view", { staticClass: _vm._$s(45, "sc", "form-title"), attrs: { _i: 45 }, }), _c( "uni-forms", { attrs: { _i: 46 } }, [ _c( "uni-forms-item", { attrs: { label: "开票项目", name: "name", "label-width": 80, _i: 47, }, }, [ _c( "view", { staticClass: _vm._$s(48, "sc", "list3_box"), attrs: { _i: 48 }, }, [ _vm._v( _vm._$s( 48, "t0-0", _vm._s( _vm.project_id1(_vm.list1.project_id) ) ) ), ] ), ] ), _c( "uni-forms-item", { attrs: { label: "开票金额", name: "name", "label-width": 80, _i: 49, }, }, [ _c( "view", { staticClass: _vm._$s(50, "sc", "list3_box"), attrs: { _i: 50 }, }, [ _vm._v( _vm._$s(50, "t0-0", _vm._s(_vm.amount)) ), ] ), ] ), _c("view", { staticClass: _vm._$s(51, "sc", "form-title"), attrs: { _i: 51 }, }), _c( "uni-forms-item", { attrs: { label: "抬头类型", name: "name", "label-width": 80, _i: 52, }, }, [ _c("uni-data-checkbox", { attrs: { localdata: _vm.headerType1, _i: 53 }, model: { value: _vm._$s(53, "v-model", _vm.list2.type), callback: function ($$v) { _vm.$set(_vm.list2, "type", $$v) }, expression: "list2.type", }, }), ], 1 ), _c( "uni-forms-item", { attrs: { label: "名称", name: "name", "label-width": 80, _i: 54, }, }, [ _c( "view", { staticClass: _vm._$s(55, "sc", "list3_box"), attrs: { _i: 55 }, }, [ _vm._v( _vm._$s(55, "t0-0", _vm._s(_vm.list2.title)) ), ] ), ] ), _c( "uni-forms-item", { attrs: { label: "税号", name: "name", "label-width": 80, _i: 56, }, }, [ _c( "view", { staticClass: _vm._$s(57, "sc", "list3_box"), attrs: { _i: 57 }, }, [ _vm._v( _vm._$s( 57, "t0-0", _vm._s(_vm.list2.tax_number) ) ), ] ), ] ), _c("view", { staticClass: _vm._$s(58, "sc", "form-title"), attrs: { _i: 58 }, }), _c( "uni-forms-item", { attrs: { label: "邮箱", name: "name", "label-width": 80, _i: 59, }, }, [ _c( "view", { staticClass: _vm._$s(60, "sc", "list3_box"), attrs: { _i: 60 }, }, [ _vm._v( _vm._$s(60, "t0-0", _vm._s(_vm.list1.email)) ), ] ), ] ), _c( "uni-forms-item", { attrs: { label: "手机号", name: "name", "label-width": 80, _i: 61, }, }, [ _c( "view", { staticClass: _vm._$s(62, "sc", "list3_box"), attrs: { _i: 62 }, }, [ _vm._v( _vm._$s(62, "t0-0", _vm._s(_vm.list1.phone)) ), ] ), ] ), ], 1 ), ], 1 ) : _vm._e(), ] ), ] ), ]), _c( "view", { staticClass: _vm._$s(63, "sc", "flex justify-end"), attrs: { _i: 63 } }, [ _c( "view", { staticClass: _vm._$s(64, "sc", "bottom"), attrs: { _i: 64 } }, [ _vm._$s(65, "i", _vm.stepsIndex !== 0) ? _c("button", { staticClass: _vm._$s(65, "sc", "btn1"), attrs: { _i: 65 }, on: { click: _vm.changeSteps }, }) : _vm._e(), ] ), _c( "view", { staticClass: _vm._$s(66, "sc", "bottom bottom-next"), attrs: { _i: 66 }, }, [ _vm._$s(67, "i", _vm.stepsIndex !== 2) ? _c("button", { staticClass: _vm._$s(67, "sc", "btn"), attrs: { _i: 67 }, on: { click: _vm.changeSteps }, }) : _vm._e(), ] ), _c( "view", { staticClass: _vm._$s(68, "sc", "bottom bottom-next"), attrs: { _i: 68 }, }, [ _vm._$s(69, "i", _vm.stepsIndex !== 0 && _vm.stepsIndex !== 1) ? _c("button", { staticClass: _vm._$s(69, "sc", "btn"), attrs: { _i: 69 }, on: { click: _vm.submitForm }, }) : _vm._e(), ] ), ] ), ]) } var recyclableRender = false var staticRenderFns = [] render._withStripped = true /***/ }), /* 83 */ /*!***************************************************************************************************!*\ !*** D:/项目文件/uniapp/Waterinvoice_uiapp/node_modules/@dcloudio/uni-ui/lib/uni-forms/uni-forms.vue ***! \***************************************************************************************************/ /*! no static exports found */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony import */ var _uni_forms_vue_vue_type_template_id_5a49926c___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./uni-forms.vue?vue&type=template&id=5a49926c& */ 84); /* harmony import */ var _uni_forms_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./uni-forms.vue?vue&type=script&lang=js& */ 86); /* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _uni_forms_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 _uni_forms_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__[key]; }) }(__WEBPACK_IMPORT_KEY__)); /* harmony import */ var _C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/runtime/componentNormalizer.js */ 16); var renderjs /* normalize component */ var component = Object(_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_2__["default"])( _uni_forms_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__["default"], _uni_forms_vue_vue_type_template_id_5a49926c___WEBPACK_IMPORTED_MODULE_0__["render"], _uni_forms_vue_vue_type_template_id_5a49926c___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"], false, null, null, null, false, _uni_forms_vue_vue_type_template_id_5a49926c___WEBPACK_IMPORTED_MODULE_0__["components"], renderjs ) component.options.__file = "node_modules/@dcloudio/uni-ui/lib/uni-forms/uni-forms.vue" /* harmony default export */ __webpack_exports__["default"] = (component.exports); /***/ }), /* 84 */ /*!**********************************************************************************************************************************!*\ !*** D:/项目文件/uniapp/Waterinvoice_uiapp/node_modules/@dcloudio/uni-ui/lib/uni-forms/uni-forms.vue?vue&type=template&id=5a49926c& ***! \**********************************************************************************************************************************/ /*! exports provided: render, staticRenderFns, recyclableRender, components */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony import */ var _C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_11_0_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_filter_modules_template_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_uni_forms_vue_vue_type_template_id_5a49926c___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!./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--11-0!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/filter-modules-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!./uni-forms.vue?vue&type=template&id=5a49926c& */ 85); /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "render", function() { return _C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_11_0_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_filter_modules_template_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_uni_forms_vue_vue_type_template_id_5a49926c___WEBPACK_IMPORTED_MODULE_0__["render"]; }); /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return _C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_11_0_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_filter_modules_template_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_uni_forms_vue_vue_type_template_id_5a49926c___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"]; }); /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "recyclableRender", function() { return _C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_11_0_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_filter_modules_template_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_uni_forms_vue_vue_type_template_id_5a49926c___WEBPACK_IMPORTED_MODULE_0__["recyclableRender"]; }); /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "components", function() { return _C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_11_0_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_filter_modules_template_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_uni_forms_vue_vue_type_template_id_5a49926c___WEBPACK_IMPORTED_MODULE_0__["components"]; }); /***/ }), /* 85 */ /*!**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ !*** ./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--11-0!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/filter-modules-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!D:/项目文件/uniapp/Waterinvoice_uiapp/node_modules/@dcloudio/uni-ui/lib/uni-forms/uni-forms.vue?vue&type=template&id=5a49926c& ***! \**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ /*! 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 var render = function () { var _vm = this var _h = _vm.$createElement var _c = _vm._self._c || _h return _c( "view", { staticClass: _vm._$s(0, "sc", "uni-forms"), attrs: { _i: 0 } }, [_c("form", [_vm._t("default", null, { _i: 2 })], 2)] ) } var recyclableRender = false var staticRenderFns = [] render._withStripped = true /***/ }), /* 86 */ /*!****************************************************************************************************************************!*\ !*** D:/项目文件/uniapp/Waterinvoice_uiapp/node_modules/@dcloudio/uni-ui/lib/uni-forms/uni-forms.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 _C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_7_1_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_using_components_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_uni_forms_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!./node_modules/babel-loader/lib!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--7-1!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/using-components.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./uni-forms.vue?vue&type=script&lang=js& */ 87); /* harmony import */ var _C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_7_1_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_using_components_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_uni_forms_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_7_1_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_using_components_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_uni_forms_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__); /* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_7_1_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_using_components_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_uni_forms_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 _C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_7_1_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_using_components_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_uni_forms_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__)); /* harmony default export */ __webpack_exports__["default"] = (_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_7_1_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_using_components_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_uni_forms_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0___default.a); /***/ }), /* 87 */ /*!*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ !*** ./node_modules/babel-loader/lib!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--7-1!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/using-components.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!D:/项目文件/uniapp/Waterinvoice_uiapp/node_modules/@dcloudio/uni-ui/lib/uni-forms/uni-forms.vue?vue&type=script&lang=js& ***! \*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ /*! no static exports found */ /***/ (function(module, exports, __webpack_require__) { "use strict"; /* WEBPACK VAR INJECTION */(function(__f__) { var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 1); Object.defineProperty(exports, "__esModule", { value: true }); exports.default = void 0; var _regenerator = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/regenerator */ 88)); var _asyncToGenerator2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/asyncToGenerator */ 90)); var _defineProperty2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/defineProperty */ 2)); var _validate = _interopRequireDefault(__webpack_require__(/*! ./validate.js */ 91)); var _utils = __webpack_require__(/*! ./utils.js */ 97); var _vue = _interopRequireDefault(__webpack_require__(/*! vue */ 98)); // // // // // // // // // 后续会慢慢废弃这个方法 _vue.default.prototype.binddata = function (name, value, formName) { if (formName) { this.$refs[formName].setValue(name, value); } else { var formVm; for (var i in this.$refs) { var vm = this.$refs[i]; if (vm && vm.$options && vm.$options.name === 'uniForms') { formVm = vm; break; } } if (!formVm) return __f__("error", '当前 uni-froms 组件缺少 ref 属性', " at node_modules/@dcloudio/uni-ui/lib/uni-forms/uni-forms.vue:38"); formVm.setValue(name, value); } }; /** * Forms 表单 * @description 由输入框、选择器、单选框、多选框等控件组成,用以收集、校验、提交数据 * @tutorial https://ext.dcloud.net.cn/plugin?id=2773 * @property {Object} rules 表单校验规则 * @property {String} validateTrigger = [bind|submit|blur] 校验触发器方式 默认 submit * @value bind 发生变化时触发 * @value submit 提交时触发 * @value blur 失去焦点时触发 * @property {String} labelPosition = [top|left] label 位置 默认 left * @value top 顶部显示 label * @value left 左侧显示 label * @property {String} labelWidth label 宽度,默认 70px * @property {String} labelAlign = [left|center|right] label 居中方式 默认 left * @value left label 左侧显示 * @value center label 居中 * @value right label 右侧对齐 * @property {String} errShowType = [undertext|toast|modal] 校验错误信息提示方式 * @value undertext 错误信息在底部显示 * @value toast 错误信息toast显示 * @value modal 错误信息modal显示 * @event {Function} submit 提交时触发 * @event {Function} validate 校验结果发生变化触发 */ var _default2 = { name: 'uniForms', emits: ['validate', 'submit'], options: { virtualHost: true }, props: { // 即将弃用 value: { type: Object, default: function _default() { return null; } }, // vue3 替换 value 属性 modelValue: { type: Object, default: function _default() { return null; } }, // 1.4.0 开始将不支持 v-model ,且废弃 value 和 modelValue model: { type: Object, default: function _default() { return null; } }, // 表单校验规则 rules: { type: Object, default: function _default() { return {}; } }, //校验错误信息提示方式 默认 undertext 取值 [undertext|toast|modal] errShowType: { type: String, default: 'undertext' }, // 校验触发器方式 默认 bind 取值 [bind|submit] validateTrigger: { type: String, default: 'submit' }, // label 位置,默认 left 取值 top/left labelPosition: { type: String, default: 'left' }, // label 宽度 labelWidth: { type: [String, Number], default: '' }, // label 居中方式,默认 left 取值 left/center/right labelAlign: { type: String, default: 'left' }, border: { type: Boolean, default: false } }, provide: function provide() { return { uniForm: this }; }, data: function data() { return { // 表单本地值的记录,不应该与传如的值进行关联 formData: {}, formRules: {} }; }, computed: { // 计算数据源变化的 localData: function localData() { var localVal = this.model || this.modelValue || this.value; if (localVal) { return (0, _utils.deepCopy)(localVal); } return {}; } }, watch: { // 监听数据变化 ,暂时不使用,需要单独赋值 // localData: {}, // 监听规则变化 rules: { handler: function handler(val, oldVal) { this.setRules(val); }, deep: true, immediate: true } }, created: function created() { // 子组件实例数组 this.childrens = []; // TODO 兼容旧版 uni-data-picker ,新版本中无效,只是避免报错 this.inputChildrens = []; this.setRules(this.rules); }, methods: { /** * 外部调用方法 * 设置规则 ,主要用于小程序自定义检验规则 * @param {Array} rules 规则源数据 */ setRules: function setRules(rules) { // TODO 有可能子组件合并规则的时机比这个要早,所以需要合并对象 ,而不是直接赋值,可能会被覆盖 this.formRules = Object.assign({}, this.formRules, rules); // 初始化校验函数 this.validator = new _validate.default(rules); }, /** * 外部调用方法 * 设置数据,用于设置表单数据,公开给用户使用 , 不支持在动态表单中使用 * @param {Object} key * @param {Object} value */ setValue: function setValue(key, value) { var example = this.childrens.find(function (child) { return child.name === key; }); if (!example) return null; this.formData[key] = (0, _utils.getValue)(key, value, this.formRules[key] && this.formRules[key].rules || []); return example.onFieldChange(this.formData[key]); }, /** * 外部调用方法 * 手动提交校验表单 * 对整个表单进行校验的方法,参数为一个回调函数。 * @param {Array} keepitem 保留不参与校验的字段 * @param {type} callback 方法回调 */ validate: function validate(keepitem, callback) { return this.checkAll(this.formData, keepitem, callback); }, /** * 外部调用方法 * 部分表单校验 * @param {Array|String} props 需要校验的字段 * @param {Function} 回调函数 */ validateField: function validateField() { var _this = this; var props = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : []; var callback = arguments.length > 1 ? arguments[1] : undefined; props = [].concat(props); var invalidFields = {}; this.childrens.forEach(function (item) { var name = (0, _utils.realName)(item.name); if (props.indexOf(name) !== -1) { invalidFields = Object.assign({}, invalidFields, (0, _defineProperty2.default)({}, name, _this.formData[name])); } }); return this.checkAll(invalidFields, [], callback); }, /** * 外部调用方法 * 移除表单项的校验结果。传入待移除的表单项的 prop 属性或者 prop 组成的数组,如不传则移除整个表单的校验结果 * @param {Array|String} props 需要移除校验的字段 ,不填为所有 */ clearValidate: function clearValidate() { var props = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : []; props = [].concat(props); this.childrens.forEach(function (item) { if (props.length === 0) { item.errMsg = ''; } else { var name = (0, _utils.realName)(item.name); if (props.indexOf(name) !== -1) { item.errMsg = ''; } } }); }, /** * 外部调用方法 ,即将废弃 * 手动提交校验表单 * 对整个表单进行校验的方法,参数为一个回调函数。 * @param {Array} keepitem 保留不参与校验的字段 * @param {type} callback 方法回调 */ submit: function submit(keepitem, callback, type) { var _this2 = this; var _loop = function _loop(i) { var itemData = _this2.childrens.find(function (v) { return v.name === i; }); if (itemData) { if (_this2.formData[i] === undefined) { _this2.formData[i] = _this2._getValue(i, _this2.dataValue[i]); } } }; for (var i in this.dataValue) { _loop(i); } if (!type) { __f__("warn", 'submit 方法即将废弃,请使用validate方法代替!', " at node_modules/@dcloudio/uni-ui/lib/uni-forms/uni-forms.vue:289"); } return this.checkAll(this.formData, keepitem, callback, 'submit'); }, // 校验所有 checkAll: function checkAll(invalidFields, keepitem, callback, type) { var _this3 = this; return (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee() { var childrens, _loop2, i, promise, results, tempFormData, _i, child, name, result, resetFormData; return _regenerator.default.wrap(function _callee$(_context) { while (1) { switch (_context.prev = _context.next) { case 0: if (_this3.validator) { _context.next = 2; break; } return _context.abrupt("return"); case 2: childrens = []; // 处理参与校验的item实例 _loop2 = function _loop2(i) { var item = _this3.childrens.find(function (v) { return (0, _utils.realName)(v.name) === i; }); if (item) { childrens.push(item); } }; for (i in invalidFields) { _loop2(i); } // 如果validate第一个参数是funciont ,那就走回调 if (!callback && typeof keepitem === 'function') { callback = keepitem; } // 如果不存在回调,那么使用 Promise 方式返回 if (!callback && typeof callback !== 'function' && Promise) { promise = new Promise(function (resolve, reject) { callback = function callback(valid, invalidFields) { !valid ? resolve(invalidFields) : reject(valid); }; }); } results = []; // 避免引用错乱 ,建议拷贝对象处理 tempFormData = JSON.parse(JSON.stringify(invalidFields)); // 所有子组件参与校验,使用 for 可以使用 awiat _context.t0 = _regenerator.default.keys(childrens); case 10: if ((_context.t1 = _context.t0()).done) { _context.next = 23; break; } _i = _context.t1.value; child = childrens[_i]; name = (0, _utils.realName)(child.name); _context.next = 16; return child.onFieldChange(tempFormData[name]); case 16: result = _context.sent; if (!result) { _context.next = 21; break; } results.push(result); // toast ,modal 只需要执行第一次就可以 if (!(_this3.errShowType === 'toast' || _this3.errShowType === 'modal')) { _context.next = 21; break; } return _context.abrupt("break", 23); case 21: _context.next = 10; break; case 23: if (Array.isArray(results)) { if (results.length === 0) results = null; } if (Array.isArray(keepitem)) { keepitem.forEach(function (v) { var vName = (0, _utils.realName)(v); var value = (0, _utils.getDataValue)(v, _this3.localData); if (value !== undefined) { tempFormData[vName] = value; } }); } // TODO submit 即将废弃 if (type === 'submit') { _this3.$emit('submit', { detail: { value: tempFormData, errors: results } }); } else { _this3.$emit('validate', results); } // const resetFormData = rawData(tempFormData, this.localData, this.name) resetFormData = {}; resetFormData = (0, _utils.rawData)(tempFormData, _this3.name); callback && typeof callback === 'function' && callback(results, resetFormData); if (!(promise && callback)) { _context.next = 33; break; } return _context.abrupt("return", promise); case 33: return _context.abrupt("return", null); case 34: case "end": return _context.stop(); } } }, _callee); }))(); }, /** * 返回validate事件 * @param {Object} result */ validateCheck: function validateCheck(result) { this.$emit('validate', result); }, _getValue: _utils.getValue, _isRequiredField: _utils.isRequiredField, _setDataValue: _utils.setDataValue, _getDataValue: _utils.getDataValue, _realName: _utils.realName, _isRealName: _utils.isRealName, _isEqual: _utils.isEqual } }; exports.default = _default2; /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/vue-cli-plugin-uni/lib/format-log.js */ 73)["default"])) /***/ }), /* 88 */ /*!**********************************************************!*\ !*** ./node_modules/@babel/runtime/regenerator/index.js ***! \**********************************************************/ /*! no static exports found */ /***/ (function(module, exports, __webpack_require__) { var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 4); // TODO(Babel 8): Remove this file. var runtime = __webpack_require__(/*! ../helpers/regeneratorRuntime */ 89)(); module.exports = runtime; // Copied from https://github.com/facebook/regenerator/blob/main/packages/runtime/runtime.js#L736= try { regeneratorRuntime = runtime; } catch (accidentalStrictMode) { if ((typeof globalThis === "undefined" ? "undefined" : _typeof(globalThis)) === "object") { globalThis.regeneratorRuntime = runtime; } else { Function("r", "regeneratorRuntime = r")(runtime); } } /***/ }), /* 89 */ /*!*******************************************************************!*\ !*** ./node_modules/@babel/runtime/helpers/regeneratorRuntime.js ***! \*******************************************************************/ /*! no static exports found */ /***/ (function(module, exports, __webpack_require__) { var _typeof = __webpack_require__(/*! ./typeof.js */ 4)["default"]; function _regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ module.exports = _regeneratorRuntime = function _regeneratorRuntime() { return exports; }, module.exports.__esModule = true, module.exports["default"] = module.exports; var exports = {}, Op = Object.prototype, hasOwn = Op.hasOwnProperty, defineProperty = Object.defineProperty || function (obj, key, desc) { obj[key] = desc.value; }, $Symbol = "function" == typeof Symbol ? Symbol : {}, iteratorSymbol = $Symbol.iterator || "@@iterator", asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator", toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag"; function define(obj, key, value) { return Object.defineProperty(obj, key, { value: value, enumerable: !0, configurable: !0, writable: !0 }), obj[key]; } try { define({}, ""); } catch (err) { define = function define(obj, key, value) { return obj[key] = value; }; } function wrap(innerFn, outerFn, self, tryLocsList) { var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator, generator = Object.create(protoGenerator.prototype), context = new Context(tryLocsList || []); return defineProperty(generator, "_invoke", { value: makeInvokeMethod(innerFn, self, context) }), generator; } function tryCatch(fn, obj, arg) { try { return { type: "normal", arg: fn.call(obj, arg) }; } catch (err) { return { type: "throw", arg: err }; } } exports.wrap = wrap; var ContinueSentinel = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var IteratorPrototype = {}; define(IteratorPrototype, iteratorSymbol, function () { return this; }); var getProto = Object.getPrototypeOf, NativeIteratorPrototype = getProto && getProto(getProto(values([]))); NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype); var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype); function defineIteratorMethods(prototype) { ["next", "throw", "return"].forEach(function (method) { define(prototype, method, function (arg) { return this._invoke(method, arg); }); }); } function AsyncIterator(generator, PromiseImpl) { function invoke(method, arg, resolve, reject) { var record = tryCatch(generator[method], generator, arg); if ("throw" !== record.type) { var result = record.arg, value = result.value; return value && "object" == _typeof(value) && hasOwn.call(value, "__await") ? PromiseImpl.resolve(value.__await).then(function (value) { invoke("next", value, resolve, reject); }, function (err) { invoke("throw", err, resolve, reject); }) : PromiseImpl.resolve(value).then(function (unwrapped) { result.value = unwrapped, resolve(result); }, function (error) { return invoke("throw", error, resolve, reject); }); } reject(record.arg); } var previousPromise; defineProperty(this, "_invoke", { value: function value(method, arg) { function callInvokeWithMethodAndArg() { return new PromiseImpl(function (resolve, reject) { invoke(method, arg, resolve, reject); }); } return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); } }); } function makeInvokeMethod(innerFn, self, context) { var state = "suspendedStart"; return function (method, arg) { if ("executing" === state) throw new Error("Generator is already running"); if ("completed" === state) { if ("throw" === method) throw arg; return doneResult(); } for (context.method = method, context.arg = arg;;) { var delegate = context.delegate; if (delegate) { var delegateResult = maybeInvokeDelegate(delegate, context); if (delegateResult) { if (delegateResult === ContinueSentinel) continue; return delegateResult; } } if ("next" === context.method) context.sent = context._sent = context.arg;else if ("throw" === context.method) { if ("suspendedStart" === state) throw state = "completed", context.arg; context.dispatchException(context.arg); } else "return" === context.method && context.abrupt("return", context.arg); state = "executing"; var record = tryCatch(innerFn, self, context); if ("normal" === record.type) { if (state = context.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel) continue; return { value: record.arg, done: context.done }; } "throw" === record.type && (state = "completed", context.method = "throw", context.arg = record.arg); } }; } function maybeInvokeDelegate(delegate, context) { var methodName = context.method, method = delegate.iterator[methodName]; if (undefined === method) return context.delegate = null, "throw" === methodName && delegate.iterator["return"] && (context.method = "return", context.arg = undefined, maybeInvokeDelegate(delegate, context), "throw" === context.method) || "return" !== methodName && (context.method = "throw", context.arg = new TypeError("The iterator does not provide a '" + methodName + "' method")), ContinueSentinel; var record = tryCatch(method, delegate.iterator, context.arg); if ("throw" === record.type) return context.method = "throw", context.arg = record.arg, context.delegate = null, ContinueSentinel; var info = record.arg; return info ? info.done ? (context[delegate.resultName] = info.value, context.next = delegate.nextLoc, "return" !== context.method && (context.method = "next", context.arg = undefined), context.delegate = null, ContinueSentinel) : info : (context.method = "throw", context.arg = new TypeError("iterator result is not an object"), context.delegate = null, ContinueSentinel); } function pushTryEntry(locs) { var entry = { tryLoc: locs[0] }; 1 in locs && (entry.catchLoc = locs[1]), 2 in locs && (entry.finallyLoc = locs[2], entry.afterLoc = locs[3]), this.tryEntries.push(entry); } function resetTryEntry(entry) { var record = entry.completion || {}; record.type = "normal", delete record.arg, entry.completion = record; } function Context(tryLocsList) { this.tryEntries = [{ tryLoc: "root" }], tryLocsList.forEach(pushTryEntry, this), this.reset(!0); } function values(iterable) { if (iterable) { var iteratorMethod = iterable[iteratorSymbol]; if (iteratorMethod) return iteratorMethod.call(iterable); if ("function" == typeof iterable.next) return iterable; if (!isNaN(iterable.length)) { var i = -1, next = function next() { for (; ++i < iterable.length;) { if (hasOwn.call(iterable, i)) return next.value = iterable[i], next.done = !1, next; } return next.value = undefined, next.done = !0, next; }; return next.next = next; } } return { next: doneResult }; } function doneResult() { return { value: undefined, done: !0 }; } return GeneratorFunction.prototype = GeneratorFunctionPrototype, defineProperty(Gp, "constructor", { value: GeneratorFunctionPrototype, configurable: !0 }), defineProperty(GeneratorFunctionPrototype, "constructor", { value: GeneratorFunction, configurable: !0 }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports.isGeneratorFunction = function (genFun) { var ctor = "function" == typeof genFun && genFun.constructor; return !!ctor && (ctor === GeneratorFunction || "GeneratorFunction" === (ctor.displayName || ctor.name)); }, exports.mark = function (genFun) { return Object.setPrototypeOf ? Object.setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define(genFun, toStringTagSymbol, "GeneratorFunction")), genFun.prototype = Object.create(Gp), genFun; }, exports.awrap = function (arg) { return { __await: arg }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, asyncIteratorSymbol, function () { return this; }), exports.AsyncIterator = AsyncIterator, exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) { void 0 === PromiseImpl && (PromiseImpl = Promise); var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl); return exports.isGeneratorFunction(outerFn) ? iter : iter.next().then(function (result) { return result.done ? result.value : iter.next(); }); }, defineIteratorMethods(Gp), define(Gp, toStringTagSymbol, "Generator"), define(Gp, iteratorSymbol, function () { return this; }), define(Gp, "toString", function () { return "[object Generator]"; }), exports.keys = function (val) { var object = Object(val), keys = []; for (var key in object) { keys.push(key); } return keys.reverse(), function next() { for (; keys.length;) { var key = keys.pop(); if (key in object) return next.value = key, next.done = !1, next; } return next.done = !0, next; }; }, exports.values = values, Context.prototype = { constructor: Context, reset: function reset(skipTempReset) { if (this.prev = 0, this.next = 0, this.sent = this._sent = undefined, this.done = !1, this.delegate = null, this.method = "next", this.arg = undefined, this.tryEntries.forEach(resetTryEntry), !skipTempReset) for (var name in this) { "t" === name.charAt(0) && hasOwn.call(this, name) && !isNaN(+name.slice(1)) && (this[name] = undefined); } }, stop: function stop() { this.done = !0; var rootRecord = this.tryEntries[0].completion; if ("throw" === rootRecord.type) throw rootRecord.arg; return this.rval; }, dispatchException: function dispatchException(exception) { if (this.done) throw exception; var context = this; function handle(loc, caught) { return record.type = "throw", record.arg = exception, context.next = loc, caught && (context.method = "next", context.arg = undefined), !!caught; } for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i], record = entry.completion; if ("root" === entry.tryLoc) return handle("end"); if (entry.tryLoc <= this.prev) { var hasCatch = hasOwn.call(entry, "catchLoc"), hasFinally = hasOwn.call(entry, "finallyLoc"); if (hasCatch && hasFinally) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } else if (hasCatch) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); } else { if (!hasFinally) throw new Error("try statement without catch or finally"); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } } } }, abrupt: function abrupt(type, arg) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc <= this.prev && hasOwn.call(entry, "finallyLoc") && this.prev < entry.finallyLoc) { var finallyEntry = entry; break; } } finallyEntry && ("break" === type || "continue" === type) && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null); var record = finallyEntry ? finallyEntry.completion : {}; return record.type = type, record.arg = arg, finallyEntry ? (this.method = "next", this.next = finallyEntry.finallyLoc, ContinueSentinel) : this.complete(record); }, complete: function complete(record, afterLoc) { if ("throw" === record.type) throw record.arg; return "break" === record.type || "continue" === record.type ? this.next = record.arg : "return" === record.type ? (this.rval = this.arg = record.arg, this.method = "return", this.next = "end") : "normal" === record.type && afterLoc && (this.next = afterLoc), ContinueSentinel; }, finish: function finish(finallyLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.finallyLoc === finallyLoc) return this.complete(entry.completion, entry.afterLoc), resetTryEntry(entry), ContinueSentinel; } }, "catch": function _catch(tryLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc === tryLoc) { var record = entry.completion; if ("throw" === record.type) { var thrown = record.arg; resetTryEntry(entry); } return thrown; } } throw new Error("illegal catch attempt"); }, delegateYield: function delegateYield(iterable, resultName, nextLoc) { return this.delegate = { iterator: values(iterable), resultName: resultName, nextLoc: nextLoc }, "next" === this.method && (this.arg = undefined), ContinueSentinel; } }, exports; } module.exports = _regeneratorRuntime, module.exports.__esModule = true, module.exports["default"] = module.exports; /***/ }), /* 90 */ /*!*****************************************************************!*\ !*** ./node_modules/@babel/runtime/helpers/asyncToGenerator.js ***! \*****************************************************************/ /*! no static exports found */ /***/ (function(module, exports) { function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } } function _asyncToGenerator(fn) { return function () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var gen = fn.apply(self, args); function _next(value) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); } function _throw(err) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); } _next(undefined); }); }; } module.exports = _asyncToGenerator, module.exports.__esModule = true, module.exports["default"] = module.exports; /***/ }), /* 91 */ /*!*************************************************************************************************!*\ !*** D:/项目文件/uniapp/Waterinvoice_uiapp/node_modules/@dcloudio/uni-ui/lib/uni-forms/validate.js ***! \*************************************************************************************************/ /*! no static exports found */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 1); Object.defineProperty(exports, "__esModule", { value: true }); exports.default = void 0; var _regenerator = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/regenerator */ 88)); var _inherits2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/inherits */ 92)); var _possibleConstructorReturn2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/possibleConstructorReturn */ 94)); var _getPrototypeOf2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/getPrototypeOf */ 96)); var _asyncToGenerator2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/asyncToGenerator */ 90)); var _classCallCheck2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/classCallCheck */ 38)); var _createClass2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/createClass */ 39)); var _typeof2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/typeof */ 4)); function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = (0, _getPrototypeOf2.default)(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = (0, _getPrototypeOf2.default)(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return (0, _possibleConstructorReturn2.default)(this, result); }; } function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } } var pattern = { email: /^\S+?@\S+?\.\S+?$/, idcard: /^[1-9]\d{5}(18|19|([23]\d))\d{2}((0[1-9])|(10|11|12))(([0-2][1-9])|10|20|30|31)\d{3}[0-9Xx]$/, url: new RegExp("^(?!mailto:)(?:(?:http|https|ftp)://|//)(?:\\S+(?::\\S*)?@)?(?:(?:(?:[1-9]\\d?|1\\d\\d|2[01]\\d|22[0-3])(?:\\.(?:1?\\d{1,2}|2[0-4]\\d|25[0-5])){2}(?:\\.(?:[0-9]\\d?|1\\d\\d|2[0-4]\\d|25[0-4]))|(?:(?:[a-z\\u00a1-\\uffff0-9]+-*)*[a-z\\u00a1-\\uffff0-9]+)(?:\\.(?:[a-z\\u00a1-\\uffff0-9]+-*)*[a-z\\u00a1-\\uffff0-9]+)*(?:\\.(?:[a-z\\u00a1-\\uffff]{2,})))|localhost)(?::\\d{2,5})?(?:(/|\\?|#)[^\\s]*)?$", 'i') }; var FORMAT_MAPPING = { "int": 'integer', "bool": 'boolean', "double": 'number', "long": 'number', "password": 'string' // "fileurls": 'array' }; function formatMessage(args) { var resources = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : ''; var defaultMessage = ['label']; defaultMessage.forEach(function (item) { if (args[item] === undefined) { args[item] = ''; } }); var str = resources; for (var key in args) { var reg = new RegExp('{' + key + '}'); str = str.replace(reg, args[key]); } return str; } function isEmptyValue(value, type) { if (value === undefined || value === null) { return true; } if (typeof value === 'string' && !value) { return true; } if (Array.isArray(value) && !value.length) { return true; } if (type === 'object' && !Object.keys(value).length) { return true; } return false; } var types = { integer: function integer(value) { return types.number(value) && parseInt(value, 10) === value; }, string: function string(value) { return typeof value === 'string'; }, number: function number(value) { if (isNaN(value)) { return false; } return typeof value === 'number'; }, "boolean": function boolean(value) { return typeof value === 'boolean'; }, "float": function float(value) { return types.number(value) && !types.integer(value); }, array: function array(value) { return Array.isArray(value); }, object: function object(value) { return (0, _typeof2.default)(value) === 'object' && !types.array(value); }, date: function date(value) { return value instanceof Date; }, timestamp: function timestamp(value) { if (!this.integer(value) || Math.abs(value).toString().length > 16) { return false; } return true; }, file: function file(value) { return typeof value.url === 'string'; }, email: function email(value) { return typeof value === 'string' && !!value.match(pattern.email) && value.length < 255; }, url: function url(value) { return typeof value === 'string' && !!value.match(pattern.url); }, pattern: function pattern(reg, value) { try { return new RegExp(reg).test(value); } catch (e) { return false; } }, method: function method(value) { return typeof value === 'function'; }, idcard: function idcard(value) { return typeof value === 'string' && !!value.match(pattern.idcard); }, 'url-https': function urlHttps(value) { return this.url(value) && value.startsWith('https://'); }, 'url-scheme': function urlScheme(value) { return value.startsWith('://'); }, 'url-web': function urlWeb(value) { return false; } }; var RuleValidator = /*#__PURE__*/function () { function RuleValidator(message) { (0, _classCallCheck2.default)(this, RuleValidator); this._message = message; } (0, _createClass2.default)(RuleValidator, [{ key: "validateRule", value: function () { var _validateRule = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee(fieldKey, fieldValue, value, data, allData) { var result, rules, hasRequired, message, i, rule, vt, now, resultExpr; return _regenerator.default.wrap(function _callee$(_context) { while (1) { switch (_context.prev = _context.next) { case 0: result = null; rules = fieldValue.rules; hasRequired = rules.findIndex(function (item) { return item.required; }); if (!(hasRequired < 0)) { _context.next = 8; break; } if (!(value === null || value === undefined)) { _context.next = 6; break; } return _context.abrupt("return", result); case 6: if (!(typeof value === 'string' && !value.length)) { _context.next = 8; break; } return _context.abrupt("return", result); case 8: message = this._message; if (!(rules === undefined)) { _context.next = 11; break; } return _context.abrupt("return", message['default']); case 11: i = 0; case 12: if (!(i < rules.length)) { _context.next = 35; break; } rule = rules[i]; vt = this._getValidateType(rule); Object.assign(rule, { label: fieldValue.label || "[\"".concat(fieldKey, "\"]") }); if (!RuleValidatorHelper[vt]) { _context.next = 20; break; } result = RuleValidatorHelper[vt](rule, value, message); if (!(result != null)) { _context.next = 20; break; } return _context.abrupt("break", 35); case 20: if (!rule.validateExpr) { _context.next = 26; break; } now = Date.now(); resultExpr = rule.validateExpr(value, allData, now); if (!(resultExpr === false)) { _context.next = 26; break; } result = this._getMessage(rule, rule.errorMessage || this._message['default']); return _context.abrupt("break", 35); case 26: if (!rule.validateFunction) { _context.next = 32; break; } _context.next = 29; return this.validateFunction(rule, value, data, allData, vt); case 29: result = _context.sent; if (!(result !== null)) { _context.next = 32; break; } return _context.abrupt("break", 35); case 32: i++; _context.next = 12; break; case 35: if (result !== null) { result = message.TAG + result; } return _context.abrupt("return", result); case 37: case "end": return _context.stop(); } } }, _callee, this); })); function validateRule(_x, _x2, _x3, _x4, _x5) { return _validateRule.apply(this, arguments); } return validateRule; }() }, { key: "validateFunction", value: function () { var _validateFunction = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee2(rule, value, data, allData, vt) { var result, callbackMessage, res; return _regenerator.default.wrap(function _callee2$(_context2) { while (1) { switch (_context2.prev = _context2.next) { case 0: result = null; _context2.prev = 1; callbackMessage = null; _context2.next = 5; return rule.validateFunction(rule, value, allData || data, function (message) { callbackMessage = message; }); case 5: res = _context2.sent; if (callbackMessage || typeof res === 'string' && res || res === false) { result = this._getMessage(rule, callbackMessage || res, vt); } _context2.next = 12; break; case 9: _context2.prev = 9; _context2.t0 = _context2["catch"](1); result = this._getMessage(rule, _context2.t0.message, vt); case 12: return _context2.abrupt("return", result); case 13: case "end": return _context2.stop(); } } }, _callee2, this, [[1, 9]]); })); function validateFunction(_x6, _x7, _x8, _x9, _x10) { return _validateFunction.apply(this, arguments); } return validateFunction; }() }, { key: "_getMessage", value: function _getMessage(rule, message, vt) { return formatMessage(rule, message || rule.errorMessage || this._message[vt] || message['default']); } }, { key: "_getValidateType", value: function _getValidateType(rule) { var result = ''; if (rule.required) { result = 'required'; } else if (rule.format) { result = 'format'; } else if (rule.arrayType) { result = 'arrayTypeFormat'; } else if (rule.range) { result = 'range'; } else if (rule.maximum !== undefined || rule.minimum !== undefined) { result = 'rangeNumber'; } else if (rule.maxLength !== undefined || rule.minLength !== undefined) { result = 'rangeLength'; } else if (rule.pattern) { result = 'pattern'; } else if (rule.validateFunction) { result = 'validateFunction'; } return result; } }]); return RuleValidator; }(); var RuleValidatorHelper = { required: function required(rule, value, message) { if (rule.required && isEmptyValue(value, rule.format || (0, _typeof2.default)(value))) { return formatMessage(rule, rule.errorMessage || message.required); } return null; }, range: function range(rule, value, message) { var range = rule.range, errorMessage = rule.errorMessage; var list = new Array(range.length); for (var i = 0; i < range.length; i++) { var item = range[i]; if (types.object(item) && item.value !== undefined) { list[i] = item.value; } else { list[i] = item; } } var result = false; if (Array.isArray(value)) { result = new Set(value.concat(list)).size === list.length; } else { if (list.indexOf(value) > -1) { result = true; } } if (!result) { return formatMessage(rule, errorMessage || message['enum']); } return null; }, rangeNumber: function rangeNumber(rule, value, message) { if (!types.number(value)) { return formatMessage(rule, rule.errorMessage || message.pattern.mismatch); } var minimum = rule.minimum, maximum = rule.maximum, exclusiveMinimum = rule.exclusiveMinimum, exclusiveMaximum = rule.exclusiveMaximum; var min = exclusiveMinimum ? value <= minimum : value < minimum; var max = exclusiveMaximum ? value >= maximum : value > maximum; if (minimum !== undefined && min) { return formatMessage(rule, rule.errorMessage || message['number'][exclusiveMinimum ? 'exclusiveMinimum' : 'minimum']); } else if (maximum !== undefined && max) { return formatMessage(rule, rule.errorMessage || message['number'][exclusiveMaximum ? 'exclusiveMaximum' : 'maximum']); } else if (minimum !== undefined && maximum !== undefined && (min || max)) { return formatMessage(rule, rule.errorMessage || message['number'].range); } return null; }, rangeLength: function rangeLength(rule, value, message) { if (!types.string(value) && !types.array(value)) { return formatMessage(rule, rule.errorMessage || message.pattern.mismatch); } var min = rule.minLength; var max = rule.maxLength; var val = value.length; if (min !== undefined && val < min) { return formatMessage(rule, rule.errorMessage || message['length'].minLength); } else if (max !== undefined && val > max) { return formatMessage(rule, rule.errorMessage || message['length'].maxLength); } else if (min !== undefined && max !== undefined && (val < min || val > max)) { return formatMessage(rule, rule.errorMessage || message['length'].range); } return null; }, pattern: function pattern(rule, value, message) { if (!types['pattern'](rule.pattern, value)) { return formatMessage(rule, rule.errorMessage || message.pattern.mismatch); } return null; }, format: function format(rule, value, message) { var customTypes = Object.keys(types); var format = FORMAT_MAPPING[rule.format] ? FORMAT_MAPPING[rule.format] : rule.format || rule.arrayType; if (customTypes.indexOf(format) > -1) { if (!types[format](value)) { return formatMessage(rule, rule.errorMessage || message.typeError); } } return null; }, arrayTypeFormat: function arrayTypeFormat(rule, value, message) { if (!Array.isArray(value)) { return formatMessage(rule, rule.errorMessage || message.typeError); } for (var i = 0; i < value.length; i++) { var element = value[i]; var formatResult = this.format(rule, element, message); if (formatResult !== null) { return formatResult; } } return null; } }; var SchemaValidator = /*#__PURE__*/function (_RuleValidator) { (0, _inherits2.default)(SchemaValidator, _RuleValidator); var _super = _createSuper(SchemaValidator); function SchemaValidator(schema, options) { var _this; (0, _classCallCheck2.default)(this, SchemaValidator); _this = _super.call(this, SchemaValidator.message); _this._schema = schema; _this._options = options || null; return _this; } (0, _createClass2.default)(SchemaValidator, [{ key: "updateSchema", value: function updateSchema(schema) { this._schema = schema; } }, { key: "validate", value: function () { var _validate = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee3(data, allData) { var result; return _regenerator.default.wrap(function _callee3$(_context3) { while (1) { switch (_context3.prev = _context3.next) { case 0: result = this._checkFieldInSchema(data); if (result) { _context3.next = 5; break; } _context3.next = 4; return this.invokeValidate(data, false, allData); case 4: result = _context3.sent; case 5: return _context3.abrupt("return", result.length ? result[0] : null); case 6: case "end": return _context3.stop(); } } }, _callee3, this); })); function validate(_x11, _x12) { return _validate.apply(this, arguments); } return validate; }() }, { key: "validateAll", value: function () { var _validateAll = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee4(data, allData) { var result; return _regenerator.default.wrap(function _callee4$(_context4) { while (1) { switch (_context4.prev = _context4.next) { case 0: result = this._checkFieldInSchema(data); if (result) { _context4.next = 5; break; } _context4.next = 4; return this.invokeValidate(data, true, allData); case 4: result = _context4.sent; case 5: return _context4.abrupt("return", result); case 6: case "end": return _context4.stop(); } } }, _callee4, this); })); function validateAll(_x13, _x14) { return _validateAll.apply(this, arguments); } return validateAll; }() }, { key: "validateUpdate", value: function () { var _validateUpdate = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee5(data, allData) { var result; return _regenerator.default.wrap(function _callee5$(_context5) { while (1) { switch (_context5.prev = _context5.next) { case 0: result = this._checkFieldInSchema(data); if (result) { _context5.next = 5; break; } _context5.next = 4; return this.invokeValidateUpdate(data, false, allData); case 4: result = _context5.sent; case 5: return _context5.abrupt("return", result.length ? result[0] : null); case 6: case "end": return _context5.stop(); } } }, _callee5, this); })); function validateUpdate(_x15, _x16) { return _validateUpdate.apply(this, arguments); } return validateUpdate; }() }, { key: "invokeValidate", value: function () { var _invokeValidate = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee6(data, all, allData) { var result, schema, key, value, errorMessage; return _regenerator.default.wrap(function _callee6$(_context6) { while (1) { switch (_context6.prev = _context6.next) { case 0: result = []; schema = this._schema; _context6.t0 = _regenerator.default.keys(schema); case 3: if ((_context6.t1 = _context6.t0()).done) { _context6.next = 15; break; } key = _context6.t1.value; value = schema[key]; _context6.next = 8; return this.validateRule(key, value, data[key], data, allData); case 8: errorMessage = _context6.sent; if (!(errorMessage != null)) { _context6.next = 13; break; } result.push({ key: key, errorMessage: errorMessage }); if (all) { _context6.next = 13; break; } return _context6.abrupt("break", 15); case 13: _context6.next = 3; break; case 15: return _context6.abrupt("return", result); case 16: case "end": return _context6.stop(); } } }, _callee6, this); })); function invokeValidate(_x17, _x18, _x19) { return _invokeValidate.apply(this, arguments); } return invokeValidate; }() }, { key: "invokeValidateUpdate", value: function () { var _invokeValidateUpdate = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee7(data, all, allData) { var result, key, errorMessage; return _regenerator.default.wrap(function _callee7$(_context7) { while (1) { switch (_context7.prev = _context7.next) { case 0: result = []; _context7.t0 = _regenerator.default.keys(data); case 2: if ((_context7.t1 = _context7.t0()).done) { _context7.next = 13; break; } key = _context7.t1.value; _context7.next = 6; return this.validateRule(key, this._schema[key], data[key], data, allData); case 6: errorMessage = _context7.sent; if (!(errorMessage != null)) { _context7.next = 11; break; } result.push({ key: key, errorMessage: errorMessage }); if (all) { _context7.next = 11; break; } return _context7.abrupt("break", 13); case 11: _context7.next = 2; break; case 13: return _context7.abrupt("return", result); case 14: case "end": return _context7.stop(); } } }, _callee7, this); })); function invokeValidateUpdate(_x20, _x21, _x22) { return _invokeValidateUpdate.apply(this, arguments); } return invokeValidateUpdate; }() }, { key: "_checkFieldInSchema", value: function _checkFieldInSchema(data) { var keys = Object.keys(data); var keys2 = Object.keys(this._schema); if (new Set(keys.concat(keys2)).size === keys2.length) { return ''; } var noExistFields = keys.filter(function (key) { return keys2.indexOf(key) < 0; }); var errorMessage = formatMessage({ field: JSON.stringify(noExistFields) }, SchemaValidator.message.TAG + SchemaValidator.message['defaultInvalid']); return [{ key: 'invalid', errorMessage: errorMessage }]; } }]); return SchemaValidator; }(RuleValidator); function Message() { return { TAG: "", default: '验证错误', defaultInvalid: '提交的字段{field}在数据库中并不存在', validateFunction: '验证无效', required: '{label}必填', 'enum': '{label}超出范围', timestamp: '{label}格式无效', whitespace: '{label}不能为空', typeError: '{label}类型无效', date: { format: '{label}日期{value}格式无效', parse: '{label}日期无法解析,{value}无效', invalid: '{label}日期{value}无效' }, length: { minLength: '{label}长度不能少于{minLength}', maxLength: '{label}长度不能超过{maxLength}', range: '{label}必须介于{minLength}和{maxLength}之间' }, number: { minimum: '{label}不能小于{minimum}', maximum: '{label}不能大于{maximum}', exclusiveMinimum: '{label}不能小于等于{minimum}', exclusiveMaximum: '{label}不能大于等于{maximum}', range: '{label}必须介于{minimum}and{maximum}之间' }, pattern: { mismatch: '{label}格式不匹配' } }; } SchemaValidator.message = new Message(); var _default = SchemaValidator; exports.default = _default; /***/ }), /* 92 */ /*!*********************************************************!*\ !*** ./node_modules/@babel/runtime/helpers/inherits.js ***! \*********************************************************/ /*! no static exports found */ /***/ (function(module, exports, __webpack_require__) { var setPrototypeOf = __webpack_require__(/*! ./setPrototypeOf.js */ 93); function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) setPrototypeOf(subClass, superClass); } module.exports = _inherits, module.exports.__esModule = true, module.exports["default"] = module.exports; /***/ }), /* 93 */ /*!***************************************************************!*\ !*** ./node_modules/@babel/runtime/helpers/setPrototypeOf.js ***! \***************************************************************/ /*! no static exports found */ /***/ (function(module, exports) { function _setPrototypeOf(o, p) { module.exports = _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }, module.exports.__esModule = true, module.exports["default"] = module.exports; return _setPrototypeOf(o, p); } module.exports = _setPrototypeOf, module.exports.__esModule = true, module.exports["default"] = module.exports; /***/ }), /* 94 */ /*!**************************************************************************!*\ !*** ./node_modules/@babel/runtime/helpers/possibleConstructorReturn.js ***! \**************************************************************************/ /*! no static exports found */ /***/ (function(module, exports, __webpack_require__) { var _typeof = __webpack_require__(/*! ./typeof.js */ 4)["default"]; var assertThisInitialized = __webpack_require__(/*! ./assertThisInitialized.js */ 95); function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return assertThisInitialized(self); } module.exports = _possibleConstructorReturn, module.exports.__esModule = true, module.exports["default"] = module.exports; /***/ }), /* 95 */ /*!**********************************************************************!*\ !*** ./node_modules/@babel/runtime/helpers/assertThisInitialized.js ***! \**********************************************************************/ /*! no static exports found */ /***/ (function(module, exports) { function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; } module.exports = _assertThisInitialized, module.exports.__esModule = true, module.exports["default"] = module.exports; /***/ }), /* 96 */ /*!***************************************************************!*\ !*** ./node_modules/@babel/runtime/helpers/getPrototypeOf.js ***! \***************************************************************/ /*! no static exports found */ /***/ (function(module, exports) { function _getPrototypeOf(o) { module.exports = _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }, module.exports.__esModule = true, module.exports["default"] = module.exports; return _getPrototypeOf(o); } module.exports = _getPrototypeOf, module.exports.__esModule = true, module.exports["default"] = module.exports; /***/ }), /* 97 */ /*!**********************************************************************************************!*\ !*** D:/项目文件/uniapp/Waterinvoice_uiapp/node_modules/@dcloudio/uni-ui/lib/uni-forms/utils.js ***! \**********************************************************************************************/ /*! no static exports found */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 1); Object.defineProperty(exports, "__esModule", { value: true }); exports.typeFilter = exports.type = exports.setDataValue = exports.realName = exports.rawData = exports.objSet = exports.objGet = exports.name2arr = exports.isRequiredField = exports.isRealName = exports.isNumber = exports.isEqual = exports.isBoolean = exports.getValue = exports.getDataValueType = exports.getDataValue = exports.deepCopy = void 0; var _typeof2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/typeof */ 4)); /** * 简单处理对象拷贝 * @param {Obejct} 被拷贝对象 * @@return {Object} 拷贝对象 */ var deepCopy = function deepCopy(val) { return JSON.parse(JSON.stringify(val)); }; /** * 过滤数字类型 * @param {String} format 数字类型 * @@return {Boolean} 返回是否为数字类型 */ exports.deepCopy = deepCopy; var typeFilter = function typeFilter(format) { return format === 'int' || format === 'double' || format === 'number' || format === 'timestamp'; }; /** * 把 value 转换成指定的类型,用于处理初始值,原因是初始值需要入库不能为 undefined * @param {String} key 字段名 * @param {any} value 字段值 * @param {Object} rules 表单校验规则 */ exports.typeFilter = typeFilter; var getValue = function getValue(key, value, rules) { var isRuleNumType = rules.find(function (val) { return val.format && typeFilter(val.format); }); var isRuleBoolType = rules.find(function (val) { return val.format && val.format === 'boolean' || val.format === 'bool'; }); // 输入类型为 number if (!!isRuleNumType) { if (!value && value !== 0) { value = null; } else { value = isNumber(Number(value)) ? Number(value) : value; } } // 输入类型为 boolean if (!!isRuleBoolType) { value = isBoolean(value) ? value : false; } return value; }; /** * 获取表单数据 * @param {String|Array} name 真实名称,需要使用 realName 获取 * @param {Object} data 原始数据 * @param {any} value 需要设置的值 */ exports.getValue = getValue; var setDataValue = function setDataValue(field, formdata, value) { formdata[field] = value; return value || ''; }; /** * 获取表单数据 * @param {String|Array} field 真实名称,需要使用 realName 获取 * @param {Object} data 原始数据 */ exports.setDataValue = setDataValue; var getDataValue = function getDataValue(field, data) { return objGet(data, field); }; /** * 获取表单类型 * @param {String|Array} field 真实名称,需要使用 realName 获取 */ exports.getDataValue = getDataValue; var getDataValueType = function getDataValueType(field, data) { var value = getDataValue(field, data); return { type: type(value), value: value }; }; /** * 获取表单可用的真实name * @param {String|Array} name 表单name * @@return {String} 表单可用的真实name */ exports.getDataValueType = getDataValueType; var realName = function realName(name) { var data = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; var base_name = _basePath(name); if ((0, _typeof2.default)(base_name) === 'object' && Array.isArray(base_name) && base_name.length > 1) { var realname = base_name.reduce(function (a, b) { return a += "#".concat(b); }, '_formdata_'); return realname; } return base_name[0] || name; }; /** * 判断是否表单可用的真实name * @param {String|Array} name 表单name * @@return {String} 表单可用的真实name */ exports.realName = realName; var isRealName = function isRealName(name) { var reg = /^_formdata_#*/; return reg.test(name); }; /** * 获取表单数据的原始格式 * @@return {Object|Array} object 需要解析的数据 */ exports.isRealName = isRealName; var rawData = function rawData() { var object = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; var name = arguments.length > 1 ? arguments[1] : undefined; var newData = JSON.parse(JSON.stringify(object)); var formData = {}; for (var i in newData) { var path = name2arr(i); objSet(formData, path, newData[i]); } return formData; }; /** * 真实name还原为 array * @param {*} name */ exports.rawData = rawData; var name2arr = function name2arr(name) { var field = name.replace('_formdata_#', ''); field = field.split('#').map(function (v) { return isNumber(v) ? Number(v) : v; }); return field; }; /** * 对象中设置值 * @param {Object|Array} object 源数据 * @param {String| Array} path 'a.b.c' 或 ['a',0,'b','c'] * @param {String} value 需要设置的值 */ exports.name2arr = name2arr; var objSet = function objSet(object, path, value) { if ((0, _typeof2.default)(object) !== 'object') return object; _basePath(path).reduce(function (o, k, i, _) { if (i === _.length - 1) { // 若遍历结束直接赋值 o[k] = value; return null; } else if (k in o) { // 若存在对应路径,则返回找到的对象,进行下一次遍历 return o[k]; } else { // 若不存在对应路径,则创建对应对象,若下一路径是数字,新对象赋值为空数组,否则赋值为空对象 o[k] = /^[0-9]{1,}$/.test(_[i + 1]) ? [] : {}; return o[k]; } }, object); // 返回object return object; }; // 处理 path, path有三种形式:'a[0].b.c'、'a.0.b.c' 和 ['a','0','b','c'],需要统一处理成数组,便于后续使用 exports.objSet = objSet; function _basePath(path) { // 若是数组,则直接返回 if (Array.isArray(path)) return path; // 若有 '[',']',则替换成将 '[' 替换成 '.',去掉 ']' return path.replace(/\[/g, '.').replace(/\]/g, '').split('.'); } /** * 从对象中获取值 * @param {Object|Array} object 源数据 * @param {String| Array} path 'a.b.c' 或 ['a',0,'b','c'] * @param {String} defaultVal 如果无法从调用链中获取值的默认值 */ var objGet = function objGet(object, path) { var defaultVal = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 'undefined'; // 先将path处理成统一格式 var newPath = _basePath(path); // 递归处理,返回最后结果 var val = newPath.reduce(function (o, k) { return (o || {})[k]; }, object); return !val || val !== undefined ? val : defaultVal; }; /** * 是否为 number 类型 * @param {any} num 需要判断的值 * @return {Boolean} 是否为 number */ exports.objGet = objGet; var isNumber = function isNumber(num) { return !isNaN(Number(num)); }; /** * 是否为 boolean 类型 * @param {any} bool 需要判断的值 * @return {Boolean} 是否为 boolean */ exports.isNumber = isNumber; var isBoolean = function isBoolean(bool) { return typeof bool === 'boolean'; }; /** * 是否有必填字段 * @param {Object} rules 规则 * @return {Boolean} 是否有必填字段 */ exports.isBoolean = isBoolean; var isRequiredField = function isRequiredField(rules) { var isNoField = false; for (var i = 0; i < rules.length; i++) { var ruleData = rules[i]; if (ruleData.required) { isNoField = true; break; } } return isNoField; }; /** * 获取数据类型 * @param {Any} obj 需要获取数据类型的值 */ exports.isRequiredField = isRequiredField; var type = function type(obj) { var class2type = {}; // 生成class2type映射 "Boolean Number String Function Array Date RegExp Object Error".split(" ").map(function (item, index) { class2type["[object " + item + "]"] = item.toLowerCase(); }); if (obj == null) { return obj + ""; } return (0, _typeof2.default)(obj) === "object" || typeof obj === "function" ? class2type[Object.prototype.toString.call(obj)] || "object" : (0, _typeof2.default)(obj); }; /** * 判断两个值是否相等 * @param {any} a 值 * @param {any} b 值 * @return {Boolean} 是否相等 */ exports.type = type; var isEqual = function isEqual(a, b) { //如果a和b本来就全等 if (a === b) { //判断是否为0和-0 return a !== 0 || 1 / a === 1 / b; } //判断是否为null和undefined if (a == null || b == null) { return a === b; } //接下来判断a和b的数据类型 var classNameA = toString.call(a), classNameB = toString.call(b); //如果数据类型不相等,则返回false if (classNameA !== classNameB) { return false; } //如果数据类型相等,再根据不同数据类型分别判断 switch (classNameA) { case '[object RegExp]': case '[object String]': //进行字符串转换比较 return '' + a === '' + b; case '[object Number]': //进行数字转换比较,判断是否为NaN if (+a !== +a) { return +b !== +b; } //判断是否为0或-0 return +a === 0 ? 1 / +a === 1 / b : +a === +b; case '[object Date]': case '[object Boolean]': return +a === +b; } //如果是对象类型 if (classNameA == '[object Object]') { //获取a和b的属性长度 var propsA = Object.getOwnPropertyNames(a), propsB = Object.getOwnPropertyNames(b); if (propsA.length != propsB.length) { return false; } for (var i = 0; i < propsA.length; i++) { var propName = propsA[i]; //如果对应属性对应值不相等,则返回false if (a[propName] !== b[propName]) { return false; } } return true; } //如果是数组类型 if (classNameA == '[object Array]') { if (a.toString() == b.toString()) { return true; } return false; } }; exports.isEqual = isEqual; /***/ }), /* 98 */ /*!**********************!*\ !*** external "Vue" ***! \**********************/ /*! no static exports found */ /***/ (function(module, exports) { module.exports = Vue; /***/ }), /* 99 */ /*!*************************************************************************************************************!*\ !*** D:/项目文件/uniapp/Waterinvoice_uiapp/node_modules/@dcloudio/uni-ui/lib/uni-forms-item/uni-forms-item.vue ***! \*************************************************************************************************************/ /*! no static exports found */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony import */ var _uni_forms_item_vue_vue_type_template_id_1359f286___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./uni-forms-item.vue?vue&type=template&id=1359f286& */ 100); /* harmony import */ var _uni_forms_item_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./uni-forms-item.vue?vue&type=script&lang=js& */ 102); /* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _uni_forms_item_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 _uni_forms_item_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__[key]; }) }(__WEBPACK_IMPORT_KEY__)); /* harmony import */ var _C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/runtime/componentNormalizer.js */ 16); var renderjs /* normalize component */ var component = Object(_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_2__["default"])( _uni_forms_item_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__["default"], _uni_forms_item_vue_vue_type_template_id_1359f286___WEBPACK_IMPORTED_MODULE_0__["render"], _uni_forms_item_vue_vue_type_template_id_1359f286___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"], false, null, null, null, false, _uni_forms_item_vue_vue_type_template_id_1359f286___WEBPACK_IMPORTED_MODULE_0__["components"], renderjs ) component.options.__file = "node_modules/@dcloudio/uni-ui/lib/uni-forms-item/uni-forms-item.vue" /* harmony default export */ __webpack_exports__["default"] = (component.exports); /***/ }), /* 100 */ /*!********************************************************************************************************************************************!*\ !*** D:/项目文件/uniapp/Waterinvoice_uiapp/node_modules/@dcloudio/uni-ui/lib/uni-forms-item/uni-forms-item.vue?vue&type=template&id=1359f286& ***! \********************************************************************************************************************************************/ /*! exports provided: render, staticRenderFns, recyclableRender, components */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony import */ var _C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_11_0_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_filter_modules_template_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_uni_forms_item_vue_vue_type_template_id_1359f286___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!./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--11-0!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/filter-modules-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!./uni-forms-item.vue?vue&type=template&id=1359f286& */ 101); /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "render", function() { return _C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_11_0_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_filter_modules_template_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_uni_forms_item_vue_vue_type_template_id_1359f286___WEBPACK_IMPORTED_MODULE_0__["render"]; }); /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return _C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_11_0_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_filter_modules_template_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_uni_forms_item_vue_vue_type_template_id_1359f286___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"]; }); /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "recyclableRender", function() { return _C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_11_0_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_filter_modules_template_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_uni_forms_item_vue_vue_type_template_id_1359f286___WEBPACK_IMPORTED_MODULE_0__["recyclableRender"]; }); /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "components", function() { return _C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_11_0_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_filter_modules_template_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_uni_forms_item_vue_vue_type_template_id_1359f286___WEBPACK_IMPORTED_MODULE_0__["components"]; }); /***/ }), /* 101 */ /*!************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ !*** ./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--11-0!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/filter-modules-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!D:/项目文件/uniapp/Waterinvoice_uiapp/node_modules/@dcloudio/uni-ui/lib/uni-forms-item/uni-forms-item.vue?vue&type=template&id=1359f286& ***! \************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ /*! 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 var render = function () { var _vm = this var _h = _vm.$createElement var _c = _vm._self._c || _h return _c( "view", { staticClass: _vm._$s(0, "sc", "uni-forms-item"), class: _vm._$s(0, "c", [ "is-direction-" + _vm.localLabelPos, _vm.border ? "uni-forms-item--border" : "", _vm.border && _vm.isFirstBorder ? "is-first-border" : "", ]), attrs: { _i: 0 }, }, [ _vm._t( "label", [ _c( "view", { staticClass: _vm._$s(2, "sc", "uni-forms-item__label"), class: _vm._$s(2, "c", { "no-label": !_vm.label && !_vm.required, }), style: _vm._$s(2, "s", { width: _vm.localLabelWidth, justifyContent: _vm.localLabelAlign, }), attrs: { _i: 2 }, }, [ _vm._$s(3, "i", _vm.required) ? _c("text", { staticClass: _vm._$s(3, "sc", "is-required"), attrs: { _i: 3 }, }) : _vm._e(), _c("text", [_vm._v(_vm._$s(4, "t0-0", _vm._s(_vm.label)))]), ] ), ], { _i: 1 } ), _c( "view", { staticClass: _vm._$s(5, "sc", "uni-forms-item__content"), attrs: { _i: 5 }, }, [ _vm._t("default", null, { _i: 6 }), _c( "view", { staticClass: _vm._$s(7, "sc", "uni-forms-item__error"), class: _vm._$s(7, "c", { "msg--active": _vm.msg }), attrs: { _i: 7 }, }, [_c("text", [_vm._v(_vm._$s(8, "t0-0", _vm._s(_vm.msg)))])] ), ], 2 ), ], 2 ) } var recyclableRender = false var staticRenderFns = [] render._withStripped = true /***/ }), /* 102 */ /*!**************************************************************************************************************************************!*\ !*** D:/项目文件/uniapp/Waterinvoice_uiapp/node_modules/@dcloudio/uni-ui/lib/uni-forms-item/uni-forms-item.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 _C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_7_1_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_using_components_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_uni_forms_item_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!./node_modules/babel-loader/lib!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--7-1!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/using-components.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./uni-forms-item.vue?vue&type=script&lang=js& */ 103); /* harmony import */ var _C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_7_1_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_using_components_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_uni_forms_item_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_7_1_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_using_components_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_uni_forms_item_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__); /* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_7_1_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_using_components_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_uni_forms_item_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 _C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_7_1_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_using_components_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_uni_forms_item_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__)); /* harmony default export */ __webpack_exports__["default"] = (_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_7_1_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_using_components_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_uni_forms_item_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0___default.a); /***/ }), /* 103 */ /*!*******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ !*** ./node_modules/babel-loader/lib!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--7-1!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/using-components.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!D:/项目文件/uniapp/Waterinvoice_uiapp/node_modules/@dcloudio/uni-ui/lib/uni-forms-item/uni-forms-item.vue?vue&type=script&lang=js& ***! \*******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ /*! no static exports found */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 1); Object.defineProperty(exports, "__esModule", { value: true }); exports.default = void 0; var _regenerator = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/regenerator */ 88)); var _typeof2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/typeof */ 4)); var _defineProperty2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/defineProperty */ 2)); var _asyncToGenerator2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/asyncToGenerator */ 90)); // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // /** * uni-fomrs-item 表单子组件 * @description uni-fomrs-item 表单子组件,提供了基础布局已经校验能力 * @tutorial https://ext.dcloud.net.cn/plugin?id=2773 * @property {Boolean} required 是否必填,左边显示红色"*"号 * @property {String } label 输入框左边的文字提示 * @property {Number } labelWidth label的宽度,单位px(默认70) * @property {String } labelAlign = [left|center|right] label的文字对齐方式(默认left) * @value left label 左侧显示 * @value center label 居中 * @value right label 右侧对齐 * @property {String } errorMessage 显示的错误提示内容,如果为空字符串或者false,则不显示错误信息 * @property {String } name 表单域的属性名,在使用校验规则时必填 * @property {String } leftIcon 【1.4.0废弃】label左边的图标,限 uni-ui 的图标名称 * @property {String } iconColor 【1.4.0废弃】左边通过icon配置的图标的颜色(默认#606266) * @property {String} validateTrigger = [bind|submit|blur] 【1.4.0废弃】校验触发器方式 默认 submit * @value bind 发生变化时触发 * @value submit 提交时触发 * @value blur 失去焦点触发 * @property {String } labelPosition = [top|left] 【1.4.0废弃】label的文字的位置(默认left) * @value top 顶部显示 label * @value left 左侧显示 label */ var _default2 = { name: 'uniFormsItem', options: { virtualHost: true }, provide: function provide() { return { uniFormItem: this }; }, inject: { form: { from: 'uniForm', default: null } }, props: { // 表单校验规则 rules: { type: Array, default: function _default() { return null; } }, // 表单域的属性名,在使用校验规则时必填 name: { type: [String, Array], default: '' }, required: { type: Boolean, default: false }, label: { type: String, default: '' }, // label的宽度 labelWidth: { type: [String, Number], default: '' }, // label 居中方式,默认 left 取值 left/center/right labelAlign: { type: String, default: '' }, // 强制显示错误信息 errorMessage: { type: [String, Boolean], default: '' }, // 1.4.0 弃用,统一使用 form 的校验时机 // validateTrigger: { // type: String, // default: '' // }, // 1.4.0 弃用,统一使用 form 的label 位置 // labelPosition: { // type: String, // default: '' // }, // 1.4.0 以下属性已经废弃,请使用 #label 插槽代替 leftIcon: String, iconColor: { type: String, default: '#606266' } }, data: function data() { return { errMsg: '', userRules: null, localLabelAlign: 'left', localLabelWidth: '70px', localLabelPos: 'left', border: false, isFirstBorder: false }; }, computed: { // 处理错误信息 msg: function msg() { return this.errorMessage || this.errMsg; } }, watch: { // 规则发生变化通知子组件更新 'form.formRules': function formFormRules(val) { // TODO 处理头条vue3 watch不生效的问题 this.init(); }, 'form.labelWidth': function formLabelWidth(val) { // 宽度 this.localLabelWidth = this._labelWidthUnit(val); }, 'form.labelPosition': function formLabelPosition(val) { // 标签位置 this.localLabelPos = this._labelPosition(); }, 'form.labelAlign': function formLabelAlign(val) {} }, created: function created() { var _this = this; this.init(true); if (this.name && this.form) { // TODO 处理头条vue3 watch不生效的问题 // 监听变化 this.$watch(function () { var val = _this.form._getDataValue(_this.name, _this.form.localData); return val; }, function (value, oldVal) { var isEqual = _this.form._isEqual(value, oldVal); // 简单判断前后值的变化,只有发生变化才会发生校验 // TODO 如果 oldVal = undefined ,那么大概率是源数据里没有值导致 ,这个情况不哦校验 ,可能不严谨 ,需要在做观察 // fix by mehaotian 暂时取消 && oldVal !== undefined ,如果formData 中不存在,可能会不校验 if (!isEqual) { var val = _this.itemSetValue(value); _this.onFieldChange(val, false); } }, { immediate: false }); } }, destroyed: function destroyed() { if (this.__isUnmounted) return; this.unInit(); }, methods: { /** * 外部调用方法 * 设置规则 ,主要用于小程序自定义检验规则 * @param {Array} rules 规则源数据 */ setRules: function setRules() { var rules = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null; this.userRules = rules; this.init(false); }, // 兼容老版本表单组件 setValue: function setValue() { // console.log('setValue 方法已经弃用,请使用最新版本的 uni-forms 表单组件以及其他关联组件。'); }, /** * 外部调用方法 * 校验数据 * @param {any} value 需要校验的数据 * @param {boolean} 是否立即校验 * @return {Array|null} 校验内容 */ onFieldChange: function onFieldChange(value) { var _arguments = arguments, _this2 = this; return (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee() { var formtrigger, _this2$form, formData, localData, errShowType, validateCheck, validateTrigger, _isRequiredField, _realName, name, ruleLen, isRequiredField, result; return _regenerator.default.wrap(function _callee$(_context) { while (1) { switch (_context.prev = _context.next) { case 0: formtrigger = _arguments.length > 1 && _arguments[1] !== undefined ? _arguments[1] : true; _this2$form = _this2.form, formData = _this2$form.formData, localData = _this2$form.localData, errShowType = _this2$form.errShowType, validateCheck = _this2$form.validateCheck, validateTrigger = _this2$form.validateTrigger, _isRequiredField = _this2$form._isRequiredField, _realName = _this2$form._realName; name = _realName(_this2.name); if (!value) { value = _this2.form.formData[name]; } // fixd by mehaotian 不在校验前清空信息,解决闪屏的问题 // this.errMsg = ''; // fix by mehaotian 解决没有检验规则的情况下,抛出错误的问题 ruleLen = _this2.itemRules.rules && _this2.itemRules.rules.length; if (!(!_this2.validator || !ruleLen || ruleLen === 0)) { _context.next = 7; break; } return _context.abrupt("return"); case 7: // 检验时机 // let trigger = this.isTrigger(this.itemRules.validateTrigger, this.validateTrigger, validateTrigger); isRequiredField = _isRequiredField(_this2.itemRules.rules || []); result = null; // 只有等于 bind 时 ,才能开启时实校验 if (!(validateTrigger === 'bind' || formtrigger)) { _context.next = 18; break; } _context.next = 12; return _this2.validator.validateUpdate((0, _defineProperty2.default)({}, name, value), formData); case 12: result = _context.sent; // 判断是否必填,非必填,不填不校验,填写才校验 ,暂时只处理 undefined 和空的情况 if (!isRequiredField && (value === undefined || value === '')) { result = null; } // 判断错误信息显示类型 if (result && result.errorMessage) { if (errShowType === 'undertext') { // 获取错误信息 _this2.errMsg = !result ? '' : result.errorMessage; } if (errShowType === 'toast') { uni.showToast({ title: result.errorMessage || '校验错误', icon: 'none' }); } if (errShowType === 'modal') { uni.showModal({ title: '提示', content: result.errorMessage || '校验错误' }); } } else { _this2.errMsg = ''; } // 通知 form 组件更新事件 validateCheck(result ? result : null); _context.next = 19; break; case 18: _this2.errMsg = ''; case 19: return _context.abrupt("return", result ? result : null); case 20: case "end": return _context.stop(); } } }, _callee); }))(); }, /** * 初始组件数据 */ init: function init() { var type = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false; var _ref = this.form || {}, validator = _ref.validator, formRules = _ref.formRules, childrens = _ref.childrens, formData = _ref.formData, localData = _ref.localData, _realName = _ref._realName, labelWidth = _ref.labelWidth, _getDataValue = _ref._getDataValue, _setDataValue = _ref._setDataValue; // 对齐方式 this.localLabelAlign = this._justifyContent(); // 宽度 this.localLabelWidth = this._labelWidthUnit(labelWidth); // 标签位置 this.localLabelPos = this._labelPosition(); // 将需要校验的子组件加入form 队列 this.form && type && childrens.push(this); if (!validator || !formRules) return; // 判断第一个 item if (!this.form.isFirstBorder) { this.form.isFirstBorder = true; this.isFirstBorder = true; } // 判断 group 里的第一个 item if (this.group) { if (!this.group.isFirstBorder) { this.group.isFirstBorder = true; this.isFirstBorder = true; } } this.border = this.form.border; // 获取子域的真实名称 var name = _realName(this.name); var itemRule = this.userRules || this.rules; if ((0, _typeof2.default)(formRules) === 'object' && itemRule) { // 子规则替换父规则 formRules[name] = { rules: itemRule }; validator.updateSchema(formRules); } // 注册校验规则 var itemRules = formRules[name] || {}; this.itemRules = itemRules; // 注册校验函数 this.validator = validator; // 默认值赋予 this.itemSetValue(_getDataValue(this.name, localData)); }, unInit: function unInit() { var _this3 = this; if (this.form) { var _this$form = this.form, childrens = _this$form.childrens, formData = _this$form.formData, _realName = _this$form._realName; childrens.forEach(function (item, index) { if (item === _this3) { _this3.form.childrens.splice(index, 1); delete formData[_realName(item.name)]; } }); } }, // 设置item 的值 itemSetValue: function itemSetValue(value) { var name = this.form._realName(this.name); var rules = this.itemRules.rules || []; var val = this.form._getValue(name, value, rules); this.form._setDataValue(name, this.form.formData, val); return val; }, /** * 移除该表单项的校验结果 */ clearValidate: function clearValidate() { this.errMsg = ''; }, // 是否显示星号 _isRequired: function _isRequired() { // TODO 不根据规则显示 星号,考虑后续兼容 // if (this.form) { // if (this.form._isRequiredField(this.itemRules.rules || []) && this.required) { // return true // } // return false // } return this.required; }, // 处理对齐方式 _justifyContent: function _justifyContent() { if (this.form) { var labelAlign = this.form.labelAlign; var labelAli = this.labelAlign ? this.labelAlign : labelAlign; if (labelAli === 'left') return 'flex-start'; if (labelAli === 'center') return 'center'; if (labelAli === 'right') return 'flex-end'; } return 'flex-start'; }, // 处理 label宽度单位 ,继承父元素的值 _labelWidthUnit: function _labelWidthUnit(labelWidth) { // if (this.form) { // const { // labelWidth // } = this.form return this.num2px(this.labelWidth ? this.labelWidth : labelWidth || (this.label ? 70 : 'auto')); // } // return '70px' }, // 处理 label 位置 _labelPosition: function _labelPosition() { if (this.form) return this.form.labelPosition || 'left'; return 'left'; }, /** * 触发时机 * @param {Object} rule 当前规则内时机 * @param {Object} itemRlue 当前组件时机 * @param {Object} parentRule 父组件时机 */ isTrigger: function isTrigger(rule, itemRlue, parentRule) { // bind submit if (rule === 'submit' || !rule) { if (rule === undefined) { if (itemRlue !== 'bind') { if (!itemRlue) { return parentRule === '' ? 'bind' : 'submit'; } return 'submit'; } return 'bind'; } return 'submit'; } return 'bind'; }, num2px: function num2px(num) { if (typeof num === 'number') { return "".concat(num, "px"); } return num; } } }; exports.default = _default2; /***/ }), /* 104 */ /*!***************************************************************************************************************!*\ !*** D:/项目文件/uniapp/Waterinvoice_uiapp/node_modules/@dcloudio/uni-ui/lib/uni-data-select/uni-data-select.vue ***! \***************************************************************************************************************/ /*! no static exports found */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony import */ var _uni_data_select_vue_vue_type_template_id_558a1c68___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./uni-data-select.vue?vue&type=template&id=558a1c68& */ 105); /* harmony import */ var _uni_data_select_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./uni-data-select.vue?vue&type=script&lang=js& */ 107); /* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _uni_data_select_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 _uni_data_select_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__[key]; }) }(__WEBPACK_IMPORT_KEY__)); /* harmony import */ var _C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/runtime/componentNormalizer.js */ 16); var renderjs /* normalize component */ var component = Object(_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_2__["default"])( _uni_data_select_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__["default"], _uni_data_select_vue_vue_type_template_id_558a1c68___WEBPACK_IMPORTED_MODULE_0__["render"], _uni_data_select_vue_vue_type_template_id_558a1c68___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"], false, null, null, null, false, _uni_data_select_vue_vue_type_template_id_558a1c68___WEBPACK_IMPORTED_MODULE_0__["components"], renderjs ) component.options.__file = "node_modules/@dcloudio/uni-ui/lib/uni-data-select/uni-data-select.vue" /* harmony default export */ __webpack_exports__["default"] = (component.exports); /***/ }), /* 105 */ /*!**********************************************************************************************************************************************!*\ !*** D:/项目文件/uniapp/Waterinvoice_uiapp/node_modules/@dcloudio/uni-ui/lib/uni-data-select/uni-data-select.vue?vue&type=template&id=558a1c68& ***! \**********************************************************************************************************************************************/ /*! exports provided: render, staticRenderFns, recyclableRender, components */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony import */ var _C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_11_0_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_filter_modules_template_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_uni_data_select_vue_vue_type_template_id_558a1c68___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!./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--11-0!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/filter-modules-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!./uni-data-select.vue?vue&type=template&id=558a1c68& */ 106); /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "render", function() { return _C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_11_0_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_filter_modules_template_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_uni_data_select_vue_vue_type_template_id_558a1c68___WEBPACK_IMPORTED_MODULE_0__["render"]; }); /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return _C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_11_0_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_filter_modules_template_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_uni_data_select_vue_vue_type_template_id_558a1c68___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"]; }); /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "recyclableRender", function() { return _C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_11_0_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_filter_modules_template_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_uni_data_select_vue_vue_type_template_id_558a1c68___WEBPACK_IMPORTED_MODULE_0__["recyclableRender"]; }); /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "components", function() { return _C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_11_0_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_filter_modules_template_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_uni_data_select_vue_vue_type_template_id_558a1c68___WEBPACK_IMPORTED_MODULE_0__["components"]; }); /***/ }), /* 106 */ /*!**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ !*** ./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--11-0!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/filter-modules-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!D:/项目文件/uniapp/Waterinvoice_uiapp/node_modules/@dcloudio/uni-ui/lib/uni-data-select/uni-data-select.vue?vue&type=template&id=558a1c68& ***! \**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ /*! 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 = { uniIcons: __webpack_require__(/*! @dcloudio/uni-ui/lib/uni-icons/uni-icons.vue */ 10).default, } } 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 return _c( "view", { staticClass: _vm._$s(0, "sc", "uni-stat__select"), attrs: { _i: 0 } }, [ _vm._$s(1, "i", _vm.label) ? _c( "span", { staticClass: _vm._$s(1, "sc", "uni-label-text hide-on-phone"), attrs: { _i: 1 }, }, [_vm._v(_vm._$s(1, "t0-0", _vm._s(_vm.label + ":")))] ) : _vm._e(), _c( "view", { staticClass: _vm._$s(2, "sc", "uni-stat-box"), class: _vm._$s(2, "c", { "uni-stat__actived": _vm.current }), attrs: { _i: 2 }, }, [ _c( "view", { staticClass: _vm._$s(3, "sc", "uni-select"), class: _vm._$s(3, "c", { "uni-select--disabled": _vm.disabled }), attrs: { _i: 3 }, }, [ _c( "view", { staticClass: _vm._$s(4, "sc", "uni-select__input-box"), attrs: { _i: 4 }, on: { click: _vm.toggleSelector }, }, [ _vm._$s(5, "i", _vm.current) ? _c( "view", { staticClass: _vm._$s( 5, "sc", "uni-select__input-text" ), attrs: { _i: 5 }, }, [_vm._v(_vm._$s(5, "t0-0", _vm._s(_vm.textShow)))] ) : _c( "view", { staticClass: _vm._$s( 6, "sc", "uni-select__input-text uni-select__input-placeholder" ), attrs: { _i: 6 }, }, [ _vm._v( _vm._$s(6, "t0-0", _vm._s(_vm.typePlaceholder)) ), ] ), _vm._$s(7, "i", _vm.current && _vm.clear && !_vm.disabled) ? _c( "view", { attrs: { _i: 7 }, on: { click: function ($event) { $event.stopPropagation() return _vm.clearVal($event) }, }, }, [ _c("uni-icons", { attrs: { type: "clear", color: "#c0c4cc", size: "24", _i: 8, }, }), ], 1 ) : _c( "view", [ _c("uni-icons", { attrs: { type: _vm.showSelector ? "top" : "bottom", size: "14", color: "#999", _i: 10, }, }), ], 1 ), ] ), _vm._$s(11, "i", _vm.showSelector) ? _c("view", { staticClass: _vm._$s(11, "sc", "uni-select--mask"), attrs: { _i: 11 }, on: { click: _vm.toggleSelector }, }) : _vm._e(), _vm._$s(12, "i", _vm.showSelector) ? _c( "view", { staticClass: _vm._$s(12, "sc", "uni-select__selector"), style: _vm._$s(12, "s", _vm.getOffsetByPlacement), attrs: { _i: 12 }, }, [ _c("view", { class: _vm._$s( 13, "c", _vm.placement == "bottom" ? "uni-popper__arrow_bottom" : "uni-popper__arrow_top" ), attrs: { _i: 13 }, }), _c( "scroll-view", { staticClass: _vm._$s( 14, "sc", "uni-select__selector-scroll" ), attrs: { _i: 14 }, }, [ _vm._$s(15, "i", _vm.mixinDatacomResData.length === 0) ? _c( "view", { staticClass: _vm._$s( 15, "sc", "uni-select__selector-empty" ), attrs: { _i: 15 }, }, [ _c("text", [ _vm._v( _vm._$s(16, "t0-0", _vm._s(_vm.emptyTips)) ), ]), ] ) : _vm._l( _vm._$s(17, "f", { forItems: _vm.mixinDatacomResData, }), function (item, index, $20, $30) { return _c( "view", { key: _vm._$s(17, "f", { forIndex: $20, key: index, }), staticClass: _vm._$s( "17-" + $30, "sc", "uni-select__selector-item" ), attrs: { _i: "17-" + $30 }, on: { click: function ($event) { return _vm.change(item) }, }, }, [ _c( "text", { class: _vm._$s("18-" + $30, "c", { "uni-select__selector__disabled": item.disable, }), attrs: { _i: "18-" + $30 }, }, [ _vm._v( _vm._$s( "18-" + $30, "t0-0", _vm._s(_vm.formatItemName(item)) ) ), ] ), ] ) } ), ], 2 ), ] ) : _vm._e(), ] ), ] ), ] ) } var recyclableRender = false var staticRenderFns = [] render._withStripped = true /***/ }), /* 107 */ /*!****************************************************************************************************************************************!*\ !*** D:/项目文件/uniapp/Waterinvoice_uiapp/node_modules/@dcloudio/uni-ui/lib/uni-data-select/uni-data-select.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 _C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_7_1_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_using_components_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_uni_data_select_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!./node_modules/babel-loader/lib!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--7-1!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/using-components.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./uni-data-select.vue?vue&type=script&lang=js& */ 108); /* harmony import */ var _C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_7_1_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_using_components_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_uni_data_select_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_7_1_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_using_components_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_uni_data_select_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__); /* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_7_1_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_using_components_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_uni_data_select_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 _C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_7_1_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_using_components_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_uni_data_select_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__)); /* harmony default export */ __webpack_exports__["default"] = (_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_7_1_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_using_components_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_uni_data_select_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0___default.a); /***/ }), /* 108 */ /*!*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ !*** ./node_modules/babel-loader/lib!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--7-1!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/using-components.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!D:/项目文件/uniapp/Waterinvoice_uiapp/node_modules/@dcloudio/uni-ui/lib/uni-data-select/uni-data-select.vue?vue&type=script&lang=js& ***! \*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ /*! no static exports found */ /***/ (function(module, exports, __webpack_require__) { "use strict"; /* WEBPACK VAR INJECTION */(function(uniCloud) { Object.defineProperty(exports, "__esModule", { value: true }); exports.default = void 0; // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // /** * DataChecklist 数据选择器 * @description 通过数据渲染的下拉框组件 * @tutorial https://uniapp.dcloud.io/component/uniui/uni-data-select * @property {String} value 默认值 * @property {Array} localdata 本地数据 ,格式 [{text:'',value:''}] * @property {Boolean} clear 是否可以清空已选项 * @property {Boolean} emptyText 没有数据时显示的文字 ,本地数据无效 * @property {String} label 左侧标题 * @property {String} placeholder 输入框的提示文字 * @property {Boolean} disabled 是否禁用 * @property {String} placement 弹出位置 * @value top 顶部弹出 * @value bottom 底部弹出(default) * @event {Function} change 选中发生变化触发 */ var _default2 = { name: "uni-data-select", mixins: [uniCloud.mixinDatacom || {}], props: { localdata: { type: Array, default: function _default() { return []; } }, value: { type: [String, Number], default: '' }, modelValue: { type: [String, Number], default: '' }, label: { type: String, default: '' }, placeholder: { type: String, default: '请选择' }, emptyTips: { type: String, default: '无选项' }, clear: { type: Boolean, default: true }, defItem: { type: Number, default: 0 }, disabled: { type: Boolean, default: false }, // 格式化输出 用法 field="_id as value, version as text, uni_platform as label" format="{label} - {text}" format: { type: String, default: '' }, placement: { type: String, default: 'bottom' } }, data: function data() { return { showSelector: false, current: '', mixinDatacomResData: [], apps: [], channels: [], cacheKey: "uni-data-select-lastSelectedValue" }; }, created: function created() { var _this = this; this.debounceGet = this.debounce(function () { _this.query(); }, 300); if (this.collection && !this.localdata.length) { this.debounceGet(); } }, computed: { typePlaceholder: function typePlaceholder() { var text = { 'opendb-stat-app-versions': '版本', 'opendb-app-channels': '渠道', 'opendb-app-list': '应用' }; var common = this.placeholder; var placeholder = text[this.collection]; return placeholder ? common + placeholder : common; }, valueCom: function valueCom() { return this.value; }, textShow: function textShow() { // 长文本显示 var text = this.current; if (text.length > 10) { return text.slice(0, 25) + '...'; } return text; }, getOffsetByPlacement: function getOffsetByPlacement() { switch (this.placement) { case 'top': return "bottom:calc(100% + 12px);"; case 'bottom': return "top:calc(100% + 12px);"; } } }, watch: { localdata: { immediate: true, handler: function handler(val, old) { if (Array.isArray(val) && old !== val) { this.mixinDatacomResData = val; } } }, valueCom: function valueCom(val, old) { this.initDefVal(); }, mixinDatacomResData: { immediate: true, handler: function handler(val) { if (val.length) { this.initDefVal(); } } } }, methods: { debounce: function debounce(fn) { var time = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 100; var timer = null; return function () { var _this2 = this; for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) { args[_key] = arguments[_key]; } if (timer) clearTimeout(timer); timer = setTimeout(function () { fn.apply(_this2, args); }, time); }; }, // 执行数据库查询 query: function query() { this.mixinDatacomEasyGet(); }, // 监听查询条件变更事件 onMixinDatacomPropsChange: function onMixinDatacomPropsChange() { if (this.collection) { this.debounceGet(); } }, initDefVal: function initDefVal() { var defValue = ''; if ((this.valueCom || this.valueCom === 0) && !this.isDisabled(this.valueCom)) { defValue = this.valueCom; } else { var strogeValue; if (this.collection) { strogeValue = this.getCache(); } if (strogeValue || strogeValue === 0) { defValue = strogeValue; } else { var defItem = ''; if (this.defItem > 0 && this.defItem <= this.mixinDatacomResData.length) { defItem = this.mixinDatacomResData[this.defItem - 1].value; } defValue = defItem; } if (defValue || defValue === 0) { this.emit(defValue); } } var def = this.mixinDatacomResData.find(function (item) { return item.value === defValue; }); this.current = def ? this.formatItemName(def) : ''; }, /** * @param {[String, Number]} value * 判断用户给的 value 是否同时为禁用状态 */ isDisabled: function isDisabled(value) { var isDisabled = false; this.mixinDatacomResData.forEach(function (item) { if (item.value === value) { isDisabled = item.disable; } }); return isDisabled; }, clearVal: function clearVal() { this.emit(''); if (this.collection) { this.removeCache(); } }, change: function change(item) { if (!item.disable) { this.showSelector = false; this.current = this.formatItemName(item); this.emit(item.value); } }, emit: function emit(val) { this.$emit('input', val); this.$emit('update:modelValue', val); this.$emit('change', val); if (this.collection) { this.setCache(val); } }, toggleSelector: function toggleSelector() { if (this.disabled) { return; } this.showSelector = !this.showSelector; }, formatItemName: function formatItemName(item) { var text = item.text, value = item.value, channel_code = item.channel_code; channel_code = channel_code ? "(".concat(channel_code, ")") : ''; if (this.format) { // 格式化输出 var str = ""; str = this.format; for (var key in item) { str = str.replace(new RegExp("{".concat(key, "}"), "g"), item[key]); } return str; } else { return this.collection.indexOf('app-list') > 0 ? "".concat(text, "(").concat(value, ")") : text ? text : "\u672A\u547D\u540D".concat(channel_code); } }, // 获取当前加载的数据 getLoadData: function getLoadData() { return this.mixinDatacomResData; }, // 获取当前缓存key getCurrentCacheKey: function getCurrentCacheKey() { return this.collection; }, // 获取缓存 getCache: function getCache() { var name = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : this.getCurrentCacheKey(); var cacheData = uni.getStorageSync(this.cacheKey) || {}; return cacheData[name]; }, // 设置缓存 setCache: function setCache(value) { var name = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : this.getCurrentCacheKey(); var cacheData = uni.getStorageSync(this.cacheKey) || {}; cacheData[name] = value; uni.setStorageSync(this.cacheKey, cacheData); }, // 删除缓存 removeCache: function removeCache() { var name = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : this.getCurrentCacheKey(); var cacheData = uni.getStorageSync(this.cacheKey) || {}; delete cacheData[name]; uni.setStorageSync(this.cacheKey, cacheData); } } }; exports.default = _default2; /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/vue-cli-plugin-uni/packages/uni-cloud/dist/index.js */ 109)["default"])) /***/ }), /* 109 */ /*!************************************************************************************!*\ !*** ./node_modules/@dcloudio/vue-cli-plugin-uni/packages/uni-cloud/dist/index.js ***! \************************************************************************************/ /*! no static exports found */ /***/ (function(module, exports, __webpack_require__) { "use strict"; /* WEBPACK VAR INJECTION */(function(global, wx) { var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 1); Object.defineProperty(exports, "__esModule", { value: true }); exports.default = void 0; var _regenerator = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/regenerator */ 88)); var _assertThisInitialized2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/assertThisInitialized */ 95)); var _slicedToArray2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/slicedToArray */ 22)); var _typeof2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/typeof */ 4)); var _toConsumableArray2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/toConsumableArray */ 34)); var _asyncToGenerator2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/asyncToGenerator */ 90)); var _defineProperty2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/defineProperty */ 2)); var _inherits2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/inherits */ 92)); var _possibleConstructorReturn2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/possibleConstructorReturn */ 94)); var _getPrototypeOf2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/getPrototypeOf */ 96)); var _wrapNativeSuper2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/wrapNativeSuper */ 111)); var _classCallCheck2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/classCallCheck */ 38)); var _createClass2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/createClass */ 39)); var _pages = _interopRequireDefault(__webpack_require__(/*! @/pages.json */ 115)); function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e34) { throw _e34; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e35) { didErr = true; err = _e35; }, f: function f() { try { if (!normalCompletion && it.return != null) it.return(); } finally { if (didErr) throw err; } } }; } function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); } function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; } function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; } function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { (0, _defineProperty2.default)(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; } function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = (0, _getPrototypeOf2.default)(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = (0, _getPrototypeOf2.default)(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return (0, _possibleConstructorReturn2.default)(this, result); }; } function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } } "undefined" != typeof globalThis ? globalThis : "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof self && self; function t(e) { return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e; } function n(e, t, n) { return e(n = { path: t, exports: {}, require: function require(e, t) { return function () { throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs"); }(null == t && n.path); } }, n.exports), n.exports; } var s = n(function (e, t) { var n; e.exports = (n = n || function (e, t) { var n = Object.create || function () { function e() {} return function (t) { var n; return e.prototype = t, n = new e(), e.prototype = null, n; }; }(), s = {}, r = s.lib = {}, i = r.Base = { extend: function extend(e) { var t = n(this); return e && t.mixIn(e), t.hasOwnProperty("init") && this.init !== t.init || (t.init = function () { t.$super.init.apply(this, arguments); }), t.init.prototype = t, t.$super = this, t; }, create: function create() { var e = this.extend(); return e.init.apply(e, arguments), e; }, init: function init() {}, mixIn: function mixIn(e) { for (var t in e) { e.hasOwnProperty(t) && (this[t] = e[t]); } e.hasOwnProperty("toString") && (this.toString = e.toString); }, clone: function clone() { return this.init.prototype.extend(this); } }, o = r.WordArray = i.extend({ init: function init(e, n) { e = this.words = e || [], this.sigBytes = n != t ? n : 4 * e.length; }, toString: function toString(e) { return (e || c).stringify(this); }, concat: function concat(e) { var t = this.words, n = e.words, s = this.sigBytes, r = e.sigBytes; if (this.clamp(), s % 4) for (var i = 0; i < r; i++) { var o = n[i >>> 2] >>> 24 - i % 4 * 8 & 255; t[s + i >>> 2] |= o << 24 - (s + i) % 4 * 8; } else for (i = 0; i < r; i += 4) { t[s + i >>> 2] = n[i >>> 2]; } return this.sigBytes += r, this; }, clamp: function clamp() { var t = this.words, n = this.sigBytes; t[n >>> 2] &= 4294967295 << 32 - n % 4 * 8, t.length = e.ceil(n / 4); }, clone: function clone() { var e = i.clone.call(this); return e.words = this.words.slice(0), e; }, random: function random(t) { for (var n, s = [], r = function r(t) { t = t; var n = 987654321, s = 4294967295; return function () { var r = ((n = 36969 * (65535 & n) + (n >> 16) & s) << 16) + (t = 18e3 * (65535 & t) + (t >> 16) & s) & s; return r /= 4294967296, (r += .5) * (e.random() > .5 ? 1 : -1); }; }, i = 0; i < t; i += 4) { var a = r(4294967296 * (n || e.random())); n = 987654071 * a(), s.push(4294967296 * a() | 0); } return new o.init(s, t); } }), a = s.enc = {}, c = a.Hex = { stringify: function stringify(e) { for (var t = e.words, n = e.sigBytes, s = [], r = 0; r < n; r++) { var i = t[r >>> 2] >>> 24 - r % 4 * 8 & 255; s.push((i >>> 4).toString(16)), s.push((15 & i).toString(16)); } return s.join(""); }, parse: function parse(e) { for (var t = e.length, n = [], s = 0; s < t; s += 2) { n[s >>> 3] |= parseInt(e.substr(s, 2), 16) << 24 - s % 8 * 4; } return new o.init(n, t / 2); } }, u = a.Latin1 = { stringify: function stringify(e) { for (var t = e.words, n = e.sigBytes, s = [], r = 0; r < n; r++) { var i = t[r >>> 2] >>> 24 - r % 4 * 8 & 255; s.push(String.fromCharCode(i)); } return s.join(""); }, parse: function parse(e) { for (var t = e.length, n = [], s = 0; s < t; s++) { n[s >>> 2] |= (255 & e.charCodeAt(s)) << 24 - s % 4 * 8; } return new o.init(n, t); } }, h = a.Utf8 = { stringify: function stringify(e) { try { return decodeURIComponent(escape(u.stringify(e))); } catch (e) { throw new Error("Malformed UTF-8 data"); } }, parse: function parse(e) { return u.parse(unescape(encodeURIComponent(e))); } }, l = r.BufferedBlockAlgorithm = i.extend({ reset: function reset() { this._data = new o.init(), this._nDataBytes = 0; }, _append: function _append(e) { "string" == typeof e && (e = h.parse(e)), this._data.concat(e), this._nDataBytes += e.sigBytes; }, _process: function _process(t) { var n = this._data, s = n.words, r = n.sigBytes, i = this.blockSize, a = r / (4 * i), c = (a = t ? e.ceil(a) : e.max((0 | a) - this._minBufferSize, 0)) * i, u = e.min(4 * c, r); if (c) { for (var h = 0; h < c; h += i) { this._doProcessBlock(s, h); } var l = s.splice(0, c); n.sigBytes -= u; } return new o.init(l, u); }, clone: function clone() { var e = i.clone.call(this); return e._data = this._data.clone(), e; }, _minBufferSize: 0 }); r.Hasher = l.extend({ cfg: i.extend(), init: function init(e) { this.cfg = this.cfg.extend(e), this.reset(); }, reset: function reset() { l.reset.call(this), this._doReset(); }, update: function update(e) { return this._append(e), this._process(), this; }, finalize: function finalize(e) { return e && this._append(e), this._doFinalize(); }, blockSize: 16, _createHelper: function _createHelper(e) { return function (t, n) { return new e.init(n).finalize(t); }; }, _createHmacHelper: function _createHmacHelper(e) { return function (t, n) { return new d.HMAC.init(e, n).finalize(t); }; } }); var d = s.algo = {}; return s; }(Math), n); }), r = s, i = (n(function (e, t) { var n; e.exports = (n = r, function (e) { var t = n, s = t.lib, r = s.WordArray, i = s.Hasher, o = t.algo, a = []; !function () { for (var t = 0; t < 64; t++) { a[t] = 4294967296 * e.abs(e.sin(t + 1)) | 0; } }(); var c = o.MD5 = i.extend({ _doReset: function _doReset() { this._hash = new r.init([1732584193, 4023233417, 2562383102, 271733878]); }, _doProcessBlock: function _doProcessBlock(e, t) { for (var n = 0; n < 16; n++) { var s = t + n, r = e[s]; e[s] = 16711935 & (r << 8 | r >>> 24) | 4278255360 & (r << 24 | r >>> 8); } var i = this._hash.words, o = e[t + 0], c = e[t + 1], p = e[t + 2], f = e[t + 3], g = e[t + 4], m = e[t + 5], y = e[t + 6], _ = e[t + 7], w = e[t + 8], v = e[t + 9], I = e[t + 10], S = e[t + 11], b = e[t + 12], k = e[t + 13], A = e[t + 14], P = e[t + 15], T = i[0], C = i[1], x = i[2], O = i[3]; T = u(T, C, x, O, o, 7, a[0]), O = u(O, T, C, x, c, 12, a[1]), x = u(x, O, T, C, p, 17, a[2]), C = u(C, x, O, T, f, 22, a[3]), T = u(T, C, x, O, g, 7, a[4]), O = u(O, T, C, x, m, 12, a[5]), x = u(x, O, T, C, y, 17, a[6]), C = u(C, x, O, T, _, 22, a[7]), T = u(T, C, x, O, w, 7, a[8]), O = u(O, T, C, x, v, 12, a[9]), x = u(x, O, T, C, I, 17, a[10]), C = u(C, x, O, T, S, 22, a[11]), T = u(T, C, x, O, b, 7, a[12]), O = u(O, T, C, x, k, 12, a[13]), x = u(x, O, T, C, A, 17, a[14]), T = h(T, C = u(C, x, O, T, P, 22, a[15]), x, O, c, 5, a[16]), O = h(O, T, C, x, y, 9, a[17]), x = h(x, O, T, C, S, 14, a[18]), C = h(C, x, O, T, o, 20, a[19]), T = h(T, C, x, O, m, 5, a[20]), O = h(O, T, C, x, I, 9, a[21]), x = h(x, O, T, C, P, 14, a[22]), C = h(C, x, O, T, g, 20, a[23]), T = h(T, C, x, O, v, 5, a[24]), O = h(O, T, C, x, A, 9, a[25]), x = h(x, O, T, C, f, 14, a[26]), C = h(C, x, O, T, w, 20, a[27]), T = h(T, C, x, O, k, 5, a[28]), O = h(O, T, C, x, p, 9, a[29]), x = h(x, O, T, C, _, 14, a[30]), T = l(T, C = h(C, x, O, T, b, 20, a[31]), x, O, m, 4, a[32]), O = l(O, T, C, x, w, 11, a[33]), x = l(x, O, T, C, S, 16, a[34]), C = l(C, x, O, T, A, 23, a[35]), T = l(T, C, x, O, c, 4, a[36]), O = l(O, T, C, x, g, 11, a[37]), x = l(x, O, T, C, _, 16, a[38]), C = l(C, x, O, T, I, 23, a[39]), T = l(T, C, x, O, k, 4, a[40]), O = l(O, T, C, x, o, 11, a[41]), x = l(x, O, T, C, f, 16, a[42]), C = l(C, x, O, T, y, 23, a[43]), T = l(T, C, x, O, v, 4, a[44]), O = l(O, T, C, x, b, 11, a[45]), x = l(x, O, T, C, P, 16, a[46]), T = d(T, C = l(C, x, O, T, p, 23, a[47]), x, O, o, 6, a[48]), O = d(O, T, C, x, _, 10, a[49]), x = d(x, O, T, C, A, 15, a[50]), C = d(C, x, O, T, m, 21, a[51]), T = d(T, C, x, O, b, 6, a[52]), O = d(O, T, C, x, f, 10, a[53]), x = d(x, O, T, C, I, 15, a[54]), C = d(C, x, O, T, c, 21, a[55]), T = d(T, C, x, O, w, 6, a[56]), O = d(O, T, C, x, P, 10, a[57]), x = d(x, O, T, C, y, 15, a[58]), C = d(C, x, O, T, k, 21, a[59]), T = d(T, C, x, O, g, 6, a[60]), O = d(O, T, C, x, S, 10, a[61]), x = d(x, O, T, C, p, 15, a[62]), C = d(C, x, O, T, v, 21, a[63]), i[0] = i[0] + T | 0, i[1] = i[1] + C | 0, i[2] = i[2] + x | 0, i[3] = i[3] + O | 0; }, _doFinalize: function _doFinalize() { var t = this._data, n = t.words, s = 8 * this._nDataBytes, r = 8 * t.sigBytes; n[r >>> 5] |= 128 << 24 - r % 32; var i = e.floor(s / 4294967296), o = s; n[15 + (r + 64 >>> 9 << 4)] = 16711935 & (i << 8 | i >>> 24) | 4278255360 & (i << 24 | i >>> 8), n[14 + (r + 64 >>> 9 << 4)] = 16711935 & (o << 8 | o >>> 24) | 4278255360 & (o << 24 | o >>> 8), t.sigBytes = 4 * (n.length + 1), this._process(); for (var a = this._hash, c = a.words, u = 0; u < 4; u++) { var h = c[u]; c[u] = 16711935 & (h << 8 | h >>> 24) | 4278255360 & (h << 24 | h >>> 8); } return a; }, clone: function clone() { var e = i.clone.call(this); return e._hash = this._hash.clone(), e; } }); function u(e, t, n, s, r, i, o) { var a = e + (t & n | ~t & s) + r + o; return (a << i | a >>> 32 - i) + t; } function h(e, t, n, s, r, i, o) { var a = e + (t & s | n & ~s) + r + o; return (a << i | a >>> 32 - i) + t; } function l(e, t, n, s, r, i, o) { var a = e + (t ^ n ^ s) + r + o; return (a << i | a >>> 32 - i) + t; } function d(e, t, n, s, r, i, o) { var a = e + (n ^ (t | ~s)) + r + o; return (a << i | a >>> 32 - i) + t; } t.MD5 = i._createHelper(c), t.HmacMD5 = i._createHmacHelper(c); }(Math), n.MD5); }), n(function (e, t) { var n; e.exports = (n = r, void function () { var e = n, t = e.lib.Base, s = e.enc.Utf8; e.algo.HMAC = t.extend({ init: function init(e, t) { e = this._hasher = new e.init(), "string" == typeof t && (t = s.parse(t)); var n = e.blockSize, r = 4 * n; t.sigBytes > r && (t = e.finalize(t)), t.clamp(); for (var i = this._oKey = t.clone(), o = this._iKey = t.clone(), a = i.words, c = o.words, u = 0; u < n; u++) { a[u] ^= 1549556828, c[u] ^= 909522486; } i.sigBytes = o.sigBytes = r, this.reset(); }, reset: function reset() { var e = this._hasher; e.reset(), e.update(this._iKey); }, update: function update(e) { return this._hasher.update(e), this; }, finalize: function finalize(e) { var t = this._hasher, n = t.finalize(e); return t.reset(), t.finalize(this._oKey.clone().concat(n)); } }); }()); }), n(function (e, t) { e.exports = r.HmacMD5; })), o = n(function (e, t) { e.exports = r.enc.Utf8; }), a = n(function (e, t) { var n; e.exports = (n = r, function () { var e = n, t = e.lib.WordArray; function s(e, n, s) { for (var r = [], i = 0, o = 0; o < n; o++) { if (o % 4) { var a = s[e.charCodeAt(o - 1)] << o % 4 * 2, c = s[e.charCodeAt(o)] >>> 6 - o % 4 * 2; r[i >>> 2] |= (a | c) << 24 - i % 4 * 8, i++; } } return t.create(r, i); } e.enc.Base64 = { stringify: function stringify(e) { var t = e.words, n = e.sigBytes, s = this._map; e.clamp(); for (var r = [], i = 0; i < n; i += 3) { for (var o = (t[i >>> 2] >>> 24 - i % 4 * 8 & 255) << 16 | (t[i + 1 >>> 2] >>> 24 - (i + 1) % 4 * 8 & 255) << 8 | t[i + 2 >>> 2] >>> 24 - (i + 2) % 4 * 8 & 255, a = 0; a < 4 && i + .75 * a < n; a++) { r.push(s.charAt(o >>> 6 * (3 - a) & 63)); } } var c = s.charAt(64); if (c) for (; r.length % 4;) { r.push(c); } return r.join(""); }, parse: function parse(e) { var t = e.length, n = this._map, r = this._reverseMap; if (!r) { r = this._reverseMap = []; for (var i = 0; i < n.length; i++) { r[n.charCodeAt(i)] = i; } } var o = n.charAt(64); if (o) { var a = e.indexOf(o); -1 !== a && (t = a); } return s(e, t, r); }, _map: "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=" }; }(), n.enc.Base64); }); var c = "FUNCTION", u = "OBJECT", h = "CLIENT_DB", l = "pending", d = "fulfilled", p = "rejected"; function f(e) { return Object.prototype.toString.call(e).slice(8, -1).toLowerCase(); } function g(e) { return "object" === f(e); } function m(e) { return "function" == typeof e; } function y(e) { return function () { try { return e.apply(e, arguments); } catch (e) { console.error(e); } }; } var _ = "REJECTED", w = "NOT_PENDING"; var v = /*#__PURE__*/function () { function v() { var _ref = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}, e = _ref.createPromise, _ref$retryRule = _ref.retryRule, t = _ref$retryRule === void 0 ? _ : _ref$retryRule; (0, _classCallCheck2.default)(this, v); this.createPromise = e, this.status = null, this.promise = null, this.retryRule = t; } (0, _createClass2.default)(v, [{ key: "needRetry", get: function get() { if (!this.status) return !0; switch (this.retryRule) { case _: return this.status === p; case w: return this.status !== l; } } }, { key: "exec", value: function exec() { var _this = this; return this.needRetry ? (this.status = l, this.promise = this.createPromise().then(function (e) { return _this.status = d, Promise.resolve(e); }, function (e) { return _this.status = p, Promise.reject(e); }), this.promise) : this.promise; } }]); return v; }(); function I(e) { return e && "string" == typeof e ? JSON.parse(e) : e; } var S = "development" === "development", b = "app-plus", k = "true" === false || !0 === false, A = I([]), P = "h5" === b ? "web" : "app-plus" === b ? "app" : b, T = I(undefined), C = I([]) || [], x = true; var O = ""; try { O = (__webpack_require__(/*! uni-stat-config */ 116).default || __webpack_require__(/*! uni-stat-config */ 116)).appid; } catch (e) {} var E = {}; function L(e) { var t = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; var n, s; return n = E, s = e, Object.prototype.hasOwnProperty.call(n, s) || (E[e] = t), E[e]; } "app" === P && (E = uni._globalUniCloudObj ? uni._globalUniCloudObj : uni._globalUniCloudObj = {}); var R = ["invoke", "success", "fail", "complete"], U = L("_globalUniCloudInterceptor"); function N(e, t) { U[e] || (U[e] = {}), g(t) && Object.keys(t).forEach(function (n) { R.indexOf(n) > -1 && function (e, t, n) { var s = U[e][t]; s || (s = U[e][t] = []), -1 === s.indexOf(n) && m(n) && s.push(n); }(e, n, t[n]); }); } function D(e, t) { U[e] || (U[e] = {}), g(t) ? Object.keys(t).forEach(function (n) { R.indexOf(n) > -1 && function (e, t, n) { var s = U[e][t]; if (!s) return; var r = s.indexOf(n); r > -1 && s.splice(r, 1); }(e, n, t[n]); }) : delete U[e]; } function M(e, t) { return e && 0 !== e.length ? e.reduce(function (e, n) { return e.then(function () { return n(t); }); }, Promise.resolve()) : Promise.resolve(); } function q(e, t) { return U[e] && U[e][t] || []; } function F(e) { N("callObject", e); } var K = L("_globalUniCloudListener"), j = "response", $ = "needLogin", B = "refreshToken", W = "clientdb", H = "cloudfunction", z = "cloudobject"; function J(e) { return K[e] || (K[e] = []), K[e]; } function G(e, t) { var n = J(e); n.includes(t) || n.push(t); } function V(e, t) { var n = J(e), s = n.indexOf(t); -1 !== s && n.splice(s, 1); } function Y(e, t) { var n = J(e); for (var _e2 = 0; _e2 < n.length; _e2++) { (0, n[_e2])(t); } } var Q, X = !1; function Z() { return Q || (Q = new Promise(function (e) { X && e(), function t() { if ("function" == typeof getCurrentPages) { var _t2 = getCurrentPages(); _t2 && _t2[0] && (X = !0, e()); } X || setTimeout(function () { t(); }, 30); }(); }), Q); } function ee(e) { var t = {}; for (var _n2 in e) { var _s2 = e[_n2]; m(_s2) && (t[_n2] = y(_s2)); } return t; } var te = /*#__PURE__*/function (_Error) { (0, _inherits2.default)(te, _Error); var _super = _createSuper(te); function te(e) { var _this2; (0, _classCallCheck2.default)(this, te); _this2 = _super.call(this, e.message), _this2.errMsg = e.message || e.errMsg || "unknown system error", _this2.code = _this2.errCode = e.code || e.errCode || "SYSTEM_ERROR", _this2.errSubject = _this2.subject = e.subject || e.errSubject, _this2.cause = e.cause, _this2.requestId = e.requestId; return _this2; } (0, _createClass2.default)(te, [{ key: "toJson", value: function toJson() { var e = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 0; if (!(e >= 10)) return e++, { errCode: this.errCode, errMsg: this.errMsg, errSubject: this.errSubject, cause: this.cause && this.cause.toJson ? this.cause.toJson(e) : this.cause }; } }]); return te; }( /*#__PURE__*/(0, _wrapNativeSuper2.default)(Error)); var ne = { request: function request(e) { return uni.request(e); }, uploadFile: function uploadFile(e) { return uni.uploadFile(e); }, setStorageSync: function setStorageSync(e, t) { return uni.setStorageSync(e, t); }, getStorageSync: function getStorageSync(e) { return uni.getStorageSync(e); }, removeStorageSync: function removeStorageSync(e) { return uni.removeStorageSync(e); }, clearStorageSync: function clearStorageSync() { return uni.clearStorageSync(); } }; function se() { return { token: ne.getStorageSync("uni_id_token") || ne.getStorageSync("uniIdToken"), tokenExpired: ne.getStorageSync("uni_id_token_expired") }; } function re() { var _ref2 = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}, e = _ref2.token, t = _ref2.tokenExpired; e && ne.setStorageSync("uni_id_token", e), t && ne.setStorageSync("uni_id_token_expired", t); } var ie, oe; function ae() { return ie || (ie = uni.getSystemInfoSync()), ie; } function ce() { var e, t; try { if (uni.getLaunchOptionsSync) { if (uni.getLaunchOptionsSync.toString().indexOf("not yet implemented") > -1) return; var _uni$getLaunchOptions = uni.getLaunchOptionsSync(), _n3 = _uni$getLaunchOptions.scene, _s3 = _uni$getLaunchOptions.channel; e = _s3, t = _n3; } } catch (e) {} return { channel: e, scene: t }; } function ue() { var e = uni.getLocale && uni.getLocale() || "en"; if (oe) return _objectSpread(_objectSpread({}, oe), {}, { locale: e, LOCALE: e }); var t = ae(), n = t.deviceId, s = t.osName, r = t.uniPlatform, i = t.appId, o = ["pixelRatio", "brand", "model", "system", "language", "version", "platform", "host", "SDKVersion", "swanNativeVersion", "app", "AppPlatform", "fontSizeSetting"]; for (var _e3 = 0; _e3 < o.length; _e3++) { delete t[o[_e3]]; } return oe = _objectSpread(_objectSpread({ PLATFORM: r, OS: s, APPID: i, DEVICEID: n }, ce()), t), _objectSpread(_objectSpread({}, oe), {}, { locale: e, LOCALE: e }); } var he = { sign: function sign(e, t) { var n = ""; return Object.keys(e).sort().forEach(function (t) { e[t] && (n = n + "&" + t + "=" + e[t]); }), n = n.slice(1), i(n, t).toString(); }, wrappedRequest: function wrappedRequest(e, t) { return new Promise(function (n, s) { t(Object.assign(e, { complete: function complete(e) { e || (e = {}), S && "web" === P && e.errMsg && 0 === e.errMsg.indexOf("request:fail") && console.warn("发布H5,需要在uniCloud后台操作,绑定安全域名,否则会因为跨域问题而无法访问。教程参考:https://uniapp.dcloud.io/uniCloud/quickstart?id=useinh5"); var t = e.data && e.data.header && e.data.header["x-serverless-request-id"] || e.header && e.header["request-id"]; if (!e.statusCode || e.statusCode >= 400) return s(new te({ code: "SYS_ERR", message: e.errMsg || "request:fail", requestId: t })); var r = e.data; if (r.error) return s(new te({ code: r.error.code, message: r.error.message, requestId: t })); r.result = r.data, r.requestId = t, delete r.data, n(r); } })); }); }, toBase64: function toBase64(e) { return a.stringify(o.parse(e)); } }; var le = /*#__PURE__*/function () { function le(e) { var _this3 = this; (0, _classCallCheck2.default)(this, le); ["spaceId", "clientSecret"].forEach(function (t) { if (!Object.prototype.hasOwnProperty.call(e, t)) throw new Error("".concat(t, " required")); }), this.config = Object.assign({}, { endpoint: 0 === e.spaceId.indexOf("mp-") ? "https://api.next.bspapp.com" : "https://api.bspapp.com" }, e), this.config.provider = "aliyun", this.config.requestUrl = this.config.endpoint + "/client", this.config.envType = this.config.envType || "public", this.config.accessTokenKey = "access_token_" + this.config.spaceId, this.adapter = ne, this._getAccessTokenPromiseHub = new v({ createPromise: function createPromise() { return _this3.requestAuth(_this3.setupRequest({ method: "serverless.auth.user.anonymousAuthorize", params: "{}" }, "auth")).then(function (e) { if (!e.result || !e.result.accessToken) throw new te({ code: "AUTH_FAILED", message: "获取accessToken失败" }); _this3.setAccessToken(e.result.accessToken); }); }, retryRule: w }); } (0, _createClass2.default)(le, [{ key: "hasAccessToken", get: function get() { return !!this.accessToken; } }, { key: "setAccessToken", value: function setAccessToken(e) { this.accessToken = e; } }, { key: "requestWrapped", value: function requestWrapped(e) { return he.wrappedRequest(e, this.adapter.request); } }, { key: "requestAuth", value: function requestAuth(e) { return this.requestWrapped(e); } }, { key: "request", value: function request(e, t) { var _this4 = this; return Promise.resolve().then(function () { return _this4.hasAccessToken ? t ? _this4.requestWrapped(e) : _this4.requestWrapped(e).catch(function (t) { return new Promise(function (e, n) { !t || "GATEWAY_INVALID_TOKEN" !== t.code && "InvalidParameter.InvalidToken" !== t.code ? n(t) : e(); }).then(function () { return _this4.getAccessToken(); }).then(function () { var t = _this4.rebuildRequest(e); return _this4.request(t, !0); }); }) : _this4.getAccessToken().then(function () { var t = _this4.rebuildRequest(e); return _this4.request(t, !0); }); }); } }, { key: "rebuildRequest", value: function rebuildRequest(e) { var t = Object.assign({}, e); return t.data.token = this.accessToken, t.header["x-basement-token"] = this.accessToken, t.header["x-serverless-sign"] = he.sign(t.data, this.config.clientSecret), t; } }, { key: "setupRequest", value: function setupRequest(e, t) { var n = Object.assign({}, e, { spaceId: this.config.spaceId, timestamp: Date.now() }), s = { "Content-Type": "application/json" }; return "auth" !== t && (n.token = this.accessToken, s["x-basement-token"] = this.accessToken), s["x-serverless-sign"] = he.sign(n, this.config.clientSecret), { url: this.config.requestUrl, method: "POST", data: n, dataType: "json", header: s }; } }, { key: "getAccessToken", value: function getAccessToken() { return this._getAccessTokenPromiseHub.exec(); } }, { key: "authorize", value: function () { var _authorize = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee() { return _regenerator.default.wrap(function _callee$(_context) { while (1) { switch (_context.prev = _context.next) { case 0: _context.next = 2; return this.getAccessToken(); case 2: case "end": return _context.stop(); } } }, _callee, this); })); function authorize() { return _authorize.apply(this, arguments); } return authorize; }() }, { key: "callFunction", value: function callFunction(e) { var t = { method: "serverless.function.runtime.invoke", params: JSON.stringify({ functionTarget: e.name, functionArgs: e.data || {} }) }; return this.request(this.setupRequest(t)); } }, { key: "getOSSUploadOptionsFromPath", value: function getOSSUploadOptionsFromPath(e) { var t = { method: "serverless.file.resource.generateProximalSign", params: JSON.stringify(e) }; return this.request(this.setupRequest(t)); } }, { key: "uploadFileToOSS", value: function uploadFileToOSS(_ref3) { var _this5 = this; var e = _ref3.url, t = _ref3.formData, n = _ref3.name, s = _ref3.filePath, r = _ref3.fileType, i = _ref3.onUploadProgress; return new Promise(function (o, a) { var c = _this5.adapter.uploadFile({ url: e, formData: t, name: n, filePath: s, fileType: r, header: { "X-OSS-server-side-encrpytion": "AES256" }, success: function success(e) { e && e.statusCode < 400 ? o(e) : a(new te({ code: "UPLOAD_FAILED", message: "文件上传失败" })); }, fail: function fail(e) { a(new te({ code: e.code || "UPLOAD_FAILED", message: e.message || e.errMsg || "文件上传失败" })); } }); "function" == typeof i && c && "function" == typeof c.onProgressUpdate && c.onProgressUpdate(function (e) { i({ loaded: e.totalBytesSent, total: e.totalBytesExpectedToSend }); }); }); } }, { key: "reportOSSUpload", value: function reportOSSUpload(e) { var t = { method: "serverless.file.resource.report", params: JSON.stringify(e) }; return this.request(this.setupRequest(t)); } }, { key: "uploadFile", value: function () { var _uploadFile = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee2(_ref4) { var e, t, _ref4$fileType, n, _ref4$cloudPathAsReal, s, r, i, o, a, c, u, h, l, d, p, g, m, y, _, _e4, w; return _regenerator.default.wrap(function _callee2$(_context2) { while (1) { switch (_context2.prev = _context2.next) { case 0: e = _ref4.filePath, t = _ref4.cloudPath, _ref4$fileType = _ref4.fileType, n = _ref4$fileType === void 0 ? "image" : _ref4$fileType, _ref4$cloudPathAsReal = _ref4.cloudPathAsRealPath, s = _ref4$cloudPathAsReal === void 0 ? !1 : _ref4$cloudPathAsReal, r = _ref4.onUploadProgress, i = _ref4.config; if (!("string" !== f(t))) { _context2.next = 3; break; } throw new te({ code: "INVALID_PARAM", message: "cloudPath必须为字符串类型" }); case 3: if (t = t.trim()) { _context2.next = 5; break; } throw new te({ code: "INVALID_PARAM", message: "cloudPath不可为空" }); case 5: if (!/:\/\//.test(t)) { _context2.next = 7; break; } throw new te({ code: "INVALID_PARAM", message: "cloudPath不合法" }); case 7: o = i && i.envType || this.config.envType; if (!(s && ("/" !== t[0] && (t = "/" + t), t.indexOf("\\") > -1))) { _context2.next = 10; break; } throw new te({ code: "INVALID_PARAM", message: "使用cloudPath作为路径时,cloudPath不可包含“\\”" }); case 10: _context2.next = 12; return this.getOSSUploadOptionsFromPath({ env: o, filename: s ? t.split("/").pop() : t, fileId: s ? t : void 0 }); case 12: a = _context2.sent.result; c = "https://" + a.cdnDomain + "/" + a.ossPath; u = a.securityToken; h = a.accessKeyId; l = a.signature; d = a.host; p = a.ossPath; g = a.id; m = a.policy; y = a.ossCallbackUrl; _ = { "Cache-Control": "max-age=2592000", "Content-Disposition": "attachment", OSSAccessKeyId: h, Signature: l, host: d, id: g, key: p, policy: m, success_action_status: 200 }; if (u && (_["x-oss-security-token"] = u), y) { _e4 = JSON.stringify({ callbackUrl: y, callbackBody: JSON.stringify({ fileId: g, spaceId: this.config.spaceId }), callbackBodyType: "application/json" }); _.callback = he.toBase64(_e4); } w = { url: "https://" + a.host, formData: _, fileName: "file", name: "file", filePath: e, fileType: n }; _context2.next = 27; return this.uploadFileToOSS(Object.assign({}, w, { onUploadProgress: r })); case 27: if (!y) { _context2.next = 29; break; } return _context2.abrupt("return", { success: !0, filePath: e, fileID: c }); case 29: _context2.next = 31; return this.reportOSSUpload({ id: g }); case 31: if (!_context2.sent.success) { _context2.next = 33; break; } return _context2.abrupt("return", { success: !0, filePath: e, fileID: c }); case 33: throw new te({ code: "UPLOAD_FAILED", message: "文件上传失败" }); case 34: case "end": return _context2.stop(); } } }, _callee2, this); })); function uploadFile(_x) { return _uploadFile.apply(this, arguments); } return uploadFile; }() }, { key: "getTempFileURL", value: function getTempFileURL() { var _ref5 = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}, e = _ref5.fileList; return new Promise(function (t, n) { Array.isArray(e) && 0 !== e.length || n(new te({ code: "INVALID_PARAM", message: "fileList的元素必须是非空的字符串" })), t({ fileList: e.map(function (e) { return { fileID: e, tempFileURL: e }; }) }); }); } }, { key: "getFileInfo", value: function () { var _getFileInfo = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee3() { var _ref6, e, t, _args3 = arguments; return _regenerator.default.wrap(function _callee3$(_context3) { while (1) { switch (_context3.prev = _context3.next) { case 0: _ref6 = _args3.length > 0 && _args3[0] !== undefined ? _args3[0] : {}, e = _ref6.fileList; if (!(!Array.isArray(e) || 0 === e.length)) { _context3.next = 3; break; } throw new te({ code: "INVALID_PARAM", message: "fileList的元素必须是非空的字符串" }); case 3: t = { method: "serverless.file.resource.info", params: JSON.stringify({ id: e.map(function (e) { return e.split("?")[0]; }).join(",") }) }; _context3.next = 6; return this.request(this.setupRequest(t)); case 6: _context3.t0 = _context3.sent.result; return _context3.abrupt("return", { fileList: _context3.t0 }); case 8: case "end": return _context3.stop(); } } }, _callee3, this); })); function getFileInfo() { return _getFileInfo.apply(this, arguments); } return getFileInfo; }() }]); return le; }(); var de = { init: function init(e) { var t = new le(e), n = { signInAnonymously: function signInAnonymously() { return t.authorize(); }, getLoginState: function getLoginState() { return Promise.resolve(!1); } }; return t.auth = function () { return n; }, t.customAuth = t.auth, t; } }; var pe = "undefined" != typeof location && "http:" === location.protocol ? "http:" : "https:"; var fe; !function (e) { e.local = "local", e.none = "none", e.session = "session"; }(fe || (fe = {})); var ge = function ge() {}, me = n(function (e, t) { var n; e.exports = (n = r, function (e) { var t = n, s = t.lib, r = s.WordArray, i = s.Hasher, o = t.algo, a = [], c = []; !function () { function t(t) { for (var n = e.sqrt(t), s = 2; s <= n; s++) { if (!(t % s)) return !1; } return !0; } function n(e) { return 4294967296 * (e - (0 | e)) | 0; } for (var s = 2, r = 0; r < 64;) { t(s) && (r < 8 && (a[r] = n(e.pow(s, .5))), c[r] = n(e.pow(s, 1 / 3)), r++), s++; } }(); var u = [], h = o.SHA256 = i.extend({ _doReset: function _doReset() { this._hash = new r.init(a.slice(0)); }, _doProcessBlock: function _doProcessBlock(e, t) { for (var n = this._hash.words, s = n[0], r = n[1], i = n[2], o = n[3], a = n[4], h = n[5], l = n[6], d = n[7], p = 0; p < 64; p++) { if (p < 16) u[p] = 0 | e[t + p];else { var f = u[p - 15], g = (f << 25 | f >>> 7) ^ (f << 14 | f >>> 18) ^ f >>> 3, m = u[p - 2], y = (m << 15 | m >>> 17) ^ (m << 13 | m >>> 19) ^ m >>> 10; u[p] = g + u[p - 7] + y + u[p - 16]; } var _ = s & r ^ s & i ^ r & i, w = (s << 30 | s >>> 2) ^ (s << 19 | s >>> 13) ^ (s << 10 | s >>> 22), v = d + ((a << 26 | a >>> 6) ^ (a << 21 | a >>> 11) ^ (a << 7 | a >>> 25)) + (a & h ^ ~a & l) + c[p] + u[p]; d = l, l = h, h = a, a = o + v | 0, o = i, i = r, r = s, s = v + (w + _) | 0; } n[0] = n[0] + s | 0, n[1] = n[1] + r | 0, n[2] = n[2] + i | 0, n[3] = n[3] + o | 0, n[4] = n[4] + a | 0, n[5] = n[5] + h | 0, n[6] = n[6] + l | 0, n[7] = n[7] + d | 0; }, _doFinalize: function _doFinalize() { var t = this._data, n = t.words, s = 8 * this._nDataBytes, r = 8 * t.sigBytes; return n[r >>> 5] |= 128 << 24 - r % 32, n[14 + (r + 64 >>> 9 << 4)] = e.floor(s / 4294967296), n[15 + (r + 64 >>> 9 << 4)] = s, t.sigBytes = 4 * n.length, this._process(), this._hash; }, clone: function clone() { var e = i.clone.call(this); return e._hash = this._hash.clone(), e; } }); t.SHA256 = i._createHelper(h), t.HmacSHA256 = i._createHmacHelper(h); }(Math), n.SHA256); }), ye = me, _e = n(function (e, t) { e.exports = r.HmacSHA256; }); var we = function we() { var e; if (!Promise) { e = function e() {}, e.promise = {}; var _t3 = function _t3() { throw new te({ message: 'Your Node runtime does support ES6 Promises. Set "global.Promise" to your preferred implementation of promises.' }); }; return Object.defineProperty(e.promise, "then", { get: _t3 }), Object.defineProperty(e.promise, "catch", { get: _t3 }), e; } var t = new Promise(function (t, n) { e = function e(_e5, s) { return _e5 ? n(_e5) : t(s); }; }); return e.promise = t, e; }; function ve(e) { return void 0 === e; } function Ie(e) { return "[object Null]" === Object.prototype.toString.call(e); } var Se; function be(e) { var t = (n = e, "[object Array]" === Object.prototype.toString.call(n) ? e : [e]); var n; var _iterator = _createForOfIteratorHelper(t), _step; try { for (_iterator.s(); !(_step = _iterator.n()).done;) { var _e6 = _step.value; var _t4 = _e6.isMatch, _n4 = _e6.genAdapter, _s4 = _e6.runtime; if (_t4()) return { adapter: _n4(), runtime: _s4 }; } } catch (err) { _iterator.e(err); } finally { _iterator.f(); } } !function (e) { e.WEB = "web", e.WX_MP = "wx_mp"; }(Se || (Se = {})); var ke = { adapter: null, runtime: void 0 }, Ae = ["anonymousUuidKey"]; var Pe = /*#__PURE__*/function (_ge) { (0, _inherits2.default)(Pe, _ge); var _super2 = _createSuper(Pe); function Pe() { var _this6; (0, _classCallCheck2.default)(this, Pe); _this6 = _super2.call(this), ke.adapter.root.tcbObject || (ke.adapter.root.tcbObject = {}); return _this6; } (0, _createClass2.default)(Pe, [{ key: "setItem", value: function setItem(e, t) { ke.adapter.root.tcbObject[e] = t; } }, { key: "getItem", value: function getItem(e) { return ke.adapter.root.tcbObject[e]; } }, { key: "removeItem", value: function removeItem(e) { delete ke.adapter.root.tcbObject[e]; } }, { key: "clear", value: function clear() { delete ke.adapter.root.tcbObject; } }]); return Pe; }(ge); function Te(e, t) { switch (e) { case "local": return t.localStorage || new Pe(); case "none": return new Pe(); default: return t.sessionStorage || new Pe(); } } var Ce = /*#__PURE__*/function () { function Ce(e) { (0, _classCallCheck2.default)(this, Ce); if (!this._storage) { this._persistence = ke.adapter.primaryStorage || e.persistence, this._storage = Te(this._persistence, ke.adapter); var _t5 = "access_token_".concat(e.env), _n5 = "access_token_expire_".concat(e.env), _s5 = "refresh_token_".concat(e.env), _r = "anonymous_uuid_".concat(e.env), _i = "login_type_".concat(e.env), _o = "user_info_".concat(e.env); this.keys = { accessTokenKey: _t5, accessTokenExpireKey: _n5, refreshTokenKey: _s5, anonymousUuidKey: _r, loginTypeKey: _i, userInfoKey: _o }; } } (0, _createClass2.default)(Ce, [{ key: "updatePersistence", value: function updatePersistence(e) { if (e === this._persistence) return; var t = "local" === this._persistence; this._persistence = e; var n = Te(e, ke.adapter); for (var _e7 in this.keys) { var _s6 = this.keys[_e7]; if (t && Ae.includes(_e7)) continue; var _r2 = this._storage.getItem(_s6); ve(_r2) || Ie(_r2) || (n.setItem(_s6, _r2), this._storage.removeItem(_s6)); } this._storage = n; } }, { key: "setStore", value: function setStore(e, t, n) { if (!this._storage) return; var s = { version: n || "localCachev1", content: t }, r = JSON.stringify(s); try { this._storage.setItem(e, r); } catch (e) { throw e; } } }, { key: "getStore", value: function getStore(e, t) { try { if (!this._storage) return; } catch (e) { return ""; } t = t || "localCachev1"; var n = this._storage.getItem(e); if (!n) return ""; if (n.indexOf(t) >= 0) { return JSON.parse(n).content; } return ""; } }, { key: "removeStore", value: function removeStore(e) { this._storage.removeItem(e); } }]); return Ce; }(); var xe = {}, Oe = {}; function Ee(e) { return xe[e]; } var Le = /*#__PURE__*/(0, _createClass2.default)(function Le(e, t) { (0, _classCallCheck2.default)(this, Le); this.data = t || null, this.name = e; }); var Re = /*#__PURE__*/function (_Le) { (0, _inherits2.default)(Re, _Le); var _super3 = _createSuper(Re); function Re(e, t) { var _this7; (0, _classCallCheck2.default)(this, Re); _this7 = _super3.call(this, "error", { error: e, data: t }), _this7.error = e; return _this7; } return (0, _createClass2.default)(Re); }(Le); var Ue = new ( /*#__PURE__*/function () { function _class() { (0, _classCallCheck2.default)(this, _class); this._listeners = {}; } (0, _createClass2.default)(_class, [{ key: "on", value: function on(e, t) { return function (e, t, n) { n[e] = n[e] || [], n[e].push(t); }(e, t, this._listeners), this; } }, { key: "off", value: function off(e, t) { return function (e, t, n) { if (n && n[e]) { var _s7 = n[e].indexOf(t); -1 !== _s7 && n[e].splice(_s7, 1); } }(e, t, this._listeners), this; } }, { key: "fire", value: function fire(e, t) { if (e instanceof Re) return console.error(e.error), this; var n = "string" == typeof e ? new Le(e, t || {}) : e; var s = n.name; if (this._listens(s)) { n.target = this; var _e8 = this._listeners[s] ? (0, _toConsumableArray2.default)(this._listeners[s]) : []; var _iterator2 = _createForOfIteratorHelper(_e8), _step2; try { for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) { var _t6 = _step2.value; _t6.call(this, n); } } catch (err) { _iterator2.e(err); } finally { _iterator2.f(); } } return this; } }, { key: "_listens", value: function _listens(e) { return this._listeners[e] && this._listeners[e].length > 0; } }]); return _class; }())(); function Ne(e, t) { Ue.on(e, t); } function De(e) { var t = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; Ue.fire(e, t); } function Me(e, t) { Ue.off(e, t); } var qe = "loginStateChanged", Fe = "loginStateExpire", Ke = "loginTypeChanged", je = "anonymousConverted", $e = "refreshAccessToken"; var Be; !function (e) { e.ANONYMOUS = "ANONYMOUS", e.WECHAT = "WECHAT", e.WECHAT_PUBLIC = "WECHAT-PUBLIC", e.WECHAT_OPEN = "WECHAT-OPEN", e.CUSTOM = "CUSTOM", e.EMAIL = "EMAIL", e.USERNAME = "USERNAME", e.NULL = "NULL"; }(Be || (Be = {})); var We = ["auth.getJwt", "auth.logout", "auth.signInWithTicket", "auth.signInAnonymously", "auth.signIn", "auth.fetchAccessTokenWithRefreshToken", "auth.signUpWithEmailAndPassword", "auth.activateEndUserMail", "auth.sendPasswordResetEmail", "auth.resetPasswordWithToken", "auth.isUsernameRegistered"], He = { "X-SDK-Version": "1.3.5" }; function ze(e, t, n) { var s = e[t]; e[t] = function (t) { var r = {}, i = {}; n.forEach(function (n) { var _n$call = n.call(e, t), s = _n$call.data, o = _n$call.headers; Object.assign(r, s), Object.assign(i, o); }); var o = t.data; return o && function () { var e; if (e = o, "[object FormData]" !== Object.prototype.toString.call(e)) t.data = _objectSpread(_objectSpread({}, o), r);else for (var _e9 in r) { o.append(_e9, r[_e9]); } }(), t.headers = _objectSpread(_objectSpread({}, t.headers || {}), i), s.call(e, t); }; } function Je() { var e = Math.random().toString(16).slice(2); return { data: { seqId: e }, headers: _objectSpread(_objectSpread({}, He), {}, { "x-seqid": e }) }; } var Ge = /*#__PURE__*/function () { function Ge() { var e = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; (0, _classCallCheck2.default)(this, Ge); var t; this.config = e, this._reqClass = new ke.adapter.reqClass({ timeout: this.config.timeout, timeoutMsg: "\u8BF7\u6C42\u5728".concat(this.config.timeout / 1e3, "s\u5185\u672A\u5B8C\u6210\uFF0C\u5DF2\u4E2D\u65AD"), restrictedMethods: ["post"] }), this._cache = Ee(this.config.env), this._localCache = (t = this.config.env, Oe[t]), ze(this._reqClass, "post", [Je]), ze(this._reqClass, "upload", [Je]), ze(this._reqClass, "download", [Je]); } (0, _createClass2.default)(Ge, [{ key: "post", value: function () { var _post = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee4(e) { return _regenerator.default.wrap(function _callee4$(_context4) { while (1) { switch (_context4.prev = _context4.next) { case 0: _context4.next = 2; return this._reqClass.post(e); case 2: return _context4.abrupt("return", _context4.sent); case 3: case "end": return _context4.stop(); } } }, _callee4, this); })); function post(_x2) { return _post.apply(this, arguments); } return post; }() }, { key: "upload", value: function () { var _upload = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee5(e) { return _regenerator.default.wrap(function _callee5$(_context5) { while (1) { switch (_context5.prev = _context5.next) { case 0: _context5.next = 2; return this._reqClass.upload(e); case 2: return _context5.abrupt("return", _context5.sent); case 3: case "end": return _context5.stop(); } } }, _callee5, this); })); function upload(_x3) { return _upload.apply(this, arguments); } return upload; }() }, { key: "download", value: function () { var _download = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee6(e) { return _regenerator.default.wrap(function _callee6$(_context6) { while (1) { switch (_context6.prev = _context6.next) { case 0: _context6.next = 2; return this._reqClass.download(e); case 2: return _context6.abrupt("return", _context6.sent); case 3: case "end": return _context6.stop(); } } }, _callee6, this); })); function download(_x4) { return _download.apply(this, arguments); } return download; }() }, { key: "refreshAccessToken", value: function () { var _refreshAccessToken2 = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee7() { var e, t; return _regenerator.default.wrap(function _callee7$(_context7) { while (1) { switch (_context7.prev = _context7.next) { case 0: this._refreshAccessTokenPromise || (this._refreshAccessTokenPromise = this._refreshAccessToken()); _context7.prev = 1; _context7.next = 4; return this._refreshAccessTokenPromise; case 4: e = _context7.sent; _context7.next = 10; break; case 7: _context7.prev = 7; _context7.t0 = _context7["catch"](1); t = _context7.t0; case 10: if (!(this._refreshAccessTokenPromise = null, this._shouldRefreshAccessTokenHook = null, t)) { _context7.next = 12; break; } throw t; case 12: return _context7.abrupt("return", e); case 13: case "end": return _context7.stop(); } } }, _callee7, this, [[1, 7]]); })); function refreshAccessToken() { return _refreshAccessToken2.apply(this, arguments); } return refreshAccessToken; }() }, { key: "_refreshAccessToken", value: function () { var _refreshAccessToken3 = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee8() { var _this$_cache$keys, e, t, n, s, r, i, o, a, _e10, _e11, _t7, _s8; return _regenerator.default.wrap(function _callee8$(_context8) { while (1) { switch (_context8.prev = _context8.next) { case 0: _this$_cache$keys = this._cache.keys, e = _this$_cache$keys.accessTokenKey, t = _this$_cache$keys.accessTokenExpireKey, n = _this$_cache$keys.refreshTokenKey, s = _this$_cache$keys.loginTypeKey, r = _this$_cache$keys.anonymousUuidKey; this._cache.removeStore(e), this._cache.removeStore(t); i = this._cache.getStore(n); if (i) { _context8.next = 5; break; } throw new te({ message: "未登录CloudBase" }); case 5: o = { refresh_token: i }; _context8.next = 8; return this.request("auth.fetchAccessTokenWithRefreshToken", o); case 8: a = _context8.sent; if (!a.data.code) { _context8.next = 21; break; } _e10 = a.data.code; if (!("SIGN_PARAM_INVALID" === _e10 || "REFRESH_TOKEN_EXPIRED" === _e10 || "INVALID_REFRESH_TOKEN" === _e10)) { _context8.next = 20; break; } if (!(this._cache.getStore(s) === Be.ANONYMOUS && "INVALID_REFRESH_TOKEN" === _e10)) { _context8.next = 19; break; } _e11 = this._cache.getStore(r); _t7 = this._cache.getStore(n); _context8.next = 17; return this.send("auth.signInAnonymously", { anonymous_uuid: _e11, refresh_token: _t7 }); case 17: _s8 = _context8.sent; return _context8.abrupt("return", (this.setRefreshToken(_s8.refresh_token), this._refreshAccessToken())); case 19: De(Fe), this._cache.removeStore(n); case 20: throw new te({ code: a.data.code, message: "\u5237\u65B0access token\u5931\u8D25\uFF1A".concat(a.data.code) }); case 21: if (!a.data.access_token) { _context8.next = 23; break; } return _context8.abrupt("return", (De($e), this._cache.setStore(e, a.data.access_token), this._cache.setStore(t, a.data.access_token_expire + Date.now()), { accessToken: a.data.access_token, accessTokenExpire: a.data.access_token_expire })); case 23: a.data.refresh_token && (this._cache.removeStore(n), this._cache.setStore(n, a.data.refresh_token), this._refreshAccessToken()); case 24: case "end": return _context8.stop(); } } }, _callee8, this); })); function _refreshAccessToken() { return _refreshAccessToken3.apply(this, arguments); } return _refreshAccessToken; }() }, { key: "getAccessToken", value: function () { var _getAccessToken = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee9() { var _this$_cache$keys2, e, t, n, s, r, i; return _regenerator.default.wrap(function _callee9$(_context9) { while (1) { switch (_context9.prev = _context9.next) { case 0: _this$_cache$keys2 = this._cache.keys, e = _this$_cache$keys2.accessTokenKey, t = _this$_cache$keys2.accessTokenExpireKey, n = _this$_cache$keys2.refreshTokenKey; if (this._cache.getStore(n)) { _context9.next = 3; break; } throw new te({ message: "refresh token不存在,登录状态异常" }); case 3: s = this._cache.getStore(e), r = this._cache.getStore(t), i = !0; _context9.t0 = this._shouldRefreshAccessTokenHook; if (!_context9.t0) { _context9.next = 9; break; } _context9.next = 8; return this._shouldRefreshAccessTokenHook(s, r); case 8: _context9.t0 = !_context9.sent; case 9: _context9.t1 = _context9.t0; if (!_context9.t1) { _context9.next = 12; break; } i = !1; case 12: return _context9.abrupt("return", (!s || !r || r < Date.now()) && i ? this.refreshAccessToken() : { accessToken: s, accessTokenExpire: r }); case 13: case "end": return _context9.stop(); } } }, _callee9, this); })); function getAccessToken() { return _getAccessToken.apply(this, arguments); } return getAccessToken; }() }, { key: "request", value: function () { var _request = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee10(e, t, n) { var s, r, i, _e12, o, _e13, _e14, a, c, u, h, l, d, p, f, g; return _regenerator.default.wrap(function _callee10$(_context10) { while (1) { switch (_context10.prev = _context10.next) { case 0: s = "x-tcb-trace_".concat(this.config.env); r = "application/x-www-form-urlencoded"; i = _objectSpread({ action: e, env: this.config.env, dataVersion: "2019-08-16" }, t); if (!(-1 === We.indexOf(e))) { _context10.next = 10; break; } _e12 = this._cache.keys.refreshTokenKey; _context10.t0 = this._cache.getStore(_e12); if (!_context10.t0) { _context10.next = 10; break; } _context10.next = 9; return this.getAccessToken(); case 9: i.access_token = _context10.sent.accessToken; case 10: if ("storage.uploadFile" === e) { o = new FormData(); for (_e13 in o) { o.hasOwnProperty(_e13) && void 0 !== o[_e13] && o.append(_e13, i[_e13]); } r = "multipart/form-data"; } else { r = "application/json", o = {}; for (_e14 in i) { void 0 !== i[_e14] && (o[_e14] = i[_e14]); } } a = { headers: { "content-type": r } }; n && n.onUploadProgress && (a.onUploadProgress = n.onUploadProgress); c = this._localCache.getStore(s); c && (a.headers["X-TCB-Trace"] = c); u = t.parse, h = t.inQuery, l = t.search; d = { env: this.config.env }; u && (d.parse = !0), h && (d = _objectSpread(_objectSpread({}, h), d)); p = function (e, t) { var n = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {}; var s = /\?/.test(t); var r = ""; for (var _e15 in n) { "" === r ? !s && (t += "?") : r += "&", r += "".concat(_e15, "=").concat(encodeURIComponent(n[_e15])); } return /^http(s)?\:\/\//.test(t += r) ? t : "".concat(e).concat(t); }(pe, "//tcb-api.tencentcloudapi.com/web", d); l && (p += l); _context10.next = 22; return this.post(_objectSpread({ url: p, data: o }, a)); case 22: f = _context10.sent; g = f.header && f.header["x-tcb-trace"]; if (!(g && this._localCache.setStore(s, g), 200 !== Number(f.status) && 200 !== Number(f.statusCode) || !f.data)) { _context10.next = 26; break; } throw new te({ code: "NETWORK_ERROR", message: "network request error" }); case 26: return _context10.abrupt("return", f); case 27: case "end": return _context10.stop(); } } }, _callee10, this); })); function request(_x5, _x6, _x7) { return _request.apply(this, arguments); } return request; }() }, { key: "send", value: function () { var _send = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee11(e) { var t, n, _n6, _args11 = arguments; return _regenerator.default.wrap(function _callee11$(_context11) { while (1) { switch (_context11.prev = _context11.next) { case 0: t = _args11.length > 1 && _args11[1] !== undefined ? _args11[1] : {}; _context11.next = 3; return this.request(e, t, { onUploadProgress: t.onUploadProgress }); case 3: n = _context11.sent; if (!("ACCESS_TOKEN_EXPIRED" === n.data.code && -1 === We.indexOf(e))) { _context11.next = 13; break; } _context11.next = 7; return this.refreshAccessToken(); case 7: _context11.next = 9; return this.request(e, t, { onUploadProgress: t.onUploadProgress }); case 9: _n6 = _context11.sent; if (!_n6.data.code) { _context11.next = 12; break; } throw new te({ code: _n6.data.code, message: _n6.data.message }); case 12: return _context11.abrupt("return", _n6.data); case 13: if (!n.data.code) { _context11.next = 15; break; } throw new te({ code: n.data.code, message: n.data.message }); case 15: return _context11.abrupt("return", n.data); case 16: case "end": return _context11.stop(); } } }, _callee11, this); })); function send(_x8) { return _send.apply(this, arguments); } return send; }() }, { key: "setRefreshToken", value: function setRefreshToken(e) { var _this$_cache$keys3 = this._cache.keys, t = _this$_cache$keys3.accessTokenKey, n = _this$_cache$keys3.accessTokenExpireKey, s = _this$_cache$keys3.refreshTokenKey; this._cache.removeStore(t), this._cache.removeStore(n), this._cache.setStore(s, e); } }]); return Ge; }(); var Ve = {}; function Ye(e) { return Ve[e]; } var Qe = /*#__PURE__*/function () { function Qe(e) { (0, _classCallCheck2.default)(this, Qe); this.config = e, this._cache = Ee(e.env), this._request = Ye(e.env); } (0, _createClass2.default)(Qe, [{ key: "setRefreshToken", value: function setRefreshToken(e) { var _this$_cache$keys4 = this._cache.keys, t = _this$_cache$keys4.accessTokenKey, n = _this$_cache$keys4.accessTokenExpireKey, s = _this$_cache$keys4.refreshTokenKey; this._cache.removeStore(t), this._cache.removeStore(n), this._cache.setStore(s, e); } }, { key: "setAccessToken", value: function setAccessToken(e, t) { var _this$_cache$keys5 = this._cache.keys, n = _this$_cache$keys5.accessTokenKey, s = _this$_cache$keys5.accessTokenExpireKey; this._cache.setStore(n, e), this._cache.setStore(s, t); } }, { key: "refreshUserInfo", value: function () { var _refreshUserInfo = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee12() { var _yield$this$_request$, e; return _regenerator.default.wrap(function _callee12$(_context12) { while (1) { switch (_context12.prev = _context12.next) { case 0: _context12.next = 2; return this._request.send("auth.getUserInfo", {}); case 2: _yield$this$_request$ = _context12.sent; e = _yield$this$_request$.data; return _context12.abrupt("return", (this.setLocalUserInfo(e), e)); case 5: case "end": return _context12.stop(); } } }, _callee12, this); })); function refreshUserInfo() { return _refreshUserInfo.apply(this, arguments); } return refreshUserInfo; }() }, { key: "setLocalUserInfo", value: function setLocalUserInfo(e) { var t = this._cache.keys.userInfoKey; this._cache.setStore(t, e); } }]); return Qe; }(); var Xe = /*#__PURE__*/function () { function Xe(e) { (0, _classCallCheck2.default)(this, Xe); if (!e) throw new te({ code: "PARAM_ERROR", message: "envId is not defined" }); this._envId = e, this._cache = Ee(this._envId), this._request = Ye(this._envId), this.setUserInfo(); } (0, _createClass2.default)(Xe, [{ key: "linkWithTicket", value: function linkWithTicket(e) { if ("string" != typeof e) throw new te({ code: "PARAM_ERROR", message: "ticket must be string" }); return this._request.send("auth.linkWithTicket", { ticket: e }); } }, { key: "linkWithRedirect", value: function linkWithRedirect(e) { e.signInWithRedirect(); } }, { key: "updatePassword", value: function updatePassword(e, t) { return this._request.send("auth.updatePassword", { oldPassword: t, newPassword: e }); } }, { key: "updateEmail", value: function updateEmail(e) { return this._request.send("auth.updateEmail", { newEmail: e }); } }, { key: "updateUsername", value: function updateUsername(e) { if ("string" != typeof e) throw new te({ code: "PARAM_ERROR", message: "username must be a string" }); return this._request.send("auth.updateUsername", { username: e }); } }, { key: "getLinkedUidList", value: function () { var _getLinkedUidList = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee13() { var _yield$this$_request$2, e, t, n; return _regenerator.default.wrap(function _callee13$(_context13) { while (1) { switch (_context13.prev = _context13.next) { case 0: _context13.next = 2; return this._request.send("auth.getLinkedUidList", {}); case 2: _yield$this$_request$2 = _context13.sent; e = _yield$this$_request$2.data; t = !1; n = e.users; return _context13.abrupt("return", (n.forEach(function (e) { e.wxOpenId && e.wxPublicId && (t = !0); }), { users: n, hasPrimaryUid: t })); case 7: case "end": return _context13.stop(); } } }, _callee13, this); })); function getLinkedUidList() { return _getLinkedUidList.apply(this, arguments); } return getLinkedUidList; }() }, { key: "setPrimaryUid", value: function setPrimaryUid(e) { return this._request.send("auth.setPrimaryUid", { uid: e }); } }, { key: "unlink", value: function unlink(e) { return this._request.send("auth.unlink", { platform: e }); } }, { key: "update", value: function () { var _update = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee14(e) { var t, n, s, r, i, o, _yield$this$_request$3, a; return _regenerator.default.wrap(function _callee14$(_context14) { while (1) { switch (_context14.prev = _context14.next) { case 0: t = e.nickName; n = e.gender; s = e.avatarUrl; r = e.province; i = e.country; o = e.city; _context14.next = 8; return this._request.send("auth.updateUserInfo", { nickName: t, gender: n, avatarUrl: s, province: r, country: i, city: o }); case 8: _yield$this$_request$3 = _context14.sent; a = _yield$this$_request$3.data; this.setLocalUserInfo(a); case 11: case "end": return _context14.stop(); } } }, _callee14, this); })); function update(_x9) { return _update.apply(this, arguments); } return update; }() }, { key: "refresh", value: function () { var _refresh = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee15() { var _yield$this$_request$4, e; return _regenerator.default.wrap(function _callee15$(_context15) { while (1) { switch (_context15.prev = _context15.next) { case 0: _context15.next = 2; return this._request.send("auth.getUserInfo", {}); case 2: _yield$this$_request$4 = _context15.sent; e = _yield$this$_request$4.data; return _context15.abrupt("return", (this.setLocalUserInfo(e), e)); case 5: case "end": return _context15.stop(); } } }, _callee15, this); })); function refresh() { return _refresh.apply(this, arguments); } return refresh; }() }, { key: "setUserInfo", value: function setUserInfo() { var _this8 = this; var e = this._cache.keys.userInfoKey, t = this._cache.getStore(e); ["uid", "loginType", "openid", "wxOpenId", "wxPublicId", "unionId", "qqMiniOpenId", "email", "hasPassword", "customUserId", "nickName", "gender", "avatarUrl"].forEach(function (e) { _this8[e] = t[e]; }), this.location = { country: t.country, province: t.province, city: t.city }; } }, { key: "setLocalUserInfo", value: function setLocalUserInfo(e) { var t = this._cache.keys.userInfoKey; this._cache.setStore(t, e), this.setUserInfo(); } }]); return Xe; }(); var Ze = /*#__PURE__*/function () { function Ze(e) { (0, _classCallCheck2.default)(this, Ze); if (!e) throw new te({ code: "PARAM_ERROR", message: "envId is not defined" }); this._cache = Ee(e); var _this$_cache$keys6 = this._cache.keys, t = _this$_cache$keys6.refreshTokenKey, n = _this$_cache$keys6.accessTokenKey, s = _this$_cache$keys6.accessTokenExpireKey, r = this._cache.getStore(t), i = this._cache.getStore(n), o = this._cache.getStore(s); this.credential = { refreshToken: r, accessToken: i, accessTokenExpire: o }, this.user = new Xe(e); } (0, _createClass2.default)(Ze, [{ key: "isAnonymousAuth", get: function get() { return this.loginType === Be.ANONYMOUS; } }, { key: "isCustomAuth", get: function get() { return this.loginType === Be.CUSTOM; } }, { key: "isWeixinAuth", get: function get() { return this.loginType === Be.WECHAT || this.loginType === Be.WECHAT_OPEN || this.loginType === Be.WECHAT_PUBLIC; } }, { key: "loginType", get: function get() { return this._cache.getStore(this._cache.keys.loginTypeKey); } }]); return Ze; }(); var et = /*#__PURE__*/function (_Qe) { (0, _inherits2.default)(et, _Qe); var _super4 = _createSuper(et); function et() { (0, _classCallCheck2.default)(this, et); return _super4.apply(this, arguments); } (0, _createClass2.default)(et, [{ key: "signIn", value: function () { var _signIn = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee16() { var _this$_cache$keys7, e, t, n, s, r, _e16; return _regenerator.default.wrap(function _callee16$(_context16) { while (1) { switch (_context16.prev = _context16.next) { case 0: this._cache.updatePersistence("local"); _this$_cache$keys7 = this._cache.keys; e = _this$_cache$keys7.anonymousUuidKey; t = _this$_cache$keys7.refreshTokenKey; n = this._cache.getStore(e) || void 0; s = this._cache.getStore(t) || void 0; _context16.next = 8; return this._request.send("auth.signInAnonymously", { anonymous_uuid: n, refresh_token: s }); case 8: r = _context16.sent; if (!(r.uuid && r.refresh_token)) { _context16.next = 20; break; } this._setAnonymousUUID(r.uuid); this.setRefreshToken(r.refresh_token); _context16.next = 14; return this._request.refreshAccessToken(); case 14: De(qe); De(Ke, { env: this.config.env, loginType: Be.ANONYMOUS, persistence: "local" }); _e16 = new Ze(this.config.env); _context16.next = 19; return _e16.user.refresh(); case 19: return _context16.abrupt("return", _e16); case 20: throw new te({ message: "匿名登录失败" }); case 21: case "end": return _context16.stop(); } } }, _callee16, this); })); function signIn() { return _signIn.apply(this, arguments); } return signIn; }() }, { key: "linkAndRetrieveDataWithTicket", value: function () { var _linkAndRetrieveDataWithTicket = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee17(e) { var _this$_cache$keys8, t, n, s, r, i; return _regenerator.default.wrap(function _callee17$(_context17) { while (1) { switch (_context17.prev = _context17.next) { case 0: _this$_cache$keys8 = this._cache.keys; t = _this$_cache$keys8.anonymousUuidKey; n = _this$_cache$keys8.refreshTokenKey; s = this._cache.getStore(t); r = this._cache.getStore(n); _context17.next = 7; return this._request.send("auth.linkAndRetrieveDataWithTicket", { anonymous_uuid: s, refresh_token: r, ticket: e }); case 7: i = _context17.sent; if (!i.refresh_token) { _context17.next = 16; break; } this._clearAnonymousUUID(); this.setRefreshToken(i.refresh_token); _context17.next = 13; return this._request.refreshAccessToken(); case 13: De(je, { env: this.config.env }); De(Ke, { loginType: Be.CUSTOM, persistence: "local" }); return _context17.abrupt("return", { credential: { refreshToken: i.refresh_token } }); case 16: throw new te({ message: "匿名转化失败" }); case 17: case "end": return _context17.stop(); } } }, _callee17, this); })); function linkAndRetrieveDataWithTicket(_x10) { return _linkAndRetrieveDataWithTicket.apply(this, arguments); } return linkAndRetrieveDataWithTicket; }() }, { key: "_setAnonymousUUID", value: function _setAnonymousUUID(e) { var _this$_cache$keys9 = this._cache.keys, t = _this$_cache$keys9.anonymousUuidKey, n = _this$_cache$keys9.loginTypeKey; this._cache.removeStore(t), this._cache.setStore(t, e), this._cache.setStore(n, Be.ANONYMOUS); } }, { key: "_clearAnonymousUUID", value: function _clearAnonymousUUID() { this._cache.removeStore(this._cache.keys.anonymousUuidKey); } }]); return et; }(Qe); var tt = /*#__PURE__*/function (_Qe2) { (0, _inherits2.default)(tt, _Qe2); var _super5 = _createSuper(tt); function tt() { (0, _classCallCheck2.default)(this, tt); return _super5.apply(this, arguments); } (0, _createClass2.default)(tt, [{ key: "signIn", value: function () { var _signIn2 = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee18(e) { var t, n; return _regenerator.default.wrap(function _callee18$(_context18) { while (1) { switch (_context18.prev = _context18.next) { case 0: if (!("string" != typeof e)) { _context18.next = 2; break; } throw new te({ code: "PARAM_ERROR", message: "ticket must be a string" }); case 2: t = this._cache.keys.refreshTokenKey; _context18.next = 5; return this._request.send("auth.signInWithTicket", { ticket: e, refresh_token: this._cache.getStore(t) || "" }); case 5: n = _context18.sent; if (!n.refresh_token) { _context18.next = 15; break; } this.setRefreshToken(n.refresh_token); _context18.next = 10; return this._request.refreshAccessToken(); case 10: De(qe); De(Ke, { env: this.config.env, loginType: Be.CUSTOM, persistence: this.config.persistence }); _context18.next = 14; return this.refreshUserInfo(); case 14: return _context18.abrupt("return", new Ze(this.config.env)); case 15: throw new te({ message: "自定义登录失败" }); case 16: case "end": return _context18.stop(); } } }, _callee18, this); })); function signIn(_x11) { return _signIn2.apply(this, arguments); } return signIn; }() }]); return tt; }(Qe); var nt = /*#__PURE__*/function (_Qe3) { (0, _inherits2.default)(nt, _Qe3); var _super6 = _createSuper(nt); function nt() { (0, _classCallCheck2.default)(this, nt); return _super6.apply(this, arguments); } (0, _createClass2.default)(nt, [{ key: "signIn", value: function () { var _signIn3 = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee19(e, t) { var n, s, r, i, o; return _regenerator.default.wrap(function _callee19$(_context19) { while (1) { switch (_context19.prev = _context19.next) { case 0: if (!("string" != typeof e)) { _context19.next = 2; break; } throw new te({ code: "PARAM_ERROR", message: "email must be a string" }); case 2: n = this._cache.keys.refreshTokenKey; _context19.next = 5; return this._request.send("auth.signIn", { loginType: "EMAIL", email: e, password: t, refresh_token: this._cache.getStore(n) || "" }); case 5: s = _context19.sent; r = s.refresh_token; i = s.access_token; o = s.access_token_expire; if (!r) { _context19.next = 22; break; } this.setRefreshToken(r); if (!(i && o)) { _context19.next = 15; break; } this.setAccessToken(i, o); _context19.next = 17; break; case 15: _context19.next = 17; return this._request.refreshAccessToken(); case 17: _context19.next = 19; return this.refreshUserInfo(); case 19: De(qe); De(Ke, { env: this.config.env, loginType: Be.EMAIL, persistence: this.config.persistence }); return _context19.abrupt("return", new Ze(this.config.env)); case 22: throw s.code ? new te({ code: s.code, message: "\u90AE\u7BB1\u767B\u5F55\u5931\u8D25: ".concat(s.message) }) : new te({ message: "邮箱登录失败" }); case 23: case "end": return _context19.stop(); } } }, _callee19, this); })); function signIn(_x12, _x13) { return _signIn3.apply(this, arguments); } return signIn; }() }, { key: "activate", value: function () { var _activate = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee20(e) { return _regenerator.default.wrap(function _callee20$(_context20) { while (1) { switch (_context20.prev = _context20.next) { case 0: return _context20.abrupt("return", this._request.send("auth.activateEndUserMail", { token: e })); case 1: case "end": return _context20.stop(); } } }, _callee20, this); })); function activate(_x14) { return _activate.apply(this, arguments); } return activate; }() }, { key: "resetPasswordWithToken", value: function () { var _resetPasswordWithToken = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee21(e, t) { return _regenerator.default.wrap(function _callee21$(_context21) { while (1) { switch (_context21.prev = _context21.next) { case 0: return _context21.abrupt("return", this._request.send("auth.resetPasswordWithToken", { token: e, newPassword: t })); case 1: case "end": return _context21.stop(); } } }, _callee21, this); })); function resetPasswordWithToken(_x15, _x16) { return _resetPasswordWithToken.apply(this, arguments); } return resetPasswordWithToken; }() }]); return nt; }(Qe); var st = /*#__PURE__*/function (_Qe4) { (0, _inherits2.default)(st, _Qe4); var _super7 = _createSuper(st); function st() { (0, _classCallCheck2.default)(this, st); return _super7.apply(this, arguments); } (0, _createClass2.default)(st, [{ key: "signIn", value: function () { var _signIn4 = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee22(e, t) { var n, s, r, i, o; return _regenerator.default.wrap(function _callee22$(_context22) { while (1) { switch (_context22.prev = _context22.next) { case 0: if (!("string" != typeof e)) { _context22.next = 2; break; } throw new te({ code: "PARAM_ERROR", message: "username must be a string" }); case 2: "string" != typeof t && (t = "", console.warn("password is empty")); n = this._cache.keys.refreshTokenKey; _context22.next = 6; return this._request.send("auth.signIn", { loginType: Be.USERNAME, username: e, password: t, refresh_token: this._cache.getStore(n) || "" }); case 6: s = _context22.sent; r = s.refresh_token; i = s.access_token_expire; o = s.access_token; if (!r) { _context22.next = 23; break; } this.setRefreshToken(r); if (!(o && i)) { _context22.next = 16; break; } this.setAccessToken(o, i); _context22.next = 18; break; case 16: _context22.next = 18; return this._request.refreshAccessToken(); case 18: _context22.next = 20; return this.refreshUserInfo(); case 20: De(qe); De(Ke, { env: this.config.env, loginType: Be.USERNAME, persistence: this.config.persistence }); return _context22.abrupt("return", new Ze(this.config.env)); case 23: throw s.code ? new te({ code: s.code, message: "\u7528\u6237\u540D\u5BC6\u7801\u767B\u5F55\u5931\u8D25: ".concat(s.message) }) : new te({ message: "用户名密码登录失败" }); case 24: case "end": return _context22.stop(); } } }, _callee22, this); })); function signIn(_x17, _x18) { return _signIn4.apply(this, arguments); } return signIn; }() }]); return st; }(Qe); var rt = /*#__PURE__*/function () { function rt(e) { (0, _classCallCheck2.default)(this, rt); this.config = e, this._cache = Ee(e.env), this._request = Ye(e.env), this._onAnonymousConverted = this._onAnonymousConverted.bind(this), this._onLoginTypeChanged = this._onLoginTypeChanged.bind(this), Ne(Ke, this._onLoginTypeChanged); } (0, _createClass2.default)(rt, [{ key: "currentUser", get: function get() { var e = this.hasLoginState(); return e && e.user || null; } }, { key: "loginType", get: function get() { return this._cache.getStore(this._cache.keys.loginTypeKey); } }, { key: "anonymousAuthProvider", value: function anonymousAuthProvider() { return new et(this.config); } }, { key: "customAuthProvider", value: function customAuthProvider() { return new tt(this.config); } }, { key: "emailAuthProvider", value: function emailAuthProvider() { return new nt(this.config); } }, { key: "usernameAuthProvider", value: function usernameAuthProvider() { return new st(this.config); } }, { key: "signInAnonymously", value: function () { var _signInAnonymously = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee23() { return _regenerator.default.wrap(function _callee23$(_context23) { while (1) { switch (_context23.prev = _context23.next) { case 0: return _context23.abrupt("return", new et(this.config).signIn()); case 1: case "end": return _context23.stop(); } } }, _callee23, this); })); function signInAnonymously() { return _signInAnonymously.apply(this, arguments); } return signInAnonymously; }() }, { key: "signInWithEmailAndPassword", value: function () { var _signInWithEmailAndPassword = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee24(e, t) { return _regenerator.default.wrap(function _callee24$(_context24) { while (1) { switch (_context24.prev = _context24.next) { case 0: return _context24.abrupt("return", new nt(this.config).signIn(e, t)); case 1: case "end": return _context24.stop(); } } }, _callee24, this); })); function signInWithEmailAndPassword(_x19, _x20) { return _signInWithEmailAndPassword.apply(this, arguments); } return signInWithEmailAndPassword; }() }, { key: "signInWithUsernameAndPassword", value: function signInWithUsernameAndPassword(e, t) { return new st(this.config).signIn(e, t); } }, { key: "linkAndRetrieveDataWithTicket", value: function () { var _linkAndRetrieveDataWithTicket2 = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee25(e) { return _regenerator.default.wrap(function _callee25$(_context25) { while (1) { switch (_context25.prev = _context25.next) { case 0: this._anonymousAuthProvider || (this._anonymousAuthProvider = new et(this.config)), Ne(je, this._onAnonymousConverted); _context25.next = 3; return this._anonymousAuthProvider.linkAndRetrieveDataWithTicket(e); case 3: return _context25.abrupt("return", _context25.sent); case 4: case "end": return _context25.stop(); } } }, _callee25, this); })); function linkAndRetrieveDataWithTicket(_x21) { return _linkAndRetrieveDataWithTicket2.apply(this, arguments); } return linkAndRetrieveDataWithTicket; }() }, { key: "signOut", value: function () { var _signOut = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee26() { var _this$_cache$keys10, e, t, n, s, r; return _regenerator.default.wrap(function _callee26$(_context26) { while (1) { switch (_context26.prev = _context26.next) { case 0: if (!(this.loginType === Be.ANONYMOUS)) { _context26.next = 2; break; } throw new te({ message: "匿名用户不支持登出操作" }); case 2: _this$_cache$keys10 = this._cache.keys, e = _this$_cache$keys10.refreshTokenKey, t = _this$_cache$keys10.accessTokenKey, n = _this$_cache$keys10.accessTokenExpireKey, s = this._cache.getStore(e); if (s) { _context26.next = 5; break; } return _context26.abrupt("return"); case 5: _context26.next = 7; return this._request.send("auth.logout", { refresh_token: s }); case 7: r = _context26.sent; return _context26.abrupt("return", (this._cache.removeStore(e), this._cache.removeStore(t), this._cache.removeStore(n), De(qe), De(Ke, { env: this.config.env, loginType: Be.NULL, persistence: this.config.persistence }), r)); case 9: case "end": return _context26.stop(); } } }, _callee26, this); })); function signOut() { return _signOut.apply(this, arguments); } return signOut; }() }, { key: "signUpWithEmailAndPassword", value: function () { var _signUpWithEmailAndPassword = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee27(e, t) { return _regenerator.default.wrap(function _callee27$(_context27) { while (1) { switch (_context27.prev = _context27.next) { case 0: return _context27.abrupt("return", this._request.send("auth.signUpWithEmailAndPassword", { email: e, password: t })); case 1: case "end": return _context27.stop(); } } }, _callee27, this); })); function signUpWithEmailAndPassword(_x22, _x23) { return _signUpWithEmailAndPassword.apply(this, arguments); } return signUpWithEmailAndPassword; }() }, { key: "sendPasswordResetEmail", value: function () { var _sendPasswordResetEmail = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee28(e) { return _regenerator.default.wrap(function _callee28$(_context28) { while (1) { switch (_context28.prev = _context28.next) { case 0: return _context28.abrupt("return", this._request.send("auth.sendPasswordResetEmail", { email: e })); case 1: case "end": return _context28.stop(); } } }, _callee28, this); })); function sendPasswordResetEmail(_x24) { return _sendPasswordResetEmail.apply(this, arguments); } return sendPasswordResetEmail; }() }, { key: "onLoginStateChanged", value: function onLoginStateChanged(e) { var _this9 = this; Ne(qe, function () { var t = _this9.hasLoginState(); e.call(_this9, t); }); var t = this.hasLoginState(); e.call(this, t); } }, { key: "onLoginStateExpired", value: function onLoginStateExpired(e) { Ne(Fe, e.bind(this)); } }, { key: "onAccessTokenRefreshed", value: function onAccessTokenRefreshed(e) { Ne($e, e.bind(this)); } }, { key: "onAnonymousConverted", value: function onAnonymousConverted(e) { Ne(je, e.bind(this)); } }, { key: "onLoginTypeChanged", value: function onLoginTypeChanged(e) { var _this10 = this; Ne(Ke, function () { var t = _this10.hasLoginState(); e.call(_this10, t); }); } }, { key: "getAccessToken", value: function () { var _getAccessToken2 = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee29() { return _regenerator.default.wrap(function _callee29$(_context29) { while (1) { switch (_context29.prev = _context29.next) { case 0: _context29.next = 2; return this._request.getAccessToken(); case 2: _context29.t0 = _context29.sent.accessToken; _context29.t1 = this.config.env; return _context29.abrupt("return", { accessToken: _context29.t0, env: _context29.t1 }); case 5: case "end": return _context29.stop(); } } }, _callee29, this); })); function getAccessToken() { return _getAccessToken2.apply(this, arguments); } return getAccessToken; }() }, { key: "hasLoginState", value: function hasLoginState() { var e = this._cache.keys.refreshTokenKey; return this._cache.getStore(e) ? new Ze(this.config.env) : null; } }, { key: "isUsernameRegistered", value: function () { var _isUsernameRegistered = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee30(e) { var _yield$this$_request$5, t; return _regenerator.default.wrap(function _callee30$(_context30) { while (1) { switch (_context30.prev = _context30.next) { case 0: if (!("string" != typeof e)) { _context30.next = 2; break; } throw new te({ code: "PARAM_ERROR", message: "username must be a string" }); case 2: _context30.next = 4; return this._request.send("auth.isUsernameRegistered", { username: e }); case 4: _yield$this$_request$5 = _context30.sent; t = _yield$this$_request$5.data; return _context30.abrupt("return", t && t.isRegistered); case 7: case "end": return _context30.stop(); } } }, _callee30, this); })); function isUsernameRegistered(_x25) { return _isUsernameRegistered.apply(this, arguments); } return isUsernameRegistered; }() }, { key: "getLoginState", value: function getLoginState() { return Promise.resolve(this.hasLoginState()); } }, { key: "signInWithTicket", value: function () { var _signInWithTicket = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee31(e) { return _regenerator.default.wrap(function _callee31$(_context31) { while (1) { switch (_context31.prev = _context31.next) { case 0: return _context31.abrupt("return", new tt(this.config).signIn(e)); case 1: case "end": return _context31.stop(); } } }, _callee31, this); })); function signInWithTicket(_x26) { return _signInWithTicket.apply(this, arguments); } return signInWithTicket; }() }, { key: "shouldRefreshAccessToken", value: function shouldRefreshAccessToken(e) { this._request._shouldRefreshAccessTokenHook = e.bind(this); } }, { key: "getUserInfo", value: function getUserInfo() { return this._request.send("auth.getUserInfo", {}).then(function (e) { return e.code ? e : _objectSpread(_objectSpread({}, e.data), {}, { requestId: e.seqId }); }); } }, { key: "getAuthHeader", value: function getAuthHeader() { var _this$_cache$keys11 = this._cache.keys, e = _this$_cache$keys11.refreshTokenKey, t = _this$_cache$keys11.accessTokenKey, n = this._cache.getStore(e); return { "x-cloudbase-credentials": this._cache.getStore(t) + "/@@/" + n }; } }, { key: "_onAnonymousConverted", value: function _onAnonymousConverted(e) { var t = e.data.env; t === this.config.env && this._cache.updatePersistence(this.config.persistence); } }, { key: "_onLoginTypeChanged", value: function _onLoginTypeChanged(e) { var _e$data = e.data, t = _e$data.loginType, n = _e$data.persistence, s = _e$data.env; s === this.config.env && (this._cache.updatePersistence(n), this._cache.setStore(this._cache.keys.loginTypeKey, t)); } }]); return rt; }(); var it = function it(e, t) { t = t || we(); var n = Ye(this.config.env), s = e.cloudPath, r = e.filePath, i = e.onUploadProgress, _e$fileType = e.fileType, o = _e$fileType === void 0 ? "image" : _e$fileType; return n.send("storage.getUploadMetadata", { path: s }).then(function (e) { var _e$data2 = e.data, a = _e$data2.url, c = _e$data2.authorization, u = _e$data2.token, h = _e$data2.fileId, l = _e$data2.cosFileId, d = e.requestId, p = { key: s, signature: c, "x-cos-meta-fileid": l, success_action_status: "201", "x-cos-security-token": u }; n.upload({ url: a, data: p, file: r, name: s, fileType: o, onUploadProgress: i }).then(function (e) { 201 === e.statusCode ? t(null, { fileID: h, requestId: d }) : t(new te({ code: "STORAGE_REQUEST_FAIL", message: "STORAGE_REQUEST_FAIL: ".concat(e.data) })); }).catch(function (e) { t(e); }); }).catch(function (e) { t(e); }), t.promise; }, ot = function ot(e, t) { t = t || we(); var n = Ye(this.config.env), s = e.cloudPath; return n.send("storage.getUploadMetadata", { path: s }).then(function (e) { t(null, e); }).catch(function (e) { t(e); }), t.promise; }, at = function at(_ref7, t) { var e = _ref7.fileList; if (t = t || we(), !e || !Array.isArray(e)) return { code: "INVALID_PARAM", message: "fileList必须是非空的数组" }; var _iterator3 = _createForOfIteratorHelper(e), _step3; try { for (_iterator3.s(); !(_step3 = _iterator3.n()).done;) { var _t8 = _step3.value; if (!_t8 || "string" != typeof _t8) return { code: "INVALID_PARAM", message: "fileList的元素必须是非空的字符串" }; } } catch (err) { _iterator3.e(err); } finally { _iterator3.f(); } var n = { fileid_list: e }; return Ye(this.config.env).send("storage.batchDeleteFile", n).then(function (e) { e.code ? t(null, e) : t(null, { fileList: e.data.delete_list, requestId: e.requestId }); }).catch(function (e) { t(e); }), t.promise; }, ct = function ct(_ref8, t) { var e = _ref8.fileList; t = t || we(), e && Array.isArray(e) || t(null, { code: "INVALID_PARAM", message: "fileList必须是非空的数组" }); var n = []; var _iterator4 = _createForOfIteratorHelper(e), _step4; try { for (_iterator4.s(); !(_step4 = _iterator4.n()).done;) { var _s9 = _step4.value; "object" == (0, _typeof2.default)(_s9) ? (_s9.hasOwnProperty("fileID") && _s9.hasOwnProperty("maxAge") || t(null, { code: "INVALID_PARAM", message: "fileList的元素必须是包含fileID和maxAge的对象" }), n.push({ fileid: _s9.fileID, max_age: _s9.maxAge })) : "string" == typeof _s9 ? n.push({ fileid: _s9 }) : t(null, { code: "INVALID_PARAM", message: "fileList的元素必须是字符串" }); } } catch (err) { _iterator4.e(err); } finally { _iterator4.f(); } var s = { file_list: n }; return Ye(this.config.env).send("storage.batchGetDownloadUrl", s).then(function (e) { e.code ? t(null, e) : t(null, { fileList: e.data.download_list, requestId: e.requestId }); }).catch(function (e) { t(e); }), t.promise; }, ut = /*#__PURE__*/function () { var _ref10 = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee32(_ref9, t) { var e, n, s, r; return _regenerator.default.wrap(function _callee32$(_context32) { while (1) { switch (_context32.prev = _context32.next) { case 0: e = _ref9.fileID; _context32.next = 3; return ct.call(this, { fileList: [{ fileID: e, maxAge: 600 }] }); case 3: n = _context32.sent.fileList[0]; if (!("SUCCESS" !== n.code)) { _context32.next = 6; break; } return _context32.abrupt("return", t ? t(n) : new Promise(function (e) { e(n); })); case 6: s = Ye(this.config.env); r = n.download_url; if (!(r = encodeURI(r), !t)) { _context32.next = 10; break; } return _context32.abrupt("return", s.download({ url: r })); case 10: _context32.t0 = t; _context32.next = 13; return s.download({ url: r }); case 13: _context32.t1 = _context32.sent; (0, _context32.t0)(_context32.t1); case 15: case "end": return _context32.stop(); } } }, _callee32, this); })); return function ut(_x27, _x28) { return _ref10.apply(this, arguments); }; }(), ht = function ht(_ref11, i) { var e = _ref11.name, t = _ref11.data, n = _ref11.query, s = _ref11.parse, r = _ref11.search; var o = i || we(); var a; try { a = t ? JSON.stringify(t) : ""; } catch (e) { return Promise.reject(e); } if (!e) return Promise.reject(new te({ code: "PARAM_ERROR", message: "函数名不能为空" })); var c = { inQuery: n, parse: s, search: r, function_name: e, request_data: a }; return Ye(this.config.env).send("functions.invokeFunction", c).then(function (e) { if (e.code) o(null, e);else { var _t9 = e.data.response_data; if (s) o(null, { result: _t9, requestId: e.requestId });else try { _t9 = JSON.parse(e.data.response_data), o(null, { result: _t9, requestId: e.requestId }); } catch (e) { o(new te({ message: "response data must be json" })); } } return o.promise; }).catch(function (e) { o(e); }), o.promise; }, lt = { timeout: 15e3, persistence: "session" }, dt = {}; var pt = /*#__PURE__*/function () { function pt(e) { (0, _classCallCheck2.default)(this, pt); this.config = e || this.config, this.authObj = void 0; } (0, _createClass2.default)(pt, [{ key: "init", value: function init(e) { switch (ke.adapter || (this.requestClient = new ke.adapter.reqClass({ timeout: e.timeout || 5e3, timeoutMsg: "\u8BF7\u6C42\u5728".concat((e.timeout || 5e3) / 1e3, "s\u5185\u672A\u5B8C\u6210\uFF0C\u5DF2\u4E2D\u65AD") })), this.config = _objectSpread(_objectSpread({}, lt), e), !0) { case this.config.timeout > 6e5: console.warn("timeout大于可配置上限[10分钟],已重置为上限数值"), this.config.timeout = 6e5; break; case this.config.timeout < 100: console.warn("timeout小于可配置下限[100ms],已重置为下限数值"), this.config.timeout = 100; } return new pt(this.config); } }, { key: "auth", value: function auth() { var _ref12 = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}, e = _ref12.persistence; if (this.authObj) return this.authObj; var t = e || ke.adapter.primaryStorage || lt.persistence; var n; return t !== this.config.persistence && (this.config.persistence = t), function (e) { var t = e.env; xe[t] = new Ce(e), Oe[t] = new Ce(_objectSpread(_objectSpread({}, e), {}, { persistence: "local" })); }(this.config), n = this.config, Ve[n.env] = new Ge(n), this.authObj = new rt(this.config), this.authObj; } }, { key: "on", value: function on(e, t) { return Ne.apply(this, [e, t]); } }, { key: "off", value: function off(e, t) { return Me.apply(this, [e, t]); } }, { key: "callFunction", value: function callFunction(e, t) { return ht.apply(this, [e, t]); } }, { key: "deleteFile", value: function deleteFile(e, t) { return at.apply(this, [e, t]); } }, { key: "getTempFileURL", value: function getTempFileURL(e, t) { return ct.apply(this, [e, t]); } }, { key: "downloadFile", value: function downloadFile(e, t) { return ut.apply(this, [e, t]); } }, { key: "uploadFile", value: function uploadFile(e, t) { return it.apply(this, [e, t]); } }, { key: "getUploadMetadata", value: function getUploadMetadata(e, t) { return ot.apply(this, [e, t]); } }, { key: "registerExtension", value: function registerExtension(e) { dt[e.name] = e; } }, { key: "invokeExtension", value: function () { var _invokeExtension = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee33(e, t) { var n; return _regenerator.default.wrap(function _callee33$(_context33) { while (1) { switch (_context33.prev = _context33.next) { case 0: n = dt[e]; if (n) { _context33.next = 3; break; } throw new te({ message: "\u6269\u5C55".concat(e, " \u5FC5\u987B\u5148\u6CE8\u518C") }); case 3: _context33.next = 5; return n.invoke(t, this); case 5: return _context33.abrupt("return", _context33.sent); case 6: case "end": return _context33.stop(); } } }, _callee33, this); })); function invokeExtension(_x29, _x30) { return _invokeExtension.apply(this, arguments); } return invokeExtension; }() }, { key: "useAdapters", value: function useAdapters(e) { var _ref13 = be(e) || {}, t = _ref13.adapter, n = _ref13.runtime; t && (ke.adapter = t), n && (ke.runtime = n); } }]); return pt; }(); var ft = new pt(); function gt(e, t, n) { void 0 === n && (n = {}); var s = /\?/.test(t), r = ""; for (var i in n) { "" === r ? !s && (t += "?") : r += "&", r += i + "=" + encodeURIComponent(n[i]); } return /^http(s)?:\/\//.test(t += r) ? t : "" + e + t; } var mt = /*#__PURE__*/function () { function mt() { (0, _classCallCheck2.default)(this, mt); } (0, _createClass2.default)(mt, [{ key: "post", value: function post(e) { var t = e.url, n = e.data, s = e.headers; return new Promise(function (e, r) { ne.request({ url: gt("https:", t), data: n, method: "POST", header: s, success: function success(t) { e(t); }, fail: function fail(e) { r(e); } }); }); } }, { key: "upload", value: function upload(e) { return new Promise(function (t, n) { var s = e.url, r = e.file, i = e.data, o = e.headers, a = e.fileType, c = ne.uploadFile({ url: gt("https:", s), name: "file", formData: Object.assign({}, i), filePath: r, fileType: a, header: o, success: function success(e) { var n = { statusCode: e.statusCode, data: e.data || {} }; 200 === e.statusCode && i.success_action_status && (n.statusCode = parseInt(i.success_action_status, 10)), t(n); }, fail: function fail(e) { n(new Error(e.errMsg || "uploadFile:fail")); } }); "function" == typeof e.onUploadProgress && c && "function" == typeof c.onProgressUpdate && c.onProgressUpdate(function (t) { e.onUploadProgress({ loaded: t.totalBytesSent, total: t.totalBytesExpectedToSend }); }); }); } }]); return mt; }(); var yt = { setItem: function setItem(e, t) { ne.setStorageSync(e, t); }, getItem: function getItem(e) { return ne.getStorageSync(e); }, removeItem: function removeItem(e) { ne.removeStorageSync(e); }, clear: function clear() { ne.clearStorageSync(); } }; var _t = { genAdapter: function genAdapter() { return { root: {}, reqClass: mt, localStorage: yt, primaryStorage: "local" }; }, isMatch: function isMatch() { return !0; }, runtime: "uni_app" }; ft.useAdapters(_t); var wt = ft, vt = wt.init; wt.init = function (e) { e.env = e.spaceId; var t = vt.call(this, e); t.config.provider = "tencent", t.config.spaceId = e.spaceId; var n = t.auth; return t.auth = function (e) { var t = n.call(this, e); return ["linkAndRetrieveDataWithTicket", "signInAnonymously", "signOut", "getAccessToken", "getLoginState", "signInWithTicket", "getUserInfo"].forEach(function (e) { var n; t[e] = (n = t[e], function (e) { e = e || {}; var _ee = ee(e), t = _ee.success, s = _ee.fail, r = _ee.complete; if (!(t || s || r)) return n.call(this, e); n.call(this, e).then(function (e) { t && t(e), r && r(e); }, function (e) { s && s(e), r && r(e); }); }).bind(t); }), t; }, t.customAuth = t.auth, t; }; var It = wt; var St = /*#__PURE__*/function (_le) { (0, _inherits2.default)(St, _le); var _super8 = _createSuper(St); function St() { (0, _classCallCheck2.default)(this, St); return _super8.apply(this, arguments); } (0, _createClass2.default)(St, [{ key: "getAccessToken", value: function getAccessToken() { var _this11 = this; return new Promise(function (e, t) { var n = "Anonymous_Access_token"; _this11.setAccessToken(n), e(n); }); } }, { key: "setupRequest", value: function setupRequest(e, t) { var n = Object.assign({}, e, { spaceId: this.config.spaceId, timestamp: Date.now() }), s = { "Content-Type": "application/json" }; "auth" !== t && (n.token = this.accessToken, s["x-basement-token"] = this.accessToken), s["x-serverless-sign"] = he.sign(n, this.config.clientSecret); var r = ue(); s["x-client-info"] = encodeURIComponent(JSON.stringify(r)); var _se = se(), i = _se.token; return s["x-client-token"] = i, { url: this.config.requestUrl, method: "POST", data: n, dataType: "json", header: JSON.parse(JSON.stringify(s)) }; } }, { key: "uploadFileToOSS", value: function uploadFileToOSS(_ref14) { var _this12 = this; var e = _ref14.url, t = _ref14.formData, n = _ref14.name, s = _ref14.filePath, r = _ref14.fileType, i = _ref14.onUploadProgress; return new Promise(function (o, a) { var c = _this12.adapter.uploadFile({ url: e, formData: t, name: n, filePath: s, fileType: r, success: function success(e) { e && e.statusCode < 400 ? o(e) : a(new te({ code: "UPLOAD_FAILED", message: "文件上传失败" })); }, fail: function fail(e) { a(new te({ code: e.code || "UPLOAD_FAILED", message: e.message || e.errMsg || "文件上传失败" })); } }); "function" == typeof i && c && "function" == typeof c.onProgressUpdate && c.onProgressUpdate(function (e) { i({ loaded: e.totalBytesSent, total: e.totalBytesExpectedToSend }); }); }); } }, { key: "uploadFile", value: function uploadFile(_ref15) { var _this13 = this; var e = _ref15.filePath, t = _ref15.cloudPath, _ref15$fileType = _ref15.fileType, n = _ref15$fileType === void 0 ? "image" : _ref15$fileType, s = _ref15.onUploadProgress; if (!t) throw new te({ code: "CLOUDPATH_REQUIRED", message: "cloudPath不可为空" }); var r; return this.getOSSUploadOptionsFromPath({ cloudPath: t }).then(function (t) { var _t$result = t.result, i = _t$result.url, o = _t$result.formData, a = _t$result.name; r = t.result.fileUrl; var c = { url: i, formData: o, name: a, filePath: e, fileType: n }; return _this13.uploadFileToOSS(Object.assign({}, c, { onUploadProgress: s })); }).then(function () { return _this13.reportOSSUpload({ cloudPath: t }); }).then(function (t) { return new Promise(function (n, s) { t.success ? n({ success: !0, filePath: e, fileID: r }) : s(new te({ code: "UPLOAD_FAILED", message: "文件上传失败" })); }); }); } }, { key: "deleteFile", value: function deleteFile(_ref16) { var e = _ref16.fileList; var t = { method: "serverless.file.resource.delete", params: JSON.stringify({ fileList: e }) }; return this.request(this.setupRequest(t)).then(function (e) { if (e.success) return e.result; throw new te({ code: "DELETE_FILE_FAILED", message: "删除文件失败" }); }); } }, { key: "getTempFileURL", value: function getTempFileURL() { var _ref17 = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}, e = _ref17.fileList, t = _ref17.maxAge; if (!Array.isArray(e) || 0 === e.length) throw new te({ code: "INVALID_PARAM", message: "fileList的元素必须是非空的字符串" }); var n = { method: "serverless.file.resource.getTempFileURL", params: JSON.stringify({ fileList: e, maxAge: t }) }; return this.request(this.setupRequest(n)).then(function (e) { if (e.success) return { fileList: e.result.fileList.map(function (e) { return { fileID: e.fileID, tempFileURL: e.tempFileURL }; }) }; throw new te({ code: "GET_TEMP_FILE_URL_FAILED", message: "获取临时文件链接失败" }); }); } }]); return St; }(le); var bt = { init: function init(e) { var t = new St(e), n = { signInAnonymously: function signInAnonymously() { return t.authorize(); }, getLoginState: function getLoginState() { return Promise.resolve(!1); } }; return t.auth = function () { return n; }, t.customAuth = t.auth, t; } }, kt = n(function (e, t) { e.exports = r.enc.Hex; }); function At() { var e = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : ""; var t = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; var n = t.data, s = t.functionName, r = t.method, i = t.headers, _t$signHeaderKeys = t.signHeaderKeys, o = _t$signHeaderKeys === void 0 ? [] : _t$signHeaderKeys, a = t.config, c = Date.now(), u = "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g, function (e) { var t = 16 * Math.random() | 0; return ("x" === e ? t : 3 & t | 8).toString(16); }), h = Object.assign({}, i, { "x-from-app-id": a.spaceAppId, "x-from-env-id": a.spaceId, "x-to-env-id": a.spaceId, "x-from-instance-id": c, "x-from-function-name": s, "x-client-timestamp": c, "x-alipay-source": "client", "x-request-id": u, "x-alipay-callid": u, "x-trace-id": u }), l = ["x-from-app-id", "x-from-env-id", "x-to-env-id", "x-from-instance-id", "x-from-function-name", "x-client-timestamp"].concat(o), _ref18 = e.split("?") || [], _ref19 = (0, _slicedToArray2.default)(_ref18, 2), _ref19$ = _ref19[0], d = _ref19$ === void 0 ? "" : _ref19$, _ref19$2 = _ref19[1], p = _ref19$2 === void 0 ? "" : _ref19$2, f = function (e) { var t = e.signedHeaders.join(";"), n = e.signedHeaders.map(function (t) { return "".concat(t.toLowerCase(), ":").concat(e.headers[t], "\n"); }).join(""), s = ye(e.body).toString(kt), r = "".concat(e.method.toUpperCase(), "\n").concat(e.path, "\n").concat(e.query, "\n").concat(n, "\n").concat(t, "\n").concat(s, "\n"), i = ye(r).toString(kt), o = "HMAC-SHA256\n".concat(e.timestamp, "\n").concat(i, "\n"), a = _e(o, e.secretKey).toString(kt); return "HMAC-SHA256 Credential=".concat(e.secretId, ", SignedHeaders=").concat(t, ", Signature=").concat(a); }({ path: d, query: p, method: r, headers: h, timestamp: c, body: JSON.stringify(n), secretId: a.accessKey, secretKey: a.secretKey, signedHeaders: l.sort() }); return { url: "".concat(a.endpoint).concat(e), headers: Object.assign({}, h, { Authorization: f }) }; } function Pt(_ref20) { var e = _ref20.url, t = _ref20.data, _ref20$method = _ref20.method, n = _ref20$method === void 0 ? "POST" : _ref20$method, _ref20$headers = _ref20.headers, s = _ref20$headers === void 0 ? {} : _ref20$headers; return new Promise(function (r, i) { ne.request({ url: e, method: n, data: t, header: s, dataType: "json", complete: function complete() { var e = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; var t = s["x-trace-id"] || ""; if (!e.statusCode || e.statusCode >= 400) { var _ref21 = e.data || {}, _n7 = _ref21.message, _s10 = _ref21.errMsg, _r3 = _ref21.trace_id; return i(new te({ code: "SYS_ERR", message: _n7 || _s10 || "request:fail", requestId: _r3 || t })); } r({ status: e.statusCode, data: e.data, headers: e.header, requestId: t }); } }); }); } function Tt(e, t) { var n = e.path, s = e.data, _e$method = e.method, r = _e$method === void 0 ? "GET" : _e$method, _At = At(n, { functionName: "", data: s, method: r, headers: { "x-alipay-cloud-mode": "oss", "x-data-api-type": "oss", "x-expire-timestamp": Date.now() + 6e4 }, signHeaderKeys: ["x-data-api-type", "x-expire-timestamp"], config: t }), i = _At.url, o = _At.headers; return Pt({ url: i, data: s, method: r, headers: o }).then(function (e) { var t = e.data || {}; if (!t.success) throw new te({ code: e.errCode, message: e.errMsg, requestId: e.requestId }); return t.data || {}; }).catch(function (e) { throw new te({ code: e.errCode, message: e.errMsg, requestId: e.requestId }); }); } function Ct() { var e = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : ""; var t = e.trim().replace(/^cloud:\/\//, ""), n = t.indexOf("/"); if (n <= 0) throw new te({ code: "INVALID_PARAM", message: "fileID不合法" }); var s = t.substring(0, n), r = t.substring(n + 1); return s !== this.config.spaceId && console.warn("file ".concat(e, " does not belong to env ").concat(this.config.spaceId)), r; } function xt() { var e = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : ""; return "cloud://".concat(this.config.spaceId, "/").concat(e.replace(/^\/+/, "")); } var Ot = /*#__PURE__*/function () { function Ot(e) { (0, _classCallCheck2.default)(this, Ot); if (["spaceId", "spaceAppId", "accessKey", "secretKey"].forEach(function (t) { if (!Object.prototype.hasOwnProperty.call(e, t)) throw new Error("".concat(t, " required")); }), e.endpoint) { if ("string" != typeof e.endpoint) throw new Error("endpoint must be string"); if (!/^https:\/\//.test(e.endpoint)) throw new Error("endpoint must start with https://"); e.endpoint = e.endpoint.replace(/\/$/, ""); } this.config = Object.assign({}, e, { endpoint: e.endpoint || "https://".concat(e.spaceId, ".api-hz.cloudbasefunction.cn") }); } (0, _createClass2.default)(Ot, [{ key: "callFunction", value: function callFunction(e) { return function (e, t) { var n = e.name, s = e.data, r = "POST", _At2 = At("/functions/invokeFunction", { functionName: n, data: s, method: r, headers: { "x-to-function-name": n }, signHeaderKeys: ["x-to-function-name"], config: t }), i = _At2.url, o = _At2.headers; return Pt({ url: i, data: s, method: r, headers: o }).then(function (e) { return { errCode: 0, success: !0, requestId: e.requestId, result: e.data }; }).catch(function (e) { throw new te({ code: e.errCode, message: e.errMsg, requestId: e.requestId }); }); }(e, this.config); } }, { key: "uploadFileToOSS", value: function uploadFileToOSS(_ref22) { var e = _ref22.url, t = _ref22.filePath, n = _ref22.fileType, s = _ref22.formData, r = _ref22.onUploadProgress; return new Promise(function (i, o) { var a = ne.uploadFile({ url: e, filePath: t, fileType: n, formData: s, name: "file", success: function success(e) { e && e.statusCode < 400 ? i(e) : o(new te({ code: "UPLOAD_FAILED", message: "文件上传失败" })); }, fail: function fail(e) { o(new te({ code: e.code || "UPLOAD_FAILED", message: e.message || e.errMsg || "文件上传失败" })); } }); "function" == typeof r && a && "function" == typeof a.onProgressUpdate && a.onProgressUpdate(function (e) { r({ loaded: e.totalBytesSent, total: e.totalBytesExpectedToSend }); }); }); } }, { key: "uploadFile", value: function () { var _uploadFile2 = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee34(_ref23) { var e, _ref23$cloudPath, t, _ref23$fileType, n, s, r, i, o, a, c; return _regenerator.default.wrap(function _callee34$(_context34) { while (1) { switch (_context34.prev = _context34.next) { case 0: e = _ref23.filePath, _ref23$cloudPath = _ref23.cloudPath, t = _ref23$cloudPath === void 0 ? "" : _ref23$cloudPath, _ref23$fileType = _ref23.fileType, n = _ref23$fileType === void 0 ? "image" : _ref23$fileType, s = _ref23.onUploadProgress; if (!("string" !== f(t))) { _context34.next = 3; break; } throw new te({ code: "INVALID_PARAM", message: "cloudPath必须为字符串类型" }); case 3: if (t = t.trim()) { _context34.next = 5; break; } throw new te({ code: "INVALID_PARAM", message: "cloudPath不可为空" }); case 5: if (!/:\/\//.test(t)) { _context34.next = 7; break; } throw new te({ code: "INVALID_PARAM", message: "cloudPath不合法" }); case 7: _context34.next = 9; return Tt({ path: "/".concat(t.replace(/^\//, ""), "?post_url") }, this.config); case 9: r = _context34.sent; i = r.file_id; o = r.upload_url; a = r.form_data; c = a && a.reduce(function (e, t) { return e[t.key] = t.value, e; }, {}); return _context34.abrupt("return", this.uploadFileToOSS({ url: o, filePath: e, fileType: n, formData: c, onUploadProgress: s }).then(function () { return { fileID: i }; })); case 15: case "end": return _context34.stop(); } } }, _callee34, this); })); function uploadFile(_x31) { return _uploadFile2.apply(this, arguments); } return uploadFile; }() }, { key: "getTempFileURL", value: function () { var _getTempFileURL = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee35(_ref24) { var _this14 = this; var e; return _regenerator.default.wrap(function _callee35$(_context35) { while (1) { switch (_context35.prev = _context35.next) { case 0: e = _ref24.fileList; return _context35.abrupt("return", new Promise(function (t, n) { (!e || e.length < 0) && n(new te({ errCode: "INVALID_PARAM", errMsg: "fileList不能为空数组" })), e.length > 50 && n(new te({ errCode: "INVALID_PARAM", errMsg: "fileList数组长度不能超过50" })); var s = []; var _iterator5 = _createForOfIteratorHelper(e), _step5; try { for (_iterator5.s(); !(_step5 = _iterator5.n()).done;) { var _t10 = _step5.value; "string" !== f(_t10) && n(new te({ errCode: "INVALID_PARAM", errMsg: "fileList的元素必须是非空的字符串" })); var _e17 = Ct.call(_this14, _t10); s.push({ file_id: _e17, expire: 600 }); } } catch (err) { _iterator5.e(err); } finally { _iterator5.f(); } Tt({ path: "/?download_url", data: { file_list: s }, method: "POST" }, _this14.config).then(function (e) { var _e$file_list = e.file_list, n = _e$file_list === void 0 ? [] : _e$file_list; t({ fileList: n.map(function (e) { return { fileID: xt.call(_this14, e.file_id), tempFileURL: e.download_url }; }) }); }).catch(function (e) { return n(e); }); })); case 2: case "end": return _context35.stop(); } } }, _callee35); })); function getTempFileURL(_x32) { return _getTempFileURL.apply(this, arguments); } return getTempFileURL; }() }]); return Ot; }(); var Et = { init: function init(e) { e.provider = "alipay"; var t = new Ot(e); return t.auth = function () { return { signInAnonymously: function signInAnonymously() { return Promise.resolve(); }, getLoginState: function getLoginState() { return Promise.resolve(!0); } }; }, t; } }; function Lt(_ref25) { var e = _ref25.data; var t; t = ue(); var n = JSON.parse(JSON.stringify(e || {})); if (Object.assign(n, { clientInfo: t }), !n.uniIdToken) { var _se2 = se(), _e18 = _se2.token; _e18 && (n.uniIdToken = _e18); } return n; } function Rt() { return _Rt.apply(this, arguments); } function _Rt() { _Rt = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee56() { var _this27 = this; var _ref67, e, t, _this$__dev__, n, s, r, i, o, a, _args6 = arguments; return _regenerator.default.wrap(function _callee56$(_context56) { while (1) { switch (_context56.prev = _context56.next) { case 0: _ref67 = _args6.length > 0 && _args6[0] !== undefined ? _args6[0] : {}, e = _ref67.name, t = _ref67.data; _context56.next = 3; return this.__dev__.initLocalNetwork(); case 3: _this$__dev__ = this.__dev__, n = _this$__dev__.localAddress, s = _this$__dev__.localPort, r = { aliyun: "aliyun", tencent: "tcb", alipay: "alipay" }[this.config.provider], i = this.config.spaceId, o = "http://".concat(n, ":").concat(s, "/system/check-function"), a = "http://".concat(n, ":").concat(s, "/cloudfunctions/").concat(e); return _context56.abrupt("return", new Promise(function (t, n) { ne.request({ method: "POST", url: o, data: { name: e, platform: P, provider: r, spaceId: i }, timeout: 3e3, success: function success(e) { t(e); }, fail: function fail() { t({ data: { code: "NETWORK_ERROR", message: "连接本地调试服务失败,请检查客户端是否和主机在同一局域网下,自动切换为已部署的云函数。" } }); } }); }).then(function () { var _ref68 = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}, e = _ref68.data; var _ref69 = e || {}, t = _ref69.code, n = _ref69.message; return { code: 0 === t ? 0 : t || "SYS_ERR", message: n || "SYS_ERR" }; }).then(function (_ref70) { var n = _ref70.code, s = _ref70.message; if (0 !== n) { switch (n) { case "MODULE_ENCRYPTED": console.error("\u6B64\u4E91\u51FD\u6570\uFF08".concat(e, "\uFF09\u4F9D\u8D56\u52A0\u5BC6\u516C\u5171\u6A21\u5757\u4E0D\u53EF\u672C\u5730\u8C03\u8BD5\uFF0C\u81EA\u52A8\u5207\u6362\u4E3A\u4E91\u7AEF\u5DF2\u90E8\u7F72\u7684\u4E91\u51FD\u6570")); break; case "FUNCTION_ENCRYPTED": console.error("\u6B64\u4E91\u51FD\u6570\uFF08".concat(e, "\uFF09\u5DF2\u52A0\u5BC6\u4E0D\u53EF\u672C\u5730\u8C03\u8BD5\uFF0C\u81EA\u52A8\u5207\u6362\u4E3A\u4E91\u7AEF\u5DF2\u90E8\u7F72\u7684\u4E91\u51FD\u6570")); break; case "ACTION_ENCRYPTED": console.error(s || "需要访问加密的uni-clientDB-action,自动切换为云端环境"); break; case "NETWORK_ERROR": { var _e30 = "连接本地调试服务失败,请检查客户端是否和主机在同一局域网下"; throw console.error(_e30), new Error(_e30); } case "SWITCH_TO_CLOUD": break; default: { var _e31 = "\u68C0\u6D4B\u672C\u5730\u8C03\u8BD5\u670D\u52A1\u51FA\u73B0\u9519\u8BEF\uFF1A".concat(s, "\uFF0C\u8BF7\u68C0\u67E5\u7F51\u7EDC\u73AF\u5883\u6216\u91CD\u542F\u5BA2\u6237\u7AEF\u518D\u8BD5"); throw console.error(_e31), new Error(_e31); } } return _this27._callCloudFunction({ name: e, data: t }); } return new Promise(function (e, n) { var s = Lt.call(_this27, { data: t }); ne.request({ method: "POST", url: a, data: { provider: r, platform: P, param: s }, success: function success() { var _ref71 = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}, t = _ref71.statusCode, s = _ref71.data; return !t || t >= 400 ? n(new te({ code: s.code || "SYS_ERR", message: s.message || "request:fail" })) : e({ result: s }); }, fail: function fail(e) { n(new te({ code: e.code || e.errCode || "SYS_ERR", message: e.message || e.errMsg || "request:fail" })); } }); }); })); case 5: case "end": return _context56.stop(); } } }, _callee56, this); })); return _Rt.apply(this, arguments); } var Ut = [{ rule: /fc_function_not_found|FUNCTION_NOT_FOUND/, content: ",云函数[{functionName}]在云端不存在,请检查此云函数名称是否正确以及该云函数是否已上传到服务空间", mode: "append" }]; var Nt = /[\\^$.*+?()[\]{}|]/g, Dt = RegExp(Nt.source); function Mt(e, t, n) { return e.replace(new RegExp((s = t) && Dt.test(s) ? s.replace(Nt, "\\$&") : s, "g"), n); var s; } var qt = "none", Ft = "request", Kt = "response", jt = "both"; var $t = /*#__PURE__*/function () { function $t() { var _ref26 = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}, e = _ref26.secretType, t = _ref26.uniCloudIns; (0, _classCallCheck2.default)(this, $t); this.clientType = "", this.secretType = e || qt, this.uniCloudIns = t; var _this$uniCloudIns$con = this.uniCloudIns.config, n = _this$uniCloudIns$con.provider, s = _this$uniCloudIns$con.spaceId; var r; this.provider = n, this.spaceId = s, this.scopedGlobalCache = (r = this.uniCloudIns, L("_globalUniCloudSecureNetworkCache__{spaceId}".replace("{spaceId}", r.config.spaceId))); } (0, _createClass2.default)($t, [{ key: "getSystemInfo", value: function getSystemInfo() { return this._systemInfo || (this._systemInfo = ae()), this._systemInfo; } }, { key: "appId", get: function get() { return this.getSystemInfo().appId; } }, { key: "deviceId", get: function get() { return this.getSystemInfo().deviceId; } }, { key: "encryptData", value: function () { var _encryptData = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee36(e) { return _regenerator.default.wrap(function _callee36$(_context36) { while (1) { switch (_context36.prev = _context36.next) { case 0: return _context36.abrupt("return", this.secretType === qt ? e : this.platformEncryptData(e)); case 1: case "end": return _context36.stop(); } } }, _callee36, this); })); function encryptData(_x33) { return _encryptData.apply(this, arguments); } return encryptData; }() }, { key: "decryptResult", value: function () { var _decryptResult = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee37(e) { var _ref27, t, n; return _regenerator.default.wrap(function _callee37$(_context37) { while (1) { switch (_context37.prev = _context37.next) { case 0: if (!(this.secretType === qt)) { _context37.next = 2; break; } return _context37.abrupt("return", e); case 2: _ref27 = e || {}, t = _ref27.errCode, n = _ref27.content; return _context37.abrupt("return", t || !n ? e : this.secretType === Ft ? n : this.platformDecryptResult(e)); case 4: case "end": return _context37.stop(); } } }, _callee37, this); })); function decryptResult(_x34) { return _decryptResult.apply(this, arguments); } return decryptResult; }() }, { key: "wrapVerifyClientCallFunction", value: function wrapVerifyClientCallFunction(e) { var t = this; return /*#__PURE__*/(0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee38() { var _ref29, n, _ref29$data, s, r, _args38 = arguments; return _regenerator.default.wrap(function _callee38$(_context38) { while (1) { switch (_context38.prev = _context38.next) { case 0: _ref29 = _args38.length > 0 && _args38[0] !== undefined ? _args38[0] : {}, n = _ref29.name, _ref29$data = _ref29.data, s = _ref29$data === void 0 ? {} : _ref29$data; _context38.next = 3; return t.prepare(); case 3: _context38.next = 5; return t.platformGetSignOption(); case 5: (s = JSON.parse(JSON.stringify(s)))._uniCloudOptions = _context38.sent; _context38.next = 8; return e({ name: n, data: s }); case 8: r = _context38.sent; _context38.t0 = t.isClientKeyNotFound(r); if (!_context38.t0) { _context38.next = 19; break; } _context38.next = 13; return t.prepare({ forceUpdate: !0 }); case 13: _context38.next = 15; return t.platformGetSignOption(); case 15: s._uniCloudOptions = _context38.sent; _context38.next = 18; return e({ name: n, data: s }); case 18: r = _context38.sent; case 19: return _context38.abrupt("return", r); case 20: case "end": return _context38.stop(); } } }, _callee38); })); } }, { key: "wrapEncryptDataCallFunction", value: function wrapEncryptDataCallFunction(e) { var t = this; return /*#__PURE__*/(0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee39() { var _ref31, n, _ref31$data, s, r, i, _r4, _args39 = arguments; return _regenerator.default.wrap(function _callee39$(_context39) { while (1) { switch (_context39.prev = _context39.next) { case 0: _ref31 = _args39.length > 0 && _args39[0] !== undefined ? _args39[0] : {}, n = _ref31.name, _ref31$data = _ref31.data, s = _ref31$data === void 0 ? {} : _ref31$data; _context39.next = 3; return t.prepare(); case 3: _context39.next = 5; return t.encryptData(s); case 5: r = _context39.sent; _context39.next = 8; return e({ name: n, data: r }); case 8: i = _context39.sent; if (!t.isClientKeyNotFound(i)) { _context39.next = 21; break; } _context39.next = 12; return t.prepare({ forceUpdate: !0 }); case 12: _context39.next = 14; return t.encryptData(s); case 14: _r4 = _context39.sent; _context39.next = 17; return t.platformGetSignOption(); case 17: s._uniCloudOptions = _context39.sent; _context39.next = 20; return e({ name: n, data: _r4 }); case 20: i = _context39.sent; case 21: _context39.next = 23; return t.decryptResult(i.result); case 23: i.result = _context39.sent; return _context39.abrupt("return", i); case 25: case "end": return _context39.stop(); } } }, _callee39); })); } }]); return $t; }(); /*! MIT License. Copyright 2015-2018 Richard Moore . See LICENSE.txt. */ function Bt(e) { return parseInt(e) === e; } function Wt(e) { if (!Bt(e.length)) return !1; for (var t = 0; t < e.length; t++) { if (!Bt(e[t]) || e[t] < 0 || e[t] > 255) return !1; } return !0; } function Ht(e, t) { if (e.buffer && "Uint8Array" === e.name) return t && (e = e.slice ? e.slice() : Array.prototype.slice.call(e)), e; if (Array.isArray(e)) { if (!Wt(e)) throw new Error("Array contains invalid value: " + e); return new Uint8Array(e); } if (Bt(e.length) && Wt(e)) return new Uint8Array(e); throw new Error("unsupported array-like object"); } function zt(e) { return new Uint8Array(e); } function Jt(e, t, n, s, r) { null == s && null == r || (e = e.slice ? e.slice(s, r) : Array.prototype.slice.call(e, s, r)), t.set(e, n); } var Gt, Vt = { toBytes: function toBytes(e) { var t = [], n = 0; for (e = encodeURI(e); n < e.length;) { var s = e.charCodeAt(n++); 37 === s ? (t.push(parseInt(e.substr(n, 2), 16)), n += 2) : t.push(s); } return Ht(t); }, fromBytes: function fromBytes(e) { for (var t = [], n = 0; n < e.length;) { var s = e[n]; s < 128 ? (t.push(String.fromCharCode(s)), n++) : s > 191 && s < 224 ? (t.push(String.fromCharCode((31 & s) << 6 | 63 & e[n + 1])), n += 2) : (t.push(String.fromCharCode((15 & s) << 12 | (63 & e[n + 1]) << 6 | 63 & e[n + 2])), n += 3); } return t.join(""); } }, Yt = (Gt = "0123456789abcdef", { toBytes: function toBytes(e) { for (var t = [], n = 0; n < e.length; n += 2) { t.push(parseInt(e.substr(n, 2), 16)); } return t; }, fromBytes: function fromBytes(e) { for (var t = [], n = 0; n < e.length; n++) { var s = e[n]; t.push(Gt[(240 & s) >> 4] + Gt[15 & s]); } return t.join(""); } }), Qt = { 16: 10, 24: 12, 32: 14 }, Xt = [1, 2, 4, 8, 16, 32, 64, 128, 27, 54, 108, 216, 171, 77, 154, 47, 94, 188, 99, 198, 151, 53, 106, 212, 179, 125, 250, 239, 197, 145], Zt = [99, 124, 119, 123, 242, 107, 111, 197, 48, 1, 103, 43, 254, 215, 171, 118, 202, 130, 201, 125, 250, 89, 71, 240, 173, 212, 162, 175, 156, 164, 114, 192, 183, 253, 147, 38, 54, 63, 247, 204, 52, 165, 229, 241, 113, 216, 49, 21, 4, 199, 35, 195, 24, 150, 5, 154, 7, 18, 128, 226, 235, 39, 178, 117, 9, 131, 44, 26, 27, 110, 90, 160, 82, 59, 214, 179, 41, 227, 47, 132, 83, 209, 0, 237, 32, 252, 177, 91, 106, 203, 190, 57, 74, 76, 88, 207, 208, 239, 170, 251, 67, 77, 51, 133, 69, 249, 2, 127, 80, 60, 159, 168, 81, 163, 64, 143, 146, 157, 56, 245, 188, 182, 218, 33, 16, 255, 243, 210, 205, 12, 19, 236, 95, 151, 68, 23, 196, 167, 126, 61, 100, 93, 25, 115, 96, 129, 79, 220, 34, 42, 144, 136, 70, 238, 184, 20, 222, 94, 11, 219, 224, 50, 58, 10, 73, 6, 36, 92, 194, 211, 172, 98, 145, 149, 228, 121, 231, 200, 55, 109, 141, 213, 78, 169, 108, 86, 244, 234, 101, 122, 174, 8, 186, 120, 37, 46, 28, 166, 180, 198, 232, 221, 116, 31, 75, 189, 139, 138, 112, 62, 181, 102, 72, 3, 246, 14, 97, 53, 87, 185, 134, 193, 29, 158, 225, 248, 152, 17, 105, 217, 142, 148, 155, 30, 135, 233, 206, 85, 40, 223, 140, 161, 137, 13, 191, 230, 66, 104, 65, 153, 45, 15, 176, 84, 187, 22], en = [82, 9, 106, 213, 48, 54, 165, 56, 191, 64, 163, 158, 129, 243, 215, 251, 124, 227, 57, 130, 155, 47, 255, 135, 52, 142, 67, 68, 196, 222, 233, 203, 84, 123, 148, 50, 166, 194, 35, 61, 238, 76, 149, 11, 66, 250, 195, 78, 8, 46, 161, 102, 40, 217, 36, 178, 118, 91, 162, 73, 109, 139, 209, 37, 114, 248, 246, 100, 134, 104, 152, 22, 212, 164, 92, 204, 93, 101, 182, 146, 108, 112, 72, 80, 253, 237, 185, 218, 94, 21, 70, 87, 167, 141, 157, 132, 144, 216, 171, 0, 140, 188, 211, 10, 247, 228, 88, 5, 184, 179, 69, 6, 208, 44, 30, 143, 202, 63, 15, 2, 193, 175, 189, 3, 1, 19, 138, 107, 58, 145, 17, 65, 79, 103, 220, 234, 151, 242, 207, 206, 240, 180, 230, 115, 150, 172, 116, 34, 231, 173, 53, 133, 226, 249, 55, 232, 28, 117, 223, 110, 71, 241, 26, 113, 29, 41, 197, 137, 111, 183, 98, 14, 170, 24, 190, 27, 252, 86, 62, 75, 198, 210, 121, 32, 154, 219, 192, 254, 120, 205, 90, 244, 31, 221, 168, 51, 136, 7, 199, 49, 177, 18, 16, 89, 39, 128, 236, 95, 96, 81, 127, 169, 25, 181, 74, 13, 45, 229, 122, 159, 147, 201, 156, 239, 160, 224, 59, 77, 174, 42, 245, 176, 200, 235, 187, 60, 131, 83, 153, 97, 23, 43, 4, 126, 186, 119, 214, 38, 225, 105, 20, 99, 85, 33, 12, 125], tn = [3328402341, 4168907908, 4000806809, 4135287693, 4294111757, 3597364157, 3731845041, 2445657428, 1613770832, 33620227, 3462883241, 1445669757, 3892248089, 3050821474, 1303096294, 3967186586, 2412431941, 528646813, 2311702848, 4202528135, 4026202645, 2992200171, 2387036105, 4226871307, 1101901292, 3017069671, 1604494077, 1169141738, 597466303, 1403299063, 3832705686, 2613100635, 1974974402, 3791519004, 1033081774, 1277568618, 1815492186, 2118074177, 4126668546, 2211236943, 1748251740, 1369810420, 3521504564, 4193382664, 3799085459, 2883115123, 1647391059, 706024767, 134480908, 2512897874, 1176707941, 2646852446, 806885416, 932615841, 168101135, 798661301, 235341577, 605164086, 461406363, 3756188221, 3454790438, 1311188841, 2142417613, 3933566367, 302582043, 495158174, 1479289972, 874125870, 907746093, 3698224818, 3025820398, 1537253627, 2756858614, 1983593293, 3084310113, 2108928974, 1378429307, 3722699582, 1580150641, 327451799, 2790478837, 3117535592, 0, 3253595436, 1075847264, 3825007647, 2041688520, 3059440621, 3563743934, 2378943302, 1740553945, 1916352843, 2487896798, 2555137236, 2958579944, 2244988746, 3151024235, 3320835882, 1336584933, 3992714006, 2252555205, 2588757463, 1714631509, 293963156, 2319795663, 3925473552, 67240454, 4269768577, 2689618160, 2017213508, 631218106, 1269344483, 2723238387, 1571005438, 2151694528, 93294474, 1066570413, 563977660, 1882732616, 4059428100, 1673313503, 2008463041, 2950355573, 1109467491, 537923632, 3858759450, 4260623118, 3218264685, 2177748300, 403442708, 638784309, 3287084079, 3193921505, 899127202, 2286175436, 773265209, 2479146071, 1437050866, 4236148354, 2050833735, 3362022572, 3126681063, 840505643, 3866325909, 3227541664, 427917720, 2655997905, 2749160575, 1143087718, 1412049534, 999329963, 193497219, 2353415882, 3354324521, 1807268051, 672404540, 2816401017, 3160301282, 369822493, 2916866934, 3688947771, 1681011286, 1949973070, 336202270, 2454276571, 201721354, 1210328172, 3093060836, 2680341085, 3184776046, 1135389935, 3294782118, 965841320, 831886756, 3554993207, 4068047243, 3588745010, 2345191491, 1849112409, 3664604599, 26054028, 2983581028, 2622377682, 1235855840, 3630984372, 2891339514, 4092916743, 3488279077, 3395642799, 4101667470, 1202630377, 268961816, 1874508501, 4034427016, 1243948399, 1546530418, 941366308, 1470539505, 1941222599, 2546386513, 3421038627, 2715671932, 3899946140, 1042226977, 2521517021, 1639824860, 227249030, 260737669, 3765465232, 2084453954, 1907733956, 3429263018, 2420656344, 100860677, 4160157185, 470683154, 3261161891, 1781871967, 2924959737, 1773779408, 394692241, 2579611992, 974986535, 664706745, 3655459128, 3958962195, 731420851, 571543859, 3530123707, 2849626480, 126783113, 865375399, 765172662, 1008606754, 361203602, 3387549984, 2278477385, 2857719295, 1344809080, 2782912378, 59542671, 1503764984, 160008576, 437062935, 1707065306, 3622233649, 2218934982, 3496503480, 2185314755, 697932208, 1512910199, 504303377, 2075177163, 2824099068, 1841019862, 739644986], nn = [2781242211, 2230877308, 2582542199, 2381740923, 234877682, 3184946027, 2984144751, 1418839493, 1348481072, 50462977, 2848876391, 2102799147, 434634494, 1656084439, 3863849899, 2599188086, 1167051466, 2636087938, 1082771913, 2281340285, 368048890, 3954334041, 3381544775, 201060592, 3963727277, 1739838676, 4250903202, 3930435503, 3206782108, 4149453988, 2531553906, 1536934080, 3262494647, 484572669, 2923271059, 1783375398, 1517041206, 1098792767, 49674231, 1334037708, 1550332980, 4098991525, 886171109, 150598129, 2481090929, 1940642008, 1398944049, 1059722517, 201851908, 1385547719, 1699095331, 1587397571, 674240536, 2704774806, 252314885, 3039795866, 151914247, 908333586, 2602270848, 1038082786, 651029483, 1766729511, 3447698098, 2682942837, 454166793, 2652734339, 1951935532, 775166490, 758520603, 3000790638, 4004797018, 4217086112, 4137964114, 1299594043, 1639438038, 3464344499, 2068982057, 1054729187, 1901997871, 2534638724, 4121318227, 1757008337, 0, 750906861, 1614815264, 535035132, 3363418545, 3988151131, 3201591914, 1183697867, 3647454910, 1265776953, 3734260298, 3566750796, 3903871064, 1250283471, 1807470800, 717615087, 3847203498, 384695291, 3313910595, 3617213773, 1432761139, 2484176261, 3481945413, 283769337, 100925954, 2180939647, 4037038160, 1148730428, 3123027871, 3813386408, 4087501137, 4267549603, 3229630528, 2315620239, 2906624658, 3156319645, 1215313976, 82966005, 3747855548, 3245848246, 1974459098, 1665278241, 807407632, 451280895, 251524083, 1841287890, 1283575245, 337120268, 891687699, 801369324, 3787349855, 2721421207, 3431482436, 959321879, 1469301956, 4065699751, 2197585534, 1199193405, 2898814052, 3887750493, 724703513, 2514908019, 2696962144, 2551808385, 3516813135, 2141445340, 1715741218, 2119445034, 2872807568, 2198571144, 3398190662, 700968686, 3547052216, 1009259540, 2041044702, 3803995742, 487983883, 1991105499, 1004265696, 1449407026, 1316239930, 504629770, 3683797321, 168560134, 1816667172, 3837287516, 1570751170, 1857934291, 4014189740, 2797888098, 2822345105, 2754712981, 936633572, 2347923833, 852879335, 1133234376, 1500395319, 3084545389, 2348912013, 1689376213, 3533459022, 3762923945, 3034082412, 4205598294, 133428468, 634383082, 2949277029, 2398386810, 3913789102, 403703816, 3580869306, 2297460856, 1867130149, 1918643758, 607656988, 4049053350, 3346248884, 1368901318, 600565992, 2090982877, 2632479860, 557719327, 3717614411, 3697393085, 2249034635, 2232388234, 2430627952, 1115438654, 3295786421, 2865522278, 3633334344, 84280067, 33027830, 303828494, 2747425121, 1600795957, 4188952407, 3496589753, 2434238086, 1486471617, 658119965, 3106381470, 953803233, 334231800, 3005978776, 857870609, 3151128937, 1890179545, 2298973838, 2805175444, 3056442267, 574365214, 2450884487, 550103529, 1233637070, 4289353045, 2018519080, 2057691103, 2399374476, 4166623649, 2148108681, 387583245, 3664101311, 836232934, 3330556482, 3100665960, 3280093505, 2955516313, 2002398509, 287182607, 3413881008, 4238890068, 3597515707, 975967766], sn = [1671808611, 2089089148, 2006576759, 2072901243, 4061003762, 1807603307, 1873927791, 3310653893, 810573872, 16974337, 1739181671, 729634347, 4263110654, 3613570519, 2883997099, 1989864566, 3393556426, 2191335298, 3376449993, 2106063485, 4195741690, 1508618841, 1204391495, 4027317232, 2917941677, 3563566036, 2734514082, 2951366063, 2629772188, 2767672228, 1922491506, 3227229120, 3082974647, 4246528509, 2477669779, 644500518, 911895606, 1061256767, 4144166391, 3427763148, 878471220, 2784252325, 3845444069, 4043897329, 1905517169, 3631459288, 827548209, 356461077, 67897348, 3344078279, 593839651, 3277757891, 405286936, 2527147926, 84871685, 2595565466, 118033927, 305538066, 2157648768, 3795705826, 3945188843, 661212711, 2999812018, 1973414517, 152769033, 2208177539, 745822252, 439235610, 455947803, 1857215598, 1525593178, 2700827552, 1391895634, 994932283, 3596728278, 3016654259, 695947817, 3812548067, 795958831, 2224493444, 1408607827, 3513301457, 0, 3979133421, 543178784, 4229948412, 2982705585, 1542305371, 1790891114, 3410398667, 3201918910, 961245753, 1256100938, 1289001036, 1491644504, 3477767631, 3496721360, 4012557807, 2867154858, 4212583931, 1137018435, 1305975373, 861234739, 2241073541, 1171229253, 4178635257, 33948674, 2139225727, 1357946960, 1011120188, 2679776671, 2833468328, 1374921297, 2751356323, 1086357568, 2408187279, 2460827538, 2646352285, 944271416, 4110742005, 3168756668, 3066132406, 3665145818, 560153121, 271589392, 4279952895, 4077846003, 3530407890, 3444343245, 202643468, 322250259, 3962553324, 1608629855, 2543990167, 1154254916, 389623319, 3294073796, 2817676711, 2122513534, 1028094525, 1689045092, 1575467613, 422261273, 1939203699, 1621147744, 2174228865, 1339137615, 3699352540, 577127458, 712922154, 2427141008, 2290289544, 1187679302, 3995715566, 3100863416, 339486740, 3732514782, 1591917662, 186455563, 3681988059, 3762019296, 844522546, 978220090, 169743370, 1239126601, 101321734, 611076132, 1558493276, 3260915650, 3547250131, 2901361580, 1655096418, 2443721105, 2510565781, 3828863972, 2039214713, 3878868455, 3359869896, 928607799, 1840765549, 2374762893, 3580146133, 1322425422, 2850048425, 1823791212, 1459268694, 4094161908, 3928346602, 1706019429, 2056189050, 2934523822, 135794696, 3134549946, 2022240376, 628050469, 779246638, 472135708, 2800834470, 3032970164, 3327236038, 3894660072, 3715932637, 1956440180, 522272287, 1272813131, 3185336765, 2340818315, 2323976074, 1888542832, 1044544574, 3049550261, 1722469478, 1222152264, 50660867, 4127324150, 236067854, 1638122081, 895445557, 1475980887, 3117443513, 2257655686, 3243809217, 489110045, 2662934430, 3778599393, 4162055160, 2561878936, 288563729, 1773916777, 3648039385, 2391345038, 2493985684, 2612407707, 505560094, 2274497927, 3911240169, 3460925390, 1442818645, 678973480, 3749357023, 2358182796, 2717407649, 2306869641, 219617805, 3218761151, 3862026214, 1120306242, 1756942440, 1103331905, 2578459033, 762796589, 252780047, 2966125488, 1425844308, 3151392187, 372911126], rn = [1667474886, 2088535288, 2004326894, 2071694838, 4075949567, 1802223062, 1869591006, 3318043793, 808472672, 16843522, 1734846926, 724270422, 4278065639, 3621216949, 2880169549, 1987484396, 3402253711, 2189597983, 3385409673, 2105378810, 4210693615, 1499065266, 1195886990, 4042263547, 2913856577, 3570689971, 2728590687, 2947541573, 2627518243, 2762274643, 1920112356, 3233831835, 3082273397, 4261223649, 2475929149, 640051788, 909531756, 1061110142, 4160160501, 3435941763, 875846760, 2779116625, 3857003729, 4059105529, 1903268834, 3638064043, 825316194, 353713962, 67374088, 3351728789, 589522246, 3284360861, 404236336, 2526454071, 84217610, 2593830191, 117901582, 303183396, 2155911963, 3806477791, 3958056653, 656894286, 2998062463, 1970642922, 151591698, 2206440989, 741110872, 437923380, 454765878, 1852748508, 1515908788, 2694904667, 1381168804, 993742198, 3604373943, 3014905469, 690584402, 3823320797, 791638366, 2223281939, 1398011302, 3520161977, 0, 3991743681, 538992704, 4244381667, 2981218425, 1532751286, 1785380564, 3419096717, 3200178535, 960056178, 1246420628, 1280103576, 1482221744, 3486468741, 3503319995, 4025428677, 2863326543, 4227536621, 1128514950, 1296947098, 859002214, 2240123921, 1162203018, 4193849577, 33687044, 2139062782, 1347481760, 1010582648, 2678045221, 2829640523, 1364325282, 2745433693, 1077985408, 2408548869, 2459086143, 2644360225, 943212656, 4126475505, 3166494563, 3065430391, 3671750063, 555836226, 269496352, 4294908645, 4092792573, 3537006015, 3452783745, 202118168, 320025894, 3974901699, 1600119230, 2543297077, 1145359496, 387397934, 3301201811, 2812801621, 2122220284, 1027426170, 1684319432, 1566435258, 421079858, 1936954854, 1616945344, 2172753945, 1330631070, 3705438115, 572679748, 707427924, 2425400123, 2290647819, 1179044492, 4008585671, 3099120491, 336870440, 3739122087, 1583276732, 185277718, 3688593069, 3772791771, 842159716, 976899700, 168435220, 1229577106, 101059084, 606366792, 1549591736, 3267517855, 3553849021, 2897014595, 1650632388, 2442242105, 2509612081, 3840161747, 2038008818, 3890688725, 3368567691, 926374254, 1835907034, 2374863873, 3587531953, 1313788572, 2846482505, 1819063512, 1448540844, 4109633523, 3941213647, 1701162954, 2054852340, 2930698567, 134748176, 3132806511, 2021165296, 623210314, 774795868, 471606328, 2795958615, 3031746419, 3334885783, 3907527627, 3722280097, 1953799400, 522133822, 1263263126, 3183336545, 2341176845, 2324333839, 1886425312, 1044267644, 3048588401, 1718004428, 1212733584, 50529542, 4143317495, 235803164, 1633788866, 892690282, 1465383342, 3115962473, 2256965911, 3250673817, 488449850, 2661202215, 3789633753, 4177007595, 2560144171, 286339874, 1768537042, 3654906025, 2391705863, 2492770099, 2610673197, 505291324, 2273808917, 3924369609, 3469625735, 1431699370, 673740880, 3755965093, 2358021891, 2711746649, 2307489801, 218961690, 3217021541, 3873845719, 1111672452, 1751693520, 1094828930, 2576986153, 757954394, 252645662, 2964376443, 1414855848, 3149649517, 370555436], on = [1374988112, 2118214995, 437757123, 975658646, 1001089995, 530400753, 2902087851, 1273168787, 540080725, 2910219766, 2295101073, 4110568485, 1340463100, 3307916247, 641025152, 3043140495, 3736164937, 632953703, 1172967064, 1576976609, 3274667266, 2169303058, 2370213795, 1809054150, 59727847, 361929877, 3211623147, 2505202138, 3569255213, 1484005843, 1239443753, 2395588676, 1975683434, 4102977912, 2572697195, 666464733, 3202437046, 4035489047, 3374361702, 2110667444, 1675577880, 3843699074, 2538681184, 1649639237, 2976151520, 3144396420, 4269907996, 4178062228, 1883793496, 2403728665, 2497604743, 1383856311, 2876494627, 1917518562, 3810496343, 1716890410, 3001755655, 800440835, 2261089178, 3543599269, 807962610, 599762354, 33778362, 3977675356, 2328828971, 2809771154, 4077384432, 1315562145, 1708848333, 101039829, 3509871135, 3299278474, 875451293, 2733856160, 92987698, 2767645557, 193195065, 1080094634, 1584504582, 3178106961, 1042385657, 2531067453, 3711829422, 1306967366, 2438237621, 1908694277, 67556463, 1615861247, 429456164, 3602770327, 2302690252, 1742315127, 2968011453, 126454664, 3877198648, 2043211483, 2709260871, 2084704233, 4169408201, 0, 159417987, 841739592, 504459436, 1817866830, 4245618683, 260388950, 1034867998, 908933415, 168810852, 1750902305, 2606453969, 607530554, 202008497, 2472011535, 3035535058, 463180190, 2160117071, 1641816226, 1517767529, 470948374, 3801332234, 3231722213, 1008918595, 303765277, 235474187, 4069246893, 766945465, 337553864, 1475418501, 2943682380, 4003061179, 2743034109, 4144047775, 1551037884, 1147550661, 1543208500, 2336434550, 3408119516, 3069049960, 3102011747, 3610369226, 1113818384, 328671808, 2227573024, 2236228733, 3535486456, 2935566865, 3341394285, 496906059, 3702665459, 226906860, 2009195472, 733156972, 2842737049, 294930682, 1206477858, 2835123396, 2700099354, 1451044056, 573804783, 2269728455, 3644379585, 2362090238, 2564033334, 2801107407, 2776292904, 3669462566, 1068351396, 742039012, 1350078989, 1784663195, 1417561698, 4136440770, 2430122216, 775550814, 2193862645, 2673705150, 1775276924, 1876241833, 3475313331, 3366754619, 270040487, 3902563182, 3678124923, 3441850377, 1851332852, 3969562369, 2203032232, 3868552805, 2868897406, 566021896, 4011190502, 3135740889, 1248802510, 3936291284, 699432150, 832877231, 708780849, 3332740144, 899835584, 1951317047, 4236429990, 3767586992, 866637845, 4043610186, 1106041591, 2144161806, 395441711, 1984812685, 1139781709, 3433712980, 3835036895, 2664543715, 1282050075, 3240894392, 1181045119, 2640243204, 25965917, 4203181171, 4211818798, 3009879386, 2463879762, 3910161971, 1842759443, 2597806476, 933301370, 1509430414, 3943906441, 3467192302, 3076639029, 3776767469, 2051518780, 2631065433, 1441952575, 404016761, 1942435775, 1408749034, 1610459739, 3745345300, 2017778566, 3400528769, 3110650942, 941896748, 3265478751, 371049330, 3168937228, 675039627, 4279080257, 967311729, 135050206, 3635733660, 1683407248, 2076935265, 3576870512, 1215061108, 3501741890], an = [1347548327, 1400783205, 3273267108, 2520393566, 3409685355, 4045380933, 2880240216, 2471224067, 1428173050, 4138563181, 2441661558, 636813900, 4233094615, 3620022987, 2149987652, 2411029155, 1239331162, 1730525723, 2554718734, 3781033664, 46346101, 310463728, 2743944855, 3328955385, 3875770207, 2501218972, 3955191162, 3667219033, 768917123, 3545789473, 692707433, 1150208456, 1786102409, 2029293177, 1805211710, 3710368113, 3065962831, 401639597, 1724457132, 3028143674, 409198410, 2196052529, 1620529459, 1164071807, 3769721975, 2226875310, 486441376, 2499348523, 1483753576, 428819965, 2274680428, 3075636216, 598438867, 3799141122, 1474502543, 711349675, 129166120, 53458370, 2592523643, 2782082824, 4063242375, 2988687269, 3120694122, 1559041666, 730517276, 2460449204, 4042459122, 2706270690, 3446004468, 3573941694, 533804130, 2328143614, 2637442643, 2695033685, 839224033, 1973745387, 957055980, 2856345839, 106852767, 1371368976, 4181598602, 1033297158, 2933734917, 1179510461, 3046200461, 91341917, 1862534868, 4284502037, 605657339, 2547432937, 3431546947, 2003294622, 3182487618, 2282195339, 954669403, 3682191598, 1201765386, 3917234703, 3388507166, 0, 2198438022, 1211247597, 2887651696, 1315723890, 4227665663, 1443857720, 507358933, 657861945, 1678381017, 560487590, 3516619604, 975451694, 2970356327, 261314535, 3535072918, 2652609425, 1333838021, 2724322336, 1767536459, 370938394, 182621114, 3854606378, 1128014560, 487725847, 185469197, 2918353863, 3106780840, 3356761769, 2237133081, 1286567175, 3152976349, 4255350624, 2683765030, 3160175349, 3309594171, 878443390, 1988838185, 3704300486, 1756818940, 1673061617, 3403100636, 272786309, 1075025698, 545572369, 2105887268, 4174560061, 296679730, 1841768865, 1260232239, 4091327024, 3960309330, 3497509347, 1814803222, 2578018489, 4195456072, 575138148, 3299409036, 446754879, 3629546796, 4011996048, 3347532110, 3252238545, 4270639778, 915985419, 3483825537, 681933534, 651868046, 2755636671, 3828103837, 223377554, 2607439820, 1649704518, 3270937875, 3901806776, 1580087799, 4118987695, 3198115200, 2087309459, 2842678573, 3016697106, 1003007129, 2802849917, 1860738147, 2077965243, 164439672, 4100872472, 32283319, 2827177882, 1709610350, 2125135846, 136428751, 3874428392, 3652904859, 3460984630, 3572145929, 3593056380, 2939266226, 824852259, 818324884, 3224740454, 930369212, 2801566410, 2967507152, 355706840, 1257309336, 4148292826, 243256656, 790073846, 2373340630, 1296297904, 1422699085, 3756299780, 3818836405, 457992840, 3099667487, 2135319889, 77422314, 1560382517, 1945798516, 788204353, 1521706781, 1385356242, 870912086, 325965383, 2358957921, 2050466060, 2388260884, 2313884476, 4006521127, 901210569, 3990953189, 1014646705, 1503449823, 1062597235, 2031621326, 3212035895, 3931371469, 1533017514, 350174575, 2256028891, 2177544179, 1052338372, 741876788, 1606591296, 1914052035, 213705253, 2334669897, 1107234197, 1899603969, 3725069491, 2631447780, 2422494913, 1635502980, 1893020342, 1950903388, 1120974935], cn = [2807058932, 1699970625, 2764249623, 1586903591, 1808481195, 1173430173, 1487645946, 59984867, 4199882800, 1844882806, 1989249228, 1277555970, 3623636965, 3419915562, 1149249077, 2744104290, 1514790577, 459744698, 244860394, 3235995134, 1963115311, 4027744588, 2544078150, 4190530515, 1608975247, 2627016082, 2062270317, 1507497298, 2200818878, 567498868, 1764313568, 3359936201, 2305455554, 2037970062, 1047239e3, 1910319033, 1337376481, 2904027272, 2892417312, 984907214, 1243112415, 830661914, 861968209, 2135253587, 2011214180, 2927934315, 2686254721, 731183368, 1750626376, 4246310725, 1820824798, 4172763771, 3542330227, 48394827, 2404901663, 2871682645, 671593195, 3254988725, 2073724613, 145085239, 2280796200, 2779915199, 1790575107, 2187128086, 472615631, 3029510009, 4075877127, 3802222185, 4107101658, 3201631749, 1646252340, 4270507174, 1402811438, 1436590835, 3778151818, 3950355702, 3963161475, 4020912224, 2667994737, 273792366, 2331590177, 104699613, 95345982, 3175501286, 2377486676, 1560637892, 3564045318, 369057872, 4213447064, 3919042237, 1137477952, 2658625497, 1119727848, 2340947849, 1530455833, 4007360968, 172466556, 266959938, 516552836, 0, 2256734592, 3980931627, 1890328081, 1917742170, 4294704398, 945164165, 3575528878, 958871085, 3647212047, 2787207260, 1423022939, 775562294, 1739656202, 3876557655, 2530391278, 2443058075, 3310321856, 547512796, 1265195639, 437656594, 3121275539, 719700128, 3762502690, 387781147, 218828297, 3350065803, 2830708150, 2848461854, 428169201, 122466165, 3720081049, 1627235199, 648017665, 4122762354, 1002783846, 2117360635, 695634755, 3336358691, 4234721005, 4049844452, 3704280881, 2232435299, 574624663, 287343814, 612205898, 1039717051, 840019705, 2708326185, 793451934, 821288114, 1391201670, 3822090177, 376187827, 3113855344, 1224348052, 1679968233, 2361698556, 1058709744, 752375421, 2431590963, 1321699145, 3519142200, 2734591178, 188127444, 2177869557, 3727205754, 2384911031, 3215212461, 2648976442, 2450346104, 3432737375, 1180849278, 331544205, 3102249176, 4150144569, 2952102595, 2159976285, 2474404304, 766078933, 313773861, 2570832044, 2108100632, 1668212892, 3145456443, 2013908262, 418672217, 3070356634, 2594734927, 1852171925, 3867060991, 3473416636, 3907448597, 2614737639, 919489135, 164948639, 2094410160, 2997825956, 590424639, 2486224549, 1723872674, 3157750862, 3399941250, 3501252752, 3625268135, 2555048196, 3673637356, 1343127501, 4130281361, 3599595085, 2957853679, 1297403050, 81781910, 3051593425, 2283490410, 532201772, 1367295589, 3926170974, 895287692, 1953757831, 1093597963, 492483431, 3528626907, 1446242576, 1192455638, 1636604631, 209336225, 344873464, 1015671571, 669961897, 3375740769, 3857572124, 2973530695, 3747192018, 1933530610, 3464042516, 935293895, 3454686199, 2858115069, 1863638845, 3683022916, 4085369519, 3292445032, 875313188, 1080017571, 3279033885, 621591778, 1233856572, 2504130317, 24197544, 3017672716, 3835484340, 3247465558, 2220981195, 3060847922, 1551124588, 1463996600], un = [4104605777, 1097159550, 396673818, 660510266, 2875968315, 2638606623, 4200115116, 3808662347, 821712160, 1986918061, 3430322568, 38544885, 3856137295, 718002117, 893681702, 1654886325, 2975484382, 3122358053, 3926825029, 4274053469, 796197571, 1290801793, 1184342925, 3556361835, 2405426947, 2459735317, 1836772287, 1381620373, 3196267988, 1948373848, 3764988233, 3385345166, 3263785589, 2390325492, 1480485785, 3111247143, 3780097726, 2293045232, 548169417, 3459953789, 3746175075, 439452389, 1362321559, 1400849762, 1685577905, 1806599355, 2174754046, 137073913, 1214797936, 1174215055, 3731654548, 2079897426, 1943217067, 1258480242, 529487843, 1437280870, 3945269170, 3049390895, 3313212038, 923313619, 679998e3, 3215307299, 57326082, 377642221, 3474729866, 2041877159, 133361907, 1776460110, 3673476453, 96392454, 878845905, 2801699524, 777231668, 4082475170, 2330014213, 4142626212, 2213296395, 1626319424, 1906247262, 1846563261, 562755902, 3708173718, 1040559837, 3871163981, 1418573201, 3294430577, 114585348, 1343618912, 2566595609, 3186202582, 1078185097, 3651041127, 3896688048, 2307622919, 425408743, 3371096953, 2081048481, 1108339068, 2216610296, 0, 2156299017, 736970802, 292596766, 1517440620, 251657213, 2235061775, 2933202493, 758720310, 265905162, 1554391400, 1532285339, 908999204, 174567692, 1474760595, 4002861748, 2610011675, 3234156416, 3693126241, 2001430874, 303699484, 2478443234, 2687165888, 585122620, 454499602, 151849742, 2345119218, 3064510765, 514443284, 4044981591, 1963412655, 2581445614, 2137062819, 19308535, 1928707164, 1715193156, 4219352155, 1126790795, 600235211, 3992742070, 3841024952, 836553431, 1669664834, 2535604243, 3323011204, 1243905413, 3141400786, 4180808110, 698445255, 2653899549, 2989552604, 2253581325, 3252932727, 3004591147, 1891211689, 2487810577, 3915653703, 4237083816, 4030667424, 2100090966, 865136418, 1229899655, 953270745, 3399679628, 3557504664, 4118925222, 2061379749, 3079546586, 2915017791, 983426092, 2022837584, 1607244650, 2118541908, 2366882550, 3635996816, 972512814, 3283088770, 1568718495, 3499326569, 3576539503, 621982671, 2895723464, 410887952, 2623762152, 1002142683, 645401037, 1494807662, 2595684844, 1335535747, 2507040230, 4293295786, 3167684641, 367585007, 3885750714, 1865862730, 2668221674, 2960971305, 2763173681, 1059270954, 2777952454, 2724642869, 1320957812, 2194319100, 2429595872, 2815956275, 77089521, 3973773121, 3444575871, 2448830231, 1305906550, 4021308739, 2857194700, 2516901860, 3518358430, 1787304780, 740276417, 1699839814, 1592394909, 2352307457, 2272556026, 188821243, 1729977011, 3687994002, 274084841, 3594982253, 3613494426, 2701949495, 4162096729, 322734571, 2837966542, 1640576439, 484830689, 1202797690, 3537852828, 4067639125, 349075736, 3342319475, 4157467219, 4255800159, 1030690015, 1155237496, 2951971274, 1757691577, 607398968, 2738905026, 499347990, 3794078908, 1011452712, 227885567, 2818666809, 213114376, 3034881240, 1455525988, 3414450555, 850817237, 1817998408, 3092726480], hn = [0, 235474187, 470948374, 303765277, 941896748, 908933415, 607530554, 708780849, 1883793496, 2118214995, 1817866830, 1649639237, 1215061108, 1181045119, 1417561698, 1517767529, 3767586992, 4003061179, 4236429990, 4069246893, 3635733660, 3602770327, 3299278474, 3400528769, 2430122216, 2664543715, 2362090238, 2193862645, 2835123396, 2801107407, 3035535058, 3135740889, 3678124923, 3576870512, 3341394285, 3374361702, 3810496343, 3977675356, 4279080257, 4043610186, 2876494627, 2776292904, 3076639029, 3110650942, 2472011535, 2640243204, 2403728665, 2169303058, 1001089995, 899835584, 666464733, 699432150, 59727847, 226906860, 530400753, 294930682, 1273168787, 1172967064, 1475418501, 1509430414, 1942435775, 2110667444, 1876241833, 1641816226, 2910219766, 2743034109, 2976151520, 3211623147, 2505202138, 2606453969, 2302690252, 2269728455, 3711829422, 3543599269, 3240894392, 3475313331, 3843699074, 3943906441, 4178062228, 4144047775, 1306967366, 1139781709, 1374988112, 1610459739, 1975683434, 2076935265, 1775276924, 1742315127, 1034867998, 866637845, 566021896, 800440835, 92987698, 193195065, 429456164, 395441711, 1984812685, 2017778566, 1784663195, 1683407248, 1315562145, 1080094634, 1383856311, 1551037884, 101039829, 135050206, 437757123, 337553864, 1042385657, 807962610, 573804783, 742039012, 2531067453, 2564033334, 2328828971, 2227573024, 2935566865, 2700099354, 3001755655, 3168937228, 3868552805, 3902563182, 4203181171, 4102977912, 3736164937, 3501741890, 3265478751, 3433712980, 1106041591, 1340463100, 1576976609, 1408749034, 2043211483, 2009195472, 1708848333, 1809054150, 832877231, 1068351396, 766945465, 599762354, 159417987, 126454664, 361929877, 463180190, 2709260871, 2943682380, 3178106961, 3009879386, 2572697195, 2538681184, 2236228733, 2336434550, 3509871135, 3745345300, 3441850377, 3274667266, 3910161971, 3877198648, 4110568485, 4211818798, 2597806476, 2497604743, 2261089178, 2295101073, 2733856160, 2902087851, 3202437046, 2968011453, 3936291284, 3835036895, 4136440770, 4169408201, 3535486456, 3702665459, 3467192302, 3231722213, 2051518780, 1951317047, 1716890410, 1750902305, 1113818384, 1282050075, 1584504582, 1350078989, 168810852, 67556463, 371049330, 404016761, 841739592, 1008918595, 775550814, 540080725, 3969562369, 3801332234, 4035489047, 4269907996, 3569255213, 3669462566, 3366754619, 3332740144, 2631065433, 2463879762, 2160117071, 2395588676, 2767645557, 2868897406, 3102011747, 3069049960, 202008497, 33778362, 270040487, 504459436, 875451293, 975658646, 675039627, 641025152, 2084704233, 1917518562, 1615861247, 1851332852, 1147550661, 1248802510, 1484005843, 1451044056, 933301370, 967311729, 733156972, 632953703, 260388950, 25965917, 328671808, 496906059, 1206477858, 1239443753, 1543208500, 1441952575, 2144161806, 1908694277, 1675577880, 1842759443, 3610369226, 3644379585, 3408119516, 3307916247, 4011190502, 3776767469, 4077384432, 4245618683, 2809771154, 2842737049, 3144396420, 3043140495, 2673705150, 2438237621, 2203032232, 2370213795], ln = [0, 185469197, 370938394, 487725847, 741876788, 657861945, 975451694, 824852259, 1483753576, 1400783205, 1315723890, 1164071807, 1950903388, 2135319889, 1649704518, 1767536459, 2967507152, 3152976349, 2801566410, 2918353863, 2631447780, 2547432937, 2328143614, 2177544179, 3901806776, 3818836405, 4270639778, 4118987695, 3299409036, 3483825537, 3535072918, 3652904859, 2077965243, 1893020342, 1841768865, 1724457132, 1474502543, 1559041666, 1107234197, 1257309336, 598438867, 681933534, 901210569, 1052338372, 261314535, 77422314, 428819965, 310463728, 3409685355, 3224740454, 3710368113, 3593056380, 3875770207, 3960309330, 4045380933, 4195456072, 2471224067, 2554718734, 2237133081, 2388260884, 3212035895, 3028143674, 2842678573, 2724322336, 4138563181, 4255350624, 3769721975, 3955191162, 3667219033, 3516619604, 3431546947, 3347532110, 2933734917, 2782082824, 3099667487, 3016697106, 2196052529, 2313884476, 2499348523, 2683765030, 1179510461, 1296297904, 1347548327, 1533017514, 1786102409, 1635502980, 2087309459, 2003294622, 507358933, 355706840, 136428751, 53458370, 839224033, 957055980, 605657339, 790073846, 2373340630, 2256028891, 2607439820, 2422494913, 2706270690, 2856345839, 3075636216, 3160175349, 3573941694, 3725069491, 3273267108, 3356761769, 4181598602, 4063242375, 4011996048, 3828103837, 1033297158, 915985419, 730517276, 545572369, 296679730, 446754879, 129166120, 213705253, 1709610350, 1860738147, 1945798516, 2029293177, 1239331162, 1120974935, 1606591296, 1422699085, 4148292826, 4233094615, 3781033664, 3931371469, 3682191598, 3497509347, 3446004468, 3328955385, 2939266226, 2755636671, 3106780840, 2988687269, 2198438022, 2282195339, 2501218972, 2652609425, 1201765386, 1286567175, 1371368976, 1521706781, 1805211710, 1620529459, 2105887268, 1988838185, 533804130, 350174575, 164439672, 46346101, 870912086, 954669403, 636813900, 788204353, 2358957921, 2274680428, 2592523643, 2441661558, 2695033685, 2880240216, 3065962831, 3182487618, 3572145929, 3756299780, 3270937875, 3388507166, 4174560061, 4091327024, 4006521127, 3854606378, 1014646705, 930369212, 711349675, 560487590, 272786309, 457992840, 106852767, 223377554, 1678381017, 1862534868, 1914052035, 2031621326, 1211247597, 1128014560, 1580087799, 1428173050, 32283319, 182621114, 401639597, 486441376, 768917123, 651868046, 1003007129, 818324884, 1503449823, 1385356242, 1333838021, 1150208456, 1973745387, 2125135846, 1673061617, 1756818940, 2970356327, 3120694122, 2802849917, 2887651696, 2637442643, 2520393566, 2334669897, 2149987652, 3917234703, 3799141122, 4284502037, 4100872472, 3309594171, 3460984630, 3545789473, 3629546796, 2050466060, 1899603969, 1814803222, 1730525723, 1443857720, 1560382517, 1075025698, 1260232239, 575138148, 692707433, 878443390, 1062597235, 243256656, 91341917, 409198410, 325965383, 3403100636, 3252238545, 3704300486, 3620022987, 3874428392, 3990953189, 4042459122, 4227665663, 2460449204, 2578018489, 2226875310, 2411029155, 3198115200, 3046200461, 2827177882, 2743944855], dn = [0, 218828297, 437656594, 387781147, 875313188, 958871085, 775562294, 590424639, 1750626376, 1699970625, 1917742170, 2135253587, 1551124588, 1367295589, 1180849278, 1265195639, 3501252752, 3720081049, 3399941250, 3350065803, 3835484340, 3919042237, 4270507174, 4085369519, 3102249176, 3051593425, 2734591178, 2952102595, 2361698556, 2177869557, 2530391278, 2614737639, 3145456443, 3060847922, 2708326185, 2892417312, 2404901663, 2187128086, 2504130317, 2555048196, 3542330227, 3727205754, 3375740769, 3292445032, 3876557655, 3926170974, 4246310725, 4027744588, 1808481195, 1723872674, 1910319033, 2094410160, 1608975247, 1391201670, 1173430173, 1224348052, 59984867, 244860394, 428169201, 344873464, 935293895, 984907214, 766078933, 547512796, 1844882806, 1627235199, 2011214180, 2062270317, 1507497298, 1423022939, 1137477952, 1321699145, 95345982, 145085239, 532201772, 313773861, 830661914, 1015671571, 731183368, 648017665, 3175501286, 2957853679, 2807058932, 2858115069, 2305455554, 2220981195, 2474404304, 2658625497, 3575528878, 3625268135, 3473416636, 3254988725, 3778151818, 3963161475, 4213447064, 4130281361, 3599595085, 3683022916, 3432737375, 3247465558, 3802222185, 4020912224, 4172763771, 4122762354, 3201631749, 3017672716, 2764249623, 2848461854, 2331590177, 2280796200, 2431590963, 2648976442, 104699613, 188127444, 472615631, 287343814, 840019705, 1058709744, 671593195, 621591778, 1852171925, 1668212892, 1953757831, 2037970062, 1514790577, 1463996600, 1080017571, 1297403050, 3673637356, 3623636965, 3235995134, 3454686199, 4007360968, 3822090177, 4107101658, 4190530515, 2997825956, 3215212461, 2830708150, 2779915199, 2256734592, 2340947849, 2627016082, 2443058075, 172466556, 122466165, 273792366, 492483431, 1047239e3, 861968209, 612205898, 695634755, 1646252340, 1863638845, 2013908262, 1963115311, 1446242576, 1530455833, 1277555970, 1093597963, 1636604631, 1820824798, 2073724613, 1989249228, 1436590835, 1487645946, 1337376481, 1119727848, 164948639, 81781910, 331544205, 516552836, 1039717051, 821288114, 669961897, 719700128, 2973530695, 3157750862, 2871682645, 2787207260, 2232435299, 2283490410, 2667994737, 2450346104, 3647212047, 3564045318, 3279033885, 3464042516, 3980931627, 3762502690, 4150144569, 4199882800, 3070356634, 3121275539, 2904027272, 2686254721, 2200818878, 2384911031, 2570832044, 2486224549, 3747192018, 3528626907, 3310321856, 3359936201, 3950355702, 3867060991, 4049844452, 4234721005, 1739656202, 1790575107, 2108100632, 1890328081, 1402811438, 1586903591, 1233856572, 1149249077, 266959938, 48394827, 369057872, 418672217, 1002783846, 919489135, 567498868, 752375421, 209336225, 24197544, 376187827, 459744698, 945164165, 895287692, 574624663, 793451934, 1679968233, 1764313568, 2117360635, 1933530610, 1343127501, 1560637892, 1243112415, 1192455638, 3704280881, 3519142200, 3336358691, 3419915562, 3907448597, 3857572124, 4075877127, 4294704398, 3029510009, 3113855344, 2927934315, 2744104290, 2159976285, 2377486676, 2594734927, 2544078150], pn = [0, 151849742, 303699484, 454499602, 607398968, 758720310, 908999204, 1059270954, 1214797936, 1097159550, 1517440620, 1400849762, 1817998408, 1699839814, 2118541908, 2001430874, 2429595872, 2581445614, 2194319100, 2345119218, 3034881240, 3186202582, 2801699524, 2951971274, 3635996816, 3518358430, 3399679628, 3283088770, 4237083816, 4118925222, 4002861748, 3885750714, 1002142683, 850817237, 698445255, 548169417, 529487843, 377642221, 227885567, 77089521, 1943217067, 2061379749, 1640576439, 1757691577, 1474760595, 1592394909, 1174215055, 1290801793, 2875968315, 2724642869, 3111247143, 2960971305, 2405426947, 2253581325, 2638606623, 2487810577, 3808662347, 3926825029, 4044981591, 4162096729, 3342319475, 3459953789, 3576539503, 3693126241, 1986918061, 2137062819, 1685577905, 1836772287, 1381620373, 1532285339, 1078185097, 1229899655, 1040559837, 923313619, 740276417, 621982671, 439452389, 322734571, 137073913, 19308535, 3871163981, 4021308739, 4104605777, 4255800159, 3263785589, 3414450555, 3499326569, 3651041127, 2933202493, 2815956275, 3167684641, 3049390895, 2330014213, 2213296395, 2566595609, 2448830231, 1305906550, 1155237496, 1607244650, 1455525988, 1776460110, 1626319424, 2079897426, 1928707164, 96392454, 213114376, 396673818, 514443284, 562755902, 679998e3, 865136418, 983426092, 3708173718, 3557504664, 3474729866, 3323011204, 4180808110, 4030667424, 3945269170, 3794078908, 2507040230, 2623762152, 2272556026, 2390325492, 2975484382, 3092726480, 2738905026, 2857194700, 3973773121, 3856137295, 4274053469, 4157467219, 3371096953, 3252932727, 3673476453, 3556361835, 2763173681, 2915017791, 3064510765, 3215307299, 2156299017, 2307622919, 2459735317, 2610011675, 2081048481, 1963412655, 1846563261, 1729977011, 1480485785, 1362321559, 1243905413, 1126790795, 878845905, 1030690015, 645401037, 796197571, 274084841, 425408743, 38544885, 188821243, 3613494426, 3731654548, 3313212038, 3430322568, 4082475170, 4200115116, 3780097726, 3896688048, 2668221674, 2516901860, 2366882550, 2216610296, 3141400786, 2989552604, 2837966542, 2687165888, 1202797690, 1320957812, 1437280870, 1554391400, 1669664834, 1787304780, 1906247262, 2022837584, 265905162, 114585348, 499347990, 349075736, 736970802, 585122620, 972512814, 821712160, 2595684844, 2478443234, 2293045232, 2174754046, 3196267988, 3079546586, 2895723464, 2777952454, 3537852828, 3687994002, 3234156416, 3385345166, 4142626212, 4293295786, 3841024952, 3992742070, 174567692, 57326082, 410887952, 292596766, 777231668, 660510266, 1011452712, 893681702, 1108339068, 1258480242, 1343618912, 1494807662, 1715193156, 1865862730, 1948373848, 2100090966, 2701949495, 2818666809, 3004591147, 3122358053, 2235061775, 2352307457, 2535604243, 2653899549, 3915653703, 3764988233, 4219352155, 4067639125, 3444575871, 3294430577, 3746175075, 3594982253, 836553431, 953270745, 600235211, 718002117, 367585007, 484830689, 133361907, 251657213, 2041877159, 1891211689, 1806599355, 1654886325, 1568718495, 1418573201, 1335535747, 1184342925]; function fn(e) { for (var t = [], n = 0; n < e.length; n += 4) { t.push(e[n] << 24 | e[n + 1] << 16 | e[n + 2] << 8 | e[n + 3]); } return t; } var gn = /*#__PURE__*/function () { function gn(e) { (0, _classCallCheck2.default)(this, gn); if (!(this instanceof gn)) throw Error("AES must be instanitated with `new`"); Object.defineProperty(this, "key", { value: Ht(e, !0) }), this._prepare(); } (0, _createClass2.default)(gn, [{ key: "_prepare", value: function _prepare() { var e = Qt[this.key.length]; if (null == e) throw new Error("invalid key size (must be 16, 24 or 32 bytes)"); this._Ke = [], this._Kd = []; for (var t = 0; t <= e; t++) { this._Ke.push([0, 0, 0, 0]), this._Kd.push([0, 0, 0, 0]); } var n, s = 4 * (e + 1), r = this.key.length / 4, i = fn(this.key); for (t = 0; t < r; t++) { n = t >> 2, this._Ke[n][t % 4] = i[t], this._Kd[e - n][t % 4] = i[t]; } for (var o, a = 0, c = r; c < s;) { if (o = i[r - 1], i[0] ^= Zt[o >> 16 & 255] << 24 ^ Zt[o >> 8 & 255] << 16 ^ Zt[255 & o] << 8 ^ Zt[o >> 24 & 255] ^ Xt[a] << 24, a += 1, 8 != r) for (t = 1; t < r; t++) { i[t] ^= i[t - 1]; } else { for (t = 1; t < r / 2; t++) { i[t] ^= i[t - 1]; } o = i[r / 2 - 1], i[r / 2] ^= Zt[255 & o] ^ Zt[o >> 8 & 255] << 8 ^ Zt[o >> 16 & 255] << 16 ^ Zt[o >> 24 & 255] << 24; for (t = r / 2 + 1; t < r; t++) { i[t] ^= i[t - 1]; } } for (t = 0; t < r && c < s;) { u = c >> 2, h = c % 4, this._Ke[u][h] = i[t], this._Kd[e - u][h] = i[t++], c++; } } for (var u = 1; u < e; u++) { for (var h = 0; h < 4; h++) { o = this._Kd[u][h], this._Kd[u][h] = hn[o >> 24 & 255] ^ ln[o >> 16 & 255] ^ dn[o >> 8 & 255] ^ pn[255 & o]; } } } }, { key: "encrypt", value: function encrypt(e) { if (16 != e.length) throw new Error("invalid plaintext size (must be 16 bytes)"); for (var t = this._Ke.length - 1, n = [0, 0, 0, 0], s = fn(e), r = 0; r < 4; r++) { s[r] ^= this._Ke[0][r]; } for (var i = 1; i < t; i++) { for (r = 0; r < 4; r++) { n[r] = tn[s[r] >> 24 & 255] ^ nn[s[(r + 1) % 4] >> 16 & 255] ^ sn[s[(r + 2) % 4] >> 8 & 255] ^ rn[255 & s[(r + 3) % 4]] ^ this._Ke[i][r]; } s = n.slice(); } var o, a = zt(16); for (r = 0; r < 4; r++) { o = this._Ke[t][r], a[4 * r] = 255 & (Zt[s[r] >> 24 & 255] ^ o >> 24), a[4 * r + 1] = 255 & (Zt[s[(r + 1) % 4] >> 16 & 255] ^ o >> 16), a[4 * r + 2] = 255 & (Zt[s[(r + 2) % 4] >> 8 & 255] ^ o >> 8), a[4 * r + 3] = 255 & (Zt[255 & s[(r + 3) % 4]] ^ o); } return a; } }, { key: "decrypt", value: function decrypt(e) { if (16 != e.length) throw new Error("invalid ciphertext size (must be 16 bytes)"); for (var t = this._Kd.length - 1, n = [0, 0, 0, 0], s = fn(e), r = 0; r < 4; r++) { s[r] ^= this._Kd[0][r]; } for (var i = 1; i < t; i++) { for (r = 0; r < 4; r++) { n[r] = on[s[r] >> 24 & 255] ^ an[s[(r + 3) % 4] >> 16 & 255] ^ cn[s[(r + 2) % 4] >> 8 & 255] ^ un[255 & s[(r + 1) % 4]] ^ this._Kd[i][r]; } s = n.slice(); } var o, a = zt(16); for (r = 0; r < 4; r++) { o = this._Kd[t][r], a[4 * r] = 255 & (en[s[r] >> 24 & 255] ^ o >> 24), a[4 * r + 1] = 255 & (en[s[(r + 3) % 4] >> 16 & 255] ^ o >> 16), a[4 * r + 2] = 255 & (en[s[(r + 2) % 4] >> 8 & 255] ^ o >> 8), a[4 * r + 3] = 255 & (en[255 & s[(r + 1) % 4]] ^ o); } return a; } }]); return gn; }(); var mn = /*#__PURE__*/function () { function mn(e) { (0, _classCallCheck2.default)(this, mn); if (!(this instanceof mn)) throw Error("AES must be instanitated with `new`"); this.description = "Electronic Code Block", this.name = "ecb", this._aes = new gn(e); } (0, _createClass2.default)(mn, [{ key: "encrypt", value: function encrypt(e) { if ((e = Ht(e)).length % 16 != 0) throw new Error("invalid plaintext size (must be multiple of 16 bytes)"); for (var t = zt(e.length), n = zt(16), s = 0; s < e.length; s += 16) { Jt(e, n, 0, s, s + 16), Jt(n = this._aes.encrypt(n), t, s); } return t; } }, { key: "decrypt", value: function decrypt(e) { if ((e = Ht(e)).length % 16 != 0) throw new Error("invalid ciphertext size (must be multiple of 16 bytes)"); for (var t = zt(e.length), n = zt(16), s = 0; s < e.length; s += 16) { Jt(e, n, 0, s, s + 16), Jt(n = this._aes.decrypt(n), t, s); } return t; } }]); return mn; }(); var yn = /*#__PURE__*/function () { function yn(e, t) { (0, _classCallCheck2.default)(this, yn); if (!(this instanceof yn)) throw Error("AES must be instanitated with `new`"); if (this.description = "Cipher Block Chaining", this.name = "cbc", t) { if (16 != t.length) throw new Error("invalid initialation vector size (must be 16 bytes)"); } else t = zt(16); this._lastCipherblock = Ht(t, !0), this._aes = new gn(e); } (0, _createClass2.default)(yn, [{ key: "encrypt", value: function encrypt(e) { if ((e = Ht(e)).length % 16 != 0) throw new Error("invalid plaintext size (must be multiple of 16 bytes)"); for (var t = zt(e.length), n = zt(16), s = 0; s < e.length; s += 16) { Jt(e, n, 0, s, s + 16); for (var r = 0; r < 16; r++) { n[r] ^= this._lastCipherblock[r]; } this._lastCipherblock = this._aes.encrypt(n), Jt(this._lastCipherblock, t, s); } return t; } }, { key: "decrypt", value: function decrypt(e) { if ((e = Ht(e)).length % 16 != 0) throw new Error("invalid ciphertext size (must be multiple of 16 bytes)"); for (var t = zt(e.length), n = zt(16), s = 0; s < e.length; s += 16) { Jt(e, n, 0, s, s + 16), n = this._aes.decrypt(n); for (var r = 0; r < 16; r++) { t[s + r] = n[r] ^ this._lastCipherblock[r]; } Jt(e, this._lastCipherblock, 0, s, s + 16); } return t; } }]); return yn; }(); var _n = /*#__PURE__*/function () { function _n(e, t, n) { (0, _classCallCheck2.default)(this, _n); if (!(this instanceof _n)) throw Error("AES must be instanitated with `new`"); if (this.description = "Cipher Feedback", this.name = "cfb", t) { if (16 != t.length) throw new Error("invalid initialation vector size (must be 16 size)"); } else t = zt(16); n || (n = 1), this.segmentSize = n, this._shiftRegister = Ht(t, !0), this._aes = new gn(e); } (0, _createClass2.default)(_n, [{ key: "encrypt", value: function encrypt(e) { if (e.length % this.segmentSize != 0) throw new Error("invalid plaintext size (must be segmentSize bytes)"); for (var t, n = Ht(e, !0), s = 0; s < n.length; s += this.segmentSize) { t = this._aes.encrypt(this._shiftRegister); for (var r = 0; r < this.segmentSize; r++) { n[s + r] ^= t[r]; } Jt(this._shiftRegister, this._shiftRegister, 0, this.segmentSize), Jt(n, this._shiftRegister, 16 - this.segmentSize, s, s + this.segmentSize); } return n; } }, { key: "decrypt", value: function decrypt(e) { if (e.length % this.segmentSize != 0) throw new Error("invalid ciphertext size (must be segmentSize bytes)"); for (var t, n = Ht(e, !0), s = 0; s < n.length; s += this.segmentSize) { t = this._aes.encrypt(this._shiftRegister); for (var r = 0; r < this.segmentSize; r++) { n[s + r] ^= t[r]; } Jt(this._shiftRegister, this._shiftRegister, 0, this.segmentSize), Jt(e, this._shiftRegister, 16 - this.segmentSize, s, s + this.segmentSize); } return n; } }]); return _n; }(); var wn = /*#__PURE__*/function () { function wn(e, t) { (0, _classCallCheck2.default)(this, wn); if (!(this instanceof wn)) throw Error("AES must be instanitated with `new`"); if (this.description = "Output Feedback", this.name = "ofb", t) { if (16 != t.length) throw new Error("invalid initialation vector size (must be 16 bytes)"); } else t = zt(16); this._lastPrecipher = Ht(t, !0), this._lastPrecipherIndex = 16, this._aes = new gn(e); } (0, _createClass2.default)(wn, [{ key: "encrypt", value: function encrypt(e) { for (var t = Ht(e, !0), n = 0; n < t.length; n++) { 16 === this._lastPrecipherIndex && (this._lastPrecipher = this._aes.encrypt(this._lastPrecipher), this._lastPrecipherIndex = 0), t[n] ^= this._lastPrecipher[this._lastPrecipherIndex++]; } return t; } }, { key: "decrypt", value: function decrypt(e) { return this.encrypt(e); } }]); return wn; }(); var vn = /*#__PURE__*/function () { function vn(e) { (0, _classCallCheck2.default)(this, vn); if (!(this instanceof vn)) throw Error("Counter must be instanitated with `new`"); 0 === e || e || (e = 1), "number" == typeof e ? (this._counter = zt(16), this.setValue(e)) : this.setBytes(e); } (0, _createClass2.default)(vn, [{ key: "setValue", value: function setValue(e) { if ("number" != typeof e || parseInt(e) != e) throw new Error("invalid counter value (must be an integer)"); if (e > Number.MAX_SAFE_INTEGER) throw new Error("integer value out of safe range"); for (var t = 15; t >= 0; --t) { this._counter[t] = e % 256, e = parseInt(e / 256); } } }, { key: "setBytes", value: function setBytes(e) { if (16 != (e = Ht(e, !0)).length) throw new Error("invalid counter bytes size (must be 16 bytes)"); this._counter = e; } }, { key: "increment", value: function increment() { for (var e = 15; e >= 0; e--) { if (255 !== this._counter[e]) { this._counter[e]++; break; } this._counter[e] = 0; } } }]); return vn; }(); var In = /*#__PURE__*/function () { function In(e, t) { (0, _classCallCheck2.default)(this, In); if (!(this instanceof In)) throw Error("AES must be instanitated with `new`"); this.description = "Counter", this.name = "ctr", t instanceof vn || (t = new vn(t)), this._counter = t, this._remainingCounter = null, this._remainingCounterIndex = 16, this._aes = new gn(e); } (0, _createClass2.default)(In, [{ key: "encrypt", value: function encrypt(e) { for (var t = Ht(e, !0), n = 0; n < t.length; n++) { 16 === this._remainingCounterIndex && (this._remainingCounter = this._aes.encrypt(this._counter._counter), this._remainingCounterIndex = 0, this._counter.increment()), t[n] ^= this._remainingCounter[this._remainingCounterIndex++]; } return t; } }, { key: "decrypt", value: function decrypt(e) { return this.encrypt(e); } }]); return In; }(); var Sn = { AES: gn, Counter: vn, ModeOfOperation: { ecb: mn, cbc: yn, cfb: _n, ofb: wn, ctr: In }, utils: { hex: Yt, utf8: Vt }, padding: { pkcs7: { pad: function pad(e) { var t = 16 - (e = Ht(e, !0)).length % 16, n = zt(e.length + t); Jt(e, n); for (var s = e.length; s < n.length; s++) { n[s] = t; } return n; }, strip: function strip(e) { if ((e = Ht(e, !0)).length < 16) throw new Error("PKCS#7 invalid length"); var t = e[e.length - 1]; if (t > 16) throw new Error("PKCS#7 padding byte out of range"); for (var n = e.length - t, s = 0; s < t; s++) { if (e[n + s] !== t) throw new Error("PKCS#7 invalid padding byte"); } var r = zt(n); return Jt(e, r, 0, 0, n), r; } } }, _arrayTest: { coerceArray: Ht, createArray: zt, copyArray: Jt } }; function bn(e, t, n) { var s = new Uint8Array(uni.base64ToArrayBuffer(t)), r = Sn.utils.utf8.toBytes(n), i = Sn.utils.utf8.toBytes(e), o = new Sn.ModeOfOperation.cbc(s, r), a = Sn.padding.pkcs7.pad(i), c = o.encrypt(a); return uni.arrayBufferToBase64(c); } var kn = { code: 2e4, message: "System error" }, An = { code: 20101, message: "Invalid client" }, Pn = { code: 20102, message: "Get encrypt key failed" }, Tn = { 10001: "Secure network is not supported on current playground or unimpsdk", 10003: "Config missing in current app. If the problem pesist, please contact DCloud.", 10009: "Encrypt payload failed", 10010: "Decrypt response failed" }; function Cn(e) { var _ref32 = e || {}, t = _ref32.errSubject, n = _ref32.subject, s = _ref32.errCode, r = _ref32.errMsg, i = _ref32.code, o = _ref32.message, a = _ref32.cause; return new te({ subject: t || n || "uni-secure-network", code: s || i || kn.code, message: r || o, cause: a }); } var xn, On, En = null; var Ln = /*#__PURE__*/function (_$t) { (0, _inherits2.default)(Ln, _$t); var _super9 = _createSuper(Ln); function Ln(e) { var _this15; (0, _classCallCheck2.default)(this, Ln); _this15 = _super9.call(this, e), _this15.clientType = "mp-weixin", _this15.userEncryptKey = null; return _this15; } (0, _createClass2.default)(Ln, [{ key: "isLogin", value: function isLogin() { return !!this.scopedGlobalCache.mpWeixinCode || !!this.scopedGlobalCache.mpWeixinOpenid; } }, { key: "prepare", value: function () { var _prepare2 = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee40() { return _regenerator.default.wrap(function _callee40$(_context40) { while (1) { switch (_context40.prev = _context40.next) { case 0: if (this.isLogin()) { _context40.next = 7; break; } if (this.scopedGlobalCache.initPromise) { _context40.next = 3; break; } throw new Error("`uniCloud.initSecureNetworkByWeixin` has not yet been called"); case 3: _context40.next = 5; return this.scopedGlobalCache.initPromise; case 5: if (this.isLogin()) { _context40.next = 7; break; } throw new Error("uniCloud.initSecureNetworkByWeixin` has not yet been called or successfully excuted"); case 7: case "end": return _context40.stop(); } } }, _callee40, this); })); function prepare() { return _prepare2.apply(this, arguments); } return prepare; }() }, { key: "getUserEncryptKey", value: function () { var _getUserEncryptKey = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee41() { var _this16 = this; var e; return _regenerator.default.wrap(function _callee41$(_context41) { while (1) { switch (_context41.prev = _context41.next) { case 0: if (!this.userEncryptKey) { _context41.next = 2; break; } return _context41.abrupt("return", this.userEncryptKey); case 2: if (!(En && En.expireTime)) { _context41.next = 6; break; } e = Date.now(); if (!(En.expireTime - e > 0)) { _context41.next = 6; break; } return _context41.abrupt("return", (this.userEncryptKey = En, this.userEncryptKey)); case 6: return _context41.abrupt("return", new Promise(function (e, t) { uni.getUserCryptoManager().getLatestUserKey({ success: function success(t) { En = t, _this16.userEncryptKey = t, e(_this16.userEncryptKey); }, fail: function fail(e) { t(Cn(_objectSpread(_objectSpread({}, Pn), {}, { cause: e }))); } }); })); case 7: case "end": return _context41.stop(); } } }, _callee41, this); })); function getUserEncryptKey() { return _getUserEncryptKey.apply(this, arguments); } return getUserEncryptKey; }() }, { key: "getWxAppId", value: function getWxAppId() { return wx.getAccountInfoSync().miniProgram.appId; } }, { key: "platformGetSignOption", value: function () { var _platformGetSignOption = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee42() { var _yield$this$getUserEn, e, t, n; return _regenerator.default.wrap(function _callee42$(_context42) { while (1) { switch (_context42.prev = _context42.next) { case 0: _context42.next = 2; return this.getUserEncryptKey(); case 2: _yield$this$getUserEn = _context42.sent; e = _yield$this$getUserEn.encryptKey; t = _yield$this$getUserEn.iv; n = _yield$this$getUserEn.version; return _context42.abrupt("return", { verifyClientSign: bn(JSON.stringify({ data: JSON.stringify({}), appId: this.appId, deviceId: this.deviceId, wxAppId: this.getWxAppId(), simulator: "devtools" === ae().platform, timestamp: Date.now() }), e, t), encryptKeyId: n, mpWeixinCode: this.scopedGlobalCache.mpWeixinCode, mpWeixinOpenid: this.scopedGlobalCache.mpWeixinOpenid }); case 7: case "end": return _context42.stop(); } } }, _callee42, this); })); function platformGetSignOption() { return _platformGetSignOption.apply(this, arguments); } return platformGetSignOption; }() }, { key: "platformEncryptData", value: function () { var _platformEncryptData = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee43(e) { var _yield$this$getUserEn2, t, n, s, r; return _regenerator.default.wrap(function _callee43$(_context43) { while (1) { switch (_context43.prev = _context43.next) { case 0: _context43.next = 2; return this.getUserEncryptKey(); case 2: _yield$this$getUserEn2 = _context43.sent; t = _yield$this$getUserEn2.encryptKey; n = _yield$this$getUserEn2.iv; s = _yield$this$getUserEn2.version; r = { secretType: this.secretType, encryptKeyId: s, mpWeixinCode: this.scopedGlobalCache.mpWeixinCode, mpWeixinOpenid: this.scopedGlobalCache.mpWeixinOpenid }; return _context43.abrupt("return", this.secretType === Kt ? { content: e, _uniCloudOptions: r } : { content: bn(JSON.stringify({ data: JSON.stringify(e), appId: this.appId, deviceId: this.deviceId, wxAppId: this.getWxAppId(), simulator: "devtools" === ae().platform, timestamp: Date.now() }), t, n), _uniCloudOptions: r }); case 8: case "end": return _context43.stop(); } } }, _callee43, this); })); function platformEncryptData(_x35) { return _platformEncryptData.apply(this, arguments); } return platformEncryptData; }() }, { key: "platformDecryptResult", value: function () { var _platformDecryptResult = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee44(e) { var t, _yield$this$getUserEn3, n, s; return _regenerator.default.wrap(function _callee44$(_context44) { while (1) { switch (_context44.prev = _context44.next) { case 0: t = e.content; _context44.next = 3; return this.getUserEncryptKey(); case 3: _yield$this$getUserEn3 = _context44.sent; n = _yield$this$getUserEn3.encryptKey; s = _yield$this$getUserEn3.iv; return _context44.abrupt("return", JSON.parse(function (e, t, n) { var s = new Uint8Array(uni.base64ToArrayBuffer(e)), r = new Uint8Array(uni.base64ToArrayBuffer(t)), i = Sn.utils.utf8.toBytes(n), o = new Sn.ModeOfOperation.cbc(r, i), a = Sn.padding.pkcs7.strip(o.decrypt(s)); return Sn.utils.utf8.fromBytes(a); }(t, n, s))); case 7: case "end": return _context44.stop(); } } }, _callee44, this); })); function platformDecryptResult(_x36) { return _platformDecryptResult.apply(this, arguments); } return platformDecryptResult; }() }, { key: "isClientKeyNotFound", value: function isClientKeyNotFound() { return !1; } }]); return Ln; }($t); function Rn(e) { var t = ["hasClientKey", "encryptGetClientKeyPayload", "setClientKey", "encrypt", "decrypt"], n = {}; var _loop = function _loop(_s11) { var r = t[_s11]; n[r] = function () { for (var _len = arguments.length, t = new Array(_len), _key = 0; _key < _len; _key++) { t[_key] = arguments[_key]; } return new Promise(function (n, s) { "function" == typeof e[r] ? e[r].apply(e, t.concat([function () { var _ref33 = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}, e = _ref33.type, t = _ref33.data, r = _ref33.errCode, i = _ref33.errMsg, o = _ref33.errSubject, a = _ref33.message; "success" === e ? n(t) : s(Cn({ errCode: r, errMsg: Tn[r] || i || a, errSubject: o })); }])) : s(Cn({ message: "请检查manifest.json内是否开启安全网络模块,另外注意标准基座不支持安全网络模块" })); }); }; }; for (var _s11 = 0; _s11 < t.length; _s11++) { _loop(_s11); } return n; } var Un = /*#__PURE__*/function (_$t2) { (0, _inherits2.default)(Un, _$t2); var _super10 = _createSuper(Un); function Un(e) { var _this17; (0, _classCallCheck2.default)(this, Un); _this17 = _super10.call(this, e), _this17.clientType = "app", _this17.appUtils = _objectSpread({}, Rn(uni.requireNativePlugin("plus"))), _this17.systemInfo = xn || (xn = ae()); return _this17; } (0, _createClass2.default)(Un, [{ key: "hasClientKey", value: function () { var _hasClientKey = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee45() { return _regenerator.default.wrap(function _callee45$(_context45) { while (1) { switch (_context45.prev = _context45.next) { case 0: _context45.next = 2; return this.appUtils.hasClientKey({ provider: this.provider, spaceId: this.spaceId }); case 2: this._hasClientKey = _context45.sent; return _context45.abrupt("return", this._hasClientKey); case 4: case "end": return _context45.stop(); } } }, _callee45, this); })); function hasClientKey() { return _hasClientKey.apply(this, arguments); } return hasClientKey; }() }, { key: "getAppClientKey", value: function () { var _getAppClientKey = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee46() { var _yield$this$appUtils$, e, t, n, s, r; return _regenerator.default.wrap(function _callee46$(_context46) { while (1) { switch (_context46.prev = _context46.next) { case 0: _context46.next = 2; return this.appUtils.encryptGetClientKeyPayload({ data: JSON.stringify({}) }); case 2: _yield$this$appUtils$ = _context46.sent; e = _yield$this$appUtils$.data; t = _yield$this$appUtils$.key; _context46.next = 7; return this.uniCloudIns.callFunction({ name: "DCloud-clientDB", data: { redirectTo: "encryption", action: "getAppClientKey", data: e, key: t } }); case 7: _context46.t0 = _context46.sent.result; if (_context46.t0) { _context46.next = 10; break; } _context46.t0 = {}; case 10: n = _context46.t0; if (!(0 !== n.errCode)) { _context46.next = 13; break; } throw function (e) { return new te({ subject: e.errSubject || "uni-secure-network", code: e.errCode || e.code || kn.code, message: e.errMsg || e.message }); }(n); case 13: s = n.clientKey, r = n.key; _context46.next = 16; return this.appUtils.setClientKey({ provider: this.provider, spaceId: this.spaceId, clientKey: s, key: r }); case 16: case "end": return _context46.stop(); } } }, _callee46, this); })); function getAppClientKey() { return _getAppClientKey.apply(this, arguments); } return getAppClientKey; }() }, { key: "ensureClientKey", value: function () { var _ensureClientKey = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee47() { var _this18 = this; var _ref34, _ref34$forceUpdate, e, _args47 = arguments; return _regenerator.default.wrap(function _callee47$(_context47) { while (1) { switch (_context47.prev = _context47.next) { case 0: _ref34 = _args47.length > 0 && _args47[0] !== undefined ? _args47[0] : {}, _ref34$forceUpdate = _ref34.forceUpdate, e = _ref34$forceUpdate === void 0 ? !1 : _ref34$forceUpdate; _context47.t1 = !0; _context47.next = 4; return this.hasClientKey(); case 4: _context47.t2 = _context47.sent; _context47.t0 = _context47.t1 !== _context47.t2; if (_context47.t0) { _context47.next = 8; break; } _context47.t0 = e; case 8: if (!_context47.t0) { _context47.next = 10; break; } return _context47.abrupt("return", (e && this.scopedGlobalCache.initPromise && this.scopedGlobalCache.initStatus === l || !e && this.scopedGlobalCache.initPromise && this.scopedGlobalCache.initStatus !== p || (this.scopedGlobalCache.initPromise = this.getAppClientKey(), this.scopedGlobalCache.initPromise.then(function (e) { _this18.scopedGlobalCache.initStatus = d; }).catch(function (e) { throw _this18.scopedGlobalCache.initStatus = p, e; }), this.scopedGlobalCache.initStatus = l), this.scopedGlobalCache.initPromise)); case 10: case "end": return _context47.stop(); } } }, _callee47, this); })); function ensureClientKey() { return _ensureClientKey.apply(this, arguments); } return ensureClientKey; }() }, { key: "prepare", value: function () { var _prepare3 = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee48() { var _ref35, _ref35$forceUpdate, e, _args48 = arguments; return _regenerator.default.wrap(function _callee48$(_context48) { while (1) { switch (_context48.prev = _context48.next) { case 0: _ref35 = _args48.length > 0 && _args48[0] !== undefined ? _args48[0] : {}, _ref35$forceUpdate = _ref35.forceUpdate, e = _ref35$forceUpdate === void 0 ? !1 : _ref35$forceUpdate; _context48.next = 3; return this.ensureClientKey({ forceUpdate: e }); case 3: case "end": return _context48.stop(); } } }, _callee48, this); })); function prepare() { return _prepare3.apply(this, arguments); } return prepare; }() }, { key: "platformGetSignOption", value: function () { var _platformGetSignOption2 = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee49() { var _yield$this$appUtils$2, e, t; return _regenerator.default.wrap(function _callee49$(_context49) { while (1) { switch (_context49.prev = _context49.next) { case 0: _context49.next = 2; return this.appUtils.encrypt({ provider: this.provider, spaceId: this.spaceId, data: JSON.stringify({}) }); case 2: _yield$this$appUtils$2 = _context49.sent; e = _yield$this$appUtils$2.data; t = _yield$this$appUtils$2.key; return _context49.abrupt("return", { verifyClientSign: e, encryptKeyId: t }); case 6: case "end": return _context49.stop(); } } }, _callee49, this); })); function platformGetSignOption() { return _platformGetSignOption2.apply(this, arguments); } return platformGetSignOption; }() }, { key: "platformEncryptData", value: function () { var _platformEncryptData2 = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee50(e) { var _yield$this$appUtils$3, t, n, s; return _regenerator.default.wrap(function _callee50$(_context50) { while (1) { switch (_context50.prev = _context50.next) { case 0: _context50.next = 2; return this.appUtils.encrypt({ provider: this.provider, spaceId: this.spaceId, data: JSON.stringify(e) }); case 2: _yield$this$appUtils$3 = _context50.sent; t = _yield$this$appUtils$3.data; n = _yield$this$appUtils$3.key; s = { secretType: this.secretType, encryptKeyId: n }; return _context50.abrupt("return", this.secretType === Kt ? { content: e, _uniCloudOptions: s } : { content: t, _uniCloudOptions: s }); case 7: case "end": return _context50.stop(); } } }, _callee50, this); })); function platformEncryptData(_x37) { return _platformEncryptData2.apply(this, arguments); } return platformEncryptData; }() }, { key: "platformDecryptResult", value: function () { var _platformDecryptResult2 = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee51(e) { var t, _e$_uniCloudOptions, n, s, r; return _regenerator.default.wrap(function _callee51$(_context51) { while (1) { switch (_context51.prev = _context51.next) { case 0: t = e.content; _e$_uniCloudOptions = e._uniCloudOptions; n = _e$_uniCloudOptions === void 0 ? {} : _e$_uniCloudOptions; s = n.encryptKeyId; _context51.next = 6; return this.appUtils.decrypt({ provider: this.provider, spaceId: this.spaceId, data: t, key: s }); case 6: r = _context51.sent; return _context51.abrupt("return", JSON.parse(r.data)); case 8: case "end": return _context51.stop(); } } }, _callee51, this); })); function platformDecryptResult(_x38) { return _platformDecryptResult2.apply(this, arguments); } return platformDecryptResult; }() }, { key: "isClientKeyNotFound", value: function isClientKeyNotFound() { var e = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; var t = e.result || {}; return 70009 === t.errCode && "uni-secure-network" === t.errSubject; } }]); return Un; }($t); function Nn() { var _ref36 = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}, e = _ref36.secretType; return e === Ft || e === Kt || e === jt; } function Dn() { var _ref37 = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}, e = _ref37.name, _ref37$data = _ref37.data, t = _ref37$data === void 0 ? {} : _ref37$data; return "app" === P && "DCloud-clientDB" === e && "encryption" === t.redirectTo && "getAppClientKey" === t.action; } function Mn() { var _ref38 = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}, e = _ref38.provider, t = _ref38.spaceId, n = _ref38.functionName; var _ae = ae(), s = _ae.appId, r = _ae.uniPlatform, i = _ae.osName; var o = r; "app" === r && (o = i); var a = function () { var _ref39 = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}, e = _ref39.provider, t = _ref39.spaceId; var n = A; if (!n) return {}; e = function (e) { return "tencent" === e ? "tcb" : e; }(e); var s = n.find(function (n) { return n.provider === e && n.spaceId === t; }); return s && s.config; }({ provider: e, spaceId: t }); if (!a || !a.accessControl || !a.accessControl.enable) return !1; var c = a.accessControl.function || {}, u = Object.keys(c); if (0 === u.length) return !0; var h = function (e, t) { var n, s, r; for (var _i2 = 0; _i2 < e.length; _i2++) { var _o2 = e[_i2]; _o2 !== t ? "*" !== _o2 ? _o2.split(",").map(function (e) { return e.trim(); }).indexOf(t) > -1 && (s = _o2) : r = _o2 : n = _o2; } return n || s || r; }(u, n); if (!h) return !1; if ((c[h] || []).find(function () { var e = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; return e.appId === s && (e.platform || "").toLowerCase() === o.toLowerCase(); })) return !0; throw console.error("\u6B64\u5E94\u7528[appId: ".concat(s, ", platform: ").concat(o, "]\u4E0D\u5728\u4E91\u7AEF\u914D\u7F6E\u7684\u5141\u8BB8\u8BBF\u95EE\u7684\u5E94\u7528\u5217\u8868\u5185\uFF0C\u53C2\u8003\uFF1Ahttps://uniapp.dcloud.net.cn/uniCloud/secure-network.html#verify-client")), Cn(An); } function qn(_ref40) { var e = _ref40.functionName, t = _ref40.result, n = _ref40.logPvd; if (S && this.__dev__.debugLog && t && t.requestId) { var _s12 = JSON.stringify({ spaceId: this.config.spaceId, functionName: e, requestId: t.requestId }); console.log("[".concat(n, "-request]").concat(_s12, "[/").concat(n, "-request]")); } } function Fn(e) { var t = e.callFunction, n = function n(_n8) { var _this19 = this; var s = _n8.name; _n8.data = Lt.call(e, { data: _n8.data }); var r = { aliyun: "aliyun", tencent: "tcb", tcb: "tcb", alipay: "alipay" }[this.config.provider], i = Nn(_n8), o = Dn(_n8), a = i || o; return t.call(this, _n8).then(function (e) { return e.errCode = 0, !a && qn.call(_this19, { functionName: s, result: e, logPvd: r }), Promise.resolve(e); }, function (e) { return !a && qn.call(_this19, { functionName: s, result: e, logPvd: r }), e && e.message && (e.message = function () { var _ref41 = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}, _ref41$message = _ref41.message, e = _ref41$message === void 0 ? "" : _ref41$message, _ref41$extraInfo = _ref41.extraInfo, t = _ref41$extraInfo === void 0 ? {} : _ref41$extraInfo, _ref41$formatter = _ref41.formatter, n = _ref41$formatter === void 0 ? [] : _ref41$formatter; for (var _s13 = 0; _s13 < n.length; _s13++) { var _n$_s = n[_s13], _r5 = _n$_s.rule, _i3 = _n$_s.content, _o3 = _n$_s.mode, _a = e.match(_r5); if (!_a) continue; var _c = _i3; for (var _e19 = 1; _e19 < _a.length; _e19++) { _c = Mt(_c, "{$".concat(_e19, "}"), _a[_e19]); } for (var _e20 in t) { _c = Mt(_c, "{".concat(_e20, "}"), t[_e20]); } return "replace" === _o3 ? _c : e + _c; } return e; }({ message: "[".concat(_n8.name, "]: ").concat(e.message), formatter: Ut, extraInfo: { functionName: s } })), Promise.reject(e); }); }; e.callFunction = function (t) { var _e$config = e.config, s = _e$config.provider, r = _e$config.spaceId, i = t.name; var o, a; if (t.data = t.data || {}, S && e.__dev__.debugInfo && !e.__dev__.debugInfo.forceRemote && C ? (e._callCloudFunction || (e._callCloudFunction = n, e._callLocalFunction = Rt), o = Rt) : o = n, o = o.bind(e), Dn(t)) a = n.call(e, t);else if (function (_ref42) { var e = _ref42.name, _ref42$data = _ref42.data, t = _ref42$data === void 0 ? {} : _ref42$data; return "mp-weixin" === P && "uni-id-co" === e && "secureNetworkHandshakeByWeixin" === t.method; }(t)) a = o.call(e, t);else if (Nn(t)) { a = new On({ secretType: t.secretType, uniCloudIns: e }).wrapEncryptDataCallFunction(n.bind(e))(t); } else if (Mn({ provider: s, spaceId: r, functionName: i })) { a = new On({ secretType: t.secretType, uniCloudIns: e }).wrapVerifyClientCallFunction(n.bind(e))(t); } else a = o(t); return Object.defineProperty(a, "result", { get: function get() { return console.warn("当前返回结果为Promise类型,不可直接访问其result属性,详情请参考:https://uniapp.dcloud.net.cn/uniCloud/faq?id=promise"), {}; } }), a; }; } On = "mp-weixin" !== P && "app" !== P ? /*#__PURE__*/function () { function _class2() { (0, _classCallCheck2.default)(this, _class2); throw Cn({ message: "Platform ".concat(P, " is not supported by secure network") }); } return (0, _createClass2.default)(_class2); }() : k ? "mp-weixin" === P ? Ln : Un : /*#__PURE__*/function () { function _class3() { (0, _classCallCheck2.default)(this, _class3); throw Cn({ message: "Platform ".concat(P, " is not enabled, please check whether secure network module is enabled in your manifest.json") }); } return (0, _createClass2.default)(_class3); }(); var Kn = Symbol("CLIENT_DB_INTERNAL"); function jn(e, t) { return e.then = "DoNotReturnProxyWithAFunctionNamedThen", e._internalType = Kn, e.inspect = null, e.__ob__ = void 0, new Proxy(e, { get: function get(e, n, s) { if ("_uniClient" === n) return null; if ("symbol" == (0, _typeof2.default)(n)) return e[n]; if (n in e || "string" != typeof n) { var _t11 = e[n]; return "function" == typeof _t11 ? _t11.bind(e) : _t11; } return t.get(e, n, s); } }); } function $n(e) { return { on: function on(t, n) { e[t] = e[t] || [], e[t].indexOf(n) > -1 || e[t].push(n); }, off: function off(t, n) { e[t] = e[t] || []; var s = e[t].indexOf(n); -1 !== s && e[t].splice(s, 1); } }; } var Bn = ["db.Geo", "db.command", "command.aggregate"]; function Wn(e, t) { return Bn.indexOf("".concat(e, ".").concat(t)) > -1; } function Hn(e) { switch (f(e)) { case "array": return e.map(function (e) { return Hn(e); }); case "object": return e._internalType === Kn || Object.keys(e).forEach(function (t) { e[t] = Hn(e[t]); }), e; case "regexp": return { $regexp: { source: e.source, flags: e.flags } }; case "date": return { $date: e.toISOString() }; default: return e; } } function zn(e) { return e && e.content && e.content.$method; } var Jn = /*#__PURE__*/function () { function Jn(e, t, n) { (0, _classCallCheck2.default)(this, Jn); this.content = e, this.prevStage = t || null, this.udb = null, this._database = n; } (0, _createClass2.default)(Jn, [{ key: "toJSON", value: function toJSON() { var e = this; var t = [e.content]; for (; e.prevStage;) { e = e.prevStage, t.push(e.content); } return { $db: t.reverse().map(function (e) { return { $method: e.$method, $param: Hn(e.$param) }; }) }; } }, { key: "toString", value: function toString() { return JSON.stringify(this.toJSON()); } }, { key: "getAction", value: function getAction() { var e = this.toJSON().$db.find(function (e) { return "action" === e.$method; }); return e && e.$param && e.$param[0]; } }, { key: "getCommand", value: function getCommand() { return { $db: this.toJSON().$db.filter(function (e) { return "action" !== e.$method; }) }; } }, { key: "isAggregate", get: function get() { var e = this; for (; e;) { var t = zn(e), _n9 = zn(e.prevStage); if ("aggregate" === t && "collection" === _n9 || "pipeline" === t) return !0; e = e.prevStage; } return !1; } }, { key: "isCommand", get: function get() { var e = this; for (; e;) { if ("command" === zn(e)) return !0; e = e.prevStage; } return !1; } }, { key: "isAggregateCommand", get: function get() { var e = this; for (; e;) { var t = zn(e), _n10 = zn(e.prevStage); if ("aggregate" === t && "command" === _n10) return !0; e = e.prevStage; } return !1; } }, { key: "getNextStageFn", value: function getNextStageFn(e) { var t = this; return function () { return Gn({ $method: e, $param: Hn(Array.from(arguments)) }, t, t._database); }; } }, { key: "count", get: function get() { return this.isAggregate ? this.getNextStageFn("count") : function () { return this._send("count", Array.from(arguments)); }; } }, { key: "remove", get: function get() { return this.isCommand ? this.getNextStageFn("remove") : function () { return this._send("remove", Array.from(arguments)); }; } }, { key: "get", value: function get() { return this._send("get", Array.from(arguments)); } }, { key: "add", get: function get() { return this.isCommand ? this.getNextStageFn("add") : function () { return this._send("add", Array.from(arguments)); }; } }, { key: "update", value: function update() { return this._send("update", Array.from(arguments)); } }, { key: "end", value: function end() { return this._send("end", Array.from(arguments)); } }, { key: "set", get: function get() { return this.isCommand ? this.getNextStageFn("set") : function () { throw new Error("JQL禁止使用set方法"); }; } }, { key: "_send", value: function _send(e, t) { var n = this.getAction(), s = this.getCommand(); if (s.$db.push({ $method: e, $param: Hn(t) }), S) { var _e21 = s.$db.find(function (e) { return "collection" === e.$method; }), _t12 = _e21 && _e21.$param; _t12 && 1 === _t12.length && "string" == typeof _e21.$param[0] && _e21.$param[0].indexOf(",") > -1 && console.warn("检测到使用JQL语法联表查询时,未使用getTemp先过滤主表数据,在主表数据量大的情况下可能会查询缓慢。\n- 如何优化请参考此文档:https://uniapp.dcloud.net.cn/uniCloud/jql?id=lookup-with-temp \n- 如果主表数据量很小请忽略此信息,项目发行时不会出现此提示。"); } return this._database._callCloudFunction({ action: n, command: s }); } }]); return Jn; }(); function Gn(e, t, n) { return jn(new Jn(e, t, n), { get: function get(e, t) { var s = "db"; return e && e.content && (s = e.content.$method), Wn(s, t) ? Gn({ $method: t }, e, n) : function () { return Gn({ $method: t, $param: Hn(Array.from(arguments)) }, e, n); }; } }); } function Vn(_ref43) { var e = _ref43.path, t = _ref43.method; return /*#__PURE__*/function () { function _class4() { (0, _classCallCheck2.default)(this, _class4); this.param = Array.from(arguments); } (0, _createClass2.default)(_class4, [{ key: "toJSON", value: function toJSON() { return { $newDb: [].concat((0, _toConsumableArray2.default)(e.map(function (e) { return { $method: e }; })), [{ $method: t, $param: this.param }]) }; } }, { key: "toString", value: function toString() { return JSON.stringify(this.toJSON()); } }]); return _class4; }(); } function Yn(e) { var t = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; return jn(new e(t), { get: function get(e, t) { return Wn("db", t) ? Gn({ $method: t }, null, e) : function () { return Gn({ $method: t, $param: Hn(Array.from(arguments)) }, null, e); }; } }); } var Qn = /*#__PURE__*/function (_ref44) { (0, _inherits2.default)(Qn, _ref44); var _super11 = _createSuper(Qn); function Qn() { (0, _classCallCheck2.default)(this, Qn); return _super11.apply(this, arguments); } (0, _createClass2.default)(Qn, [{ key: "_parseResult", value: function _parseResult(e) { return this._isJQL ? e.result : e; } }, { key: "_callCloudFunction", value: function _callCloudFunction(_ref45) { var _this20 = this; var e = _ref45.action, t = _ref45.command, n = _ref45.multiCommand, s = _ref45.queryList; function r(e, t) { if (n && s) for (var _n11 = 0; _n11 < s.length; _n11++) { var _r6 = s[_n11]; _r6.udb && "function" == typeof _r6.udb.setResult && (t ? _r6.udb.setResult(t) : _r6.udb.setResult(e.result.dataList[_n11])); } } var i = this, o = this._isJQL ? "databaseForJQL" : "database"; function a(e) { return i._callback("error", [e]), M(q(o, "fail"), e).then(function () { return M(q(o, "complete"), e); }).then(function () { return r(null, e), Y(j, { type: W, content: e }), Promise.reject(e); }); } var c = M(q(o, "invoke")), u = this._uniClient; return c.then(function () { return u.callFunction({ name: "DCloud-clientDB", type: h, data: { action: e, command: t, multiCommand: n } }); }).then(function (e) { var _e$result = e.result, t = _e$result.code, n = _e$result.message, s = _e$result.token, c = _e$result.tokenExpired, _e$result$systemInfo = _e$result.systemInfo, u = _e$result$systemInfo === void 0 ? [] : _e$result$systemInfo; if (u) for (var _e22 = 0; _e22 < u.length; _e22++) { var _u$_e = u[_e22], _t13 = _u$_e.level, _n12 = _u$_e.message, _s14 = _u$_e.detail, _r7 = console["app" === P && "warn" === _t13 ? "error" : _t13] || console.log; var _i4 = "[System Info]" + _n12; _s14 && (_i4 = "".concat(_i4, "\n\u8BE6\u7EC6\u4FE1\u606F\uFF1A").concat(_s14)), _r7(_i4); } if (t) { return a(new te({ code: t, message: n, requestId: e.requestId })); } e.result.errCode = e.result.errCode || e.result.code, e.result.errMsg = e.result.errMsg || e.result.message, s && c && (re({ token: s, tokenExpired: c }), _this20._callbackAuth("refreshToken", [{ token: s, tokenExpired: c }]), _this20._callback("refreshToken", [{ token: s, tokenExpired: c }]), Y(B, { token: s, tokenExpired: c })); var h = [{ prop: "affectedDocs", tips: "affectedDocs不再推荐使用,请使用inserted/deleted/updated/data.length替代" }, { prop: "code", tips: "code不再推荐使用,请使用errCode替代" }, { prop: "message", tips: "message不再推荐使用,请使用errMsg替代" }]; var _loop2 = function _loop2(_t14) { var _h$_t = h[_t14], n = _h$_t.prop, s = _h$_t.tips; if (n in e.result) { var _t15 = e.result[n]; Object.defineProperty(e.result, n, { get: function get() { return console.warn(s), _t15; } }); } }; for (var _t14 = 0; _t14 < h.length; _t14++) { _loop2(_t14); } return function (e) { return M(q(o, "success"), e).then(function () { return M(q(o, "complete"), e); }).then(function () { r(e, null); var t = i._parseResult(e); return Y(j, { type: W, content: t }), Promise.resolve(t); }); }(e); }, function (e) { /fc_function_not_found|FUNCTION_NOT_FOUND/g.test(e.message) && console.warn("clientDB未初始化,请在web控制台保存一次schema以开启clientDB"); return a(new te({ code: e.code || "SYSTEM_ERROR", message: e.message, requestId: e.requestId })); }); } }]); return Qn; }( /*#__PURE__*/function () { function _class5() { var _ref46 = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}, _ref46$uniClient = _ref46.uniClient, e = _ref46$uniClient === void 0 ? {} : _ref46$uniClient, _ref46$isJQL = _ref46.isJQL, t = _ref46$isJQL === void 0 ? !1 : _ref46$isJQL; (0, _classCallCheck2.default)(this, _class5); this._uniClient = e, this._authCallBacks = {}, this._dbCallBacks = {}, e._isDefault && (this._dbCallBacks = L("_globalUniCloudDatabaseCallback")), t || (this.auth = $n(this._authCallBacks)), this._isJQL = t, Object.assign(this, $n(this._dbCallBacks)), this.env = jn({}, { get: function get(e, t) { return { $env: t }; } }), this.Geo = jn({}, { get: function get(e, t) { return Vn({ path: ["Geo"], method: t }); } }), this.serverDate = Vn({ path: [], method: "serverDate" }), this.RegExp = Vn({ path: [], method: "RegExp" }); } (0, _createClass2.default)(_class5, [{ key: "getCloudEnv", value: function getCloudEnv(e) { if ("string" != typeof e || !e.trim()) throw new Error("getCloudEnv参数错误"); return { $env: e.replace("$cloudEnv_", "") }; } }, { key: "_callback", value: function _callback(e, t) { var n = this._dbCallBacks; n[e] && n[e].forEach(function (e) { e.apply(void 0, (0, _toConsumableArray2.default)(t)); }); } }, { key: "_callbackAuth", value: function _callbackAuth(e, t) { var n = this._authCallBacks; n[e] && n[e].forEach(function (e) { e.apply(void 0, (0, _toConsumableArray2.default)(t)); }); } }, { key: "multiSend", value: function multiSend() { var e = Array.from(arguments), t = e.map(function (e) { var t = e.getAction(), n = e.getCommand(); if ("getTemp" !== n.$db[n.$db.length - 1].$method) throw new Error("multiSend只支持子命令内使用getTemp"); return { action: t, command: n }; }); return this._callCloudFunction({ multiCommand: t, queryList: e }); } }]); return _class5; }()); var Xn = "token无效,跳转登录页面", Zn = "token过期,跳转登录页面", es = { TOKEN_INVALID_TOKEN_EXPIRED: Zn, TOKEN_INVALID_INVALID_CLIENTID: Xn, TOKEN_INVALID: Xn, TOKEN_INVALID_WRONG_TOKEN: Xn, TOKEN_INVALID_ANONYMOUS_USER: Xn }, ts = { "uni-id-token-expired": Zn, "uni-id-check-token-failed": Xn, "uni-id-token-not-exist": Xn, "uni-id-check-device-feature-failed": Xn }; function ns(e, t) { var n = ""; return n = e ? "".concat(e, "/").concat(t) : t, n.replace(/^\//, ""); } function ss() { var e = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : []; var t = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : ""; var n = [], s = []; return e.forEach(function (e) { !0 === e.needLogin ? n.push(ns(t, e.path)) : !1 === e.needLogin && s.push(ns(t, e.path)); }), { needLoginPage: n, notNeedLoginPage: s }; } function rs(e) { return e.split("?")[0].replace(/^\//, ""); } function is() { return function (e) { var t = e && e.$page && e.$page.fullPath || ""; return t ? ("/" !== t.charAt(0) && (t = "/" + t), t) : t; }(function () { var e = getCurrentPages(); return e[e.length - 1]; }()); } function os() { return rs(is()); } function as() { var e = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : ""; var t = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; if (!e) return !1; if (!(t && t.list && t.list.length)) return !1; var n = t.list, s = rs(e); return n.some(function (e) { return e.pagePath === s; }); } var cs = !!_pages.default.uniIdRouter; var _ref47 = function () { var _ref28 = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : _pages.default, _ref28$pages = _ref28.pages, t = _ref28$pages === void 0 ? [] : _ref28$pages, _ref28$subPackages = _ref28.subPackages, n = _ref28$subPackages === void 0 ? [] : _ref28$subPackages, _ref28$uniIdRouter = _ref28.uniIdRouter, s = _ref28$uniIdRouter === void 0 ? {} : _ref28$uniIdRouter, _ref28$tabBar = _ref28.tabBar, r = _ref28$tabBar === void 0 ? {} : _ref28$tabBar; var i = s.loginPage, _s$needLogin = s.needLogin, o = _s$needLogin === void 0 ? [] : _s$needLogin, _s$resToLogin = s.resToLogin, a = _s$resToLogin === void 0 ? !0 : _s$resToLogin, _ss = ss(t), c = _ss.needLoginPage, u = _ss.notNeedLoginPage, _ref30 = function () { var e = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : []; var t = [], n = []; return e.forEach(function (e) { var s = e.root, _e$pages = e.pages, r = _e$pages === void 0 ? [] : _e$pages, _ss2 = ss(r, s), i = _ss2.needLoginPage, o = _ss2.notNeedLoginPage; t.push.apply(t, (0, _toConsumableArray2.default)(i)), n.push.apply(n, (0, _toConsumableArray2.default)(o)); }), { needLoginPage: t, notNeedLoginPage: n }; }(n), h = _ref30.needLoginPage, l = _ref30.notNeedLoginPage; return { loginPage: i, routerNeedLogin: o, resToLogin: a, needLoginPage: [].concat((0, _toConsumableArray2.default)(c), (0, _toConsumableArray2.default)(h)), notNeedLoginPage: [].concat((0, _toConsumableArray2.default)(u), (0, _toConsumableArray2.default)(l)), loginPageInTabBar: as(i, r) }; }(), us = _ref47.loginPage, hs = _ref47.routerNeedLogin, ls = _ref47.resToLogin, ds = _ref47.needLoginPage, ps = _ref47.notNeedLoginPage, fs = _ref47.loginPageInTabBar; if (ds.indexOf(us) > -1) throw new Error("Login page [".concat(us, "] should not be \"needLogin\", please check your pages.json")); function gs(e) { var t = os(); if ("/" === e.charAt(0)) return e; var _e$split = e.split("?"), _e$split2 = (0, _slicedToArray2.default)(_e$split, 2), n = _e$split2[0], s = _e$split2[1], r = n.replace(/^\//, "").split("/"), i = t.split("/"); i.pop(); for (var _e23 = 0; _e23 < r.length; _e23++) { var _t16 = r[_e23]; ".." === _t16 ? i.pop() : "." !== _t16 && i.push(_t16); } return "" === i[0] && i.shift(), "/" + i.join("/") + (s ? "?" + s : ""); } function ms(e) { var t = rs(gs(e)); return !(ps.indexOf(t) > -1) && (ds.indexOf(t) > -1 || hs.some(function (t) { return function (e, t) { return new RegExp(t).test(e); }(e, t); })); } function ys(_ref48) { var e = _ref48.redirect; var t = rs(e), n = rs(us); return os() !== n && t !== n; } function _s() { var _ref49 = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}, e = _ref49.api, t = _ref49.redirect; if (!t || !ys({ redirect: t })) return; var n = function (e, t) { return "/" !== e.charAt(0) && (e = "/" + e), t ? e.indexOf("?") > -1 ? e + "&uniIdRedirectUrl=".concat(encodeURIComponent(t)) : e + "?uniIdRedirectUrl=".concat(encodeURIComponent(t)) : e; }(us, t); fs ? "navigateTo" !== e && "redirectTo" !== e || (e = "switchTab") : "switchTab" === e && (e = "navigateTo"); var s = { navigateTo: uni.navigateTo, redirectTo: uni.redirectTo, switchTab: uni.switchTab, reLaunch: uni.reLaunch }; setTimeout(function () { s[e]({ url: n }); }); } function ws() { var _ref50 = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}, e = _ref50.url; var t = { abortLoginPageJump: !1, autoToLoginPage: !1 }, n = function () { var _se3 = se(), e = _se3.token, t = _se3.tokenExpired; var n; if (e) { if (t < Date.now()) { var _e24 = "uni-id-token-expired"; n = { errCode: _e24, errMsg: ts[_e24] }; } } else { var _e25 = "uni-id-check-token-failed"; n = { errCode: _e25, errMsg: ts[_e25] }; } return n; }(); if (ms(e) && n) { n.uniIdRedirectUrl = e; if (J($).length > 0) return setTimeout(function () { Y($, n); }, 0), t.abortLoginPageJump = !0, t; t.autoToLoginPage = !0; } return t; } function vs() { !function () { var e = is(), _ws = ws({ url: e }), t = _ws.abortLoginPageJump, n = _ws.autoToLoginPage; t || n && _s({ api: "redirectTo", redirect: e }); }(); var e = ["navigateTo", "redirectTo", "reLaunch", "switchTab"]; var _loop3 = function _loop3(_t17) { var n = e[_t17]; uni.addInterceptor(n, { invoke: function invoke(e) { var _ws2 = ws({ url: e.url }), t = _ws2.abortLoginPageJump, s = _ws2.autoToLoginPage; return t ? e : s ? (_s({ api: n, redirect: gs(e.url) }), !1) : e; } }); }; for (var _t17 = 0; _t17 < e.length; _t17++) { _loop3(_t17); } } function Is() { this.onResponse(function (e) { var t = e.type, n = e.content; var s = !1; switch (t) { case "cloudobject": s = function (e) { if ("object" != (0, _typeof2.default)(e)) return !1; var _ref51 = e || {}, t = _ref51.errCode; return t in ts; }(n); break; case "clientdb": s = function (e) { if ("object" != (0, _typeof2.default)(e)) return !1; var _ref52 = e || {}, t = _ref52.errCode; return t in es; }(n); } s && function () { var e = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; var t = J($); Z().then(function () { var n = is(); if (n && ys({ redirect: n })) return t.length > 0 ? Y($, Object.assign({ uniIdRedirectUrl: n }, e)) : void (us && _s({ api: "navigateTo", redirect: n })); }); }(n); }); } function Ss(e) { !function (e) { e.onResponse = function (e) { G(j, e); }, e.offResponse = function (e) { V(j, e); }; }(e), function (e) { e.onNeedLogin = function (e) { G($, e); }, e.offNeedLogin = function (e) { V($, e); }, cs && (L("_globalUniCloudStatus").needLoginInit || (L("_globalUniCloudStatus").needLoginInit = !0, Z().then(function () { vs.call(e); }), ls && Is.call(e))); }(e), function (e) { e.onRefreshToken = function (e) { G(B, e); }, e.offRefreshToken = function (e) { V(B, e); }; }(e); } var bs; var ks = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=", As = /^(?:[A-Za-z\d+/]{4})*?(?:[A-Za-z\d+/]{2}(?:==)?|[A-Za-z\d+/]{3}=?)?$/; function Ps() { var e = se().token || "", t = e.split("."); if (!e || 3 !== t.length) return { uid: null, role: [], permission: [], tokenExpired: 0 }; var n; try { n = JSON.parse((s = t[1], decodeURIComponent(bs(s).split("").map(function (e) { return "%" + ("00" + e.charCodeAt(0).toString(16)).slice(-2); }).join("")))); } catch (e) { throw new Error("获取当前用户信息出错,详细错误信息为:" + e.message); } var s; return n.tokenExpired = 1e3 * n.exp, delete n.exp, delete n.iat, n; } bs = "function" != typeof atob ? function (e) { if (e = String(e).replace(/[\t\n\f\r ]+/g, ""), !As.test(e)) throw new Error("Failed to execute 'atob' on 'Window': The string to be decoded is not correctly encoded."); var t; e += "==".slice(2 - (3 & e.length)); for (var n, s, r = "", i = 0; i < e.length;) { t = ks.indexOf(e.charAt(i++)) << 18 | ks.indexOf(e.charAt(i++)) << 12 | (n = ks.indexOf(e.charAt(i++))) << 6 | (s = ks.indexOf(e.charAt(i++))), r += 64 === n ? String.fromCharCode(t >> 16 & 255) : 64 === s ? String.fromCharCode(t >> 16 & 255, t >> 8 & 255) : String.fromCharCode(t >> 16 & 255, t >> 8 & 255, 255 & t); } return r; } : atob; var Ts = n(function (e, t) { Object.defineProperty(t, "__esModule", { value: !0 }); var n = "chooseAndUploadFile:ok", s = "chooseAndUploadFile:fail"; function r(e, t) { return e.tempFiles.forEach(function (e, n) { e.name || (e.name = e.path.substring(e.path.lastIndexOf("/") + 1)), t && (e.fileType = t), e.cloudPath = Date.now() + "_" + n + e.name.substring(e.name.lastIndexOf(".")); }), e.tempFilePaths || (e.tempFilePaths = e.tempFiles.map(function (e) { return e.path; })), e; } function i(e, t, _ref53) { var s = _ref53.onChooseFile, r = _ref53.onUploadProgress; return t.then(function (e) { if (s) { var _t18 = s(e); if (void 0 !== _t18) return Promise.resolve(_t18).then(function (t) { return void 0 === t ? e : t; }); } return e; }).then(function (t) { return !1 === t ? { errMsg: n, tempFilePaths: [], tempFiles: [] } : function (e, t) { var s = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 5; var r = arguments.length > 3 ? arguments[3] : undefined; (t = Object.assign({}, t)).errMsg = n; var i = t.tempFiles, o = i.length; var a = 0; return new Promise(function (n) { for (; a < s;) { c(); } function c() { var s = a++; if (s >= o) return void (!i.find(function (e) { return !e.url && !e.errMsg; }) && n(t)); var u = i[s]; e.uploadFile({ filePath: u.path, cloudPath: u.cloudPath, fileType: u.fileType, cloudPathAsRealPath: u.cloudPathAsRealPath, onUploadProgress: function onUploadProgress(e) { e.index = s, e.tempFile = u, e.tempFilePath = u.path, r && r(e); } }).then(function (e) { u.url = e.fileID, s < o && c(); }).catch(function (e) { u.errMsg = e.errMsg || e.message, s < o && c(); }); } }); }(e, t, 5, r); }); } t.initChooseAndUploadFile = function (e) { return function () { var t = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : { type: "all" }; return "image" === t.type ? i(e, function (e) { var t = e.count, n = e.sizeType, _e$sourceType = e.sourceType, i = _e$sourceType === void 0 ? ["album", "camera"] : _e$sourceType, o = e.extension; return new Promise(function (e, a) { uni.chooseImage({ count: t, sizeType: n, sourceType: i, extension: o, success: function success(t) { e(r(t, "image")); }, fail: function fail(e) { a({ errMsg: e.errMsg.replace("chooseImage:fail", s) }); } }); }); }(t), t) : "video" === t.type ? i(e, function (e) { var t = e.camera, n = e.compressed, i = e.maxDuration, _e$sourceType2 = e.sourceType, o = _e$sourceType2 === void 0 ? ["album", "camera"] : _e$sourceType2, a = e.extension; return new Promise(function (e, c) { uni.chooseVideo({ camera: t, compressed: n, maxDuration: i, sourceType: o, extension: a, success: function success(t) { var n = t.tempFilePath, s = t.duration, i = t.size, o = t.height, a = t.width; e(r({ errMsg: "chooseVideo:ok", tempFilePaths: [n], tempFiles: [{ name: t.tempFile && t.tempFile.name || "", path: n, size: i, type: t.tempFile && t.tempFile.type || "", width: a, height: o, duration: s, fileType: "video", cloudPath: "" }] }, "video")); }, fail: function fail(e) { c({ errMsg: e.errMsg.replace("chooseVideo:fail", s) }); } }); }); }(t), t) : i(e, function (e) { var t = e.count, n = e.extension; return new Promise(function (e, i) { var o = uni.chooseFile; if ("undefined" != typeof wx && "function" == typeof wx.chooseMessageFile && (o = wx.chooseMessageFile), "function" != typeof o) return i({ errMsg: s + " 请指定 type 类型,该平台仅支持选择 image 或 video。" }); o({ type: "all", count: t, extension: n, success: function success(t) { e(r(t)); }, fail: function fail(e) { i({ errMsg: e.errMsg.replace("chooseFile:fail", s) }); } }); }); }(t), t); }; }; }), Cs = t(Ts); var xs = "manual"; function Os(e) { return { props: { localdata: { type: Array, default: function _default() { return []; } }, options: { type: [Object, Array], default: function _default() { return {}; } }, spaceInfo: { type: Object, default: function _default() { return {}; } }, collection: { type: [String, Array], default: "" }, action: { type: String, default: "" }, field: { type: String, default: "" }, orderby: { type: String, default: "" }, where: { type: [String, Object], default: "" }, pageData: { type: String, default: "add" }, pageCurrent: { type: Number, default: 1 }, pageSize: { type: Number, default: 20 }, getcount: { type: [Boolean, String], default: !1 }, gettree: { type: [Boolean, String], default: !1 }, gettreepath: { type: [Boolean, String], default: !1 }, startwith: { type: String, default: "" }, limitlevel: { type: Number, default: 10 }, groupby: { type: String, default: "" }, groupField: { type: String, default: "" }, distinct: { type: [Boolean, String], default: !1 }, foreignKey: { type: String, default: "" }, loadtime: { type: String, default: "auto" }, manual: { type: Boolean, default: !1 } }, data: function data() { return { mixinDatacomLoading: !1, mixinDatacomHasMore: !1, mixinDatacomResData: [], mixinDatacomErrorMessage: "", mixinDatacomPage: {} }; }, created: function created() { var _this21 = this; this.mixinDatacomPage = { current: this.pageCurrent, size: this.pageSize, count: 0 }, this.$watch(function () { var e = []; return ["pageCurrent", "pageSize", "localdata", "collection", "action", "field", "orderby", "where", "getont", "getcount", "gettree", "groupby", "groupField", "distinct"].forEach(function (t) { e.push(_this21[t]); }), e; }, function (e, t) { if (_this21.loadtime === xs) return; var n = !1; var s = []; for (var _r8 = 2; _r8 < e.length; _r8++) { e[_r8] !== t[_r8] && (s.push(e[_r8]), n = !0); } e[0] !== t[0] && (_this21.mixinDatacomPage.current = _this21.pageCurrent), _this21.mixinDatacomPage.size = _this21.pageSize, _this21.onMixinDatacomPropsChange(n, s); }); }, methods: { onMixinDatacomPropsChange: function onMixinDatacomPropsChange(e, t) {}, mixinDatacomEasyGet: function mixinDatacomEasyGet() { var _this22 = this; var _ref54 = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}, _ref54$getone = _ref54.getone, e = _ref54$getone === void 0 ? !1 : _ref54$getone, t = _ref54.success, n = _ref54.fail; this.mixinDatacomLoading || (this.mixinDatacomLoading = !0, this.mixinDatacomErrorMessage = "", this.mixinDatacomGet().then(function (n) { _this22.mixinDatacomLoading = !1; var _n$result = n.result, s = _n$result.data, r = _n$result.count; _this22.getcount && (_this22.mixinDatacomPage.count = r), _this22.mixinDatacomHasMore = s.length < _this22.pageSize; var i = e ? s.length ? s[0] : void 0 : s; _this22.mixinDatacomResData = i, t && t(i); }).catch(function (e) { _this22.mixinDatacomLoading = !1, _this22.mixinDatacomErrorMessage = e, n && n(e); })); }, mixinDatacomGet: function mixinDatacomGet() { var _n13; var t = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; var n = e.database(this.spaceInfo); var s = t.action || this.action; s && (n = n.action(s)); var r = t.collection || this.collection; n = Array.isArray(r) ? (_n13 = n).collection.apply(_n13, (0, _toConsumableArray2.default)(r)) : n.collection(r); var i = t.where || this.where; i && Object.keys(i).length && (n = n.where(i)); var o = t.field || this.field; o && (n = n.field(o)); var a = t.foreignKey || this.foreignKey; a && (n = n.foreignKey(a)); var c = t.groupby || this.groupby; c && (n = n.groupBy(c)); var u = t.groupField || this.groupField; u && (n = n.groupField(u)); !0 === (void 0 !== t.distinct ? t.distinct : this.distinct) && (n = n.distinct()); var h = t.orderby || this.orderby; h && (n = n.orderBy(h)); var l = void 0 !== t.pageCurrent ? t.pageCurrent : this.mixinDatacomPage.current, d = void 0 !== t.pageSize ? t.pageSize : this.mixinDatacomPage.size, p = void 0 !== t.getcount ? t.getcount : this.getcount, f = void 0 !== t.gettree ? t.gettree : this.gettree, g = void 0 !== t.gettreepath ? t.gettreepath : this.gettreepath, m = { getCount: p }, y = { limitLevel: void 0 !== t.limitlevel ? t.limitlevel : this.limitlevel, startWith: void 0 !== t.startwith ? t.startwith : this.startwith }; return f && (m.getTree = y), g && (m.getTreePath = y), n = n.skip(d * (l - 1)).limit(d).get(m), n; } } }; } function Es(e) { return function (t) { var n = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; n = function (e) { var t = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; return e.customUI = t.customUI || e.customUI, e.parseSystemError = t.parseSystemError || e.parseSystemError, Object.assign(e.loadingOptions, t.loadingOptions), Object.assign(e.errorOptions, t.errorOptions), "object" == (0, _typeof2.default)(t.secretMethods) && (e.secretMethods = t.secretMethods), e; }({ customUI: !1, loadingOptions: { title: "加载中...", mask: !0 }, errorOptions: { type: "modal", retry: !1 } }, n); var _n14 = n, s = _n14.customUI, r = _n14.loadingOptions, i = _n14.errorOptions, o = _n14.parseSystemError, a = !s; return new Proxy({}, { get: function get(s, c) { switch (c) { case "toString": return "[object UniCloudObject]"; case "toJSON": return {}; } return function () { var _ref55 = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}, e = _ref55.fn, t = _ref55.interceptorName, n = _ref55.getCallbackArgs; return /*#__PURE__*/(0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee52() { var _len2, s, _key2, r, i, o, _args = arguments; return _regenerator.default.wrap(function _callee52$(_context52) { while (1) { switch (_context52.prev = _context52.next) { case 0: for (_len2 = _args.length, s = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) { s[_key2] = _args[_key2]; } r = n ? n({ params: s }) : {}; _context52.prev = 2; _context52.next = 5; return M(q(t, "invoke"), _objectSpread({}, r)); case 5: _context52.next = 7; return e.apply(void 0, s); case 7: i = _context52.sent; _context52.next = 10; return M(q(t, "success"), _objectSpread(_objectSpread({}, r), {}, { result: i })); case 10: return _context52.abrupt("return", i); case 13: _context52.prev = 13; _context52.t0 = _context52["catch"](2); o = _context52.t0; _context52.next = 18; return M(q(t, "fail"), _objectSpread(_objectSpread({}, r), {}, { error: o })); case 18: throw o; case 19: _context52.prev = 19; _context52.next = 22; return M(q(t, "complete"), o ? _objectSpread(_objectSpread({}, r), {}, { error: o }) : _objectSpread(_objectSpread({}, r), {}, { result: i })); case 22: return _context52.finish(19); case 23: case "end": return _context52.stop(); } } }, _callee52, null, [[2, 13, 19, 23]]); })); }({ fn: function () { var _s15 = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee54() { var l, _len3, h, _key3, d, p, _ref57, f, g, m, y, _e26, _yield, _t19, _n15, _args4 = arguments; return _regenerator.default.wrap(function _callee54$(_context54) { while (1) { switch (_context54.prev = _context54.next) { case 0: a && uni.showLoading({ title: r.title, mask: r.mask }); for (_len3 = _args4.length, h = new Array(_len3), _key3 = 0; _key3 < _len3; _key3++) { h[_key3] = _args4[_key3]; } d = { name: t, type: u, data: { method: c, params: h } }; "object" == (0, _typeof2.default)(n.secretMethods) && function (e, t) { var n = t.data.method, s = e.secretMethods || {}, r = s[n] || s["*"]; r && (t.secretType = r); }(n, d); p = !1; _context54.prev = 5; _context54.next = 8; return e.callFunction(d); case 8: l = _context54.sent; _context54.next = 14; break; case 11: _context54.prev = 11; _context54.t0 = _context54["catch"](5); p = !0, l = { result: new te(_context54.t0) }; case 14: _ref57 = l.result || {}, f = _ref57.errSubject, g = _ref57.errCode, m = _ref57.errMsg, y = _ref57.newToken; if (!(a && uni.hideLoading(), y && y.token && y.tokenExpired && (re(y), Y(B, _objectSpread({}, y))), g)) { _context54.next = 39; break; } _e26 = m; if (!(p && o)) { _context54.next = 24; break; } _context54.next = 20; return o({ objectName: t, methodName: c, params: h, errSubject: f, errCode: g, errMsg: m }); case 20: _context54.t1 = _context54.sent.errMsg; if (_context54.t1) { _context54.next = 23; break; } _context54.t1 = m; case 23: _e26 = _context54.t1; case 24: if (!a) { _context54.next = 37; break; } if (!("toast" === i.type)) { _context54.next = 29; break; } uni.showToast({ title: _e26, icon: "none" }); _context54.next = 37; break; case 29: if (!("modal" !== i.type)) { _context54.next = 31; break; } throw new Error("Invalid errorOptions.type: ".concat(i.type)); case 31: _context54.next = 33; return (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee53() { var _ref59, e, t, n, s, r, _args2 = arguments; return _regenerator.default.wrap(function _callee53$(_context53) { while (1) { switch (_context53.prev = _context53.next) { case 0: _ref59 = _args2.length > 0 && _args2[0] !== undefined ? _args2[0] : {}, e = _ref59.title, t = _ref59.content, n = _ref59.showCancel, s = _ref59.cancelText, r = _ref59.confirmText; return _context53.abrupt("return", new Promise(function (i, o) { uni.showModal({ title: e, content: t, showCancel: n, cancelText: s, confirmText: r, success: function success(e) { i(e); }, fail: function fail() { i({ confirm: !1, cancel: !0 }); } }); })); case 2: case "end": return _context53.stop(); } } }, _callee53); }))({ title: "提示", content: _e26, showCancel: i.retry, cancelText: "取消", confirmText: i.retry ? "重试" : "确定" }); case 33: _yield = _context54.sent; _t19 = _yield.confirm; if (!(i.retry && _t19)) { _context54.next = 37; break; } return _context54.abrupt("return", s.apply(void 0, h)); case 37: _n15 = new te({ subject: f, code: g, message: m, requestId: l.requestId }); throw _n15.detail = l.result, Y(j, { type: z, content: _n15 }), _n15; case 39: return _context54.abrupt("return", (Y(j, { type: z, content: l.result }), l.result)); case 40: case "end": return _context54.stop(); } } }, _callee54, null, [[5, 11]]); })); function s() { return _s15.apply(this, arguments); } return s; }(), interceptorName: "callObject", getCallbackArgs: function getCallbackArgs() { var _ref60 = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}, e = _ref60.params; return { objectName: t, methodName: c, params: e }; } }); } }); }; } function Ls(e) { return L("_globalUniCloudSecureNetworkCache__{spaceId}".replace("{spaceId}", e.config.spaceId)); } function Rs() { return _Rs.apply(this, arguments); } function _Rs() { _Rs = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee57() { var _ref72, e, _ref72$callLoginByWei, t, n, s, r, _args7 = arguments; return _regenerator.default.wrap(function _callee57$(_context57) { while (1) { switch (_context57.prev = _context57.next) { case 0: _ref72 = _args7.length > 0 && _args7[0] !== undefined ? _args7[0] : {}, e = _ref72.openid, _ref72$callLoginByWei = _ref72.callLoginByWeixin, t = _ref72$callLoginByWei === void 0 ? !1 : _ref72$callLoginByWei; n = Ls(this); if (!("mp-weixin" !== P)) { _context57.next = 4; break; } throw new Error("[SecureNetwork] API `initSecureNetworkByWeixin` is not supported on platform `".concat(P, "`")); case 4: if (!(e && t)) { _context57.next = 6; break; } throw new Error("[SecureNetwork] openid and callLoginByWeixin cannot be passed at the same time"); case 6: if (!e) { _context57.next = 8; break; } return _context57.abrupt("return", (n.mpWeixinOpenid = e, {})); case 8: _context57.next = 10; return new Promise(function (e, t) { uni.login({ success: function success(t) { e(t.code); }, fail: function fail(e) { t(new Error(e.errMsg)); } }); }); case 10: s = _context57.sent; r = this.importObject("uni-id-co", { customUI: !0 }); _context57.next = 14; return r.secureNetworkHandshakeByWeixin({ code: s, callLoginByWeixin: t }); case 14: n.mpWeixinCode = s; return _context57.abrupt("return", { code: s }); case 16: case "end": return _context57.stop(); } } }, _callee57, this); })); return _Rs.apply(this, arguments); } function Us(_x39) { return _Us.apply(this, arguments); } function _Us() { _Us = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee58(e) { var t; return _regenerator.default.wrap(function _callee58$(_context58) { while (1) { switch (_context58.prev = _context58.next) { case 0: t = Ls(this); return _context58.abrupt("return", (t.initPromise || (t.initPromise = Rs.call(this, e)), t.initPromise)); case 2: case "end": return _context58.stop(); } } }, _callee58, this); })); return _Us.apply(this, arguments); } function Ns(e) { return function () { var _ref61 = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}, t = _ref61.openid, _ref61$callLoginByWei = _ref61.callLoginByWeixin, n = _ref61$callLoginByWei === void 0 ? !1 : _ref61$callLoginByWei; return Us.call(e, { openid: t, callLoginByWeixin: n }); }; } function Ds(e) { var t = { getSystemInfo: uni.getSystemInfo, getPushClientId: uni.getPushClientId }; return function (n) { return new Promise(function (s, r) { t[e](_objectSpread(_objectSpread({}, n), {}, { success: function success(e) { s(e); }, fail: function fail(e) { r(e); } })); }); }; } var Ms = /*#__PURE__*/function (_ref62) { (0, _inherits2.default)(Ms, _ref62); var _super12 = _createSuper(Ms); function Ms() { var _this23; (0, _classCallCheck2.default)(this, Ms); _this23 = _super12.call(this), _this23._uniPushMessageCallback = _this23._receivePushMessage.bind((0, _assertThisInitialized2.default)(_this23)), _this23._currentMessageId = -1, _this23._payloadQueue = []; return _this23; } (0, _createClass2.default)(Ms, [{ key: "init", value: function init() { var _this24 = this; return Promise.all([Ds("getSystemInfo")(), Ds("getPushClientId")()]).then(function () { var _ref63 = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [], _ref64 = (0, _slicedToArray2.default)(_ref63, 2), _ref64$ = _ref64[0]; _ref64$ = _ref64$ === void 0 ? {} : _ref64$; var e = _ref64$.appId, _ref64$2 = _ref64[1]; _ref64$2 = _ref64$2 === void 0 ? {} : _ref64$2; var t = _ref64$2.cid; if (!e) throw new Error("Invalid appId, please check the manifest.json file"); if (!t) throw new Error("Invalid push client id"); _this24._appId = e, _this24._pushClientId = t, _this24._seqId = Date.now() + "-" + Math.floor(9e5 * Math.random() + 1e5), _this24.emit("open"), _this24._initMessageListener(); }, function (e) { throw _this24.emit("error", e), _this24.close(), e; }); } }, { key: "open", value: function () { var _open = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee55() { return _regenerator.default.wrap(function _callee55$(_context55) { while (1) { switch (_context55.prev = _context55.next) { case 0: return _context55.abrupt("return", this.init()); case 1: case "end": return _context55.stop(); } } }, _callee55, this); })); function open() { return _open.apply(this, arguments); } return open; }() }, { key: "_isUniCloudSSE", value: function _isUniCloudSSE(e) { if ("receive" !== e.type) return !1; var t = e && e.data && e.data.payload; return !(!t || "UNI_CLOUD_SSE" !== t.channel || t.seqId !== this._seqId); } }, { key: "_receivePushMessage", value: function _receivePushMessage(e) { if (!this._isUniCloudSSE(e)) return; var t = e && e.data && e.data.payload, n = t.action, s = t.messageId, r = t.message; this._payloadQueue.push({ action: n, messageId: s, message: r }), this._consumMessage(); } }, { key: "_consumMessage", value: function _consumMessage() { var _this25 = this; for (;;) { var _e27 = this._payloadQueue.find(function (e) { return e.messageId === _this25._currentMessageId + 1; }); if (!_e27) break; this._currentMessageId++, this._parseMessagePayload(_e27); } } }, { key: "_parseMessagePayload", value: function _parseMessagePayload(e) { var t = e.action, n = e.messageId, s = e.message; "end" === t ? this._end({ messageId: n, message: s }) : "message" === t && this._appendMessage({ messageId: n, message: s }); } }, { key: "_appendMessage", value: function _appendMessage() { var _ref65 = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}, e = _ref65.messageId, t = _ref65.message; this.emit("message", t); } }, { key: "_end", value: function _end() { var _ref66 = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}, e = _ref66.messageId, t = _ref66.message; this.emit("end", t), this.close(); } }, { key: "_initMessageListener", value: function _initMessageListener() { uni.onPushMessage(this._uniPushMessageCallback); } }, { key: "_destroy", value: function _destroy() { uni.offPushMessage(this._uniPushMessageCallback); } }, { key: "toJSON", value: function toJSON() { return { appId: this._appId, pushClientId: this._pushClientId, seqId: this._seqId }; } }, { key: "close", value: function close() { this._destroy(), this.emit("close"); } }]); return Ms; }( /*#__PURE__*/function () { function _class6() { (0, _classCallCheck2.default)(this, _class6); this._callback = {}; } (0, _createClass2.default)(_class6, [{ key: "addListener", value: function addListener(e, t) { this._callback[e] || (this._callback[e] = []), this._callback[e].push(t); } }, { key: "on", value: function on(e, t) { return this.addListener(e, t); } }, { key: "removeListener", value: function removeListener(e, t) { if (!t) throw new Error('The "listener" argument must be of type function. Received undefined'); var n = this._callback[e]; if (!n) return; var s = function (e, t) { for (var _n16 = e.length - 1; _n16 >= 0; _n16--) { if (e[_n16] === t) return _n16; } return -1; }(n, t); n.splice(s, 1); } }, { key: "off", value: function off(e, t) { return this.removeListener(e, t); } }, { key: "removeAllListener", value: function removeAllListener(e) { delete this._callback[e]; } }, { key: "emit", value: function emit(e) { var n = this._callback[e]; for (var _len4 = arguments.length, t = new Array(_len4 > 1 ? _len4 - 1 : 0), _key4 = 1; _key4 < _len4; _key4++) { t[_key4 - 1] = arguments[_key4]; } if (n) for (var _e28 = 0; _e28 < n.length; _e28++) { n[_e28].apply(n, t); } } }]); return _class6; }()); function qs(_x40, _x41) { return _qs.apply(this, arguments); } function _qs() { _qs = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee59(e, t) { var n, _e32, s; return _regenerator.default.wrap(function _callee59$(_context59) { while (1) { switch (_context59.prev = _context59.next) { case 0: n = "http://".concat(e, ":").concat(t, "/system/ping"); _context59.prev = 1; _context59.next = 4; return s = { url: n, timeout: 500 }, new Promise(function (e, t) { ne.request(_objectSpread(_objectSpread({}, s), {}, { success: function success(t) { e(t); }, fail: function fail(e) { t(e); } })); }); case 4: _e32 = _context59.sent; return _context59.abrupt("return", !(!_e32.data || 0 !== _e32.data.code)); case 8: _context59.prev = 8; _context59.t0 = _context59["catch"](1); return _context59.abrupt("return", !1); case 11: case "end": return _context59.stop(); } } }, _callee59, null, [[1, 8]]); })); return _qs.apply(this, arguments); } function Fs(_x42) { return _Fs.apply(this, arguments); } function _Fs() { _Fs = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee61(e) { var _ae2, _e33, _t21, t, _t$debugInfo, n, s, _yield2, r, i, o; return _regenerator.default.wrap(function _callee61$(_context61) { while (1) { switch (_context61.prev = _context61.next) { case 0: if (S) { _context61.next = 2; break; } return _context61.abrupt("return", Promise.resolve()); case 2: if ("app" === P) { _ae2 = ae(), _e33 = _ae2.osName, _t21 = _ae2.osVersion; "ios" === _e33 && function (e) { if (!e || "string" != typeof e) return 0; var t = e.match(/^(\d+)./); return t && t[1] ? parseInt(t[1]) : 0; }(_t21) >= 14 && console.warn("iOS 14及以上版本连接uniCloud本地调试服务需要允许客户端查找并连接到本地网络上的设备(仅开发模式生效,发行模式会连接uniCloud云端服务)"); } t = e.__dev__; if (t.debugInfo) { _context61.next = 6; break; } return _context61.abrupt("return"); case 6: _t$debugInfo = t.debugInfo; n = _t$debugInfo.address; s = _t$debugInfo.servePort; _context61.next = 11; return function () { var _ref73 = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee60(e, t) { var n, _s16, _r9; return _regenerator.default.wrap(function _callee60$(_context60) { while (1) { switch (_context60.prev = _context60.next) { case 0: _s16 = 0; case 1: if (!(_s16 < e.length)) { _context60.next = 11; break; } _r9 = e[_s16]; _context60.next = 5; return qs(_r9, t); case 5: if (!_context60.sent) { _context60.next = 8; break; } n = _r9; return _context60.abrupt("break", 11); case 8: _s16++; _context60.next = 1; break; case 11: return _context60.abrupt("return", { address: n, port: t }); case 12: case "end": return _context60.stop(); } } }, _callee60); })); return function (_x43, _x44) { return _ref73.apply(this, arguments); }; }()(n, s); case 11: _yield2 = _context61.sent; r = _yield2.address; if (!r) { _context61.next = 15; break; } return _context61.abrupt("return", (t.localAddress = r, void (t.localPort = s))); case 15: i = console["app" === P ? "error" : "warn"]; o = ""; if (!("remote" === t.debugInfo.initialLaunchType ? (t.debugInfo.forceRemote = !0, o = "当前客户端和HBuilderX不在同一局域网下(或其他网络原因无法连接HBuilderX),uniCloud本地调试服务不对当前客户端生效。\n- 如果不使用uniCloud本地调试服务,请直接忽略此信息。\n- 如需使用uniCloud本地调试服务,请将客户端与主机连接到同一局域网下并重新运行到客户端。") : o = "无法连接uniCloud本地调试服务,请检查当前客户端是否与主机在同一局域网下。\n- 如需使用uniCloud本地调试服务,请将客户端与主机连接到同一局域网下并重新运行到客户端。", o += "\n- 如果在HBuilderX开启的状态下切换过网络环境,请重启HBuilderX后再试\n- 检查系统防火墙是否拦截了HBuilderX自带的nodejs\n- 检查是否错误的使用拦截器修改uni.request方法的参数", "web" === P && (o += "\n- 部分浏览器开启节流模式之后访问本地地址受限,请检查是否启用了节流模式"), 0 === P.indexOf("mp-") && (o += "\n- 小程序中如何使用uniCloud,请参考:https://uniapp.dcloud.net.cn/uniCloud/publish.html#useinmp"), !t.debugInfo.forceRemote)) { _context61.next = 19; break; } throw new Error(o); case 19: i(o); case 20: case "end": return _context61.stop(); } } }, _callee61); })); return _Fs.apply(this, arguments); } function Ks(e) { e._initPromiseHub || (e._initPromiseHub = new v({ createPromise: function createPromise() { var t = Promise.resolve(); var n; n = 1, t = new Promise(function (e) { setTimeout(function () { e(); }, n); }); var s = e.auth(); return t.then(function () { return s.getLoginState(); }).then(function (e) { return e ? Promise.resolve() : s.signInAnonymously(); }); } })); } var js = { tcb: It, tencent: It, aliyun: de, private: bt, alipay: Et }; var $s = new ( /*#__PURE__*/function () { function _class7() { (0, _classCallCheck2.default)(this, _class7); } (0, _createClass2.default)(_class7, [{ key: "init", value: function init(e) { var t = {}; var n = js[e.provider]; if (!n) throw new Error("未提供正确的provider参数"); t = n.init(e), S && function (e) { if (!S) return; var t = {}; e.__dev__ = t, t.debugLog = S && ("web" === P && navigator.userAgent.indexOf("HBuilderX") > 0 || "app" === P); var n = T; n && !n.code && (t.debugInfo = n); var s = new v({ createPromise: function createPromise() { return Fs(e); } }); t.initLocalNetwork = function () { return s.exec(); }; }(t), Ks(t), Fn(t), function (e) { var t = e.uploadFile; e.uploadFile = function (e) { return t.call(this, e); }; }(t), function (e) { e.database = function (t) { if (t && Object.keys(t).length > 0) return e.init(t).database(); if (this._database) return this._database; var n = Yn(Qn, { uniClient: e }); return this._database = n, n; }, e.databaseForJQL = function (t) { if (t && Object.keys(t).length > 0) return e.init(t).databaseForJQL(); if (this._databaseForJQL) return this._databaseForJQL; var n = Yn(Qn, { uniClient: e, isJQL: !0 }); return this._databaseForJQL = n, n; }; }(t), function (e) { e.getCurrentUserInfo = Ps, e.chooseAndUploadFile = Cs.initChooseAndUploadFile(e), Object.assign(e, { get mixinDatacom() { return Os(e); } }), e.SSEChannel = Ms, e.initSecureNetworkByWeixin = Ns(e), e.importObject = Es(e); }(t); return ["callFunction", "uploadFile", "deleteFile", "getTempFileURL", "downloadFile", "chooseAndUploadFile"].forEach(function (e) { if (!t[e]) return; var n = t[e]; t[e] = function () { return n.apply(t, Array.from(arguments)); }, t[e] = function (e, t) { return function (n) { var _this26 = this; var s = !1; if ("callFunction" === t) { var _e29 = n && n.type || c; s = _e29 !== c; } var r = "callFunction" === t && !s, i = this._initPromiseHub.exec(); n = n || {}; var _ee2 = ee(n), o = _ee2.success, a = _ee2.fail, u = _ee2.complete, h = i.then(function () { return s ? Promise.resolve() : M(q(t, "invoke"), n); }).then(function () { return e.call(_this26, n); }).then(function (e) { return s ? Promise.resolve(e) : M(q(t, "success"), e).then(function () { return M(q(t, "complete"), e); }).then(function () { return r && Y(j, { type: H, content: e }), Promise.resolve(e); }); }, function (e) { return s ? Promise.reject(e) : M(q(t, "fail"), e).then(function () { return M(q(t, "complete"), e); }).then(function () { return Y(j, { type: H, content: e }), Promise.reject(e); }); }); if (!(o || a || u)) return h; h.then(function (e) { o && o(e), u && u(e), r && Y(j, { type: H, content: e }); }, function (e) { a && a(e), u && u(e), r && Y(j, { type: H, content: e }); }); }; }(t[e], e).bind(t); }), t.init = this.init, t; } }]); return _class7; }())(); (function () { var e = C; var t = {}; if (e && 1 === e.length) t = e[0], $s = $s.init(t), $s._isDefault = !0;else { var _t20 = ["auth", "callFunction", "uploadFile", "deleteFile", "getTempFileURL", "downloadFile", "database", "getCurrentUSerInfo", "importObject"]; var _n17; _n17 = e && e.length > 0 ? "应用有多个服务空间,请通过uniCloud.init方法指定要使用的服务空间" : x ? "应用未关联服务空间,请在uniCloud目录右键关联服务空间" : "uni-app cli项目内使用uniCloud需要使用HBuilderX的运行菜单运行项目,且需要在uniCloud目录关联服务空间", _t20.forEach(function (e) { $s[e] = function () { return console.error(_n17), Promise.reject(new te({ code: "SYS_ERR", message: _n17 })); }; }); } Object.assign($s, { get mixinDatacom() { return Os($s); } }), Ss($s), $s.addInterceptor = N, $s.removeInterceptor = D, $s.interceptObject = F, S && "web" === P && (window.uniCloud = $s); })(); var Bs = $s; exports.default = Bs; /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../../../../../webpack/buildin/global.js */ 51), __webpack_require__(/*! @dcloudio/uni-mp-weixin/dist/mp.js */ 110)["default"])) /***/ }), /* 110 */ /*!*********************************************************!*\ !*** ./node_modules/@dcloudio/uni-mp-weixin/dist/mp.js ***! \*********************************************************/ /*! no static exports found */ /***/ (function(module, exports, __webpack_require__) { "use strict"; /* WEBPACK VAR INJECTION */(function(global) { var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 1); Object.defineProperty(exports, "__esModule", { value: true }); exports.Behavior = Behavior; exports.Component = Component; exports.Page = Page; exports.nextTick = exports.default = void 0; var _defineProperty2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/defineProperty */ 2)); var _slicedToArray2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/slicedToArray */ 22)); var _vue = _interopRequireDefault(__webpack_require__(/*! vue */ 98)); var _PROP_DEFAULT_VALUES; function parseData(data, vueComponentOptions) { if (!data) { return; } vueComponentOptions.mpOptions.data = data; } function parseComponents(vueComponentOptions) { vueComponentOptions.components = global.__wxVueOptions.components; } var _toString = Object.prototype.toString; var hasOwnProperty = Object.prototype.hasOwnProperty; function isFn(fn) { return typeof fn === 'function'; } function isPlainObject(obj) { return _toString.call(obj) === '[object Object]'; } function hasOwn(obj, key) { return hasOwnProperty.call(obj, key); } function noop() {} /** * Create a cached version of a pure function. */ function cached(fn) { var cache = Object.create(null); return function cachedFn(str) { var hit = cache[str]; return hit || (cache[str] = fn(str)); }; } /** * Camelize a hyphen-delimited string. */ var camelizeRE = /-(\w)/g; var camelize = cached(function (str) { return str.replace(camelizeRE, function (_, c) { return c ? c.toUpperCase() : ''; }); }); var SOURCE_KEY = '__data__'; var COMPONENT_LIFECYCLE = { created: 'onServiceCreated', attached: 'onServiceAttached', ready: 'mounted', moved: 'moved', detached: 'destroyed' }; var COMPONENT_LIFECYCLE_KEYS = Object.keys(COMPONENT_LIFECYCLE); var PAGE_LIFETIMES = { show: 'onPageShow', hide: 'onPageHide', resize: 'onPageResize' }; var PAGE_LIFETIMES_KEYS = Object.keys(PAGE_LIFETIMES); var PAGE_LIFECYCLE = ['onLoad', 'onShow', 'onReady', 'onHide', 'onUnload', 'onPullDownRefresh', 'onReachBottom', 'onShareAppMessage', 'onPageScroll', 'onResize', 'onTabItemTap']; function parsePageMethods(mpComponentOptions, vueComponentOptions) { var methods = Object.create(null); Object.keys(mpComponentOptions).forEach(function (key) { var value = mpComponentOptions[key]; if (isFn(value) && PAGE_LIFECYCLE.indexOf(key) === -1) { methods[key] = value; } }); vueComponentOptions.methods = methods; } function parsePageLifecycle(mpComponentOptions, vueComponentOptions) { Object.keys(mpComponentOptions).forEach(function (key) { if (PAGE_LIFECYCLE.indexOf(key) !== -1) { vueComponentOptions[key] = mpComponentOptions[key]; } }); } function parsePage(mpComponentOptions) { var vueComponentOptions = { mixins: [], mpOptions: {} }; parseComponents(vueComponentOptions); parseData(mpComponentOptions.data, vueComponentOptions); parsePageMethods(mpComponentOptions, vueComponentOptions); parsePageLifecycle(mpComponentOptions, vueComponentOptions); return vueComponentOptions; } function parseProperties(properties, vueComponentOptions) { if (!properties) { return; } vueComponentOptions.mpOptions.properties = properties; } function parseOptions(options, vueComponentOptions) { if (!options) { return; } vueComponentOptions.mpOptions.options = options; } function parseMethods(methods, vueComponentOptions) { if (!methods) { return; } if (methods.$emit) { console.warn('Method "$emit" conflicts with an existing Vue instance method'); delete methods.$emit; } vueComponentOptions.methods = methods; } function parseLifecycle(mpComponentOptions, vueComponentOptions) { COMPONENT_LIFECYCLE_KEYS.forEach(function (name) { if (hasOwn(mpComponentOptions, name)) { (vueComponentOptions[COMPONENT_LIFECYCLE[name]] || (vueComponentOptions[COMPONENT_LIFECYCLE[name]] = [])).push(mpComponentOptions[name]); } }); } var mpBehaviors = { 'wx://form-field': {}, 'wx://component-export': {} }; function callDefinitionFilter(mpComponentOptions) { var behaviors = mpComponentOptions.behaviors, definitionFilter = mpComponentOptions.definitionFilter; var behaviorDefinitionFilters = []; if (Array.isArray(behaviors)) { behaviors.forEach(function (behavior) { behavior = typeof behavior === 'string' ? mpBehaviors[behavior] : behavior; if (behavior.definitionFilter) { behaviorDefinitionFilters.push(behavior.definitionFilter); behavior.definitionFilter.call(null, mpComponentOptions, []); } }); } if (isFn(definitionFilter)) { return function (defFields) { definitionFilter(defFields, behaviorDefinitionFilters); }; } } function parseDefinitionFilter(mpComponentOptions, vueComponentOptions) { callDefinitionFilter(mpComponentOptions); } function parseBehavior(behavior) { var data = behavior.data, methods = behavior.methods, behaviors = behavior.behaviors, properties = behavior.properties; var vueComponentOptions = { watch: {}, mpOptions: { mpObservers: [] } }; parseData(data, vueComponentOptions); parseMethods(methods, vueComponentOptions); parseBehaviors(behaviors, vueComponentOptions); parseProperties(properties, vueComponentOptions); parseLifecycle(behavior, vueComponentOptions); parseDefinitionFilter(behavior); return vueComponentOptions; } var BEHAVIORS = { 'wx://form-field': { beforeCreate: function beforeCreate() { var mpOptions = this.$options.mpOptions; if (!mpOptions.properties) { mpOptions.properties = Object.create(null); } var props = mpOptions.properties; // TODO form submit,reset if (!hasOwn(props, 'name')) { props.name = { type: String }; } if (!hasOwn(props, 'value')) { props.value = { type: String // 默认类型调整为 String,否则默认值为 null,导致一些自定义 input 显示不正确 }; } } } }; function parseBehaviors(behaviors, vueComponentOptions) { if (!behaviors) { return; } behaviors.forEach(function (behavior) { if (typeof behavior === 'string') { BEHAVIORS[behavior] && vueComponentOptions.mixins.push(BEHAVIORS[behavior]); } else { vueComponentOptions.mixins.push(parseBehavior(behavior)); } }); } function parseSinglePath(path) { return path.split('.'); } function parseMultiPaths(paths) { return paths.split(',').map(function (path) { return parseSinglePath(path); }); } function parseObservers(observers, vueComponentOptions) { if (!observers) { return; } var mpObservers = vueComponentOptions.mpOptions.mpObservers; Object.keys(observers).forEach(function (path) { mpObservers.push({ paths: parseMultiPaths(path), observer: observers[path] }); }); } function relative(from, to) { if (to.indexOf('/') === 0) { from = ''; } var fromArr = from.split('/'); var toArr = to.split('/'); fromArr.pop(); while (toArr.length) { var part = toArr.shift(); if (part !== '' && part !== '.') { if (part !== '..') { fromArr.push(part); } else { fromArr.pop(); } } } return fromArr.join('/'); } function parseRelations(relations, vueComponentOptions) { if (!relations) { return; } Object.keys(relations).forEach(function (name) { var relation = relations[name]; relation.name = name; relation.target = relation.target ? String(relation.target) : relative(global.__wxRoute, name); }); vueComponentOptions.mpOptions.relations = relations; } function parseExternalClasses(externalClasses, vueComponentOptions) { if (!externalClasses) { return; } if (!Array.isArray(externalClasses)) { externalClasses = [externalClasses]; } vueComponentOptions.mpOptions.externalClasses = externalClasses; if (!vueComponentOptions.mpOptions.properties) { vueComponentOptions.mpOptions.properties = Object.create(null); } externalClasses.forEach(function (externalClass) { vueComponentOptions.mpOptions.properties[camelize(externalClass)] = { type: String, value: '' }; }); } function parseLifetimes(lifetimes, vueComponentOptions) { if (!lifetimes) { return; } parseLifecycle(lifetimes, vueComponentOptions); } function parsePageLifetimes(pageLifetimes, vueComponentOptions) { if (!pageLifetimes) { return; } PAGE_LIFETIMES_KEYS.forEach(function (key) { var lifetimeFn = pageLifetimes[key]; isFn(lifetimeFn) && (vueComponentOptions[PAGE_LIFETIMES[key]] = lifetimeFn); }); } function parseComponent(mpComponentOptions) { var data = mpComponentOptions.data, options = mpComponentOptions.options, methods = mpComponentOptions.methods, behaviors = mpComponentOptions.behaviors, lifetimes = mpComponentOptions.lifetimes, observers = mpComponentOptions.observers, relations = mpComponentOptions.relations, properties = mpComponentOptions.properties, pageLifetimes = mpComponentOptions.pageLifetimes, externalClasses = mpComponentOptions.externalClasses; var vueComponentOptions = { mixins: [], props: {}, watch: {}, mpOptions: { mpObservers: [] } }; parseComponents(vueComponentOptions); parseData(data, vueComponentOptions); parseOptions(options, vueComponentOptions); parseMethods(methods, vueComponentOptions); parseBehaviors(behaviors, vueComponentOptions); parseLifetimes(lifetimes, vueComponentOptions); parseObservers(observers, vueComponentOptions); parseRelations(relations, vueComponentOptions); parseProperties(properties, vueComponentOptions); parsePageLifetimes(pageLifetimes, vueComponentOptions); parseExternalClasses(externalClasses, vueComponentOptions); parseLifecycle(mpComponentOptions, vueComponentOptions); parseDefinitionFilter(mpComponentOptions); return vueComponentOptions; } function initRelationHandlers(type, handler, target, ctx) { if (!handler) { return; } var name = "_$".concat(type, "Handlers"); (ctx[name] || (ctx[name] = [])).push(function () { handler.call(ctx, target); }); } function initLinkedHandlers(relation, target, ctx) { var type = 'linked'; var name = relation.name; var relationNodes = ctx._$relationNodes || (ctx._$relationNodes = Object.create(null)); (relationNodes[name] || (relationNodes[name] = [])).push(target); initRelationHandlers(type, relation[type], target, ctx); } function initUnlinkedHandlers(relation, target, ctx) { var type = 'unlinked'; initRelationHandlers(type, relation[type], target, ctx); } function findParentRelation(parentVm, target, type) { var relations = parentVm && parentVm.$options.mpOptions && parentVm.$options.mpOptions.relations; if (!relations) { return []; } var name = Object.keys(relations).find(function (name) { var relation = relations[name]; return relation.target === target && relation.type === type; }); if (!name) { return []; } return [relations[name], parentVm]; } function initParentRelation(vm, childRelation, match) { var _match = match(vm, vm.$options.mpOptions.path), _match2 = (0, _slicedToArray2.default)(_match, 2), parentRelation = _match2[0], parentVm = _match2[1]; if (!parentRelation) { return; } initLinkedHandlers(parentRelation, vm, parentVm); initLinkedHandlers(childRelation, parentVm, vm); initUnlinkedHandlers(parentRelation, vm, parentVm); initUnlinkedHandlers(childRelation, parentVm, vm); } function initRelation(relation, vm) { var type = relation.type; if (type === 'parent') { initParentRelation(vm, relation, function matchParent(vm, target) { return findParentRelation(vm.$parent, target, 'child'); }); } else if (type === 'ancestor') { initParentRelation(vm, relation, function matchAncestor(vm, target) { var $parent = vm.$parent; while ($parent) { var ret = findParentRelation($parent, target, 'descendant'); if (ret.length) { return ret; } $parent = $parent.$parent; } return []; }); } } function initRelations(vm) { var _ref = vm.$options.mpOptions || {}, relations = _ref.relations; if (!relations) { return; } Object.keys(relations).forEach(function (name) { initRelation(relations[name], vm); }); } function handleRelations(vm, type) { // TODO 需要移除 relationNodes var handlers = vm["_$".concat(type, "Handlers")]; if (!handlers) { return; } handlers.forEach(function (handler) { return handler(); }); } var sharedPropertyDefinition = { enumerable: true, configurable: true, get: noop, set: noop }; function proxy(target, sourceKey, key) { sharedPropertyDefinition.get = function proxyGetter() { return this[sourceKey][key]; }; sharedPropertyDefinition.set = function proxySetter(val) { this[sourceKey][key] = val; }; Object.defineProperty(target, key, sharedPropertyDefinition); } function setDataByExprPath(exprPath, value, data) { var keys = exprPath.replace(/\[(\d+?)\]/g, '.$1').split('.'); keys.reduce(function (obj, key, idx) { if (idx === keys.length - 1) { obj[key] = value; } else { if (typeof obj[key] === 'undefined') { obj[key] = {}; } return obj[key]; } }, data); return keys.length === 1; } function setData(data, callback) { var _this = this; if (!isPlainObject(data)) { return; } Object.keys(data).forEach(function (key) { if (setDataByExprPath(key, data[key], _this.data)) { !hasOwn(_this, key) && proxy(_this, SOURCE_KEY, key); } }); this.$forceUpdate(); isFn(callback) && this.$nextTick(callback); } /** * https://github.com/swan-team/swan-js/blob/61e2a63f7aa576b5daafbe77fdfa7c65b977060c/src/utils/index.js */ var _toString$1 = Object.prototype.toString; /** * 深度assign的函数 * @param {Object} targetObject 要被拷贝的目标对象 * @param {Object} originObject 拷贝的源对象 * @return {Object} merge后的对象 */ var deepAssign = function deepAssign() { var targetObject = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; var originObject = arguments.length > 1 ? arguments[1] : undefined; var originType = _toString$1.call(originObject); if (originType === '[object Array]') { targetObject = originObject.slice(0); return targetObject; } else if (originType === '[object Object]') { for (var key in originObject) { targetObject[key] = deepAssign(targetObject[key], originObject[key]); } return targetObject; } else if (originType === '[object Date]') { return new Date(originObject.getTime()); } else if (originType === '[object RegExp]') { var target = String(originObject); var lastIndex = target.lastIndexOf('/'); return new RegExp(target.slice(1, lastIndex), target.slice(lastIndex + 1)); } return originObject; }; /** * 深度拷贝逻辑,不同于lodash等库,但是与微信一致 * @param {*} [originObj] 原对象 * @return {Object|Array} 拷贝结果 */ var deepClone = function deepClone(originObj) { return deepAssign(_toString$1.call(originObj) === '[object Array]' ? [] : {}, originObj); }; var PROP_DEFAULT_VALUES = (_PROP_DEFAULT_VALUES = {}, (0, _defineProperty2.default)(_PROP_DEFAULT_VALUES, String, ''), (0, _defineProperty2.default)(_PROP_DEFAULT_VALUES, Number, 0), (0, _defineProperty2.default)(_PROP_DEFAULT_VALUES, Boolean, false), (0, _defineProperty2.default)(_PROP_DEFAULT_VALUES, Object, null), (0, _defineProperty2.default)(_PROP_DEFAULT_VALUES, Array, []), (0, _defineProperty2.default)(_PROP_DEFAULT_VALUES, null, null), _PROP_DEFAULT_VALUES); function getDefaultVal(propType) { return PROP_DEFAULT_VALUES[propType]; } function getPropertyVal(options) { if (isPlainObject(options)) { if (hasOwn(options, 'value')) { return options.value; } return getDefaultVal(options.type); } return getDefaultVal(options); } function getType(propOptions) { return isPlainObject(propOptions) ? propOptions.type : propOptions; } function validateProp(key, propsOptions, propsData, vm) { var value = propsData[key]; if (value !== undefined) { var propOptions = propsOptions[key]; var type = getType(propOptions); value = formatVal(value, type); var observer = propOptions && propOptions.observer; if (observer) { // 初始化时,异步触发 observer,否则 observer 中无法访问 methods 或其他 setTimeout(function () { observe(observer, vm, value); }, 4); } return value; } return getPropertyVal(propsOptions[key]); } function formatVal(val, type) { if (type === Boolean) { return !!val; } else if (type === String) { return String(val); } return val; } function observe(observer, vm, newVal, oldVal) { try { if (typeof observer === 'function') { observer.call(vm, newVal, oldVal); } else if (typeof observer === 'string' && typeof vm[observer] === 'function') { vm[observer](newVal, oldVal); } } catch (err) { console.error("execute observer ".concat(observer, " callback fail! err: ").concat(err)); } } function initProperties(vm, instanceData) { var properties = vm.$options.mpOptions.properties; if (!properties) { return; } var propsData = deepClone(vm.$options.propsData) || {}; var _loop = function _loop(key) { var observer = isPlainObject(properties[key]) ? properties[key].observer : false; var value = validateProp(key, properties, propsData, vm); Object.defineProperty(instanceData, key, { enumerable: true, configurable: true, get: function get() { return value; }, set: function set(newVal) { var oldVal = value; /* eslint-disable no-self-compare */ if (newVal === value || newVal !== newVal && value !== value) { return; } // TODO 临时方案,clone array value = Array.isArray(newVal) ? newVal.slice(0) : newVal; if (observer) { observe(observer, vm, newVal, oldVal); } // 触发渲染 vm.$forceUpdate(); } }); }; for (var key in properties) { _loop(key); } } function updateProperties(vm) { var properties = vm.$options.mpOptions && vm.$options.mpOptions.properties; var propsData = vm.$options.propsData; if (propsData && properties) { Object.keys(properties).forEach(function (key) { if (hasOwn(propsData, key)) { vm[key] = formatVal(propsData[key], getType(properties[key])); } }); } } function initState(vm) { var instanceData = JSON.parse(JSON.stringify(vm.$options.mpOptions.data || {})); vm[SOURCE_KEY] = instanceData; var propertyDefinition = { get: function get() { return vm[SOURCE_KEY]; }, set: function set(value) { vm[SOURCE_KEY] = value; } }; Object.defineProperties(vm, { data: propertyDefinition, properties: propertyDefinition }); vm.setData = setData; initProperties(vm, instanceData); Object.keys(instanceData).forEach(function (key) { proxy(vm, SOURCE_KEY, key); }); } function initMethods(vm) { var oldEmit = vm.$emit; vm.triggerEvent = function (eventName, detail, options) { var target = { dataset: vm.$el.dataset }; var event = { target: target, currentTarget: target, detail: detail, preventDefault: noop, stopPropagation: noop }; oldEmit.call(vm, eventName, event); }; // 主要是Vant 自己封装了 $emit,放到 methods 中会触发 Vue 的警告,索性,框架直接重写该方法 vm.$emit = function () { vm.triggerEvent.apply(vm, arguments); }; vm.getRelationNodes = function (relationKey) { // 需要过滤已被销毁的vm /* eslint-disable no-mixed-operators */ return (vm._$relationNodes && vm._$relationNodes[relationKey] || []).filter(function (vm) { return !vm._isDestroyed; }); }; vm._$updateProperties = updateProperties; } function handleObservers(vm) { var watch = vm.$options.watch; if (!watch) { return; } Object.keys(watch).forEach(function (name) { var observer = watch[name]; if (observer.mounted) { var val = vm[name]; var handler = observer.handler; if (typeof handler === 'string') { handler = vm[handler]; } handler && handler.call(vm, val, val); } }); } var polyfill = { beforeCreate: function beforeCreate() { // 取消 development 时的 Proxy,避免小程序组件模板中使用尚未定义的属性告警 this._renderProxy = this; this._$self = this; this._$noop = noop; }, created: function created() { // properties 中可能会访问 methods,故需要在 created 中初始化 initState(this); initMethods(this); initRelations(this); }, mounted: function mounted() { handleObservers(this); }, destroyed: function destroyed() { handleRelations(this, 'unlinked'); } }; global.__wxRoute = ''; global.__wxComponents = Object.create(null); global.__wxVueOptions = Object.create(null); function Page(options) { var pageOptions = parsePage(options); pageOptions.mixins.unshift(polyfill); pageOptions.mpOptions.path = global.__wxRoute; global.__wxComponents[global.__wxRoute] = pageOptions; } function initRelationsHandler(vueComponentOptions) { // linked 需要在当前组件 attached 之后再执行 if (!vueComponentOptions.onServiceAttached) { vueComponentOptions.onServiceAttached = []; } vueComponentOptions.onServiceAttached.push(function onServiceAttached() { handleRelations(this, 'linked'); }); } function Component(options) { var componentOptions = parseComponent(options); componentOptions.mixins.unshift(polyfill); componentOptions.mpOptions.path = global.__wxRoute; initRelationsHandler(componentOptions); global.__wxComponents[global.__wxRoute] = componentOptions; } function Behavior(options) { return options; } var nextTick = _vue.default.nextTick; exports.nextTick = nextTick; var index = uni.__$wx__; var _default = index; exports.default = _default; /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../../../webpack/buildin/global.js */ 51))) /***/ }), /* 111 */ /*!****************************************************************!*\ !*** ./node_modules/@babel/runtime/helpers/wrapNativeSuper.js ***! \****************************************************************/ /*! no static exports found */ /***/ (function(module, exports, __webpack_require__) { var getPrototypeOf = __webpack_require__(/*! ./getPrototypeOf.js */ 96); var setPrototypeOf = __webpack_require__(/*! ./setPrototypeOf.js */ 93); var isNativeFunction = __webpack_require__(/*! ./isNativeFunction.js */ 112); var construct = __webpack_require__(/*! ./construct.js */ 113); function _wrapNativeSuper(Class) { var _cache = typeof Map === "function" ? new Map() : undefined; module.exports = _wrapNativeSuper = function _wrapNativeSuper(Class) { if (Class === null || !isNativeFunction(Class)) return Class; if (typeof Class !== "function") { throw new TypeError("Super expression must either be null or a function"); } if (typeof _cache !== "undefined") { if (_cache.has(Class)) return _cache.get(Class); _cache.set(Class, Wrapper); } function Wrapper() { return construct(Class, arguments, getPrototypeOf(this).constructor); } Wrapper.prototype = Object.create(Class.prototype, { constructor: { value: Wrapper, enumerable: false, writable: true, configurable: true } }); return setPrototypeOf(Wrapper, Class); }, module.exports.__esModule = true, module.exports["default"] = module.exports; return _wrapNativeSuper(Class); } module.exports = _wrapNativeSuper, module.exports.__esModule = true, module.exports["default"] = module.exports; /***/ }), /* 112 */ /*!*****************************************************************!*\ !*** ./node_modules/@babel/runtime/helpers/isNativeFunction.js ***! \*****************************************************************/ /*! no static exports found */ /***/ (function(module, exports) { function _isNativeFunction(fn) { return Function.toString.call(fn).indexOf("[native code]") !== -1; } module.exports = _isNativeFunction, module.exports.__esModule = true, module.exports["default"] = module.exports; /***/ }), /* 113 */ /*!**********************************************************!*\ !*** ./node_modules/@babel/runtime/helpers/construct.js ***! \**********************************************************/ /*! no static exports found */ /***/ (function(module, exports, __webpack_require__) { var setPrototypeOf = __webpack_require__(/*! ./setPrototypeOf.js */ 93); var isNativeReflectConstruct = __webpack_require__(/*! ./isNativeReflectConstruct.js */ 114); function _construct(Parent, args, Class) { if (isNativeReflectConstruct()) { module.exports = _construct = Reflect.construct.bind(), module.exports.__esModule = true, module.exports["default"] = module.exports; } else { module.exports = _construct = function _construct(Parent, args, Class) { var a = [null]; a.push.apply(a, args); var Constructor = Function.bind.apply(Parent, a); var instance = new Constructor(); if (Class) setPrototypeOf(instance, Class.prototype); return instance; }, module.exports.__esModule = true, module.exports["default"] = module.exports; } return _construct.apply(null, arguments); } module.exports = _construct, module.exports.__esModule = true, module.exports["default"] = module.exports; /***/ }), /* 114 */ /*!*************************************************************************!*\ !*** ./node_modules/@babel/runtime/helpers/isNativeReflectConstruct.js ***! \*************************************************************************/ /*! no static exports found */ /***/ (function(module, exports) { function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } } module.exports = _isNativeReflectConstruct, module.exports.__esModule = true, module.exports["default"] = module.exports; /***/ }), /* 115 */ /*!*********************************************************************************!*\ !*** D:/项目文件/uniapp/Waterinvoice_uiapp/pages.json?{"type":"origin-pages-json"} ***! \*********************************************************************************/ /*! no static exports found */ /***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = void 0; var _default = { "easycom": { "autoscan": true, "custom": { "^uni-(.*)": "@dcloudio/uni-ui/lib/uni-$1/uni-$1.vue" } }, "pages": [{ "path": "pages/index/index", "style": { "navigationBarTitleText": "电子发票", "navigationBarBackgroundColor": "#000", "navigationBarTextStyle": "white" } }, { "path": "pages/Invoicing/Invoicing", "style": { "navigationBarTitleText": "开发票", "enablePullDownRefresh": false, "navigationBarBackgroundColor": "#000", "navigationBarTextStyle": "white" } }, { "path": "pages/Invoiced/Invoiced", "style": { "navigationBarTitleText": "查看已开发票", "enablePullDownRefresh": false, "navigationBarBackgroundColor": "#000", "navigationBarTextStyle": "white" } }, { "path": "pages/wxlogin/wxlogin", "style": { "navigationBarTitleText": "", "enablePullDownRefresh": false } }, { "path": "pages/wxlogin/registerphone", "style": { "navigationBarTitleText": "手机号绑定", "enablePullDownRefresh": false } }], "globalStyle": { "navigationBarTextStyle": "black", "navigationBarTitleText": "uni-app", "navigationBarBackgroundColor": "#F8F8F8", "backgroundColor": "#F8F8F8" }, "uniIdRouter": {} }; exports.default = _default; /***/ }), /* 116 */ /*!********************************************************************!*\ !*** D:/项目文件/uniapp/Waterinvoice_uiapp/pages.json?{"type":"stat"} ***! \********************************************************************/ /*! no static exports found */ /***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = void 0; var _default = { "appid": "__UNI__B09C167" }; exports.default = _default; /***/ }), /* 117 */ /*!*******************************************************************************************************************!*\ !*** D:/项目文件/uniapp/Waterinvoice_uiapp/node_modules/@dcloudio/uni-ui/lib/uni-data-checkbox/uni-data-checkbox.vue ***! \*******************************************************************************************************************/ /*! no static exports found */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony import */ var _uni_data_checkbox_vue_vue_type_template_id_57ccb15a___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./uni-data-checkbox.vue?vue&type=template&id=57ccb15a& */ 118); /* harmony import */ var _uni_data_checkbox_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./uni-data-checkbox.vue?vue&type=script&lang=js& */ 120); /* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _uni_data_checkbox_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 _uni_data_checkbox_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__[key]; }) }(__WEBPACK_IMPORT_KEY__)); /* harmony import */ var _C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/runtime/componentNormalizer.js */ 16); var renderjs /* normalize component */ var component = Object(_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_2__["default"])( _uni_data_checkbox_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__["default"], _uni_data_checkbox_vue_vue_type_template_id_57ccb15a___WEBPACK_IMPORTED_MODULE_0__["render"], _uni_data_checkbox_vue_vue_type_template_id_57ccb15a___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"], false, null, null, null, false, _uni_data_checkbox_vue_vue_type_template_id_57ccb15a___WEBPACK_IMPORTED_MODULE_0__["components"], renderjs ) component.options.__file = "node_modules/@dcloudio/uni-ui/lib/uni-data-checkbox/uni-data-checkbox.vue" /* harmony default export */ __webpack_exports__["default"] = (component.exports); /***/ }), /* 118 */ /*!**************************************************************************************************************************************************!*\ !*** D:/项目文件/uniapp/Waterinvoice_uiapp/node_modules/@dcloudio/uni-ui/lib/uni-data-checkbox/uni-data-checkbox.vue?vue&type=template&id=57ccb15a& ***! \**************************************************************************************************************************************************/ /*! exports provided: render, staticRenderFns, recyclableRender, components */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony import */ var _C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_11_0_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_filter_modules_template_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_uni_data_checkbox_vue_vue_type_template_id_57ccb15a___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!./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--11-0!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/filter-modules-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!./uni-data-checkbox.vue?vue&type=template&id=57ccb15a& */ 119); /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "render", function() { return _C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_11_0_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_filter_modules_template_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_uni_data_checkbox_vue_vue_type_template_id_57ccb15a___WEBPACK_IMPORTED_MODULE_0__["render"]; }); /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return _C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_11_0_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_filter_modules_template_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_uni_data_checkbox_vue_vue_type_template_id_57ccb15a___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"]; }); /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "recyclableRender", function() { return _C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_11_0_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_filter_modules_template_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_uni_data_checkbox_vue_vue_type_template_id_57ccb15a___WEBPACK_IMPORTED_MODULE_0__["recyclableRender"]; }); /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "components", function() { return _C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_11_0_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_filter_modules_template_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_uni_data_checkbox_vue_vue_type_template_id_57ccb15a___WEBPACK_IMPORTED_MODULE_0__["components"]; }); /***/ }), /* 119 */ /*!******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ !*** ./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--11-0!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/filter-modules-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!D:/项目文件/uniapp/Waterinvoice_uiapp/node_modules/@dcloudio/uni-ui/lib/uni-data-checkbox/uni-data-checkbox.vue?vue&type=template&id=57ccb15a& ***! \******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ /*! 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 = { uniLoadMore: __webpack_require__(/*! @dcloudio/uni-ui/lib/uni-load-more/uni-load-more.vue */ 56) .default, } } 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 return _c( "view", { staticClass: _vm._$s(0, "sc", "uni-data-checklist"), style: _vm._$s(0, "s", { "margin-top": _vm.isTop + "px" }), attrs: { _i: 0 }, }, [ _vm._$s(1, "i", !_vm.isLocal) ? [ _c( "view", { staticClass: _vm._$s(2, "sc", "uni-data-loading"), attrs: { _i: 2 }, }, [ _vm._$s(3, "i", !_vm.mixinDatacomErrorMessage) ? _c("uni-load-more", { attrs: { status: "loading", iconType: "snow", iconSize: 18, "content-text": _vm.contentText, _i: 3, }, }) : _c("text", [ _vm._v( _vm._$s(4, "t0-0", _vm._s(_vm.mixinDatacomErrorMessage)) ), ]), ], 1 ), ] : [ _vm._$s(6, "i", _vm.multiple) ? _c( "checkbox-group", { staticClass: _vm._$s(6, "sc", "checklist-group"), class: _vm._$s(6, "c", { "is-list": _vm.mode === "list" || _vm.wrap, }), attrs: { _i: 6 }, on: { change: _vm.change }, }, _vm._l( _vm._$s(7, "f", { forItems: _vm.dataList }), function (item, index, $20, $30) { return _c( "label", { key: _vm._$s(7, "f", { forIndex: $20, key: index }), staticClass: _vm._$s( "7-" + $30, "sc", "checklist-box" ), class: _vm._$s("7-" + $30, "c", [ "is--" + _vm.mode, item.selected ? "is-checked" : "", _vm.disabled || !!item.disabled ? "is-disable" : "", index !== 0 && _vm.mode === "list" ? "is-list-border" : "", ]), style: _vm._$s("7-" + $30, "s", item.styleBackgroud), attrs: { _i: "7-" + $30 }, }, [ _c("checkbox", { staticClass: _vm._$s("8-" + $30, "sc", "hidden"), attrs: { disabled: _vm._$s( "8-" + $30, "a-disabled", _vm.disabled || !!item.disabled ), value: _vm._$s( "8-" + $30, "a-value", item[_vm.map.value] + "" ), checked: _vm._$s( "8-" + $30, "a-checked", item.selected ), _i: "8-" + $30, }, }), _vm._$s( "9-" + $30, "i", (_vm.mode !== "tag" && _vm.mode !== "list") || (_vm.mode === "list" && _vm.icon === "left") ) ? _c( "view", { staticClass: _vm._$s( "9-" + $30, "sc", "checkbox__inner" ), style: _vm._$s( "9-" + $30, "s", item.styleIcon ), attrs: { _i: "9-" + $30 }, }, [ _c("view", { staticClass: _vm._$s( "10-" + $30, "sc", "checkbox__inner-icon" ), attrs: { _i: "10-" + $30 }, }), ] ) : _vm._e(), _c( "view", { staticClass: _vm._$s( "11-" + $30, "sc", "checklist-content" ), class: _vm._$s("11-" + $30, "c", { "list-content": _vm.mode === "list" && _vm.icon === "left", }), attrs: { _i: "11-" + $30 }, }, [ _c( "text", { staticClass: _vm._$s( "12-" + $30, "sc", "checklist-text" ), style: _vm._$s( "12-" + $30, "s", item.styleIconText ), attrs: { _i: "12-" + $30 }, }, [ _vm._v( _vm._$s( "12-" + $30, "t0-0", _vm._s(item[_vm.map.text]) ) ), ] ), _vm._$s( "13-" + $30, "i", _vm.mode === "list" && _vm.icon === "right" ) ? _c("view", { staticClass: _vm._$s( "13-" + $30, "sc", "checkobx__list" ), style: _vm._$s( "13-" + $30, "s", item.styleBackgroud ), attrs: { _i: "13-" + $30 }, }) : _vm._e(), ] ), ] ) } ), 0 ) : _c( "radio-group", { staticClass: _vm._$s(14, "sc", "checklist-group"), class: _vm._$s(14, "c", { "is-list": _vm.mode === "list", "is-wrap": _vm.wrap, }), attrs: { _i: 14 }, on: { change: _vm.change }, }, _vm._l( _vm._$s(15, "f", { forItems: _vm.dataList }), function (item, index, $21, $31) { return _c( "label", { key: _vm._$s(15, "f", { forIndex: $21, key: index }), staticClass: _vm._$s( "15-" + $31, "sc", "checklist-box" ), class: _vm._$s("15-" + $31, "c", [ "is--" + _vm.mode, item.selected ? "is-checked" : "", _vm.disabled || !!item.disabled ? "is-disable" : "", index !== 0 && _vm.mode === "list" ? "is-list-border" : "", ]), style: _vm._$s("15-" + $31, "s", item.styleBackgroud), attrs: { _i: "15-" + $31 }, }, [ _c("radio", { staticClass: _vm._$s("16-" + $31, "sc", "hidden"), attrs: { disabled: _vm._$s( "16-" + $31, "a-disabled", _vm.disabled || item.disabled ), value: _vm._$s( "16-" + $31, "a-value", item[_vm.map.value] + "" ), checked: _vm._$s( "16-" + $31, "a-checked", item.selected ), _i: "16-" + $31, }, }), _vm._$s( "17-" + $31, "i", (_vm.mode !== "tag" && _vm.mode !== "list") || (_vm.mode === "list" && _vm.icon === "left") ) ? _c( "view", { staticClass: _vm._$s( "17-" + $31, "sc", "radio__inner" ), style: _vm._$s( "17-" + $31, "s", item.styleBackgroud ), attrs: { _i: "17-" + $31 }, }, [ _c("view", { staticClass: _vm._$s( "18-" + $31, "sc", "radio__inner-icon" ), style: _vm._$s( "18-" + $31, "s", item.styleIcon ), attrs: { _i: "18-" + $31 }, }), ] ) : _vm._e(), _c( "view", { staticClass: _vm._$s( "19-" + $31, "sc", "checklist-content" ), class: _vm._$s("19-" + $31, "c", { "list-content": _vm.mode === "list" && _vm.icon === "left", }), attrs: { _i: "19-" + $31 }, }, [ _c( "text", { staticClass: _vm._$s( "20-" + $31, "sc", "checklist-text" ), style: _vm._$s( "20-" + $31, "s", item.styleIconText ), attrs: { _i: "20-" + $31 }, }, [ _vm._v( _vm._$s( "20-" + $31, "t0-0", _vm._s(item[_vm.map.text]) ) ), ] ), _vm._$s( "21-" + $31, "i", _vm.mode === "list" && _vm.icon === "right" ) ? _c("view", { staticClass: _vm._$s( "21-" + $31, "sc", "checkobx__list" ), style: _vm._$s( "21-" + $31, "s", item.styleRightIcon ), attrs: { _i: "21-" + $31 }, }) : _vm._e(), ] ), ] ) } ), 0 ), ], ], 2 ) } var recyclableRender = false var staticRenderFns = [] render._withStripped = true /***/ }), /* 120 */ /*!********************************************************************************************************************************************!*\ !*** D:/项目文件/uniapp/Waterinvoice_uiapp/node_modules/@dcloudio/uni-ui/lib/uni-data-checkbox/uni-data-checkbox.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 _C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_7_1_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_using_components_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_uni_data_checkbox_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!./node_modules/babel-loader/lib!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--7-1!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/using-components.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./uni-data-checkbox.vue?vue&type=script&lang=js& */ 121); /* harmony import */ var _C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_7_1_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_using_components_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_uni_data_checkbox_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_7_1_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_using_components_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_uni_data_checkbox_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__); /* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_7_1_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_using_components_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_uni_data_checkbox_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 _C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_7_1_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_using_components_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_uni_data_checkbox_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__)); /* harmony default export */ __webpack_exports__["default"] = (_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_7_1_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_using_components_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_uni_data_checkbox_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0___default.a); /***/ }), /* 121 */ /*!*************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ !*** ./node_modules/babel-loader/lib!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--7-1!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/using-components.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!D:/项目文件/uniapp/Waterinvoice_uiapp/node_modules/@dcloudio/uni-ui/lib/uni-data-checkbox/uni-data-checkbox.vue?vue&type=script&lang=js& ***! \*************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ /*! no static exports found */ /***/ (function(module, exports, __webpack_require__) { "use strict"; /* WEBPACK VAR INJECTION */(function(uniCloud) { Object.defineProperty(exports, "__esModule", { value: true }); exports.default = void 0; // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // /** * DataChecklist 数据选择器 * @description 通过数据渲染 checkbox 和 radio * @tutorial https://ext.dcloud.net.cn/plugin?id=xxx * @property {String} mode = [default| list | button | tag] 显示模式 * @value default 默认横排模式 * @value list 列表模式 * @value button 按钮模式 * @value tag 标签模式 * @property {Boolean} multiple = [true|false] 是否多选 * @property {Array|String|Number} value 默认值 * @property {Array} localdata 本地数据 ,格式 [{text:'',value:''}] * @property {Number|String} min 最小选择个数 ,multiple为true时生效 * @property {Number|String} max 最大选择个数 ,multiple为true时生效 * @property {Boolean} wrap 是否换行显示 * @property {String} icon = [left|right] list 列表模式下icon显示位置 * @property {Boolean} selectedColor 选中颜色 * @property {Boolean} emptyText 没有数据时显示的文字 ,本地数据无效 * @property {Boolean} selectedTextColor 选中文本颜色,如不填写则自动显示 * @property {Object} map 字段映射, 默认 map={text:'text',value:'value'} * @value left 左侧显示 * @value right 右侧显示 * @event {Function} change 选中发生变化触发 */ var _default2 = { name: 'uniDataChecklist', mixins: [uniCloud.mixinDatacom || {}], emits: ['input', 'update:modelValue', 'change'], props: { mode: { type: String, default: 'default' }, multiple: { type: Boolean, default: false }, value: { type: [Array, String, Number], default: function _default() { return ''; } }, // TODO vue3 modelValue: { type: [Array, String, Number], default: function _default() { return ''; } }, localdata: { type: Array, default: function _default() { return []; } }, min: { type: [Number, String], default: '' }, max: { type: [Number, String], default: '' }, wrap: { type: Boolean, default: false }, icon: { type: String, default: 'left' }, selectedColor: { type: String, default: '' }, selectedTextColor: { type: String, default: '' }, emptyText: { type: String, default: '暂无数据' }, disabled: { type: Boolean, default: false }, map: { type: Object, default: function _default() { return { text: 'text', value: 'value' }; } } }, watch: { localdata: { handler: function handler(newVal) { this.range = newVal; this.dataList = this.getDataList(this.getSelectedValue(newVal)); }, deep: true }, mixinDatacomResData: function mixinDatacomResData(newVal) { this.range = newVal; this.dataList = this.getDataList(this.getSelectedValue(newVal)); }, value: function value(newVal) { this.dataList = this.getDataList(newVal); // fix by mehaotian is_reset 在 uni-forms 中定义 // if(!this.is_reset){ // this.is_reset = false // this.formItem && this.formItem.setValue(newVal) // } }, modelValue: function modelValue(newVal) { this.dataList = this.getDataList(newVal); // if(!this.is_reset){ // this.is_reset = false // this.formItem && this.formItem.setValue(newVal) // } } }, data: function data() { return { dataList: [], range: [], contentText: { contentdown: '查看更多', contentrefresh: '加载中', contentnomore: '没有更多' }, isLocal: true, styles: { selectedColor: '#2979ff', selectedTextColor: '#666' }, isTop: 0 }; }, computed: { dataValue: function dataValue() { if (this.value === '') return this.modelValue; if (this.modelValue === '') return this.value; return this.value; } }, created: function created() { // this.form = this.getForm('uniForms') // this.formItem = this.getForm('uniFormsItem') // this.formItem && this.formItem.setValue(this.value) // if (this.formItem) { // this.isTop = 6 // if (this.formItem.name) { // // 如果存在name添加默认值,否则formData 中不存在这个字段不校验 // if(!this.is_reset){ // this.is_reset = false // this.formItem.setValue(this.dataValue) // } // this.rename = this.formItem.name // this.form.inputChildrens.push(this) // } // } if (this.localdata && this.localdata.length !== 0) { this.isLocal = true; this.range = this.localdata; this.dataList = this.getDataList(this.getSelectedValue(this.range)); } else { if (this.collection) { this.isLocal = false; this.loadData(); } } }, methods: { loadData: function loadData() { var _this = this; this.mixinDatacomGet().then(function (res) { _this.mixinDatacomResData = res.result.data; if (_this.mixinDatacomResData.length === 0) { _this.isLocal = false; _this.mixinDatacomErrorMessage = _this.emptyText; } else { _this.isLocal = true; } }).catch(function (err) { _this.mixinDatacomErrorMessage = err.message; }); }, /** * 获取父元素实例 */ getForm: function getForm() { var name = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 'uniForms'; var parent = this.$parent; var parentName = parent.$options.name; while (parentName !== name) { parent = parent.$parent; if (!parent) return false; parentName = parent.$options.name; } return parent; }, change: function change(e) { var _this2 = this; var values = e.detail.value; var detail = { value: [], data: [] }; if (this.multiple) { this.range.forEach(function (item) { if (values.includes(item[_this2.map.value] + '')) { detail.value.push(item[_this2.map.value]); detail.data.push(item); } }); } else { var range = this.range.find(function (item) { return item[_this2.map.value] + '' === values; }); if (range) { detail = { value: range[this.map.value], data: range }; } } // this.formItem && this.formItem.setValue(detail.value) // TODO 兼容 vue2 this.$emit('input', detail.value); // // TOTO 兼容 vue3 this.$emit('update:modelValue', detail.value); this.$emit('change', { detail: detail }); if (this.multiple) { // 如果 v-model 没有绑定 ,则走内部逻辑 // if (this.value.length === 0) { this.dataList = this.getDataList(detail.value, true); // } } else { this.dataList = this.getDataList(detail.value); } }, /** * 获取渲染的新数组 * @param {Object} value 选中内容 */ getDataList: function getDataList(value) { var _this3 = this; // 解除引用关系,破坏原引用关系,避免污染源数据 var dataList = JSON.parse(JSON.stringify(this.range)); var list = []; if (this.multiple) { if (!Array.isArray(value)) { value = []; } } dataList.forEach(function (item, index) { item.disabled = item.disable || item.disabled || false; if (_this3.multiple) { if (value.length > 0) { var have = value.find(function (val) { return val === item[_this3.map.value]; }); item.selected = have !== undefined; } else { item.selected = false; } } else { item.selected = value === item[_this3.map.value]; } list.push(item); }); return this.setRange(list); }, /** * 处理最大最小值 * @param {Object} list */ setRange: function setRange(list) { var _this4 = this; var selectList = list.filter(function (item) { return item.selected; }); var min = Number(this.min) || 0; var max = Number(this.max) || ''; list.forEach(function (item, index) { if (_this4.multiple) { if (selectList.length <= min) { var have = selectList.find(function (val) { return val[_this4.map.value] === item[_this4.map.value]; }); if (have !== undefined) { item.disabled = true; } } if (selectList.length >= max && max !== '') { var _have = selectList.find(function (val) { return val[_this4.map.value] === item[_this4.map.value]; }); if (_have === undefined) { item.disabled = true; } } } _this4.setStyles(item, index); list[index] = item; }); return list; }, /** * 设置 class * @param {Object} item * @param {Object} index */ setStyles: function setStyles(item, index) { // 设置自定义样式 item.styleBackgroud = this.setStyleBackgroud(item); item.styleIcon = this.setStyleIcon(item); item.styleIconText = this.setStyleIconText(item); item.styleRightIcon = this.setStyleRightIcon(item); }, /** * 获取选中值 * @param {Object} range */ getSelectedValue: function getSelectedValue(range) { var _this5 = this; if (!this.multiple) return this.dataValue; var selectedArr = []; range.forEach(function (item) { if (item.selected) { selectedArr.push(item[_this5.map.value]); } }); return this.dataValue.length > 0 ? this.dataValue : selectedArr; }, /** * 设置背景样式 */ setStyleBackgroud: function setStyleBackgroud(item) { var styles = {}; var selectedColor = this.selectedColor ? this.selectedColor : '#2979ff'; if (this.selectedColor) { if (this.mode !== 'list') { styles['border-color'] = item.selected ? selectedColor : '#DCDFE6'; } if (this.mode === 'tag') { styles['background-color'] = item.selected ? selectedColor : '#f5f5f5'; } } var classles = ''; for (var i in styles) { classles += "".concat(i, ":").concat(styles[i], ";"); } return classles; }, setStyleIcon: function setStyleIcon(item) { var styles = {}; var classles = ''; if (this.selectedColor) { var selectedColor = this.selectedColor ? this.selectedColor : '#2979ff'; styles['background-color'] = item.selected ? selectedColor : '#fff'; styles['border-color'] = item.selected ? selectedColor : '#DCDFE6'; if (!item.selected && item.disabled) { styles['background-color'] = '#F2F6FC'; styles['border-color'] = item.selected ? selectedColor : '#DCDFE6'; } } for (var i in styles) { classles += "".concat(i, ":").concat(styles[i], ";"); } return classles; }, setStyleIconText: function setStyleIconText(item) { var styles = {}; var classles = ''; if (this.selectedColor) { var selectedColor = this.selectedColor ? this.selectedColor : '#2979ff'; if (this.mode === 'tag') { styles.color = item.selected ? this.selectedTextColor ? this.selectedTextColor : '#fff' : '#666'; } else { styles.color = item.selected ? this.selectedTextColor ? this.selectedTextColor : selectedColor : '#666'; } if (!item.selected && item.disabled) { styles.color = '#999'; } } for (var i in styles) { classles += "".concat(i, ":").concat(styles[i], ";"); } return classles; }, setStyleRightIcon: function setStyleRightIcon(item) { var styles = {}; var classles = ''; if (this.mode === 'list') { styles['border-color'] = item.selected ? this.styles.selectedColor : '#DCDFE6'; } for (var i in styles) { classles += "".concat(i, ":").concat(styles[i], ";"); } return classles; } } }; exports.default = _default2; /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/vue-cli-plugin-uni/packages/uni-cloud/dist/index.js */ 109)["default"])) /***/ }), /* 122 */ /*!*****************************************************************************************************!*\ !*** D:/项目文件/uniapp/Waterinvoice_uiapp/node_modules/@dcloudio/uni-ui/lib/uni-combox/uni-combox.vue ***! \*****************************************************************************************************/ /*! no static exports found */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony import */ var _uni_combox_vue_vue_type_template_id_07722c66_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./uni-combox.vue?vue&type=template&id=07722c66&scoped=true& */ 123); /* harmony import */ var _uni_combox_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./uni-combox.vue?vue&type=script&lang=js& */ 125); /* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _uni_combox_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 _uni_combox_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__[key]; }) }(__WEBPACK_IMPORT_KEY__)); /* harmony import */ var _C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/runtime/componentNormalizer.js */ 16); var renderjs /* normalize component */ var component = Object(_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_2__["default"])( _uni_combox_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__["default"], _uni_combox_vue_vue_type_template_id_07722c66_scoped_true___WEBPACK_IMPORTED_MODULE_0__["render"], _uni_combox_vue_vue_type_template_id_07722c66_scoped_true___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"], false, null, "07722c66", null, false, _uni_combox_vue_vue_type_template_id_07722c66_scoped_true___WEBPACK_IMPORTED_MODULE_0__["components"], renderjs ) component.options.__file = "node_modules/@dcloudio/uni-ui/lib/uni-combox/uni-combox.vue" /* harmony default export */ __webpack_exports__["default"] = (component.exports); /***/ }), /* 123 */ /*!************************************************************************************************************************************************!*\ !*** D:/项目文件/uniapp/Waterinvoice_uiapp/node_modules/@dcloudio/uni-ui/lib/uni-combox/uni-combox.vue?vue&type=template&id=07722c66&scoped=true& ***! \************************************************************************************************************************************************/ /*! exports provided: render, staticRenderFns, recyclableRender, components */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony import */ var _C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_11_0_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_filter_modules_template_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_uni_combox_vue_vue_type_template_id_07722c66_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!./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--11-0!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/filter-modules-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!./uni-combox.vue?vue&type=template&id=07722c66&scoped=true& */ 124); /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "render", function() { return _C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_11_0_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_filter_modules_template_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_uni_combox_vue_vue_type_template_id_07722c66_scoped_true___WEBPACK_IMPORTED_MODULE_0__["render"]; }); /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return _C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_11_0_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_filter_modules_template_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_uni_combox_vue_vue_type_template_id_07722c66_scoped_true___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"]; }); /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "recyclableRender", function() { return _C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_11_0_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_filter_modules_template_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_uni_combox_vue_vue_type_template_id_07722c66_scoped_true___WEBPACK_IMPORTED_MODULE_0__["recyclableRender"]; }); /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "components", function() { return _C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_11_0_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_filter_modules_template_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_uni_combox_vue_vue_type_template_id_07722c66_scoped_true___WEBPACK_IMPORTED_MODULE_0__["components"]; }); /***/ }), /* 124 */ /*!****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ !*** ./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--11-0!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/filter-modules-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!D:/项目文件/uniapp/Waterinvoice_uiapp/node_modules/@dcloudio/uni-ui/lib/uni-combox/uni-combox.vue?vue&type=template&id=07722c66&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 = { uniIcons: __webpack_require__(/*! @dcloudio/uni-ui/lib/uni-icons/uni-icons.vue */ 10).default, } } 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 return _c( "view", { staticClass: _vm._$s(0, "sc", "uni-combox"), class: _vm._$s(0, "c", _vm.border ? "" : "uni-combox__no-border"), attrs: { _i: 0 }, }, [ _vm._$s(1, "i", _vm.label) ? _c( "view", { staticClass: _vm._$s(1, "sc", "uni-combox__label"), style: _vm._$s(1, "s", _vm.labelStyle), attrs: { _i: 1 }, }, [_c("text", [_vm._v(_vm._$s(2, "t0-0", _vm._s(_vm.label)))])] ) : _vm._e(), _c( "view", { staticClass: _vm._$s(3, "sc", "uni-combox__input-box"), attrs: { _i: 3 }, }, [ _c("input", { directives: [ { name: "model", rawName: "v-model", value: _vm.inputVal, expression: "inputVal", }, ], staticClass: _vm._$s(4, "sc", "uni-combox__input"), attrs: { placeholder: _vm._$s(4, "a-placeholder", _vm.placeholder), _i: 4, }, domProps: { value: _vm._$s(4, "v-model", _vm.inputVal) }, on: { input: [ function ($event) { if ($event.target.composing) { return } _vm.inputVal = $event.target.value }, _vm.onInput, ], focus: _vm.onFocus, blur: _vm.onBlur, }, }), _c("uni-icons", { attrs: { type: _vm.showSelector ? "top" : "bottom", size: "14", color: "#999", _i: 5, }, on: { click: _vm.toggleSelector }, }), ], 1 ), _vm._$s(6, "i", _vm.showSelector) ? _c( "view", { staticClass: _vm._$s(6, "sc", "uni-combox__selector"), attrs: { _i: 6 }, }, [ _c("view", { staticClass: _vm._$s(7, "sc", "uni-popper__arrow"), attrs: { _i: 7 }, }), _c( "scroll-view", { staticClass: _vm._$s(8, "sc", "uni-combox__selector-scroll"), attrs: { _i: 8 }, }, [ _vm._$s(9, "i", _vm.filterCandidatesLength === 0) ? _c( "view", { staticClass: _vm._$s( 9, "sc", "uni-combox__selector-empty" ), attrs: { _i: 9 }, }, [ _c("text", [ _vm._v(_vm._$s(10, "t0-0", _vm._s(_vm.emptyTips))), ]), ] ) : _vm._e(), _vm._l( _vm._$s(11, "f", { forItems: _vm.filterCandidates }), function (item, index, $20, $30) { return _c( "view", { key: _vm._$s(11, "f", { forIndex: $20, key: index }), staticClass: _vm._$s( "11-" + $30, "sc", "uni-combox__selector-item" ), attrs: { _i: "11-" + $30 }, on: { click: function ($event) { return _vm.onSelectorClick(index) }, }, }, [ _c("text", [ _vm._v(_vm._$s("12-" + $30, "t0-0", _vm._s(item))), ]), ] ) } ), ], 2 ), ] ) : _vm._e(), ] ) } var recyclableRender = false var staticRenderFns = [] render._withStripped = true /***/ }), /* 125 */ /*!******************************************************************************************************************************!*\ !*** D:/项目文件/uniapp/Waterinvoice_uiapp/node_modules/@dcloudio/uni-ui/lib/uni-combox/uni-combox.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 _C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_7_1_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_using_components_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_uni_combox_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!./node_modules/babel-loader/lib!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--7-1!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/using-components.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./uni-combox.vue?vue&type=script&lang=js& */ 126); /* harmony import */ var _C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_7_1_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_using_components_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_uni_combox_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_7_1_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_using_components_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_uni_combox_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__); /* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_7_1_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_using_components_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_uni_combox_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 _C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_7_1_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_using_components_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_uni_combox_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__)); /* harmony default export */ __webpack_exports__["default"] = (_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_7_1_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_using_components_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_uni_combox_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0___default.a); /***/ }), /* 126 */ /*!***********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ !*** ./node_modules/babel-loader/lib!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--7-1!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/using-components.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!D:/项目文件/uniapp/Waterinvoice_uiapp/node_modules/@dcloudio/uni-ui/lib/uni-combox/uni-combox.vue?vue&type=script&lang=js& ***! \***********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ /*! no static exports found */ /***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = void 0; // // // // // // // // // // // // // // // // // // // // // // // // // // // /** * Combox 组合输入框 * @description 组合输入框一般用于既可以输入也可以选择的场景 * @tutorial https://ext.dcloud.net.cn/plugin?id=1261 * @property {String} label 左侧文字 * @property {String} labelWidth 左侧内容宽度 * @property {String} placeholder 输入框占位符 * @property {Array} candidates 候选项列表 * @property {String} emptyTips 筛选结果为空时显示的文字 * @property {String} value 组合框的值 */ var _default2 = { name: 'uniCombox', emits: ['input', 'update:modelValue'], props: { border: { type: Boolean, default: true }, label: { type: String, default: '' }, labelWidth: { type: String, default: 'auto' }, placeholder: { type: String, default: '' }, candidates: { type: Array, default: function _default() { return []; } }, emptyTips: { type: String, default: '无匹配项' }, value: { type: [String, Number], default: '' } }, data: function data() { return { showSelector: false, inputVal: '' }; }, computed: { labelStyle: function labelStyle() { if (this.labelWidth === 'auto') { return ""; } return "width: ".concat(this.labelWidth); }, filterCandidates: function filterCandidates() { var _this = this; return this.candidates.filter(function (item) { return item.toString().indexOf(_this.inputVal) > -1; }); }, filterCandidatesLength: function filterCandidatesLength() { return this.filterCandidates.length; } }, watch: { value: { handler: function handler(newVal) { this.inputVal = newVal; }, immediate: true } }, methods: { toggleSelector: function toggleSelector() { this.showSelector = !this.showSelector; }, onFocus: function onFocus() { this.showSelector = true; }, onBlur: function onBlur() { var _this2 = this; setTimeout(function () { _this2.showSelector = false; }, 153); }, onSelectorClick: function onSelectorClick(index) { this.inputVal = this.filterCandidates[index]; this.showSelector = false; this.$emit('input', this.inputVal); this.$emit('update:modelValue', this.inputVal); }, onInput: function onInput() { var _this3 = this; setTimeout(function () { _this3.$emit('input', _this3.inputVal); _this3.$emit('update:modelValue', _this3.inputVal); }); } } }; exports.default = _default2; /***/ }), /* 127 */ /*!***********************************************************************************************************!*\ !*** D:/项目文件/uniapp/Waterinvoice_uiapp/node_modules/@dcloudio/uni-ui/lib/uni-easyinput/uni-easyinput.vue ***! \***********************************************************************************************************/ /*! no static exports found */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony import */ var _uni_easyinput_vue_vue_type_template_id_20076044___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./uni-easyinput.vue?vue&type=template&id=20076044& */ 128); /* harmony import */ var _uni_easyinput_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./uni-easyinput.vue?vue&type=script&lang=js& */ 130); /* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _uni_easyinput_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 _uni_easyinput_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__[key]; }) }(__WEBPACK_IMPORT_KEY__)); /* harmony import */ var _C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/runtime/componentNormalizer.js */ 16); var renderjs /* normalize component */ var component = Object(_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_2__["default"])( _uni_easyinput_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__["default"], _uni_easyinput_vue_vue_type_template_id_20076044___WEBPACK_IMPORTED_MODULE_0__["render"], _uni_easyinput_vue_vue_type_template_id_20076044___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"], false, null, null, null, false, _uni_easyinput_vue_vue_type_template_id_20076044___WEBPACK_IMPORTED_MODULE_0__["components"], renderjs ) component.options.__file = "node_modules/@dcloudio/uni-ui/lib/uni-easyinput/uni-easyinput.vue" /* harmony default export */ __webpack_exports__["default"] = (component.exports); /***/ }), /* 128 */ /*!******************************************************************************************************************************************!*\ !*** D:/项目文件/uniapp/Waterinvoice_uiapp/node_modules/@dcloudio/uni-ui/lib/uni-easyinput/uni-easyinput.vue?vue&type=template&id=20076044& ***! \******************************************************************************************************************************************/ /*! exports provided: render, staticRenderFns, recyclableRender, components */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony import */ var _C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_11_0_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_filter_modules_template_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_uni_easyinput_vue_vue_type_template_id_20076044___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!./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--11-0!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/filter-modules-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!./uni-easyinput.vue?vue&type=template&id=20076044& */ 129); /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "render", function() { return _C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_11_0_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_filter_modules_template_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_uni_easyinput_vue_vue_type_template_id_20076044___WEBPACK_IMPORTED_MODULE_0__["render"]; }); /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return _C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_11_0_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_filter_modules_template_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_uni_easyinput_vue_vue_type_template_id_20076044___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"]; }); /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "recyclableRender", function() { return _C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_11_0_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_filter_modules_template_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_uni_easyinput_vue_vue_type_template_id_20076044___WEBPACK_IMPORTED_MODULE_0__["recyclableRender"]; }); /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "components", function() { return _C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_11_0_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_filter_modules_template_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_uni_easyinput_vue_vue_type_template_id_20076044___WEBPACK_IMPORTED_MODULE_0__["components"]; }); /***/ }), /* 129 */ /*!**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ !*** ./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--11-0!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/filter-modules-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!D:/项目文件/uniapp/Waterinvoice_uiapp/node_modules/@dcloudio/uni-ui/lib/uni-easyinput/uni-easyinput.vue?vue&type=template&id=20076044& ***! \**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ /*! 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 = { uniIcons: __webpack_require__(/*! @dcloudio/uni-ui/lib/uni-icons/uni-icons.vue */ 10).default, } } 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 return _c( "view", { staticClass: _vm._$s(0, "sc", "uni-easyinput"), class: _vm._$s(0, "c", { "uni-easyinput-error": _vm.msg }), style: _vm._$s(0, "s", _vm.boxStyle), attrs: { _i: 0 }, }, [ _c( "view", { staticClass: _vm._$s(1, "sc", "uni-easyinput__content"), class: _vm._$s(1, "c", _vm.inputContentClass), style: _vm._$s(1, "s", _vm.inputContentStyle), attrs: { _i: 1 }, }, [ _vm._$s(2, "i", _vm.prefixIcon) ? _c("uni-icons", { staticClass: _vm._$s(2, "sc", "content-clear-icon"), attrs: { type: _vm.prefixIcon, color: "#c0c4cc", size: "22", _i: 2, }, on: { click: function ($event) { return _vm.onClickIcon("prefix") }, }, }) : _vm._e(), _vm._t("left", null, { _i: 3 }), _vm._$s(4, "i", _vm.type === "textarea") ? _c("textarea", { staticClass: _vm._$s( 4, "sc", "uni-easyinput__content-textarea" ), class: _vm._$s(4, "c", { "input-padding": _vm.inputBorder }), attrs: { name: _vm._$s(4, "a-name", _vm.name), value: _vm._$s(4, "a-value", _vm.val), placeholder: _vm._$s(4, "a-placeholder", _vm.placeholder), placeholderStyle: _vm._$s( 4, "a-placeholderStyle", _vm.placeholderStyle ), disabled: _vm._$s(4, "a-disabled", _vm.disabled), maxlength: _vm._$s(4, "a-maxlength", _vm.inputMaxlength), focus: _vm._$s(4, "a-focus", _vm.focused), autoHeight: _vm._$s(4, "a-autoHeight", _vm.autoHeight), "cursor-spacing": _vm._$s( 4, "a-cursor-spacing", _vm.cursorSpacing ), "adjust-position": _vm._$s( 4, "a-adjust-position", _vm.adjustPosition ), _i: 4, }, on: { input: _vm.onInput, blur: _vm._Blur, focus: _vm._Focus, confirm: _vm.onConfirm, keyboardheightchange: _vm.onkeyboardheightchange, }, }) : _c("input", { staticClass: _vm._$s(5, "sc", "uni-easyinput__content-input"), style: _vm._$s(5, "s", _vm.inputStyle), attrs: { type: _vm._$s( 5, "a-type", _vm.type === "password" ? "text" : _vm.type ), name: _vm._$s(5, "a-name", _vm.name), value: _vm._$s(5, "a-value", _vm.val), password: _vm._$s( 5, "a-password", !_vm.showPassword && _vm.type === "password" ), placeholder: _vm._$s(5, "a-placeholder", _vm.placeholder), placeholderStyle: _vm._$s( 5, "a-placeholderStyle", _vm.placeholderStyle ), disabled: _vm._$s(5, "a-disabled", _vm.disabled), maxlength: _vm._$s(5, "a-maxlength", _vm.inputMaxlength), focus: _vm._$s(5, "a-focus", _vm.focused), confirmType: _vm._$s(5, "a-confirmType", _vm.confirmType), "cursor-spacing": _vm._$s( 5, "a-cursor-spacing", _vm.cursorSpacing ), "adjust-position": _vm._$s( 5, "a-adjust-position", _vm.adjustPosition ), _i: 5, }, on: { focus: _vm._Focus, blur: _vm._Blur, input: _vm.onInput, confirm: _vm.onConfirm, keyboardheightchange: _vm.onkeyboardheightchange, }, }), _vm._$s(6, "i", _vm.type === "password" && _vm.passwordIcon) ? [ _vm._$s(7, "i", _vm.isVal) ? _c("uni-icons", { staticClass: _vm._$s(7, "sc", "content-clear-icon"), class: _vm._$s(7, "c", { "is-textarea-icon": _vm.type === "textarea", }), attrs: { type: _vm.showPassword ? "eye-slash-filled" : "eye-filled", size: 22, color: _vm.focusShow ? _vm.primaryColor : "#c0c4cc", _i: 7, }, on: { click: _vm.onEyes }, }) : _vm._e(), ] : _vm._e(), _vm._$s(8, "i", _vm.suffixIcon) ? [ _vm._$s(9, "i", _vm.suffixIcon) ? _c("uni-icons", { staticClass: _vm._$s(9, "sc", "content-clear-icon"), attrs: { type: _vm.suffixIcon, color: "#c0c4cc", size: "22", _i: 9, }, on: { click: function ($event) { return _vm.onClickIcon("suffix") }, }, }) : _vm._e(), ] : [ _vm._$s( 11, "i", _vm.clearable && _vm.isVal && !_vm.disabled && _vm.type !== "textarea" ) ? _c("uni-icons", { staticClass: _vm._$s(11, "sc", "content-clear-icon"), class: _vm._$s(11, "c", { "is-textarea-icon": _vm.type === "textarea", }), attrs: { type: "clear", size: _vm.clearSize, color: _vm.msg ? "#dd524d" : _vm.focusShow ? _vm.primaryColor : "#c0c4cc", _i: 11, }, on: { click: _vm.onClear }, }) : _vm._e(), ], _vm._t("right", null, { _i: 12 }), ], 2 ), ] ) } var recyclableRender = false var staticRenderFns = [] render._withStripped = true /***/ }), /* 130 */ /*!************************************************************************************************************************************!*\ !*** D:/项目文件/uniapp/Waterinvoice_uiapp/node_modules/@dcloudio/uni-ui/lib/uni-easyinput/uni-easyinput.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 _C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_7_1_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_using_components_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_uni_easyinput_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!./node_modules/babel-loader/lib!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--7-1!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/using-components.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./uni-easyinput.vue?vue&type=script&lang=js& */ 131); /* harmony import */ var _C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_7_1_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_using_components_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_uni_easyinput_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_7_1_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_using_components_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_uni_easyinput_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__); /* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_7_1_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_using_components_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_uni_easyinput_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 _C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_7_1_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_using_components_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_uni_easyinput_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__)); /* harmony default export */ __webpack_exports__["default"] = (_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_7_1_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_using_components_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_uni_easyinput_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0___default.a); /***/ }), /* 131 */ /*!*****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ !*** ./node_modules/babel-loader/lib!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--7-1!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/using-components.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!D:/项目文件/uniapp/Waterinvoice_uiapp/node_modules/@dcloudio/uni-ui/lib/uni-easyinput/uni-easyinput.vue?vue&type=script&lang=js& ***! \*****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ /*! no static exports found */ /***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = void 0; // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // /** * Easyinput 输入框 * @description 此组件可以实现表单的输入与校验,包括 "text" 和 "textarea" 类型。 * @tutorial https://ext.dcloud.net.cn/plugin?id=3455 * @property {String} value 输入内容 * @property {String } type 输入框的类型(默认text) password/text/textarea/.. * @value text 文本输入键盘 * @value textarea 多行文本输入键盘 * @value password 密码输入键盘 * @value number 数字输入键盘,注意iOS上app-vue弹出的数字键盘并非9宫格方式 * @value idcard 身份证输入键盘,信、支付宝、百度、QQ小程序 * @value digit 带小数点的数字键盘 ,App的nvue页面、微信、支付宝、百度、头条、QQ小程序支持 * @property {Boolean} clearable 是否显示右侧清空内容的图标控件,点击可清空输入框内容(默认true) * @property {Boolean} autoHeight 是否自动增高输入区域,type为textarea时有效(默认true) * @property {String } placeholder 输入框的提示文字 * @property {String } placeholderStyle placeholder的样式(内联样式,字符串),如"color: #ddd" * @property {Boolean} focus 是否自动获得焦点(默认false) * @property {Boolean} disabled 是否禁用(默认false) * @property {Number } maxlength 最大输入长度,设置为 -1 的时候不限制最大长度(默认140) * @property {String } confirmType 设置键盘右下角按钮的文字,仅在type="text"时生效(默认done) * @property {Number } clearSize 清除图标的大小,单位px(默认15) * @property {String} prefixIcon 输入框头部图标 * @property {String} suffixIcon 输入框尾部图标 * @property {String} primaryColor 设置主题色(默认#2979ff) * @property {Boolean} trim 是否自动去除两端的空格 * @property {Boolean} cursorSpacing 指定光标与键盘的距离,单位 px * @property {Boolean} ajust-position 当键盘弹起时,是否上推内容,默认值:true * @value both 去除两端空格 * @value left 去除左侧空格 * @value right 去除右侧空格 * @value start 去除左侧空格 * @value end 去除右侧空格 * @value all 去除全部空格 * @value none 不去除空格 * @property {Boolean} inputBorder 是否显示input输入框的边框(默认true) * @property {Boolean} passwordIcon type=password时是否显示小眼睛图标 * @property {Object} styles 自定义颜色 * @event {Function} input 输入框内容发生变化时触发 * @event {Function} focus 输入框获得焦点时触发 * @event {Function} blur 输入框失去焦点时触发 * @event {Function} confirm 点击完成按钮时触发 * @event {Function} iconClick 点击图标时触发 * @example */ function obj2strClass(obj) { var classess = ''; for (var key in obj) { var val = obj[key]; if (val) { classess += "".concat(key, " "); } } return classess; } function obj2strStyle(obj) { var style = ''; for (var key in obj) { var val = obj[key]; style += "".concat(key, ":").concat(val, ";"); } return style; } var _default2 = { name: 'uni-easyinput', emits: ['click', 'iconClick', 'update:modelValue', 'input', 'focus', 'blur', 'confirm', 'clear', 'eyes', 'change', 'keyboardheightchange'], model: { prop: 'modelValue', event: 'update:modelValue' }, options: { virtualHost: true }, inject: { form: { from: 'uniForm', default: null }, formItem: { from: 'uniFormItem', default: null } }, props: { name: String, value: [Number, String], modelValue: [Number, String], type: { type: String, default: 'text' }, clearable: { type: Boolean, default: true }, autoHeight: { type: Boolean, default: false }, placeholder: { type: String, default: ' ' }, placeholderStyle: String, focus: { type: Boolean, default: false }, disabled: { type: Boolean, default: false }, maxlength: { type: [Number, String], default: 140 }, confirmType: { type: String, default: 'done' }, clearSize: { type: [Number, String], default: 24 }, inputBorder: { type: Boolean, default: true }, prefixIcon: { type: String, default: '' }, suffixIcon: { type: String, default: '' }, trim: { type: [Boolean, String], default: false }, cursorSpacing: { type: Number, default: 0 }, passwordIcon: { type: Boolean, default: true }, adjustPosition: { type: Boolean, default: true }, primaryColor: { type: String, default: '#2979ff' }, styles: { type: Object, default: function _default() { return { color: '#333', backgroundColor: '#fff', disableColor: '#F7F6F6', borderColor: '#e5e5e5' }; } }, errorMessage: { type: [String, Boolean], default: '' } }, data: function data() { return { focused: false, val: '', showMsg: '', border: false, isFirstBorder: false, showClearIcon: false, showPassword: false, focusShow: false, localMsg: '', isEnter: false // 用于判断当前是否是使用回车操作 }; }, computed: { // 输入框内是否有值 isVal: function isVal() { var val = this.val; // fixed by mehaotian 处理值为0的情况,字符串0不在处理范围 if (val || val === 0) { return true; } return false; }, msg: function msg() { // console.log('computed', this.form, this.formItem); // if (this.form) { // return this.errorMessage || this.formItem.errMsg; // } // TODO 处理头条 formItem 中 errMsg 不更新的问题 return this.localMsg || this.errorMessage; }, // 因为uniapp的input组件的maxlength组件必须要数值,这里转为数值,用户可以传入字符串数值 inputMaxlength: function inputMaxlength() { return Number(this.maxlength); }, // 处理外层样式的style boxStyle: function boxStyle() { return "color:".concat(this.inputBorder && this.msg ? '#e43d33' : this.styles.color, ";"); }, // input 内容的类和样式处理 inputContentClass: function inputContentClass() { return obj2strClass({ 'is-input-border': this.inputBorder, 'is-input-error-border': this.inputBorder && this.msg, 'is-textarea': this.type === 'textarea', 'is-disabled': this.disabled, 'is-focused': this.focusShow }); }, inputContentStyle: function inputContentStyle() { var focusColor = this.focusShow ? this.primaryColor : this.styles.borderColor; var borderColor = this.inputBorder && this.msg ? '#dd524d' : focusColor; return obj2strStyle({ 'border-color': borderColor || '#e5e5e5', 'background-color': this.disabled ? this.styles.disableColor : this.styles.backgroundColor }); }, // input右侧样式 inputStyle: function inputStyle() { var paddingRight = this.type === 'password' || this.clearable || this.prefixIcon ? '' : '10px'; return obj2strStyle({ 'padding-right': paddingRight, 'padding-left': this.prefixIcon ? '' : '10px' }); } }, watch: { value: function value(newVal) { this.val = newVal; }, modelValue: function modelValue(newVal) { this.val = newVal; }, focus: function focus(newVal) { var _this = this; this.$nextTick(function () { _this.focused = _this.focus; _this.focusShow = _this.focus; }); } }, created: function created() { var _this2 = this; this.init(); // TODO 处理头条vue3 computed 不监听 inject 更改的问题(formItem.errMsg) if (this.form && this.formItem) { this.$watch('formItem.errMsg', function (newVal) { _this2.localMsg = newVal; }); } }, mounted: function mounted() { var _this3 = this; this.$nextTick(function () { _this3.focused = _this3.focus; _this3.focusShow = _this3.focus; }); }, methods: { /** * 初始化变量值 */ init: function init() { if (this.value || this.value === 0) { this.val = this.value; } else if (this.modelValue || this.modelValue === 0 || this.modelValue === '') { this.val = this.modelValue; } else { this.val = null; } }, /** * 点击图标时触发 * @param {Object} type */ onClickIcon: function onClickIcon(type) { this.$emit('iconClick', type); }, /** * 显示隐藏内容,密码框时生效 */ onEyes: function onEyes() { this.showPassword = !this.showPassword; this.$emit('eyes', this.showPassword); }, /** * 输入时触发 * @param {Object} event */ onInput: function onInput(event) { var value = event.detail.value; // 判断是否去除空格 if (this.trim) { if (typeof this.trim === 'boolean' && this.trim) { value = this.trimStr(value); } if (typeof this.trim === 'string') { value = this.trimStr(value, this.trim); } } if (this.errMsg) this.errMsg = ''; this.val = value; // TODO 兼容 vue2 this.$emit('input', value); // TODO 兼容 vue3 this.$emit('update:modelValue', value); }, /** * 外部调用方法 * 获取焦点时触发 * @param {Object} event */ onFocus: function onFocus() { var _this4 = this; this.$nextTick(function () { _this4.focused = true; }); this.$emit('focus', null); }, _Focus: function _Focus(event) { this.focusShow = true; this.$emit('focus', event); }, /** * 外部调用方法 * 失去焦点时触发 * @param {Object} event */ onBlur: function onBlur() { this.focused = false; this.$emit('blur', null); }, _Blur: function _Blur(event) { var value = event.detail.value; this.focusShow = false; this.$emit('blur', event); // 根据类型返回值,在event中获取的值理论上讲都是string if (this.isEnter === false) { this.$emit('change', this.val); } // 失去焦点时参与表单校验 if (this.form && this.formItem) { var validateTrigger = this.form.validateTrigger; if (validateTrigger === 'blur') { this.formItem.onFieldChange(); } } }, /** * 按下键盘的发送键 * @param {Object} e */ onConfirm: function onConfirm(e) { var _this5 = this; this.$emit('confirm', this.val); this.isEnter = true; this.$emit('change', this.val); this.$nextTick(function () { _this5.isEnter = false; }); }, /** * 清理内容 * @param {Object} event */ onClear: function onClear(event) { this.val = ''; // TODO 兼容 vue2 this.$emit('input', ''); // TODO 兼容 vue2 // TODO 兼容 vue3 this.$emit('update:modelValue', ''); // 点击叉号触发 this.$emit('clear'); }, /** * 键盘高度发生变化的时候触发此事件 * 兼容性:微信小程序2.7.0+、App 3.1.0+ * @param {Object} event */ onkeyboardheightchange: function onkeyboardheightchange(event) { this.$emit('keyboardheightchange', event); }, /** * 去除空格 */ trimStr: function trimStr(str) { var pos = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'both'; if (pos === 'both') { return str.trim(); } else if (pos === 'left') { return str.trimLeft(); } else if (pos === 'right') { return str.trimRight(); } else if (pos === 'start') { return str.trimStart(); } else if (pos === 'end') { return str.trimEnd(); } else if (pos === 'all') { return str.replace(/\s+/g, ''); } else if (pos === 'none') { return str; } return str; } } }; exports.default = _default2; /***/ }), /* 132 */ /*!***********************************************************************************************************!*\ !*** D:/项目文件/uniapp/Waterinvoice_uiapp/pages/Invoicing/Invoicing.vue?vue&type=script&lang=js&mpType=page ***! \***********************************************************************************************************/ /*! no static exports found */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_7_1_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_using_components_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Invoicing_vue_vue_type_script_lang_js_mpType_page__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!./node_modules/babel-loader/lib!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--7-1!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/using-components.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./Invoicing.vue?vue&type=script&lang=js&mpType=page */ 133);\n/* harmony import */ var _C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_7_1_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_using_components_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Invoicing_vue_vue_type_script_lang_js_mpType_page__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_7_1_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_using_components_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Invoicing_vue_vue_type_script_lang_js_mpType_page__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_7_1_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_using_components_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Invoicing_vue_vue_type_script_lang_js_mpType_page__WEBPACK_IMPORTED_MODULE_0__) if([\"default\"].indexOf(__WEBPACK_IMPORT_KEY__) < 0) (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_7_1_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_using_components_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Invoicing_vue_vue_type_script_lang_js_mpType_page__WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__));\n /* harmony default export */ __webpack_exports__[\"default\"] = (_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_7_1_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_using_components_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Invoicing_vue_vue_type_script_lang_js_mpType_page__WEBPACK_IMPORTED_MODULE_0___default.a); //# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbbnVsbF0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBO0FBQUE7QUF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b2FkZXJcXFxcdXNpbmctY29tcG9uZW50cy5qcyFDOlxcXFxVc2Vyc1xcXFxBZG1pbmlzdHJhdG9yXFxcXERvd25sb2Fkc1xcXFxIQnVpbGRlclguMy44LjQuMjAyMzA1MzFcXFxcSEJ1aWxkZXJYXFxcXHBsdWdpbnNcXFxcdW5pYXBwLWNsaVxcXFxub2RlX21vZHVsZXNcXFxcQGRjbG91ZGlvXFxcXHZ1ZS1jbGktcGx1Z2luLXVuaVxcXFxwYWNrYWdlc1xcXFx2dWUtbG9hZGVyXFxcXGxpYlxcXFxpbmRleC5qcz8/dnVlLWxvYWRlci1vcHRpb25zIS4vSW52b2ljaW5nLnZ1ZT92dWUmdHlwZT1zY3JpcHQmbGFuZz1qcyZtcFR5cGU9cGFnZVwiIl0sInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///132\n"); /***/ }), /* 133 */ /*!****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ !*** ./node_modules/babel-loader/lib!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--7-1!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/using-components.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!D:/项目文件/uniapp/Waterinvoice_uiapp/pages/Invoicing/Invoicing.vue?vue&type=script&lang=js&mpType=page ***! \****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ /*! no static exports found */ /***/ (function(module, exports, __webpack_require__) { "use strict"; eval("/* WEBPACK VAR INJECTION */(function(wx, __f__) {\n\nvar _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 1);\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar _api = _interopRequireDefault(__webpack_require__(/*! @/common/js/api.js */ 79));\nvar _wxApi = _interopRequireDefault(__webpack_require__(/*! @/common/js/wxApi.js */ 134));\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\nvar _default = {\n data: function data() {\n var currentDate = this.getDate({\n format: true\n });\n return {\n date: currentDate,\n // 表单数据\n list1: {\n project_id: '',\n //开票项目 \n pucode_id: '',\n //用户编号id\n merge: '',\n //合并开票\n expire_time: '',\n //到期时间\n email: '',\n //邮箱\n phone: '' //手机号\n },\n\n // 抬头信息\n list2: {\n type: '',\n //抬头类型 \n title: '',\n //抬头名称\n tax_number: '',\n //税号\n address: '',\n //地址\n telephone: '',\n //电话\n bank_name: '',\n //开户行\n bank_account: '' //账户\n },\n\n amount: 9,\n //开票总金额\n // 开票信息手机号输入颜色\n styles: {\n color: \"#d5213c\"\n },\n // 步骤条数据\n stepsIndex: 1,\n // 步骤条的名称\n stepsDatas: [{\n text: '开票信息'\n }, {\n text: '抬头信息'\n }, {\n text: '提交申请'\n }],\n // 开票下拉框数据列表\n range: [],\n // 提交申请的抬头类型\n headerType1: [{\n text: '单位',\n value: '0',\n disable: true\n }, {\n text: '个人',\n value: '1',\n disable: true\n }],\n // 抬头信息的抬头类型\n headerType: [{\n text: '单位',\n value: '0'\n }, {\n text: '个人',\n value: '1'\n }],\n // 用户编号数据列表\n candidates: [],\n //合并开票\n mergelist: [{\n text: '不合并',\n value: '0'\n }, {\n text: '合并',\n value: '1'\n }],\n form1: {},\n form2: {}\n };\n },\n onLoad: function onLoad() {\n this.dropdown();\n },\n methods: {\n // 获取开票信息的下拉数据\n dropdown: function dropdown() {\n var _this = this;\n _api.default.getApplyData({}, function (res) {\n _this.range = res.data.project_arr;\n _this.candidates.push(res.data.pucode);\n });\n },\n // 把开票项目的 value 换成 名称显示\n project_id1: function project_id1(num) {\n var name = \"\";\n this.range.forEach(function (item) {\n if (item.value == num) {\n name = item.text;\n }\n });\n return name;\n },\n // 上一步,下一步\n changeSteps: function changeSteps(evt) {\n var type = evt.currentTarget.dataset.type;\n if (type == \"prev\") {\n if (this.stepsIndex > 0) {\n this.stepsIndex = this.stepsIndex - 1;\n } else {\n this.$tip.toast(\"已经是初始位置\", \"none\");\n }\n } else {\n if (this.stepsIndex < this.stepsDatas.length - 1) {\n this.stepsIndex = this.stepsIndex + 1;\n this.nextstep();\n } else {\n this.$tip.toast(\"已经是最后一个\", \"none\");\n }\n }\n },\n // 进行判断每一步的验证\n nextstep: function nextstep() {\n if (this.stepsIndex == 1) {\n if (!this.list1.project_id) {\n uni.showToast({\n title: '请选择开票项目',\n icon: 'none'\n });\n this.stepsIndex = 0;\n return;\n }\n if (!this.list1.merge) {\n uni.showToast({\n title: '请选择是否合并开票',\n icon: 'none'\n });\n this.stepsIndex = 0;\n return;\n }\n if (!this.list1.pucode_id) {\n uni.showToast({\n title: '请选择或输入用户编号',\n icon: 'none'\n });\n this.stepsIndex = 0;\n return;\n }\n if (!this.list1.expire_time) {\n uni.showToast({\n title: '请选择到期时间',\n icon: 'none'\n });\n this.stepsIndex = 0;\n return;\n }\n if (!this.list1.phone) {\n uni.showToast({\n title: '请输入手机号',\n icon: 'none'\n });\n this.stepsIndex = 0;\n return;\n }\n if (!this.list1.email) {\n uni.showToast({\n title: '请输入邮箱号',\n icon: 'none'\n });\n this.stepsIndex = 0;\n return;\n }\n this.form1 = this.$refs.form.modelValue;\n }\n if (this.stepsIndex == 2) {\n if (!this.list2.type) {\n uni.showToast({\n title: '请选择抬头类型',\n icon: 'none'\n });\n this.stepsIndex = 1;\n return;\n }\n if (!this.list2.title) {\n uni.showToast({\n title: '请输入抬头名称',\n icon: 'none'\n });\n this.stepsIndex = 1;\n return;\n }\n if (!this.list2.tax_number) {\n uni.showToast({\n title: '请输入税号',\n icon: 'none'\n });\n this.stepsIndex = 1;\n return;\n }\n if (this.list2.type == '1') {\n this.list2.address = \"\";\n this.list2.telephone = \"\";\n this.list2.bank_name = \"\";\n this.list2.bank_account = \"\";\n }\n this.form2 = this.$refs.form1.modelValue;\n }\n },\n // 获取日期值\n bindDateChange: function bindDateChange(e) {\n // let value = e.detail.value;\n // this.list1.expire_time = value.replace(/-/g, '');\n this.list1.expire_time = e.detail.value;\n },\n // 限制手机号\n onInput: function onInput(event) {\n // 使用正则表达式过滤非数字字符\n var phonePattern = /^1[3-9]\\d{9}$/;\n if (!phonePattern.test(event.detail.value) && event.detail.value) {\n uni.showToast({\n title: '您输入的手机号格式有误',\n icon: 'none'\n });\n this.list1.phone = ''; // 清空输入框\n } else {\n this.list1.phone = event.detail.value;\n }\n },\n // 限制邮箱\n validateEmail: function validateEmail(event) {\n var emailPattern = /^[a-zA-Z0-9._-]+@[a-zA-Z0-9.-]+\\.[a-zA-Z]{2,4}$/;\n if (!emailPattern.test(event.detail.value) && event.detail.value) {\n uni.showToast({\n title: '请输入有效的邮箱地址',\n icon: 'none'\n });\n this.list1.email = ''; // 清空输入框\n } else {\n this.list1.email = event.detail.value;\n }\n },\n // 限制税号\n taxiD: function taxiD(event) {\n var taxiD1 = /^([A-Z0-9]{18})$/;\n if (!taxiD1.test(event.detail.value) && event.detail.value) {\n uni.showToast({\n title: '请输入有效的税号',\n icon: 'none'\n });\n this.list2.tax_number = ''; // 清空输入框\n } else {\n this.list2.tax_number = event.detail.value;\n }\n },\n // 显示日期\n getDate: function getDate(type) {\n var date = new Date();\n var year = date.getFullYear();\n var month = date.getMonth() + 1;\n var day = date.getDate();\n if (type === 'start') {\n year = year - 60;\n } else if (type === 'end') {\n year = year + 2;\n }\n month = month > 9 ? month : '0' + month;\n day = day > 9 ? day : '0' + day;\n return \"\".concat(year).concat(month).concat(day);\n },\n //获取抬头\n Obtain: function Obtain() {\n var _this2 = this;\n wx.chooseInvoiceTitle({\n success: function success(res) {\n _this2.list2.type = res.type;\n _this2.list2.title = res.title;\n _this2.list2.address = res.address;\n _this2.list2.telephone = res.telephone;\n _this2.list2.bank_name = res.bank_name;\n _this2.list2.bank_account = res.bank_account;\n __f__(\"log\", '发票抬头信息:', res, \" at pages/Invoicing/Invoicing.vue:348\");\n },\n fail: function fail(err) {\n __f__(\"error\", '获取发票抬头失败:', err, \" at pages/Invoicing/Invoicing.vue:351\");\n }\n });\n },\n // 数据提交\n submitForm: function submitForm() {\n var list1 = this.form1;\n var list2 = this.form2;\n var url = '/api/invoiceIssuance/add';\n var data = {\n project_id: list1.project_id,\n pucode_id: list1.pucode_id,\n expire_time: list1.expire_time,\n mobile: +list1.phone,\n // + 是为了把字符串转换为数字类型,因为组件不好设置数字类型\n email: list1.email,\n merge: +list1.merge,\n type: +list2.type,\n title: list2.title,\n tax_number: list2.tax_number,\n address: list2.address,\n telephone: list2.telephone,\n bank_name: list2.bank_name,\n bank_account: list2.bank_account,\n amount: this.amount\n };\n _api.default.request(url, data, function (res) {\n if (res.code == 1) {\n uni.showToast({\n title: '开票申请完成',\n icon: 'none'\n });\n setTimeout(function () {\n uni.redirectTo({\n url: \"/pages/Invoiced/Invoiced?bool=\".concat(true)\n });\n }, 2000);\n }\n });\n }\n }\n};\nexports.default = _default;\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! @dcloudio/uni-mp-weixin/dist/mp.js */ 110)[\"default\"], __webpack_require__(/*! ./node_modules/@dcloudio/vue-cli-plugin-uni/lib/format-log.js */ 73)[\"default\"]))//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInVuaS1hcHA6Ly8vRDov6aG555uu5paH5Lu2L3VuaW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3I6ICM4MDgwODA7XHJcblx0Ym9yZGVyOiAycnB4IHNvbGlkICNkMWQxZDE7XHJcblx0YmFja2dyb3VuZC1jb2xvcjogI2VmZWZlZjtcclxuICB9XG59XG5cbi5qdXN0aWZ5LWVuZCB7XG4gIHBvc2l0aW9uOiByZWxhdGl2ZTtcblxuICAuYm90dG9tLW5leHQge1xuICAgIHBvc2l0aW9uOiBhYnNvbHV0ZTtcbiAgICB0b3A6IDEwMHJweDtcbiAgfVxufVxyXG5cclxuLnBhZGRpbmd7XHJcblx0cGFkZGluZzogMjVycHg7XHJcbn1cclxuXHJcbi9kZWVwLy51bmktc2VsZWN0e1xyXG5cdGJvcmRlcjogMHB4O1xyXG59XHJcbi9kZWVwLy51bmktZm9ybXMtaXRlbXtcclxuXHRwYWRkaW5nOiA1cnB4IDBweDtcclxuXHRtYXJnaW46IDBycHggMjVycHg7XHJcblx0Ym9yZGVyLWJvdHRvbTogMnJweCBzb2xpZCAjZjRmNGY0O1xyXG59XHJcbi9kZWVwLy51bmktZGF0YS1jaGVja2xpc3QgLmNoZWNrbGlzdC1ncm91cHtcclxuXHRoZWlnaHQ6IDcycnB4O1xyXG59XHJcbi51bmktZm9ybXMtaXRlbV9fbGFiZWx7XHJcblx0d2lkdGg6IDE2MHJweCAhaW1wb3J0YW50O1xyXG59XG48L3N0eWxlPlxuIl0sInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///133\n"); /***/ }), /* 134 */ /*!************************************************************!*\ !*** D:/项目文件/uniapp/Waterinvoice_uiapp/common/js/wxApi.js ***! \************************************************************/ /*! no static exports found */ /***/ (function(module, exports, __webpack_require__) { "use strict"; eval("/* WEBPACK VAR INJECTION */(function(__f__) {\n\nvar _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 1);\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar _api = _interopRequireDefault(__webpack_require__(/*! @/common/js/api.js */ 79));\nvar wxApi = {\n /**\r\n * [wxRegister 微信Api初始化]\r\n */\n wxRegister: function wxRegister(callback) {\n var _this = this;\n // const u = 'https://intp.xingtongworld.com/wechat/#/'\n var signUrl = encodeURIComponent(location.href.split(\"#\")[0]);\n // let signUrl = u.split(\"#\")[0];\n var jsApiList = [\"chooseInvoiceTitle\"];\n // 接口请求传入路径\n _api.default.getJsSdkData({\n url: signUrl\n }, function (res) {\n jWeixin.config({\n beta: true,\n //用于方法未对外公开的情况\n debug: true,\n // 开启调试模式\n appId: res.data.appId,\n // 必填,公众号的唯一标识\n timestamp: res.data.timestamp,\n // 必填,生成签名的时间戳\n nonceStr: res.data.nonceStr,\n // 必填,生成签名的随机串\n signature: res.data.signature,\n // 必填,签名\n jsApiList: jsApiList // 必填,需要使用的JS接口列表\n // openTagList:['wx-open-launch-weapp','wx-open-subscribe']\n });\n\n jWeixin.ready(function () {\n callback && callback();\n });\n jWeixin.error(function (optinos) {\n // config信息验证失败会执行error函数,\n //如签名过期导致验证失败,具体错误信息可以打开config的debug模式查看,\n //也可以在返回的res参数中查看,对于SPA可以在这里更新签名。\n __f__(\"log\", optinos, 'optinos', \" at common/js/wxApi.js:31\");\n // console.log(optinos, 'optinos')\n // App.showError(optinos.errMsg)\n });\n });\n }\n};\nvar _default = wxApi;\nexports.default = _default;\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/vue-cli-plugin-uni/lib/format-log.js */ 73)[\"default\"]))//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInVuaS1hcHA6Ly8vRDov6aG555uu5paH5Lu2L3VuaWFwcC9XYXRlcmludm9pY2VfdWlhcHAvY29tbW9uL2pzL3d4QXBpLmpzIl0sIm5hbWVzIjpbInd4QXBpIiwid3hSZWdpc3RlciIsImNhbGxiYWNrIiwiX3RoaXMiLCJzaWduVXJsIiwiZW5jb2RlVVJJQ29tcG9uZW50Iiwib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vvOiHtOmqjOivgeWksei0pe+8jOWFt+S9k+mUmeivr+S/oeaBr+WPr+S7peaJk+W8gGNvbmZpZ+eahGRlYnVn5qih5byP5p+l55yL77yMXHJcblx0XHRcdFx0Ly/kuZ/lj6/ku6XlnKjov5Tlm57nmoRyZXPlj4LmlbDkuK3mn6XnnIvvvIzlr7nkuo5TUEHlj6/ku6XlnKjov5nph4zmm7TmlrDnrb7lkI3jgIJcclxuXHRcdFx0XHRjb25zb2xlLmxvZyhvcHRpbm9zLCAnb3B0aW5vcycpXHJcblx0XHRcdFx0Ly8gY29uc29sZS5sb2cob3B0aW5vcywgJ29wdGlub3MnKVxyXG5cdFx0XHRcdC8vIEFwcC5zaG93RXJyb3Iob3B0aW5vcy5lcnJNc2cpXHJcblx0XHRcdH0pO1xyXG5cdFx0fSk7XHJcblx0fVxyXG59XHJcblxyXG5leHBvcnQgZGVmYXVsdCB3eEFwaSJdLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///134\n"); /***/ }), /* 135 */ /*!*********************************************************************************!*\ !*** D:/项目文件/uniapp/Waterinvoice_uiapp/pages/Invoiced/Invoiced.vue?mpType=page ***! \*********************************************************************************/ /*! no static exports found */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _Invoiced_vue_vue_type_template_id_2d469e94_scoped_true_mpType_page__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Invoiced.vue?vue&type=template&id=2d469e94&scoped=true&mpType=page */ 136);\n/* harmony import */ var _Invoiced_vue_vue_type_script_lang_js_mpType_page__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Invoiced.vue?vue&type=script&lang=js&mpType=page */ 138);\n/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _Invoiced_vue_vue_type_script_lang_js_mpType_page__WEBPACK_IMPORTED_MODULE_1__) if([\"default\"].indexOf(__WEBPACK_IMPORT_KEY__) < 0) (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _Invoiced_vue_vue_type_script_lang_js_mpType_page__WEBPACK_IMPORTED_MODULE_1__[key]; }) }(__WEBPACK_IMPORT_KEY__));\n/* harmony import */ var _C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/runtime/componentNormalizer.js */ 16);\n\nvar renderjs\n\n\n\n\n/* normalize component */\n\nvar component = Object(_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(\n _Invoiced_vue_vue_type_script_lang_js_mpType_page__WEBPACK_IMPORTED_MODULE_1__[\"default\"],\n _Invoiced_vue_vue_type_template_id_2d469e94_scoped_true_mpType_page__WEBPACK_IMPORTED_MODULE_0__[\"render\"],\n _Invoiced_vue_vue_type_template_id_2d469e94_scoped_true_mpType_page__WEBPACK_IMPORTED_MODULE_0__[\"staticRenderFns\"],\n false,\n null,\n \"2d469e94\",\n null,\n false,\n _Invoiced_vue_vue_type_template_id_2d469e94_scoped_true_mpType_page__WEBPACK_IMPORTED_MODULE_0__[\"components\"],\n renderjs\n)\n\ncomponent.options.__file = \"pages/Invoiced/Invoiced.vue\"\n/* harmony default export */ __webpack_exports__[\"default\"] = (component.exports);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbbnVsbF0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQUE7QUFBNEk7QUFDNUk7QUFDdU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jb21wb25lbnQgPSBub3JtYWxpemVyKFxuICBzY3JpcHQsXG4gIHJlbmRlcixcbiAgc3RhdGljUmVuZGVyRm5zLFxuICBmYWxzZSxcbiAgbnVsbCxcbiAgXCIyZDQ2OWU5NFwiLFxuICBudWxsLFxuICBmYWxzZSxcbiAgY29tcG9uZW50cyxcbiAgcmVuZGVyanNcbilcblxuY29tcG9uZW50Lm9wdGlvbnMuX19maWxlID0gXCJwYWdlcy9JbnZvaWNlZC9JbnZvaWNlZC52dWVcIlxuZXhwb3J0IGRlZmF1bHQgY29tcG9uZW50LmV4cG9ydHMiXSwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///135\n"); /***/ }), /* 136 */ /*!***************************************************************************************************************************!*\ !*** D:/项目文件/uniapp/Waterinvoice_uiapp/pages/Invoiced/Invoiced.vue?vue&type=template&id=2d469e94&scoped=true&mpType=page ***! \***************************************************************************************************************************/ /*! exports provided: render, staticRenderFns, recyclableRender, components */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony import */ var _C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_11_0_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_filter_modules_template_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Invoiced_vue_vue_type_template_id_2d469e94_scoped_true_mpType_page__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!./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--11-0!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/filter-modules-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!./Invoiced.vue?vue&type=template&id=2d469e94&scoped=true&mpType=page */ 137); /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "render", function() { return _C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_11_0_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_filter_modules_template_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Invoiced_vue_vue_type_template_id_2d469e94_scoped_true_mpType_page__WEBPACK_IMPORTED_MODULE_0__["render"]; }); /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return _C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_11_0_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_filter_modules_template_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Invoiced_vue_vue_type_template_id_2d469e94_scoped_true_mpType_page__WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"]; }); /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "recyclableRender", function() { return _C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_11_0_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_filter_modules_template_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Invoiced_vue_vue_type_template_id_2d469e94_scoped_true_mpType_page__WEBPACK_IMPORTED_MODULE_0__["recyclableRender"]; }); /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "components", function() { return _C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_11_0_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_filter_modules_template_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Invoiced_vue_vue_type_template_id_2d469e94_scoped_true_mpType_page__WEBPACK_IMPORTED_MODULE_0__["components"]; }); /***/ }), /* 137 */ /*!*******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ !*** ./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--11-0!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/filter-modules-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!D:/项目文件/uniapp/Waterinvoice_uiapp/pages/Invoiced/Invoiced.vue?vue&type=template&id=2d469e94&scoped=true&mpType=page ***! \*******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ /*! 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 var render = function () { var _vm = this var _h = _vm.$createElement var _c = _vm._self._c || _h return _c("view", [ _vm._$s(1, "i", _vm.bool == true) ? _c("view", [ _c( "view", { staticClass: _vm._$s(2, "sc", "invoiced_box"), attrs: { _i: 2 } }, [ _c( "view", { staticClass: _vm._$s(3, "sc", "text-center"), attrs: { _i: 3 }, }, [_c("icon", {})] ), _c("view", { staticClass: _vm._$s(5, "sc", "text-center title"), attrs: { _i: 5 }, }), _c("view", { staticClass: _vm._$s(6, "sc", "text-center title1"), attrs: { _i: 6 }, }), ] ), _c("view", [ _c("button", { staticClass: _vm._$s(8, "sc", "button"), attrs: { _i: 8 }, on: { click: _vm.toindex }, }), ]), ]) : _c("view", [ _c( "view", { staticClass: _vm._$s(10, "sc", "text-center"), attrs: { _i: 10 }, }, [ _vm._$s(11, "i", _vm.img) ? _c("image", { attrs: { src: _vm._$s(11, "a-src", _vm.img), _i: 11 }, }) : _vm._e(), ] ), _c("view", { staticClass: _vm._$s(12, "sc", "text-center title1"), attrs: { _i: 12 }, }), ]), ]) } var recyclableRender = false var staticRenderFns = [] render._withStripped = true /***/ }), /* 138 */ /*!*********************************************************************************************************!*\ !*** D:/项目文件/uniapp/Waterinvoice_uiapp/pages/Invoiced/Invoiced.vue?vue&type=script&lang=js&mpType=page ***! \*********************************************************************************************************/ /*! no static exports found */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_7_1_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_using_components_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Invoiced_vue_vue_type_script_lang_js_mpType_page__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!./node_modules/babel-loader/lib!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--7-1!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/using-components.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./Invoiced.vue?vue&type=script&lang=js&mpType=page */ 139);\n/* harmony import */ var _C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_7_1_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_using_components_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Invoiced_vue_vue_type_script_lang_js_mpType_page__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_7_1_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_using_components_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Invoiced_vue_vue_type_script_lang_js_mpType_page__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_7_1_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_using_components_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Invoiced_vue_vue_type_script_lang_js_mpType_page__WEBPACK_IMPORTED_MODULE_0__) if([\"default\"].indexOf(__WEBPACK_IMPORT_KEY__) < 0) (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_7_1_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_using_components_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Invoiced_vue_vue_type_script_lang_js_mpType_page__WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__));\n /* harmony default export */ __webpack_exports__[\"default\"] = (_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_7_1_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_using_components_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Invoiced_vue_vue_type_script_lang_js_mpType_page__WEBPACK_IMPORTED_MODULE_0___default.a); //# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbbnVsbF0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQTB4QixDQUFnQiw2eUJBQUcsRUFBQyIsImZpbGUiOiIxMzguanMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgbW9kIGZyb20gXCItIUM6XFxcXFVzZXJzXFxcXEFkbWluaXN0cmF0b3JcXFxcRG93bmxvYWRzXFxcXEhCdWlsZGVyWC4zLjguNC4yMDIzMDUzMVxcXFxIQnVpbGRlclhcXFxccGx1Z2luc1xcXFx1bmlhcHAtY2xpXFxcXG5vZGVfbW9kdWxlc1xcXFxiYWJlbC1sb2FkZXJcXFxcbGliXFxcXGluZGV4LmpzIUM6XFxcXFVzZXJzXFxcXEFkbWluaXN0cmF0b3JcXFxcRG93bmxvYWRzXFxcXEhCdWlsZGVyWC4zLjguNC4yMDIzMDUzMVxcXFxIQnVpbGRlclhcXFxccGx1Z2luc1xcXFx1bmlhcHAtY2xpXFxcXG5vZGVfbW9kdWxlc1xcXFxAZGNsb3VkaW9cXFxcdnVlLWNsaS1wbHVnaW4tdW5pXFxcXHBhY2thZ2VzXFxcXHdlYnBhY2stcHJlcHJvY2Vzcy1sb2FkZXJcXFxcaW5kZXguanM/P3JlZi0tNy0xIUM6XFxcXFVzZXJzXFxcXEFkbWluaXN0cmF0b3JcXFxcRG93bmxvYWRzXFxcXEhCdWlsZGVyWC4zLjguNC4yMDIzMDUzMVxcXFxIQnVpbGRlclhcXFxccGx1Z2luc1xcXFx1bmlhcHAtY2xpXFxcXG5vZGVfbW9kdWxlc1xcXFxAZGNsb3VkaW9cXFxcdnVlLWNsaS1wbHVnaW4tdW5pXFxcXHBhY2thZ2VzXFxcXHdl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1aWxkZXJYLjMuOC40LjIwMjMwNTMxXFxcXEhCdWlsZGVyWFxcXFxwbHVnaW5zXFxcXHVuaWFwcC1jbGlcXFxcbm9kZV9tb2R1bGVzXFxcXEBkY2xvdWRpb1xcXFx2dWUtY2xpLXBsdWdpbi11bmlcXFxccGFja2FnZXNcXFxcd2VicGFjay11bmktYXBwLWxvYWRlclxcXFx1c2luZy1jb21wb25lbnRzLmpzIUM6XFxcXFVzZXJzXFxcXEFkbWluaXN0cmF0b3JcXFxcRG93bmxvYWRzXFxcXEhCdWlsZGVyWC4zLjguNC4yMDIzMDUzMVxcXFxIQnVpbGRlclhcXFxccGx1Z2luc1xcXFx1bmlhcHAtY2xpXFxcXG5vZGVfbW9kdWxlc1xcXFxAZGNsb3VkaW9cXFxcdnVlLWNsaS1wbHVnaW4tdW5pXFxcXHBhY2thZ2VzXFxcXHZ1ZS1sb2FkZXJcXFxcbGliXFxcXGluZGV4LmpzPz92dWUtbG9hZGVyLW9wdGlvbnMhLi9JbnZvaWNlZC52dWU/dnVlJnR5cGU9c2NyaXB0Jmxhbmc9anMmbXBUeXBlPXBhZ2VcIiJdLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///138\n"); /***/ }), /* 139 */ /*!**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ !*** ./node_modules/babel-loader/lib!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--7-1!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/using-components.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!D:/项目文件/uniapp/Waterinvoice_uiapp/pages/Invoiced/Invoiced.vue?vue&type=script&lang=js&mpType=page ***! \**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ /*! no static exports found */ /***/ (function(module, exports, __webpack_require__) { "use strict"; eval("\n\nvar _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 1);\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar _api = _interopRequireDefault(__webpack_require__(/*! @/common/js/api.js */ 79));\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\nvar _default = {\n data: function data() {\n return {\n bool: false,\n img: \"\"\n };\n },\n onLoad: function onLoad(option) {\n var _this = this;\n //option为object类型,会序列化上个页面传递的参数\n this.bool = option.bool === 'true';\n if (option.id) {\n var data = {\n id: option.id\n };\n _api.default.getQrCode(data, function (res) {\n _this.img = res.data.qrCodeImage;\n });\n }\n },\n methods: {\n toindex: function toindex() {\n uni.redirectTo({\n url: '/pages/index/index'\n });\n }\n }\n};\nexports.default = _default;//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInVuaS1hcHA6Ly8vRDov6aG555uu5paH5Lu2L3VuaWFwcC9XYXRlcmludm9pY2VfdWlhcHAvcGFnZXMvSW52b2ljZWQvSW52b2ljZWQudnVlIl0sIm5hbWVzIjpbImRhdGEiLCJib29sIiwiaW1nIiwib25Mb2FkIiwiaWQiLCJBUEkiLCJtZXRob2RzIiwidG9pbmRleCIsInVuaSIsInVybCJdLCJtYXBwaW5ncyI6Ijs7Ozs7OztBQW9CQTs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7ZUFDQTtFQUNBQTtJQUNBO01BQ0FDO01BQ0FDO0lBQ0E7RUFDQTtFQUNBQztJQUFBO0lBQUE7SUFDQTtJQUVBO01BQ0E7UUFDQUM7TUFDQTtNQUNBQztRQUNBO01BQ0E7SUFDQTtFQUNBO0VBQ0FDO0lBQ0FDO01BQ0FDO1FBQ0FDO01BQ0E7SUFDQTtFQUNBO0FBQ0E7QUFBQSIsImZpbGUiOiIxMzkuanMiLCJzb3VyY2VzQ29udGVudCI6WyI8dGVtcGxhdGU+XG5cdDx2aWV3IHN0eW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c1wiIHNjb3BlZD5cbi5pbnZvaWNlZF9ib3h7XHJcblx0cGFkZGluZzogNjBycHg7XHJcblx0bWFyZ2luOiAwcHggMzBycHg7XHJcblx0YmFja2dyb3VuZC1jb2xvcjogI2ZmZjtcclxufVxyXG4udGV4dC1jZW50ZXJ7XHJcblx0dGV4dC1hbGlnbjogY2VudGVyO1xyXG59XHJcbi50aXRsZXtcclxuXHRtYXJnaW4tdG9wOiA0MHJweDtcclxuXHRmb250LXNpemU6IDM0cnB4O1xyXG5cdGZvbnQtd2VpZ2h0OiBib2xkO1xufVxyXG4udGl0bGUxe1xyXG5cdG1hcmdpbi10b3A6IDQwcnB4O1xyXG5cdGZvbnQtc2l6ZTogMzJycHg7XHJcblx0Y29sb3I6ICNhY2FjYWM7XHJcbn1cbjwvc3R5bGU+XG4iXSwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///139\n"); /***/ }), /* 140 */ /*!*******************************************************************************!*\ !*** D:/项目文件/uniapp/Waterinvoice_uiapp/pages/wxlogin/wxlogin.vue?mpType=page ***! \*******************************************************************************/ /*! no static exports found */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _wxlogin_vue_vue_type_template_id_40ab6eb0_mpType_page__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./wxlogin.vue?vue&type=template&id=40ab6eb0&mpType=page */ 141);\n/* harmony import */ var _wxlogin_vue_vue_type_script_lang_js_mpType_page__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./wxlogin.vue?vue&type=script&lang=js&mpType=page */ 143);\n/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _wxlogin_vue_vue_type_script_lang_js_mpType_page__WEBPACK_IMPORTED_MODULE_1__) if([\"default\"].indexOf(__WEBPACK_IMPORT_KEY__) < 0) (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _wxlogin_vue_vue_type_script_lang_js_mpType_page__WEBPACK_IMPORTED_MODULE_1__[key]; }) }(__WEBPACK_IMPORT_KEY__));\n/* harmony import */ var _C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/runtime/componentNormalizer.js */ 16);\n\nvar renderjs\n\n\n\n\n/* normalize component */\n\nvar component = Object(_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(\n _wxlogin_vue_vue_type_script_lang_js_mpType_page__WEBPACK_IMPORTED_MODULE_1__[\"default\"],\n _wxlogin_vue_vue_type_template_id_40ab6eb0_mpType_page__WEBPACK_IMPORTED_MODULE_0__[\"render\"],\n _wxlogin_vue_vue_type_template_id_40ab6eb0_mpType_page__WEBPACK_IMPORTED_MODULE_0__[\"staticRenderFns\"],\n false,\n null,\n null,\n null,\n false,\n _wxlogin_vue_vue_type_template_id_40ab6eb0_mpType_page__WEBPACK_IMPORTED_MODULE_0__[\"components\"],\n renderjs\n)\n\ncomponent.options.__file = \"pages/wxlogin/wxlogin.vue\"\n/* harmony default export */ __webpack_exports__[\"default\"] = (component.exports);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbbnVsbF0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQUE7QUFBK0g7QUFDL0g7QUFDc0U7QUFDTDs7O0FBR2pFO0FBQ2dPO0FBQ2hPLGdCQUFnQixzT0FBVTtBQUMxQixFQUFFLHdGQUFNO0FB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sbCxcbiAgbnVsbCxcbiAgbnVsbCxcbiAgZmFsc2UsXG4gIGNvbXBvbmVudHMsXG4gIHJlbmRlcmpzXG4pXG5cbmNvbXBvbmVudC5vcHRpb25zLl9fZmlsZSA9IFwicGFnZXMvd3hsb2dpbi93eGxvZ2luLnZ1ZVwiXG5leHBvcnQgZGVmYXVsdCBjb21wb25lbnQuZXhwb3J0cyJdLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///140\n"); /***/ }), /* 141 */ /*!*************************************************************************************************************!*\ !*** D:/项目文件/uniapp/Waterinvoice_uiapp/pages/wxlogin/wxlogin.vue?vue&type=template&id=40ab6eb0&mpType=page ***! \*************************************************************************************************************/ /*! exports provided: render, staticRenderFns, recyclableRender, components */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony import */ var _C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_11_0_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_filter_modules_template_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_wxlogin_vue_vue_type_template_id_40ab6eb0_mpType_page__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!./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--11-0!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/filter-modules-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!./wxlogin.vue?vue&type=template&id=40ab6eb0&mpType=page */ 142); /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "render", function() { return _C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_11_0_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_filter_modules_template_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_wxlogin_vue_vue_type_template_id_40ab6eb0_mpType_page__WEBPACK_IMPORTED_MODULE_0__["render"]; }); /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return _C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_11_0_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_filter_modules_template_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_wxlogin_vue_vue_type_template_id_40ab6eb0_mpType_page__WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"]; }); /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "recyclableRender", function() { return _C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_11_0_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_filter_modules_template_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_wxlogin_vue_vue_type_template_id_40ab6eb0_mpType_page__WEBPACK_IMPORTED_MODULE_0__["recyclableRender"]; }); /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "components", function() { return _C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_11_0_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_filter_modules_template_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_wxlogin_vue_vue_type_template_id_40ab6eb0_mpType_page__WEBPACK_IMPORTED_MODULE_0__["components"]; }); /***/ }), /* 142 */ /*!*****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ !*** ./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--11-0!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/filter-modules-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!D:/项目文件/uniapp/Waterinvoice_uiapp/pages/wxlogin/wxlogin.vue?vue&type=template&id=40ab6eb0&mpType=page ***! \*****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ /*! 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 var render = function () { var _vm = this var _h = _vm.$createElement var _c = _vm._self._c || _h return _c("view") } var recyclableRender = false var staticRenderFns = [] render._withStripped = true /***/ }), /* 143 */ /*!*******************************************************************************************************!*\ !*** D:/项目文件/uniapp/Waterinvoice_uiapp/pages/wxlogin/wxlogin.vue?vue&type=script&lang=js&mpType=page ***! \*******************************************************************************************************/ /*! no static exports found */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_7_1_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_using_components_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_wxlogin_vue_vue_type_script_lang_js_mpType_page__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!./node_modules/babel-loader/lib!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--7-1!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/using-components.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./wxlogin.vue?vue&type=script&lang=js&mpType=page */ 144);\n/* harmony import */ var _C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_7_1_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_using_components_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_wxlogin_vue_vue_type_script_lang_js_mpType_page__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_7_1_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_using_components_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_wxlogin_vue_vue_type_script_lang_js_mpType_page__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_7_1_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_using_components_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_wxlogin_vue_vue_type_script_lang_js_mpType_page__WEBPACK_IMPORTED_MODULE_0__) if([\"default\"].indexOf(__WEBPACK_IMPORT_KEY__) < 0) (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_7_1_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_using_components_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_wxlogin_vue_vue_type_script_lang_js_mpType_page__WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__));\n /* harmony default export */ __webpack_exports__[\"default\"] = (_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_7_1_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_using_components_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_wxlogin_vue_vue_type_script_lang_js_mpType_page__WEBPACK_IMPORTED_MODULE_0___default.a); //# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbbnVsbF0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQXl4QixDQUFnQiw0eUJBQUcsRUFBQyIsImZpbGUiOiIxNDMuanMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgbW9kIGZyb20gXCItIUM6XFxcXFVzZXJzXFxcXEFkbWluaXN0cmF0b3JcXFxcRG93bmxvYWRzXFxcXEhCdWlsZGVyWC4zLjguNC4yMDIzMDUzMVxcXFxIQnVpbGRlclhcXFxccGx1Z2luc1xcXFx1bmlhcHAtY2xpXFxcXG5vZGVfbW9kdWxlc1xcXFxiYWJlbC1sb2FkZXJcXFxcbGliXFxcXGluZGV4LmpzIUM6XFxcXFVzZXJzXFxcXEFkbWluaXN0cmF0b3JcXFxcRG93bmxvYWRzXFxcXEhCdWlsZGVyWC4zLjguNC4yMDIzMDUzMVxcXFxIQnVpbGRlclhcXFxccGx1Z2luc1xcXFx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al:///143\n"); /***/ }), /* 144 */ /*!************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ !*** ./node_modules/babel-loader/lib!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--7-1!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/using-components.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!D:/项目文件/uniapp/Waterinvoice_uiapp/pages/wxlogin/wxlogin.vue?vue&type=script&lang=js&mpType=page ***! \************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ /*! no static exports found */ /***/ (function(module, exports, __webpack_require__) { "use strict"; eval("\n\nvar _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 1);\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar _api = _interopRequireDefault(__webpack_require__(/*! @/common/js/api.js */ 79));\n//\n//\n//\n//\nvar _default = {\n data: function data() {\n return {\n code: '',\n state: '',\n state1: '',\n appId: '',\n redirectUri: ''\n };\n },\n onLoad: function onLoad(options) {\n this.checkWeChatCode();\n },\n methods: {\n checkWeChatCode: function checkWeChatCode() {\n var _this = this;\n _api.default.getWxCode({}, function (res) {\n if (res.code == 1) {\n _this.redirectUri = res.data.redirectUri;\n _this.appId = res.data.appId;\n _this.state = res.data.state;\n _this.getCode();\n }\n });\n },\n // 获取code\n getCode: function getCode() {\n var local = encodeURIComponent('https://intp.xingtongworld.com/wechat/');\n window.location.href = 'https://open.weixin.qq.com/connect/oauth2/authorize?appid=' + this.appId + '&redirect_uri=' + local + '&response_type=code&scope=snsapi_userinfo&state=' + this.state + '#wechat_redirect';\n\n // redirect_uri是授权成功后,跳转的url地址,微信会帮我们跳转到该链接,并且通过?的形式拼接code,这里需要用encodeURIComponent对链接进行处理。\n // 如果配置参数一一对应,那么此时已经通过回调地址刷新页面后,你就会再地址栏中看到code了。\n // https://test.yuruantong.com/pages/loginAndRegister/login/loginH5?code=0312nn200ADR1P1BYh100zp2VL32nn2f&state=1\n }\n }\n};\nexports.default = _default;//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInVuaS1hcHA6Ly8vRDov6aG555uu5paH5Lu2L3VuaWFwcC9XYXRlcmludm9pY2VfdWlhcHAvcGFnZXMvd3hsb2dpbi93eGxvZ2luLnZ1ZSJdLCJuYW1lcyI6WyJkYXRhIiwiY29kZSIsInN0YXRlIiwic3RhdGUxIiwiYXBwSWQiLCJyZWRpcmVjdFVyaSIsIm9uTG9hZCIsIm1ldGhvZHMiLCJjaGVja1dlQ2hhdENvZGUiLCJBUEkiLCJnZXRDb2RlIiwid2luZG93Il0sIm1hcHBpbmdzIjoiOzs7Ozs7O0FBS0E7Ozs7O2VBQ0E7RUFDQUE7SUFDQTtNQUNBQztNQUNBQztNQUNBQztNQUNBQztNQUNBQztJQUNBO0VBQ0E7RUFDQUM7SUFDQTtFQUNBO0VBQ0FDO0lBQ0FDO01BQUE7TUFDQUM7UUFDQTtVQUNBO1VBQ0E7VUFDQTtVQUNBO1FBQ0E7TUFDQTtJQUNBO0lBQ0E7SUFDQUM7TUFDQTtNQUNBQyx1QkFDQSw0RUFDQSwyQkFDQTs7TUFFQTtNQUNBO01BQ0E7SUFDQTtFQUNBO0FBQ0E7QUFBQSIsImZpbGUiOiIxNDQuanMiLCJzb3VyY2VzQ29udGVudCI6WyI8dGVtcGxhdGU+XHJcblx0PHZpZXc+PC92aWV3PlxyXG48L3RlbXBsYXRlPlxyXG5cclxuPHNjcmlwdD5cclxuXHRpbXBvcnQgQVBJIGZyb20gJ0AvY29tbW9uL2pzL2FwaS5qcydcclxuXHRleHBvcnQgZGVmYXVsdCB7XHJcblx0XHRkYXRhKCkge1xyXG5cdFx0XHRyZXR1cm4ge1xyXG5cdFx0XHRcdGNvZGU6ICcnLFxyXG5cdFx0XHRcdHN0Y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cblx0XHRcdFx0JyZyZXNwb25zZV90eXBlPWNvZGUmc2NvcGU9c25zYXBpX3VzZXJpbmZvJnN0YXRlPScgKyB0aGlzLnN0YXRlICsgJyN3ZWNoYXRfcmVkaXJlY3QnO1xyXG5cclxuXHRcdFx0Ly8gcmVkaXJlY3RfdXJp5piv5o6I5p2D5oiQ5Yqf5ZCO77yM6Lez6L2s55qEdXJs5Zyw5Z2A77yM5b6u5L+h5Lya5biu5oiR5Lus6Lez6L2s5Yiw6K+l6ZO+5o6l77yM5bm25LiU6YCa6L+H77yf55qE5b2i5byP5ou85o6lY29kZe+8jOi/memHjOmcgOimgeeUqGVuY29kZVVSSUNvbXBvbmVudOWvuemTvuaOpei/m+ihjOWkhOeQhuOAglxyXG5cdFx0XHQvLyDlpoLmnpzphY3nva7lj4LmlbDkuIDkuIDlr7nlupTvvIzpgqPkuYjmraTml7blt7Lnu4/pgJrov4flm57osIPlnLDlnYDliLfmlrDpobXpnaLlkI7vvIzkvaDlsLHkvJrlho3lnLDlnYDmoI/kuK3nnIvliLBjb2Rl5LqG44CCXHJcblx0XHRcdC8vIGh0dHBzOi8vdGVzdC55dXJ1YW50b25nLmNvbS9wYWdlcy9sb2dpbkFuZFJlZ2lzdGVyL2xvZ2luL2xvZ2luSDU/Y29kZT0wMzEybm4yMDBBRFIxUDFCWWgxMDB6cDJWTDMybm4yZiZzdGF0ZT0xXHJcblx0XHRcdH1cclxuXHRcdH1cclxuXHR9XHJcbjwvc2NyaXB0PlxyXG48c3R5bGU+XHJcbjwvc3R5bGU+Il0sInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///144\n"); /***/ }), /* 145 */ /*!*************************************************************************************!*\ !*** D:/项目文件/uniapp/Waterinvoice_uiapp/pages/wxlogin/registerphone.vue?mpType=page ***! \*************************************************************************************/ /*! no static exports found */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _registerphone_vue_vue_type_template_id_6690efaa_scoped_true_mpType_page__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./registerphone.vue?vue&type=template&id=6690efaa&scoped=true&mpType=page */ 146);\n/* harmony import */ var _registerphone_vue_vue_type_script_lang_js_mpType_page__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./registerphone.vue?vue&type=script&lang=js&mpType=page */ 148);\n/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _registerphone_vue_vue_type_script_lang_js_mpType_page__WEBPACK_IMPORTED_MODULE_1__) if([\"default\"].indexOf(__WEBPACK_IMPORT_KEY__) < 0) (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _registerphone_vue_vue_type_script_lang_js_mpType_page__WEBPACK_IMPORTED_MODULE_1__[key]; }) }(__WEBPACK_IMPORT_KEY__));\n/* harmony import */ var _C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/runtime/componentNormalizer.js */ 16);\n\nvar renderjs\n\n\n\n\n/* normalize component */\n\nvar component = Object(_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(\n _registerphone_vue_vue_type_script_lang_js_mpType_page__WEBPACK_IMPORTED_MODULE_1__[\"default\"],\n _registerphone_vue_vue_type_template_id_6690efaa_scoped_true_mpType_page__WEBPACK_IMPORTED_MODULE_0__[\"render\"],\n _registerphone_vue_vue_type_template_id_6690efaa_scoped_true_mpType_page__WEBPACK_IMPORTED_MODULE_0__[\"staticRenderFns\"],\n false,\n null,\n \"6690efaa\",\n null,\n false,\n _registerphone_vue_vue_type_template_id_6690efaa_scoped_true_mpType_page__WEBPACK_IMPORTED_MODULE_0__[\"components\"],\n renderjs\n)\n\ncomponent.options.__file = \"pages/wxlogin/registerphone.vue\"\n/* harmony default export */ __webpack_exports__[\"default\"] = (component.exports);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbbnVsbF0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQUE7QUFBaUo7QUFDako7QUFDNEU7QUFDTDs7O0FBR3ZFO0FBQ2dPO0FBQ2hPLGdCQUFnQixzT0FBVTtBQUMxQixFQUFFLDhGQUFNO0FBQ1IsRUFBRSwrR0FBTTtBQUNSLEVBQUUsd0hBQWU7QUFDakI7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBLEVBQUUsbUhBQVU7QUFDWjtBQUNBOztBQUVBO0FBQ2UsZ0YiLCJmaWxlIjoiMTQ1LmpzIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgcmVuZGVyLCBzdGF0aWNSZW5kZXJGbnMsIHJlY3ljbGFibGVSZW5kZXIsIGNvbXBvbmVudHMgfSBmcm9tIFwiLi9yZWdpc3RlcnBob25lLnZ1ZT92dWUmdHlwZT10ZW1wbGF0ZSZpZD02NjkwZWZhYSZzY29wZWQ9dHJ1ZSZtcFR5cGU9cGFnZVwiXG52YXIgcmVuZGVyanNcbmltcG9ydCBzY3JpcHQgZnJvbSBcIi4vcmVnaXN0ZXJwaG9uZS52dWU/dnVlJnR5cGU9c2NyaXB0Jmxhbmc9anMmbXBUeXBlPXBhZ2VcIlxuZXhwb3J0ICogZnJvbSBcIi4vcmVnaXN0ZXJwaG9uZS52dWU/dnVlJnR5cGU9c2NyaXB0Jmxhbmc9anMmbXBUeXBlPXBhZ2VcIlxuXG5cbi8qIG5vcm1hbGl6ZSBjb21wb25lbnQgKi9cbmltcG9ydCBub3JtYWxpemVyIGZyb20gXCIhQzpcXFxcVXNlcnNcXFxcQWRtaW5pc3RyYXRvclxcXFxEb3dubG9hZHNcXFxcSEJ1aWxkZXJYLjMuOC40LjIwMjMwNTMxXFxcXEhCdWlsZGVyWFxcXFxwbHVnaW5zXFxcXHVuaWFwcC1jbGlcXFxcbm9kZV9tb2R1bGVzXFxcXEBkY2xvdWRpb1xcXFx2dWUtY2xpLXBsdWdpbi11bmlcXFxccGFja2FnZXNcXFxcdnVlLWxvYWRlclxcXFxsaWJcXFxccnVudGltZVxcXFxjb21wb25lbnROb3JtYWxpemVyLmpzXCJcbnZhciBjb21wb25lbnQgPSBub3JtYWxpemVyKFxuICBzY3JpcHQsXG4gIHJlbmRlcixcbiAgc3RhdGljUmVuZGVyRm5zLFxuICBmYWxzZSxcbiAgbnVsbCxcbiAgXCI2NjkwZWZhYVwiLFxuICBudWxsLFxuICBmYWxzZSxcbiAgY29tcG9uZW50cyxcbiAgcmVuZGVyanNcbilcblxuY29tcG9uZW50Lm9wdGlvbnMuX19maWxlID0gXCJwYWdlcy93eGxvZ2luL3JlZ2lzdGVycGhvbmUudnVlXCJcbmV4cG9ydCBkZWZhdWx0IGNvbXBvbmVudC5leHBvcnRzIl0sInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///145\n"); /***/ }), /* 146 */ /*!*******************************************************************************************************************************!*\ !*** D:/项目文件/uniapp/Waterinvoice_uiapp/pages/wxlogin/registerphone.vue?vue&type=template&id=6690efaa&scoped=true&mpType=page ***! \*******************************************************************************************************************************/ /*! exports provided: render, staticRenderFns, recyclableRender, components */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony import */ var _C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_11_0_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_filter_modules_template_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_registerphone_vue_vue_type_template_id_6690efaa_scoped_true_mpType_page__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!./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--11-0!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/filter-modules-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!./registerphone.vue?vue&type=template&id=6690efaa&scoped=true&mpType=page */ 147); /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "render", function() { return _C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_11_0_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_filter_modules_template_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_registerphone_vue_vue_type_template_id_6690efaa_scoped_true_mpType_page__WEBPACK_IMPORTED_MODULE_0__["render"]; }); /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return _C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_11_0_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_filter_modules_template_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_registerphone_vue_vue_type_template_id_6690efaa_scoped_true_mpType_page__WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"]; }); /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "recyclableRender", function() { return _C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_11_0_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_filter_modules_template_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_registerphone_vue_vue_type_template_id_6690efaa_scoped_true_mpType_page__WEBPACK_IMPORTED_MODULE_0__["recyclableRender"]; }); /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "components", function() { return _C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_11_0_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_filter_modules_template_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_registerphone_vue_vue_type_template_id_6690efaa_scoped_true_mpType_page__WEBPACK_IMPORTED_MODULE_0__["components"]; }); /***/ }), /* 147 */ /*!***********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ !*** ./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--11-0!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/filter-modules-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!D:/项目文件/uniapp/Waterinvoice_uiapp/pages/wxlogin/registerphone.vue?vue&type=template&id=6690efaa&scoped=true&mpType=page ***! \***********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ /*! 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 = { uniEasyinput: __webpack_require__(/*! @dcloudio/uni-ui/lib/uni-easyinput/uni-easyinput.vue */ 127).default, } } 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 return _c( "view", { staticClass: _vm._$s(0, "sc", "box"), attrs: { _i: 0 } }, [ _c( "view", [ _c("uni-easyinput", { attrs: { prefixIcon: "phone-filled", placeholder: "请输入手机号", _i: 2, }, on: { blur: _vm.onInput }, model: { value: _vm._$s(2, "v-model", _vm.mobile), callback: function ($$v) { _vm.mobile = $$v }, expression: "mobile", }, }), ], 1 ), _c( "view", [ _c("uni-easyinput", { attrs: { prefixIcon: "contact-filled", placeholder: "请输入用户编号", _i: 4, }, model: { value: _vm._$s(4, "v-model", _vm.pucode), callback: function ($$v) { _vm.pucode = $$v }, expression: "pucode", }, }), ], 1 ), _c( "view", { staticClass: _vm._$s(5, "sc", "input"), attrs: { _i: 5 } }, [ _c("uni-easyinput", { attrs: { placeholder: "请输入内容", _i: 6 }, model: { value: _vm._$s(6, "v-model", _vm.snsCode), callback: function ($$v) { _vm.snsCode = $$v }, expression: "snsCode", }, }), _c( "button", { staticClass: _vm._$s(7, "sc", "mini-btn"), attrs: { disabled: _vm._$s(7, "a-disabled", _vm.num > 0), _i: 7 }, on: { click: _vm.toCode }, }, [ _vm._v( _vm._$s( 7, "t0-0", _vm._s(_vm.num > 0 ? _vm.num + "秒后重新获取" : "获取验证码") ) ), ] ), ], 1 ), _c("view", [ _c("button", { attrs: { _i: 9 }, on: { click: _vm.register } }), ]), ] ) } var recyclableRender = false var staticRenderFns = [] render._withStripped = true /***/ }), /* 148 */ /*!*************************************************************************************************************!*\ !*** D:/项目文件/uniapp/Waterinvoice_uiapp/pages/wxlogin/registerphone.vue?vue&type=script&lang=js&mpType=page ***! \*************************************************************************************************************/ /*! no static exports found */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_7_1_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_using_components_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_registerphone_vue_vue_type_script_lang_js_mpType_page__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!./node_modules/babel-loader/lib!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--7-1!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/using-components.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./registerphone.vue?vue&type=script&lang=js&mpType=page */ 149);\n/* harmony import */ var _C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_7_1_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_using_components_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_registerphone_vue_vue_type_script_lang_js_mpType_page__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_7_1_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_using_components_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_registerphone_vue_vue_type_script_lang_js_mpType_page__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_7_1_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_using_components_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_registerphone_vue_vue_type_script_lang_js_mpType_page__WEBPACK_IMPORTED_MODULE_0__) if([\"default\"].indexOf(__WEBPACK_IMPORT_KEY__) < 0) (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_7_1_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_using_components_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_registerphone_vue_vue_type_script_lang_js_mpType_page__WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__));\n /* harmony default export */ __webpack_exports__[\"default\"] = (_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_7_1_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_using_components_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_registerphone_vue_vue_type_script_lang_js_mpType_page__WEBPACK_IMPORTED_MODULE_0___default.a); //# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbbnVsbF0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQSt4QixDQUFnQixrekJBQUcsRUFBQyIsImZpbGUiOiIxNDguanMiLCJ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NcXFxcQWRtaW5pc3RyYXRvclxcXFxEb3dubG9hZHNcXFxcSEJ1aWxkZXJYLjMuOC40LjIwMjMwNTMxXFxcXEhCdWlsZGVyWFxcXFxwbHVnaW5zXFxcXHVuaWFwcC1jbGlcXFxcbm9kZV9tb2R1bGVzXFxcXEBkY2xvdWRpb1xcXFx2dWUtY2xpLXBsdWdpbi11bmlcXFxccGFja2FnZXNcXFxcdnVlLWxvYWRlclxcXFxsaWJcXFxcaW5kZXguanM/P3Z1ZS1sb2FkZXItb3B0aW9ucyEuL3JlZ2lzdGVycGhvbmUudnVlP3Z1ZSZ0eXBlPXNjcmlwdCZsYW5nPWpzJm1wVHlwZT1wYWdlXCIiXSwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///148\n"); /***/ }), /* 149 */ /*!******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ !*** ./node_modules/babel-loader/lib!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--7-1!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/using-components.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!D:/项目文件/uniapp/Waterinvoice_uiapp/pages/wxlogin/registerphone.vue?vue&type=script&lang=js&mpType=page ***! \******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ /*! no static exports found */ /***/ (function(module, exports, __webpack_require__) { "use strict"; eval("\n\nvar _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 1);\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar _api = _interopRequireDefault(__webpack_require__(/*! @/common/js/api.js */ 79));\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\nvar _default = {\n data: function data() {\n return {\n mobile: '',\n pucode: '',\n snsCode: '',\n intervalId: null,\n num: 0,\n styles: {\n width: '100px'\n }\n };\n },\n onLoad: function onLoad() {\n if (!uni.getStorageSync('phone')) {\n uni.showToast({\n title: '请先绑定手机号',\n icon: 'none'\n });\n }\n // 从本地存储中获取倒计时值\n var savedNum = localStorage.getItem('countdownNum');\n if (savedNum) {\n this.num = parseInt(savedNum, 10);\n if (this.num > 0) {\n this.intervalId = setInterval(this.countDownTimer, 1000);\n }\n }\n },\n beforeDestroy: function beforeDestroy() {\n // 清除定时器\n clearInterval(this.intervalId);\n uni.removeStorageSync('countdownNum');\n },\n methods: {\n countDownTimer: function countDownTimer() {\n if (this.num > 0) {\n this.num--;\n localStorage.setItem('countdownNum', this.num);\n } else {\n clearInterval(this.intervalId);\n localStorage.setItem('countdownNum', this.num);\n }\n },\n toCode: function toCode() {\n if (!this.mobile) {\n uni.showToast({\n title: '请输入手机号',\n icon: 'none'\n });\n return;\n }\n this.num = 60; // 设置倒计时总时间\n localStorage.setItem('countdownNum', this.num);\n this.intervalId = setInterval(this.countDownTimer, 1000);\n var data = {\n mobile: this.mobile\n };\n _api.default.sendSms(data, function (res) {\n uni.showToast({\n title: res.msg,\n icon: 'none'\n });\n });\n },\n // 限制手机号\n onInput: function onInput(event) {\n // 使用正则表达式过滤非数字字符\n var phonePattern = /^1[3-9]\\d{9}$/;\n if (!phonePattern.test(event.detail.value) && event.detail.value) {\n uni.showToast({\n title: '您输入的手机号格式有误',\n icon: 'none'\n });\n this.mobile = ''; // 清空输入框\n } else {\n this.mobile = event.detail.value;\n }\n },\n register: function register() {\n var _this = this;\n if (!this.mobile) {\n uni.showToast({\n title: '请输入手机号',\n icon: 'none'\n });\n return;\n }\n if (!this.pucode) {\n uni.showToast({\n title: '请输入用户编号',\n icon: 'none'\n });\n return;\n }\n if (!this.snsCode) {\n uni.showToast({\n title: '请输入短信验证码',\n icon: 'none'\n });\n return;\n }\n var url = '/wechat/wechat/savePuCode';\n var data = {\n mobile: this.mobile,\n pucode: this.pucode,\n snsCode: this.snsCode\n };\n _api.default.request(url, data, function (res) {\n if (res.code == 1) {\n uni.setStorageSync('AccessToken', res.data.token);\n uni.setStorageSync('phone', _this.mobile);\n uni.showToast({\n title: '手机号绑定成功',\n icon: 'none'\n });\n setTimeout(function () {\n uni.navigateTo({\n url: \"/pages/index/index\"\n });\n }, 1000);\n }\n });\n }\n }\n};\nexports.default = _default;//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInVuaS1hcHA6Ly8vRDov6aG555uu5paH5Lu2L3VuaWFwcC9XYXRlcmludm9pY2VfdWlhcHAvcGFnZXMvd3hsb2dpbi9yZWdpc3RlcnBob25lLnZ1ZSJdLCJuYW1lcyI6WyJkYXRhIiwibW9iaWxlIiwicHVjb2RlIiwic25zQ29kZSIsImludGVydmFsSWQiLCJudW0iLCJzdHlsZXMiLCJ3aWR0aCIsIm9uTG9hZCIsInVuaSIsInRpdGxlIiwiaWNvbiIsImJlZm9yZURlc3Ryb3kiLCJjbGVhckludGVydmFsIiwibWV0aG9kcyIsImNvdW50RG93blRpbWVyIiwibG9jYWxTdG9yYWdlIiwidG9Db2RlIiwiQVBJIiwib25JbnB1dCIsInJlZ2lzdGVyIiwic2V0VGltZW91dCIsInVybCJdLCJtYXBwaW5ncyI6Ijs7Ozs7OztBQWFBOzs7Ozs7Ozs7Ozs7O2VBQ0E7RUFDQUE7SUFDQTtNQUNBQztNQUNBQztNQUNBQztNQUNBQztNQUNBQztNQUNBQztRQUNBQztNQUNBO0lBQ0E7RUFDQTtFQUNBQztJQUNBO01BQ0FDO1FBQUFDO1FBQUFDO01BQUE7SUFDQTtJQUNBO0lBQ0E7SUFDQTtNQUNBO01BQ0E7UUFDQTtNQUNBO0lBQ0E7RUFDQTtFQUNBQztJQUNBO0lBQ0FDO0lBQ0FKO0VBQ0E7RUFDQUs7SUFDQUM7TUFDQTtRQUNBO1FBQ0FDO01BQ0E7UUFDQUg7UUFDQUc7TUFDQTtJQUNBO0lBQ0FDO01BQ0E7UUFDQVI7VUFBQUM7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HJcbn1cbjwvc3R5bGU+XG4iXSwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///149\n"); /***/ }), /* 150 */ /*!*************************************************!*\ !*** D:/项目文件/uniapp/Waterinvoice_uiapp/App.vue ***! \*************************************************/ /*! no static exports found */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _App_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./App.vue?vue&type=script&lang=js& */ 151);\n/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _App_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 _App_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__));\n/* harmony import */ var _C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/runtime/componentNormalizer.js */ 16);\nvar render, staticRenderFns, recyclableRender, components\nvar renderjs\n\n\n\n\n/* normalize component */\n\nvar component = Object(_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(\n _App_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__[\"default\"],\n render,\n staticRenderFns,\n false,\n null,\n null,\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"App.vue\"\n/* harmony default export */ __webpack_exports__[\"default\"] = (component.exports);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbbnVsbF0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQUE7QUFDQTtBQUN1RDtBQUNMOzs7QUFHbEQ7QUFDZ087QUFDaE8sZ0JBQWdCLHNPQUFVO0FBQzFCLEVBQUUseUVBQU07QUFDUjtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTs7QUFFQTtBQUNlLGdGIiwiZmlsZSI6IjE1MC5qcyIsInNvdXJjZXNDb250ZW50IjpbInZhciByZW5kZXIsIHN0YXRpY1JlbmRlckZucywgcmVjeWNsYWJsZVJlbmRlciwgY29tcG9uZW50c1xudmFyIHJlbmRlcmpzXG5pbXBvcnQgc2NyaXB0IGZyb20gXCIuL0FwcC52dWU/dnVlJnR5cGU9c2NyaXB0Jmxhbmc9anMmXCJcbmV4cG9ydCAqIGZyb20gXCIuL0FwcC52dWU/dnVlJnR5cGU9c2NyaXB0Jmxhbmc9anMmXCJcblxuXG4vKiBub3JtYWxpemUgY29tcG9uZW50ICovXG5pbXBvcnQgbm9ybWFsaXplciBmcm9tIFwiIUM6XFxcXFVzZXJzXFxcXEFkbWluaXN0cmF0b3JcXFxcRG93bmxvYWRzXFxcXEhCdWlsZGVyWC4zLjguNC4yMDIzMDUzMVxcXFxIQnVpbGRlclhcXFxccGx1Z2luc1xcXFx1bmlhcHAtY2xpXFxcXG5vZGVfbW9kdWxlc1xcXFxAZGNsb3VkaW9cXFxcdnVlLWNsaS1wbHVnaW4tdW5pXFxcXHBhY2thZ2VzXFxcXHZ1ZS1sb2FkZXJcXFxcbGliXFxcXHJ1bnRpbWVcXFxcY29tcG9uZW50Tm9ybWFsaXplci5qc1wiXG52YXIgY29tcG9uZW50ID0gbm9ybWFsaXplcihcbiAgc2NyaXB0LFxuICByZW5kZXIsXG4gIHN0YXRpY1JlbmRlckZucyxcbiAgZmFsc2UsXG4gIG51bGwsXG4gIG51bGwsXG4gIG51bGwsXG4gIGZhbHNlLFxuICBjb21wb25lbnRzLFxuICByZW5kZXJqc1xuKVxuXG5jb21wb25lbnQub3B0aW9ucy5fX2ZpbGUgPSBcIkFwcC52dWVcIlxuZXhwb3J0IGRlZmF1bHQgY29tcG9uZW50LmV4cG9ydHMiXSwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///150\n"); /***/ }), /* 151 */ /*!**************************************************************************!*\ !*** D:/项目文件/uniapp/Waterinvoice_uiapp/App.vue?vue&type=script&lang=js& ***! \**************************************************************************/ /*! no static exports found */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_7_1_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_using_components_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_App_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!./node_modules/babel-loader/lib!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--7-1!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/using-components.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./App.vue?vue&type=script&lang=js& */ 152);\n/* harmony import */ var _C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_7_1_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_using_components_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_App_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_7_1_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_using_components_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_App_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__);\n/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_7_1_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_using_components_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_App_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 _C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_7_1_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_using_components_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_App_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__));\n /* harmony default export */ __webpack_exports__[\"default\"] = (_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_7_1_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_using_components_js_C_Users_Administrator_Downloads_HBuilderX_3_8_4_20230531_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_App_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0___default.a); //# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbbnVsbF0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQTB3QixDQUFnQiw2eEJBQUcsRUFBQyIsImZpbGUiOiIxNTEuanMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgbW9kIGZyb20gXCItIUM6XFxcXFVzZXJzXFxcXEFkbWluaXN0cmF0b3JcXFxcRG93bmxvYWRzXFxcXEhCdWlsZGVyWC4zLjguNC4yMDIzMDUzMVxcXFxIQnVpbGRlclhcXFxccGx1Z2luc1xcXFx1bmlhcHAtY2xpXFxcXG5vZGVfbW9kdWxlc1xcXFxiYWJlbC1sb2FkZXJcXFxcbGliXFxcXGluZGV4LmpzIUM6XFxcXFVzZXJzXFxcXEFkbWluaXN0cmF0b3JcXFxcRG93bmxvYWRzXFxcXEhCdWlsZGVyWC4zLjguNC4yMDIzMDUzMVxcXFxIQnVpbGRlclhcXFxccGx1Z2luc1xcXFx1bmlhcHAtY2xpXFxcXG5vZGVfbW9kdWxlc1xcXFxAZGNsb3VkaW9cXFxcdnVlLWNsaS1wbHVnaW4tdW5pXFxcXHBhY2thZ2VzXFxcXHdlYnBhY2stcHJlcHJvY2Vzcy1sb2FkZXJcXFxcaW5kZXguanM/P3JlZi0tNy0xIUM6XFxcXFVzZXJzXFxcXEFkbWluaXN0cmF0b3JcXFxcRG93bmxvYWRzXFxcXEhCdWlsZGVyWC4zLjguNC4yMDIzMDUzMVxcXF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WJwYWNrLXByZXByb2Nlc3MtbG9hZGVyXFxcXGluZGV4LmpzPz9yZWYtLTctMSFDOlxcXFxVc2Vyc1xcXFxBZG1pbmlzdHJhdG9yXFxcXERvd25sb2Fkc1xcXFxIQnVpbGRlclguMy44LjQuMjAyMzA1MzFcXFxcSEJ1aWxkZXJYXFxcXHBsdWdpbnNcXFxcdW5pYXBwLWNsaVxcXFxub2RlX21vZHVsZXNcXFxcQGRjbG91ZGlvXFxcXHZ1ZS1jbGktcGx1Z2luLXVuaVxcXFxwYWNrYWdlc1xcXFx3ZWJwYWNrLXVuaS1hcHAtbG9hZGVyXFxcXHVzaW5nLWNvbXBvbmVudHMuanMhQzpcXFxcVXNlcnNcXFxcQWRtaW5pc3RyYXRvclxcXFxEb3dubG9hZHNcXFxcSEJ1aWxkZXJYLjMuOC40LjIwMjMwNTMxXFxcXEhCdWlsZGVyWFxcXFxwbHVnaW5zXFxcXHVuaWFwcC1jbGlcXFxcbm9kZV9tb2R1bGVzXFxcXEBkY2xvdWRpb1xcXFx2dWUtY2xpLXBsdWdpbi11bmlcXFxccGFja2FnZXNcXFxcdnVlLWxvYWRlclxcXFxsaWJcXFxcaW5kZXguanM/P3Z1ZS1sb2FkZXItb3B0aW9ucyEuL0FwcC52dWU/dnVlJnR5cGU9c2NyaXB0Jmxhbmc9anMmXCIiXSwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///151\n"); /***/ }), /* 152 */ /*!*******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ !*** ./node_modules/babel-loader/lib!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--7-1!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/using-components.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!D:/项目文件/uniapp/Waterinvoice_uiapp/App.vue?vue&type=script&lang=js& ***! \*******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ /*! no static exports found */ /***/ (function(module, exports, __webpack_require__) { "use strict"; eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar _default = {\n onLaunch: function onLaunch() {\n var script = document.createElement('script');\n script.src = 'https://res2.wx.qq.com/open/js/jweixin-1.6.0.js';\n document.head.appendChild(script);\n }\n // onShow: function() {\n // \tconsole.log('App Show')\n // },\n // onHide: function() {\n // \tconsole.log('App Hide')\n // }\n};\nexports.default = _default;//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInVuaS1hcHA6Ly8vRDov6aG555uu5paH5Lu2L3VuaWFwcC9XYXRlcmludm9pY2VfdWlhcHAvQXBwLnZ1ZSJdLCJuYW1lcyI6WyJvbkxhdW5jaCIsInNjcmlwdCIsImRvY3VtZW50IiwiY3JlYXRlRWxlbWVudCIsInNyYyIsImhlYWQiLCJhcHBlbmRDaGlsZCJdLCJtYXBwaW5ncyI6Ijs7Ozs7O2VBQ2U7RUFDZEEsUUFBUSxFQUFFLG9CQUFXO0lBQ25CLElBQU1DLE1BQU0sR0FBR0MsUUFBUSxDQUFDQyxhQUFhLENBQUMsUUFBUSxDQUFDO0lBQzlDRixNQUFNLENBQUNHLEdBQUcsR0FBRyxpREFBaUQ7SUFDOURGLFFBQVEsQ0FBQ0csSUFBSSxDQUFDQyxXQUFXLENBQUNMLE1BQU0sQ0FBQztFQUNwQztFQUNBO0VBQ0E7RUFDQTtFQUNBO0VBQ0E7RUFDQTtBQUNELENBQUM7QUFBQSIsImZpbGUiOiIxNTIuanMiLCJzb3VyY2VzQ29udGVudCI6WyJcbmV4cG9ydCBkZWZhdWx0IHtcblx0b25MYXVuY2g6IGZ1bmN0aW9uKCkge1xuXHRcdFx0Y29uc3Qgc2NyaXB0ID0gZG9jdW1lbnQuY3JlYXRlRWxlbWVudCgnc2NyaXB0Jylcblx0XHRcdFx0c2NyaXB0LnNyYyA9ICdodHRwczovL3JlczIud3gucXEuY29tL29wZW4vanMvandlaXhpbi0xLjYuMC5qcydcblx0XHRcdFx0ZG9jdW1lbnQuaGVhZC5hcHBlbmRDaGlsZChzY3JpcHQpXG5cdH0sXG5cdC8vIG9uU2hvdzogZnVuY3Rpb24oKSB7XG5cdC8vIFx0Y29uc29sZS5sb2coJ0FwcCBTaG93Jylcblx0Ly8gfSxcblx0Ly8gb25IaWRlOiBmdW5jdGlvbigpIHtcblx0Ly8gXHRjb25zb2xlLmxvZygnQXBwIEhpZGUnKVxuXHQvLyB9XG59XG4iXSwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///152\n"); /***/ }), /* 153 */ /*!******************************************************************!*\ !*** D:/项目文件/uniapp/Waterinvoice_uiapp/uni.promisify.adaptor.js ***! \******************************************************************/ /*! no static exports found */ /***/ (function(module, exports, __webpack_require__) { eval("var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 4);\nuni.addInterceptor({\n returnValue: function returnValue(res) {\n if (!(!!res && (_typeof(res) === \"object\" || typeof res === \"function\") && typeof res.then === \"function\")) {\n return res;\n }\n return new Promise(function (resolve, reject) {\n res.then(function (res) {\n return res[0] ? reject(res[0]) : resolve(res[1]);\n });\n });\n }\n});//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInVuaS1hcHA6Ly8vRDov6aG555uu5paH5Lu2L3VuaWFwcC9XYXRlcmludm9pY2VfdWlhcHAvdW5pLnByb21pc2lmeS5hZGFwdG9yLmpzIl0sIm5hbWVzIjpbInVuaSIsImFkZEludGVyY2VwdG9yIiwicmV0dXJuVmFsdWUiLCJyZXMiLCJ0aGVuIiwiUHJvbWlzZSIsInJlc29sdmUiLCJyZWplY3QiXSwibWFwcGluZ3MiOiI7QUFBQUEsR0FBRyxDQUFDQyxjQUFjLENBQUM7RUFDakJDLFdBQVcsdUJBQUVDLEdBQUcsRUFB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