(global["webpackJsonp"] = global["webpackJsonp"] || []).push([["node-modules/uview-ui/components/u-field/u-field"],{ /***/ 228: /*!**********************************************************************************************!*\ !*** C:/Users/75965/Desktop/wx-program/node_modules/uview-ui/components/u-field/u-field.vue ***! \**********************************************************************************************/ /*! no static exports found */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony import */ var _u_field_vue_vue_type_template_id_578c626d_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./u-field.vue?vue&type=template&id=578c626d&scoped=true& */ 229); /* harmony import */ var _u_field_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./u-field.vue?vue&type=script&lang=js& */ 231); /* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _u_field_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 _u_field_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__[key]; }) }(__WEBPACK_IMPORT_KEY__)); /* harmony import */ var _u_field_vue_vue_type_style_index_0_id_578c626d_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./u-field.vue?vue&type=style&index=0&id=578c626d&lang=scss&scoped=true& */ 233); /* harmony import */ var _D_apps_hbuilderx_HBuilderX_3_96_2023110403_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/runtime/componentNormalizer.js */ 32); var renderjs /* normalize component */ var component = Object(_D_apps_hbuilderx_HBuilderX_3_96_2023110403_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_3__["default"])( _u_field_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__["default"], _u_field_vue_vue_type_template_id_578c626d_scoped_true___WEBPACK_IMPORTED_MODULE_0__["render"], _u_field_vue_vue_type_template_id_578c626d_scoped_true___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"], false, null, "578c626d", null, false, _u_field_vue_vue_type_template_id_578c626d_scoped_true___WEBPACK_IMPORTED_MODULE_0__["components"], renderjs ) component.options.__file = "node_modules/uview-ui/components/u-field/u-field.vue" /* harmony default export */ __webpack_exports__["default"] = (component.exports); /***/ }), /***/ 229: /*!*****************************************************************************************************************************************!*\ !*** C:/Users/75965/Desktop/wx-program/node_modules/uview-ui/components/u-field/u-field.vue?vue&type=template&id=578c626d&scoped=true& ***! \*****************************************************************************************************************************************/ /*! exports provided: render, staticRenderFns, recyclableRender, components */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony import */ var _D_apps_hbuilderx_HBuilderX_3_96_2023110403_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_D_apps_hbuilderx_HBuilderX_3_96_2023110403_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_17_0_D_apps_hbuilderx_HBuilderX_3_96_2023110403_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_D_apps_hbuilderx_HBuilderX_3_96_2023110403_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_D_apps_hbuilderx_HBuilderX_3_96_2023110403_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_D_apps_hbuilderx_HBuilderX_3_96_2023110403_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_field_vue_vue_type_template_id_578c626d_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--17-0!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-field.vue?vue&type=template&id=578c626d&scoped=true& */ 230); /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "render", function() { return _D_apps_hbuilderx_HBuilderX_3_96_2023110403_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_D_apps_hbuilderx_HBuilderX_3_96_2023110403_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_17_0_D_apps_hbuilderx_HBuilderX_3_96_2023110403_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_D_apps_hbuilderx_HBuilderX_3_96_2023110403_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_D_apps_hbuilderx_HBuilderX_3_96_2023110403_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_D_apps_hbuilderx_HBuilderX_3_96_2023110403_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_field_vue_vue_type_template_id_578c626d_scoped_true___WEBPACK_IMPORTED_MODULE_0__["render"]; }); /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return _D_apps_hbuilderx_HBuilderX_3_96_2023110403_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_D_apps_hbuilderx_HBuilderX_3_96_2023110403_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_17_0_D_apps_hbuilderx_HBuilderX_3_96_2023110403_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_D_apps_hbuilderx_HBuilderX_3_96_2023110403_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_D_apps_hbuilderx_HBuilderX_3_96_2023110403_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_D_apps_hbuilderx_HBuilderX_3_96_2023110403_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_field_vue_vue_type_template_id_578c626d_scoped_true___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"]; }); /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "recyclableRender", function() { return _D_apps_hbuilderx_HBuilderX_3_96_2023110403_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_D_apps_hbuilderx_HBuilderX_3_96_2023110403_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_17_0_D_apps_hbuilderx_HBuilderX_3_96_2023110403_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_D_apps_hbuilderx_HBuilderX_3_96_2023110403_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_D_apps_hbuilderx_HBuilderX_3_96_2023110403_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_D_apps_hbuilderx_HBuilderX_3_96_2023110403_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_field_vue_vue_type_template_id_578c626d_scoped_true___WEBPACK_IMPORTED_MODULE_0__["recyclableRender"]; }); /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "components", function() { return _D_apps_hbuilderx_HBuilderX_3_96_2023110403_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_D_apps_hbuilderx_HBuilderX_3_96_2023110403_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_17_0_D_apps_hbuilderx_HBuilderX_3_96_2023110403_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_D_apps_hbuilderx_HBuilderX_3_96_2023110403_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_D_apps_hbuilderx_HBuilderX_3_96_2023110403_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_D_apps_hbuilderx_HBuilderX_3_96_2023110403_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_field_vue_vue_type_template_id_578c626d_scoped_true___WEBPACK_IMPORTED_MODULE_0__["components"]; }); /***/ }), /***/ 230: /*!*****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ !*** ./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--17-0!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!C:/Users/75965/Desktop/wx-program/node_modules/uview-ui/components/u-field/u-field.vue?vue&type=template&id=578c626d&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 = { uIcon: function () { return __webpack_require__.e(/*! import() | node-modules/uview-ui/components/u-icon/u-icon */ "node-modules/uview-ui/components/u-icon/u-icon").then(__webpack_require__.bind(null, /*! uview-ui/components/u-icon/u-icon.vue */ 283)) }, } } catch (e) { if ( e.message.indexOf("Cannot find module") !== -1 && e.message.indexOf(".vue") !== -1 ) { console.error(e.message) console.error("1. 排查组件名称拼写是否正确") console.error( "2. 排查组件是否符合 easycom 规范,文档:https://uniapp.dcloud.net.cn/collocation/pages?id=easycom" ) console.error( "3. 若组件不符合 easycom 规范,需手动引入,并在 components 中注册该组件" ) } else { throw e } } var render = function () { var _vm = this var _h = _vm.$createElement var _c = _vm._self._c || _h var s0 = _vm.__get_style([_vm.inputWrapStyle]) var s1 = _vm.type == "textarea" ? _vm.__get_style([_vm.fieldStyle]) : null var s2 = !(_vm.type == "textarea") ? _vm.__get_style([_vm.fieldStyle]) : null var s3 = _vm.rightIcon ? _vm.__get_style([_vm.rightIconStyle]) : null _vm.$mp.data = Object.assign( {}, { $root: { s0: s0, s1: s1, s2: s2, s3: s3, }, } ) } var recyclableRender = false var staticRenderFns = [] render._withStripped = true /***/ }), /***/ 231: /*!***********************************************************************************************************************!*\ !*** C:/Users/75965/Desktop/wx-program/node_modules/uview-ui/components/u-field/u-field.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 _D_apps_hbuilderx_HBuilderX_3_96_2023110403_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_D_apps_hbuilderx_HBuilderX_3_96_2023110403_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_13_1_D_apps_hbuilderx_HBuilderX_3_96_2023110403_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_D_apps_hbuilderx_HBuilderX_3_96_2023110403_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_D_apps_hbuilderx_HBuilderX_3_96_2023110403_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_field_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--13-1!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-field.vue?vue&type=script&lang=js& */ 232); /* harmony import */ var _D_apps_hbuilderx_HBuilderX_3_96_2023110403_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_D_apps_hbuilderx_HBuilderX_3_96_2023110403_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_13_1_D_apps_hbuilderx_HBuilderX_3_96_2023110403_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_D_apps_hbuilderx_HBuilderX_3_96_2023110403_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_D_apps_hbuilderx_HBuilderX_3_96_2023110403_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_field_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_D_apps_hbuilderx_HBuilderX_3_96_2023110403_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_D_apps_hbuilderx_HBuilderX_3_96_2023110403_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_13_1_D_apps_hbuilderx_HBuilderX_3_96_2023110403_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_D_apps_hbuilderx_HBuilderX_3_96_2023110403_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_D_apps_hbuilderx_HBuilderX_3_96_2023110403_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_field_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__); /* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _D_apps_hbuilderx_HBuilderX_3_96_2023110403_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_D_apps_hbuilderx_HBuilderX_3_96_2023110403_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_13_1_D_apps_hbuilderx_HBuilderX_3_96_2023110403_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_D_apps_hbuilderx_HBuilderX_3_96_2023110403_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_D_apps_hbuilderx_HBuilderX_3_96_2023110403_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_field_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 _D_apps_hbuilderx_HBuilderX_3_96_2023110403_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_D_apps_hbuilderx_HBuilderX_3_96_2023110403_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_13_1_D_apps_hbuilderx_HBuilderX_3_96_2023110403_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_D_apps_hbuilderx_HBuilderX_3_96_2023110403_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_D_apps_hbuilderx_HBuilderX_3_96_2023110403_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_field_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__)); /* harmony default export */ __webpack_exports__["default"] = (_D_apps_hbuilderx_HBuilderX_3_96_2023110403_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_D_apps_hbuilderx_HBuilderX_3_96_2023110403_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_13_1_D_apps_hbuilderx_HBuilderX_3_96_2023110403_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_D_apps_hbuilderx_HBuilderX_3_96_2023110403_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_D_apps_hbuilderx_HBuilderX_3_96_2023110403_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_field_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0___default.a); /***/ }), /***/ 232: /*!******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ !*** ./node_modules/babel-loader/lib!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--13-1!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!C:/Users/75965/Desktop/wx-program/node_modules/uview-ui/components/u-field/u-field.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; // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // /** * field 输入框 * @description 借助此组件,可以实现表单的输入, 有"text"和"textarea"类型的,此外,借助uView的picker和actionSheet组件可以快速实现上拉菜单,时间,地区选择等, 为表单解决方案的利器。 * @tutorial https://www.uviewui.com/components/field.html * @property {String} type 输入框的类型(默认text) * @property {String} icon label左边的图标,限uView的图标名称 * @property {Object} icon-style 左边图标的样式,对象形式 * @property {Boolean} right-icon 输入框右边的图标名称,限uView的图标名称(默认false) * @property {Boolean} required 是否必填,左边您显示红色"*"号(默认false) * @property {String} label 输入框左边的文字提示 * @property {Boolean} password 是否密码输入方式(用点替换文字),type为text时有效(默认false) * @property {Boolean} clearable 是否显示右侧清空内容的图标控件(输入框有内容,且获得焦点时才显示),点击可清空输入框内容(默认true) * @property {Number String} label-width label的宽度,单位rpx(默认130) * @property {String} label-align label的文字对齐方式(默认left) * @property {Object} field-style 自定义输入框的样式,对象形式 * @property {Number | String} clear-size 清除图标的大小,单位rpx(默认30) * @property {String} input-align 输入框内容对齐方式(默认left) * @property {Boolean} border-bottom 是否显示field的下边框(默认true) * @property {Boolean} border-top 是否显示field的上边框(默认false) * @property {String} icon-color 左边通过icon配置的图标的颜色(默认#606266) * @property {Boolean} auto-height 是否自动增高输入区域,type为textarea时有效(默认true) * @property {String Boolean} error-message 显示的错误提示内容,如果为空字符串或者false,则不显示错误信息 * @property {String} placeholder 输入框的提示文字 * @property {String} placeholder-style placeholder的样式(内联样式,字符串),如"color: #ddd" * @property {Boolean} focus 是否自动获得焦点(默认false) * @property {Boolean} fixed 如果type为textarea,且在一个"position:fixed"的区域,需要指明为true(默认false) * @property {Boolean} disabled 是否不可输入(默认false) * @property {Number String} maxlength 最大输入长度,设置为 -1 的时候不限制最大长度(默认140) * @property {String} confirm-type 设置键盘右下角按钮的文字,仅在type="text"时生效(默认done) * @event {Function} input 输入框内容发生变化时触发 * @event {Function} focus 输入框获得焦点时触发 * @event {Function} blur 输入框失去焦点时触发 * @event {Function} confirm 点击完成按钮时触发 * @event {Function} right-icon-click 通过right-icon生成的图标被点击时触发 * @event {Function} click 输入框被点击或者通过right-icon生成的图标被点击时触发,这样设计是考虑到传递右边的图标,一般都为需要弹出"picker"等操作时的场景,点击倒三角图标,理应发出此事件,见上方说明 * @example */ var _default2 = { name: "u-field", props: { icon: String, rightIcon: String, // arrowDirection: { // type: String, // default: 'right' // }, required: Boolean, label: String, password: Boolean, clearable: { type: Boolean, default: true }, // 左边标题的宽度单位rpx labelWidth: { type: [Number, String], default: 130 }, // 对齐方式,left|center|right labelAlign: { type: String, default: 'left' }, inputAlign: { type: String, default: 'left' }, iconColor: { type: String, default: '#606266' }, autoHeight: { type: Boolean, default: true }, errorMessage: { type: [String, Boolean], default: '' }, placeholder: String, placeholderStyle: String, focus: Boolean, fixed: Boolean, value: [Number, String], type: { type: String, default: 'text' }, disabled: { type: Boolean, default: false }, maxlength: { type: [Number, String], default: 140 }, confirmType: { type: String, default: 'done' }, // lable的位置,可选为 left-左边,top-上边 labelPosition: { type: String, default: 'left' }, // 输入框的自定义样式 fieldStyle: { type: Object, default: function _default() { return {}; } }, // 清除按钮的大小 clearSize: { type: [Number, String], default: 30 }, // lable左边的图标样式,对象形式 iconStyle: { type: Object, default: function _default() { return {}; } }, // 是否显示上边框 borderTop: { type: Boolean, default: false }, // 是否显示下边框 borderBottom: { type: Boolean, default: true }, // 是否自动去除两端的空格 trim: { type: Boolean, default: true } }, data: function data() { return { focused: false, itemIndex: 0 }; }, computed: { inputWrapStyle: function inputWrapStyle() { var style = {}; style.textAlign = this.inputAlign; // 判断lable的位置,如果是left的话,让input左边两边有间隙 if (this.labelPosition == 'left') { style.margin = "0 8rpx"; } else { // 如果lable是top的,input的左边就没必要有间隙了 style.marginRight = "8rpx"; } return style; }, rightIconStyle: function rightIconStyle() { var style = {}; if (this.arrowDirection == 'top') style.transform = 'roate(-90deg)'; if (this.arrowDirection == 'bottom') style.transform = 'roate(90deg)';else style.transform = 'roate(0deg)'; return style; }, labelStyle: function labelStyle() { var style = {}; if (this.labelAlign == 'left') style.justifyContent = 'flext-start'; if (this.labelAlign == 'center') style.justifyContent = 'center'; if (this.labelAlign == 'right') style.justifyContent = 'flext-end'; return style; }, // uni不支持在computed中写style.justifyContent = 'center'的形式,故用此方法 justifyContent: function justifyContent() { if (this.labelAlign == 'left') return 'flex-start'; if (this.labelAlign == 'center') return 'center'; if (this.labelAlign == 'right') return 'flex-end'; }, // 因为uniapp的input组件的maxlength组件必须要数值,这里转为数值,给用户可以传入字符串数值 inputMaxlength: function inputMaxlength() { return Number(this.maxlength); }, // label的位置 fieldInnerStyle: function fieldInnerStyle() { var style = {}; if (this.labelPosition == 'left') { style.flexDirection = 'row'; } else { style.flexDirection = 'column'; } return style; } }, methods: { onInput: function onInput(event) { var value = event.detail.value; // 判断是否去除空格 if (this.trim) value = this.$u.trim(value); this.$emit('input', value); }, onFocus: function onFocus(event) { this.focused = true; this.$emit('focus', event); }, onBlur: function onBlur(event) { var _this = this; // 最开始使用的是监听图标@touchstart事件,自从hx2.8.4后,此方法在微信小程序出错 // 这里改为监听点击事件,手点击清除图标时,同时也发生了@blur事件,导致图标消失而无法点击,这里做一个延时 setTimeout(function () { _this.focused = false; }, 100); this.$emit('blur', event); }, onConfirm: function onConfirm(e) { this.$emit('confirm', e.detail.value); }, onClear: function onClear(event) { this.$emit('input', ''); }, rightIconClick: function rightIconClick() { this.$emit('right-icon-click'); this.$emit('click'); }, fieldClick: function fieldClick() { this.$emit('click'); } } }; exports.default = _default2; /***/ }), /***/ 233: /*!********************************************************************************************************************************************************!*\ !*** C:/Users/75965/Desktop/wx-program/node_modules/uview-ui/components/u-field/u-field.vue?vue&type=style&index=0&id=578c626d&lang=scss&scoped=true& ***! \********************************************************************************************************************************************************/ /*! no static exports found */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony import */ var _D_apps_hbuilderx_HBuilderX_3_96_2023110403_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_D_apps_hbuilderx_HBuilderX_3_96_2023110403_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_D_apps_hbuilderx_HBuilderX_3_96_2023110403_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_D_apps_hbuilderx_HBuilderX_3_96_2023110403_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_D_apps_hbuilderx_HBuilderX_3_96_2023110403_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_D_apps_hbuilderx_HBuilderX_3_96_2023110403_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_D_apps_hbuilderx_HBuilderX_3_96_2023110403_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_D_apps_hbuilderx_HBuilderX_3_96_2023110403_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_D_apps_hbuilderx_HBuilderX_3_96_2023110403_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_field_vue_vue_type_style_index_0_id_578c626d_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!./node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!./node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--8-oneOf-1-2!./node_modules/postcss-loader/src??ref--8-oneOf-1-3!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--8-oneOf-1-5!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-field.vue?vue&type=style&index=0&id=578c626d&lang=scss&scoped=true& */ 234); /* harmony import */ var _D_apps_hbuilderx_HBuilderX_3_96_2023110403_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_D_apps_hbuilderx_HBuilderX_3_96_2023110403_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_D_apps_hbuilderx_HBuilderX_3_96_2023110403_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_D_apps_hbuilderx_HBuilderX_3_96_2023110403_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_D_apps_hbuilderx_HBuilderX_3_96_2023110403_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_D_apps_hbuilderx_HBuilderX_3_96_2023110403_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_D_apps_hbuilderx_HBuilderX_3_96_2023110403_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_D_apps_hbuilderx_HBuilderX_3_96_2023110403_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_D_apps_hbuilderx_HBuilderX_3_96_2023110403_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_field_vue_vue_type_style_index_0_id_578c626d_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_D_apps_hbuilderx_HBuilderX_3_96_2023110403_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_D_apps_hbuilderx_HBuilderX_3_96_2023110403_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_D_apps_hbuilderx_HBuilderX_3_96_2023110403_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_D_apps_hbuilderx_HBuilderX_3_96_2023110403_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_D_apps_hbuilderx_HBuilderX_3_96_2023110403_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_D_apps_hbuilderx_HBuilderX_3_96_2023110403_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_D_apps_hbuilderx_HBuilderX_3_96_2023110403_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_D_apps_hbuilderx_HBuilderX_3_96_2023110403_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_D_apps_hbuilderx_HBuilderX_3_96_2023110403_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_field_vue_vue_type_style_index_0_id_578c626d_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__); /* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _D_apps_hbuilderx_HBuilderX_3_96_2023110403_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_D_apps_hbuilderx_HBuilderX_3_96_2023110403_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_D_apps_hbuilderx_HBuilderX_3_96_2023110403_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_D_apps_hbuilderx_HBuilderX_3_96_2023110403_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_D_apps_hbuilderx_HBuilderX_3_96_2023110403_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_D_apps_hbuilderx_HBuilderX_3_96_2023110403_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_D_apps_hbuilderx_HBuilderX_3_96_2023110403_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_D_apps_hbuilderx_HBuilderX_3_96_2023110403_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_D_apps_hbuilderx_HBuilderX_3_96_2023110403_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_field_vue_vue_type_style_index_0_id_578c626d_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__) if(["default"].indexOf(__WEBPACK_IMPORT_KEY__) < 0) (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _D_apps_hbuilderx_HBuilderX_3_96_2023110403_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_D_apps_hbuilderx_HBuilderX_3_96_2023110403_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_D_apps_hbuilderx_HBuilderX_3_96_2023110403_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_D_apps_hbuilderx_HBuilderX_3_96_2023110403_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_D_apps_hbuilderx_HBuilderX_3_96_2023110403_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_D_apps_hbuilderx_HBuilderX_3_96_2023110403_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_D_apps_hbuilderx_HBuilderX_3_96_2023110403_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_D_apps_hbuilderx_HBuilderX_3_96_2023110403_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_D_apps_hbuilderx_HBuilderX_3_96_2023110403_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_field_vue_vue_type_style_index_0_id_578c626d_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__)); /* harmony default export */ __webpack_exports__["default"] = (_D_apps_hbuilderx_HBuilderX_3_96_2023110403_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_D_apps_hbuilderx_HBuilderX_3_96_2023110403_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_D_apps_hbuilderx_HBuilderX_3_96_2023110403_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_D_apps_hbuilderx_HBuilderX_3_96_2023110403_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_D_apps_hbuilderx_HBuilderX_3_96_2023110403_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_D_apps_hbuilderx_HBuilderX_3_96_2023110403_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_D_apps_hbuilderx_HBuilderX_3_96_2023110403_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_D_apps_hbuilderx_HBuilderX_3_96_2023110403_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_D_apps_hbuilderx_HBuilderX_3_96_2023110403_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_u_field_vue_vue_type_style_index_0_id_578c626d_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0___default.a); /***/ }), /***/ 234: /*!************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ !*** ./node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!./node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--8-oneOf-1-2!./node_modules/postcss-loader/src??ref--8-oneOf-1-3!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--8-oneOf-1-5!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!C:/Users/75965/Desktop/wx-program/node_modules/uview-ui/components/u-field/u-field.vue?vue&type=style&index=0&id=578c626d&lang=scss&scoped=true& ***! \************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ /*! no static exports found */ /***/ (function(module, exports, __webpack_require__) { // extracted by mini-css-extract-plugin if(false) { var cssReload; } /***/ }) }]); //# sourceMappingURL=../../../../../.sourcemap/mp-weixin/node-modules/uview-ui/components/u-field/u-field.js.map ;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([ 'node-modules/uview-ui/components/u-field/u-field-create-component', { 'node-modules/uview-ui/components/u-field/u-field-create-component':(function(module, exports, __webpack_require__){ __webpack_require__('2')['createComponent'](__webpack_require__(228)) }) }, [['node-modules/uview-ui/components/u-field/u-field-create-component']] ]);