c-input-item.js.map 43.4 KB
{"version":3,"sources":["webpack:////Users/juvenile/Documents/web/xiaoai/excellent-working/components/c-input-item/c-input-item.vue?8639","webpack:////Users/juvenile/Documents/web/xiaoai/excellent-working/components/c-input-item/c-input-item.vue?c07d","webpack:////Users/juvenile/Documents/web/xiaoai/excellent-working/components/c-input-item/c-input-item.vue?d7cd","webpack:////Users/juvenile/Documents/web/xiaoai/excellent-working/components/c-input-item/c-input-item.vue?8fdf","uni-app:///components/c-input-item/c-input-item.vue","webpack:////Users/juvenile/Documents/web/xiaoai/excellent-working/components/c-input-item/c-input-item.vue?0dc0","webpack:////Users/juvenile/Documents/web/xiaoai/excellent-working/components/c-input-item/c-input-item.vue?0a86"],"names":[],"mappings":"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BACA,YADA,EAEA,eAFA,EA3CA,EA+CA,YACA,YADA,EAEA,cAFA,EA/CA,EAoDA,oBACA,YADA,EAEA,iDAFA,EApDA,EAwDA,eACA,YADA,EAEA,OAFA,sBAEA,CACA,SACA,iBADA,EAEA,aAFA,EAGA,8CAHA,CAIA;AAJA,UAMA,CATA,EAxDA,EAmEA;AACA,eACA,WADA,EAEA,OAFA,sBAEA,CACA,UACA,CAJA,EApEA,EA0EA;AACA,YACA,WADA,EAEA,OAFA,sBAEA,CACA,WACA,CAJA,EA3EA,EAFA,EAoFA,IApFA,kBAoFA,CACA,SACA,mBADA,EAEA,qBAFA,EAGA,gBAHA,GAKA,CA1FA,EA4FA,SA5FA,EA6FA,YACA,aACA;AACA,2BACA,iDACA,oBAEA,IACA,iBACA,wBADA,IAEA,oCAHA,EAIA,CACA,UACA,CAEA,oBACA,YACA,gEACA,MAEA,aACA,0BACA,8CADA,GAEA,EAFA,CAGA,MAEA,aACA,0BACA,oDADA,GAEA,EAFA,CAGA,MACA,aACA,0BACA,8CADA,GAEA,EAFA,CAGA,MAEA,cACA,8DACA,kCACA,CAFA,EAGA,4BACA,MAEA,eACA,+DACA,kCACA,CAFA,EAGA,6BACA,MAEA,eACA,+DACA,kCACA,CAFA,EAGA,6BACA,MAEA,oCACA,IADA,CACA,OADA,CACA,OADA,8BACA,EADA,iBAGA,oBACA,MAEA,YACA,aACA,aACA,wBACA,GADA,GAEA,iBAFA,GAGA,GAHA,GAIA,qBALA,CAMA,kBACA,MAEA,QACA,oBACA,MA9DA,CAgEA,CA9EA,EA+EA;AACA,mCACA;AAEA,4BACA,cACA,eACA,8BACA,gBACA,MAEA,YACA,aACA,gBACA,iBACA,iBACA,aACA,cACA,8BACA,gBACA,MAEA,YACA,aACA,aACA,aACA,cACA,eACA,eACA,YACA,yBACA,MA3BA,CA6BA,CAhHA,EADA,EA7FA,EAiNA,WACA,WADA,uBACA,IADA,EACA,CACA,eACA,YACA,wBACA,MAEA,cACA,2BACA,KACA;AACA,+BACA,CAHA,CAGA,YACA,MAEA,eACA,2BACA,KACA;AACA,+BACA,CAHA,CAGA,YACA,MAEA,eACA,2BACA,KACA;AACA,+BACA,CAHA,CAGA,YACA,MA3BA,CA6BA,CA/BA,EAiCA,OAjCA,mBAiCA,KAjCA,EAiCA,CACA,2BACA,CAnCA,EAqCA,aArCA,yBAqCA,KArCA,EAqCA,CACA,yCACA,UADA,EAEA,uBAFA,EAGA,SAHA,EAKA,+CAEA,iDARA,CAUA;AAEA,uCACA,+BACA,CAnDA,EAoDA,cApDA,0BAoDA,KApDA,EAoDA,CACA,4DADA,CAEA;AAEA,2DAJA,CAKA;AAEA,4CAPA,CAQA;AAEA,2EAVA,CAYA;AAEA,uCACA,+BACA,CApEA,EAqEA,cArEA,0BAqEA,KArEA,EAqEA,CACA,WACA,aACA,GADA,GAEA,WAFA,GAGA,GAHA,GAIA,SAJA,GAKA,GALA,GAMA,UANA,GAOA,GAPA,GAQA,YATA,CADA,CAWA;AAEA,2DAbA,CAcA;AAEA,4CAhBA,CAiBA;AAEA,2EAnBA,CAqBA;AAEA,uCACA,+BACA,CA9FA,EAgGA,cAhGA,0BAgGA,KAhGA,EAgGA,CACA,4DADA,CAEA;AAEA,2DAJA,CAKA;AAEA,4CAPA,CAQA;AAEA,qEAVA,CAYA;AAEA,uCACA,+BACA,CAhHA,EAkHA,eAlHA,2BAkHA,KAlHA,EAkHA,CACA,mCACA,oCACA,CArHA,EAuHA,kBAvHA,8BAuHA,KAvHA,EAuHA,CACA,sBACA,kBAEA,gCACA,yCACA,gCACA,2BACA,CAFA,MAEA,CACA,iCACA,CACA,0BACA,CAPA,EAQA,CACA,iCACA,8BACA,CAvIA,EAwIA,aAxIA,yBAwIA,KAxIA,EAwIA,CACA;AACA,4BACA,kBAEA,gCACA,yCACA,gBACA,OACA,iCACA,+BACA,oCACA,MACA,OACA,iCACA,2BACA,gCACA,MACA,OACA,2BACA,+BACA,oCACA,MAfA,CAiBA,CAlBA,EAmBA,CACA,iCACA,8BACA,CApKA,EAjNA,E;;;;;;;;;;;;;ACxlBA;AAAA;AAAA;AAAA;AAAsjD,CAAgB,45CAAG,EAAC,C;;;;;;;;;;;ACA1kD;AACA,OAAO,KAAU,EAAE,kBAKd","file":"components/c-input-item/c-input-item.js","sourcesContent":["import { render, staticRenderFns, recyclableRender, components } from \"./c-input-item.vue?vue&type=template&id=47f60cf8&scoped=true&\"\nvar renderjs\nimport script from \"./c-input-item.vue?vue&type=script&lang=js&\"\nexport * from \"./c-input-item.vue?vue&type=script&lang=js&\"\nimport style0 from \"./c-input-item.vue?vue&type=style&index=0&id=47f60cf8&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n  script,\n  render,\n  staticRenderFns,\n  false,\n  null,\n  \"47f60cf8\",\n  null,\n  false,\n  components,\n  renderjs\n)\n\ncomponent.options.__file = \"components/c-input-item/c-input-item.vue\"\nexport default component.exports","export * from \"-!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--16-0!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./c-input-item.vue?vue&type=template&id=47f60cf8&scoped=true&\"","var components\ntry {\n  components = {\n    uFormItem: function() {\n      return import(\n        /* webpackChunkName: \"uview-ui/components/u-form-item/u-form-item\" */ \"@/uview-ui/components/u-form-item/u-form-item.vue\"\n      )\n    },\n    uInput: function() {\n      return import(\n        /* webpackChunkName: \"uview-ui/components/u-input/u-input\" */ \"@/uview-ui/components/u-input/u-input.vue\"\n      )\n    },\n    uRadioGroup: function() {\n      return import(\n        /* webpackChunkName: \"uview-ui/components/u-radio-group/u-radio-group\" */ \"@/uview-ui/components/u-radio-group/u-radio-group.vue\"\n      )\n    },\n    uRadio: function() {\n      return import(\n        /* webpackChunkName: \"uview-ui/components/u-radio/u-radio\" */ \"@/uview-ui/components/u-radio/u-radio.vue\"\n      )\n    },\n    uPicker: function() {\n      return import(\n        /* webpackChunkName: \"uview-ui/components/u-picker/u-picker\" */ \"@/uview-ui/components/u-picker/u-picker.vue\"\n      )\n    },\n    uSelect: function() {\n      return import(\n        /* webpackChunkName: \"uview-ui/components/u-select/u-select\" */ \"@/uview-ui/components/u-select/u-select.vue\"\n      )\n    }\n  }\n} catch (e) {\n  if (\n    e.message.indexOf(\"Cannot find module\") !== -1 &&\n    e.message.indexOf(\".vue\") !== -1\n  ) {\n    console.error(e.message)\n    console.error(\"1. 排查组件名称拼写是否正确\")\n    console.error(\n      \"2. 排查组件是否符合 easycom 规范,文档:https://uniapp.dcloud.net.cn/collocation/pages?id=easycom\"\n    )\n    console.error(\n      \"3. 若组件不符合 easycom 规范,需手动引入,并在 components 中注册该组件\"\n    )\n  } else {\n    throw e\n  }\n}\nvar render = function() {\n  var _vm = this\n  var _h = _vm.$createElement\n  var _c = _vm._self._c || _h\n  if (!_vm._isMounted) {\n    _vm.e0 = function($event) {\n      _vm.time_visible = true\n    }\n\n    _vm.e1 = function($event) {\n      _vm.time_visible = true\n    }\n\n    _vm.e2 = function($event) {\n      _vm.time_visible = true\n    }\n\n    _vm.e3 = function($event) {\n      _vm.time_visible = true\n    }\n\n    _vm.e4 = function($event) {\n      _vm.select_visible = true\n    }\n\n    _vm.e5 = function($event) {\n      _vm.select_visible = true\n    }\n\n    _vm.e6 = function($event) {\n      _vm.select_visible = true\n    }\n  }\n}\nvar recyclableRender = false\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns, recyclableRender, components }","import mod from \"-!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./c-input-item.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./c-input-item.vue?vue&type=script&lang=js&\"","<template>\r\n  <view class=\"c-input-item\" :style=\"vuex_theme\">\r\n    <!-- 文本、数字框 -->\r\n    <u-form-item\r\n      v-if=\"type == 'text'\"\r\n      :label=\"label\"\r\n      :labelWidth=\"200\"\r\n      :label-style=\"{\r\n        whiteSpace: 'nowrap',\r\n        fontSize: '30rpx',\r\n        color: '#000000',\r\n      }\"\r\n      :required=\"required\"\r\n      :right-icon=\"rightIcon ? 'arrow-right' : ''\"\r\n      :prop=\"name\"\r\n    >\r\n      <u-input\r\n        v-model=\"getValues\"\r\n        :maxlength=\"maxlenth\"\r\n        input-align=\"right\"\r\n        :disabled=\"disabled\"\r\n        :placeholder=\"placeholder ? placeholder : '请输入'\"\r\n        :placeholder-style=\"'font-size:34rpx;color:rgba(0,0,0,0.45);'\"\r\n        :customStyle=\"customStyle\"\r\n        :clearable=\"clearable\"\r\n        @click=\"handelClick('text')\"\r\n      />\r\n    </u-form-item>\r\n    <u-form-item\r\n      v-if=\"type == 'text1'\"\r\n      :label=\"label\"\r\n      :labelWidth=\"200\"\r\n      :label-position=\"'top'\"\r\n      :label-style=\"{\r\n        whiteSpace: 'nowrap',\r\n        fontSize: '26rpx',\r\n        color: '#000000',\r\n      }\"\r\n      :required=\"required\"\r\n      :right-icon=\"rightIcon ? 'arrow-right' : ''\"\r\n      :prop=\"name\"\r\n    >\r\n      <u-input\r\n        v-model=\"getValues\"\r\n        :maxlength=\"maxlenth\"\r\n        input-align=\"left\"\r\n        :disabled=\"disabled\"\r\n        :placeholder=\"placeholder ? placeholder : '请输入'\"\r\n        :placeholderStyle=\"placeholderStyle\"\r\n        :customStyle=\"customStyle\"\r\n        :clearable=\"clearable\"\r\n        @click=\"handelClick('text')\"\r\n      />\r\n    </u-form-item>\r\n    <u-form-item\r\n      v-if=\"type == 'number'\"\r\n      :label=\"label\"\r\n      :labelWidth=\"200\"\r\n      :label-style=\"{\r\n        whiteSpace: 'nowrap',\r\n        fontSize: '30rpx',\r\n        color: '#000000',\r\n      }\"\r\n      :required=\"required\"\r\n      :right-icon=\"rightIcon ? 'arrow-right' : ''\"\r\n      :prop=\"name\"\r\n    >\r\n      <u-input\r\n        v-model=\"getValues\"\r\n        :maxlength=\"maxlenth\"\r\n        type=\"number\"\r\n        input-align=\"right\"\r\n        :disabled=\"disabled\"\r\n        :placeholder=\"placeholder ? placeholder : '请输入'\"\r\n        :placeholder-style=\"'font-size:34rpx;color:rgba(0,0,0,0.45);'\"\r\n        :clearable=\"clearable\"\r\n        :customStyle=\"customStyle\"\r\n      />\r\n    </u-form-item>\r\n    <u-form-item\r\n      v-if=\"type == 'number1'\"\r\n      :label=\"label\"\r\n      :labelWidth=\"200\"\r\n      :label-position=\"'top'\"\r\n      :label-style=\"{\r\n        whiteSpace: 'nowrap',\r\n        fontSize: '26rpx',\r\n        color: '#000000',\r\n      }\"\r\n      :required=\"required\"\r\n      :right-icon=\"rightIcon ? 'arrow-right' : ''\"\r\n      :prop=\"name\"\r\n    >\r\n      <u-input\r\n        v-model=\"getValues\"\r\n        :maxlength=\"maxlenth\"\r\n        type=\"number\"\r\n        input-align=\"left\"\r\n        :disabled=\"disabled\"\r\n        :placeholder=\"placeholder ? placeholder : '请输入'\"\r\n        :placeholderStyle=\"placeholderStyle\"\r\n        :customStyle=\"customStyle\"\r\n        :clearable=\"clearable\"\r\n      />\r\n    </u-form-item>\r\n    <!-- 单选 -->\r\n    <u-form-item\r\n      v-if=\"type == 'radio'\"\r\n      :label=\"label\"\r\n      :labelWidth=\"200\"\r\n      :label-style=\"{\r\n        whiteSpace: 'nowrap',\r\n        fontSize: '30rpx',\r\n        color: '#000000',\r\n      }\"\r\n      :required=\"required\"\r\n      :right-icon=\"rightIcon ? 'arrow-right' : ''\"\r\n      :prop=\"name\"\r\n    >\r\n      <u-radio-group v-model=\"getValues\">\r\n        <u-radio\r\n          v-for=\"(item, index) in options\"\r\n          :key=\"index\"\r\n          :name=\"item.value\"\r\n          :disabled=\"item.disabled\"\r\n          active-color=\"var(--primary-color)\"\r\n        >\r\n          {{ item.label }}\r\n        </u-radio>\r\n      </u-radio-group>\r\n    </u-form-item>\r\n    <u-form-item\r\n      v-if=\"type == 'radio1'\"\r\n      :label=\"label\"\r\n      :labelWidth=\"200\"\r\n      :label-position=\"'top'\"\r\n      :label-style=\"{\r\n        whiteSpace: 'nowrap',\r\n        fontSize: '26rpx',\r\n        color: '#000000',\r\n      }\"\r\n      :required=\"required\"\r\n      :right-icon=\"rightIcon ? 'arrow-right' : ''\"\r\n      :prop=\"name\"\r\n    >\r\n      <u-radio-group v-model=\"getValues\" style=\"width: fit-content\">\r\n        <u-radio\r\n          v-for=\"(item, index) in options\"\r\n          :key=\"index\"\r\n          :name=\"item.value\"\r\n          :disabled=\"item.disabled\"\r\n          active-color=\"var(--primary-color)\"\r\n        >\r\n          {{ item.label }}\r\n        </u-radio>\r\n      </u-radio-group>\r\n    </u-form-item>\r\n    <!-- 时间选择器 -->\r\n    <u-form-item\r\n      v-if=\"type == 'date'\"\r\n      :label=\"label\"\r\n      :labelWidth=\"200\"\r\n      :label-style=\"{\r\n        whiteSpace: 'nowrap',\r\n        fontSize: '30rpx',\r\n        color: '#000000',\r\n      }\"\r\n      :required=\"required\"\r\n      :right-icon=\"rightIcon ? 'arrow-right' : ''\"\r\n      :prop=\"name\"\r\n    >\r\n      <u-input\r\n        v-model=\"getValues\"\r\n        type=\"text\"\r\n        input-align=\"right\"\r\n        :disabled=\"true\"\r\n        :clearable=\"clearable\"\r\n        :placeholder=\"placeholder ? placeholder : '请选择时间'\"\r\n        :placeholderStyle=\"placeholderStyle\"\r\n        @click=\"time_visible = true\"\r\n      />\r\n      <u-picker\r\n        @confirm=\"onConfirmTime\"\r\n        mode=\"time\"\r\n        v-model=\"time_visible\"\r\n        confirm-color=\"var(--primary-color)\"\r\n        :params=\"{\r\n          year: true,\r\n          month: true,\r\n          day: true,\r\n        }\"\r\n      ></u-picker>\r\n    </u-form-item>\r\n    <u-form-item\r\n      v-if=\"type == 'date1'\"\r\n      :label=\"label\"\r\n      :labelWidth=\"200\"\r\n      :label-style=\"{\r\n        whiteSpace: 'nowrap',\r\n        fontSize: '30rpx',\r\n        color: '#000000',\r\n      }\"\r\n      :required=\"required\"\r\n      :right-icon=\"rightIcon ? 'arrow-right' : ''\"\r\n      :prop=\"name\"\r\n\t\t\t\r\n    >\r\n      <u-input\r\n        v-model=\"getValues\"\r\n        type=\"text\"\r\n        input-align=\"right\"\r\n        :disabled=\"true\"\r\n        :clearable=\"clearable\"\r\n        :placeholder=\"placeholder ? placeholder : '请选择时间'\"\r\n        :placeholderStyle=\"placeholderStyle\"\r\n        :customStyle=\"customStyle\"\r\n        @click=\"time_visible = true\"\r\n      />\r\n      <u-picker\r\n        @confirm=\"onConfirmTime1\"\r\n        mode=\"time\"\r\n        v-model=\"time_visible\"\r\n        confirm-color=\"var(--primary-color)\"\r\n        :params=\"{\r\n          year: true,\r\n          month: true,\r\n          day: true,\r\n        }\"\r\n      ></u-picker>\r\n    </u-form-item>\r\n    <u-form-item\r\n      v-if=\"type == 'date2'\"\r\n      :label=\"label\"\r\n      :labelWidth=\"200\"\r\n      :label-position=\"'top'\"\r\n      :label-style=\"{\r\n        whiteSpace: 'nowrap',\r\n        fontSize: '26rpx',\r\n        color: '#000000',\r\n        height: '20px',\r\n      }\"\r\n      :required=\"required\"\r\n      :right-icon=\"rightIcon ? 'arrow-right' : ''\"\r\n      :prop=\"name\"\r\n    >\r\n      <u-input\r\n        v-model=\"getValues\"\r\n        type=\"text\"\r\n        input-align=\"left\"\r\n        :disabled=\"true\"\r\n        :border=\"border\"\r\n        :clearable=\"clearable\"\r\n        :placeholder=\"placeholder ? placeholder : '请选择时间'\"\r\n        :placeholderStyle=\"placeholderStyle\"\r\n        @click=\"time_visible = true\"\r\n        :customStyle=\"customStyle\"\r\n      />\r\n      <u-picker\r\n        @confirm=\"onConfirmTime2\"\r\n        mode=\"time\"\r\n        v-model=\"time_visible\"\r\n        confirm-color=\"var(--primary-color)\"\r\n        :params=\"{\r\n          year: true,\r\n          month: true,\r\n          day: true,\r\n          hour: true,\r\n          minute: true,\r\n        }\"\r\n      ></u-picker>\r\n    </u-form-item>\r\n    <u-form-item\r\n      v-if=\"type == 'date3'\"\r\n      :label=\"label\"\r\n      :labelWidth=\"200\"\r\n      :label-position=\"'top'\"\r\n      :label-style=\"{\r\n        whiteSpace: 'nowrap',\r\n        fontSize: '26rpx',\r\n        color: '#000000',\r\n        height: '20px',\r\n      }\"\r\n      :required=\"required\"\r\n      :right-icon=\"rightIcon ? 'arrow-right' : ''\"\r\n      :prop=\"name\"\r\n    >\r\n      <u-input\r\n        v-model=\"getValues\"\r\n        type=\"text\"\r\n        input-align=\"left\"\r\n        :disabled=\"true\"\r\n        :border=\"border\"\r\n        :clearable=\"clearable\"\r\n        :placeholder=\"placeholder ? placeholder : '请选择时间'\"\r\n        :placeholderStyle=\"placeholderStyle\"\r\n        @click=\"time_visible = true\"\r\n        :customStyle=\"customStyle\"\r\n      />\r\n      <u-picker\r\n        @confirm=\"onConfirmTime3\"\r\n        mode=\"time\"\r\n        v-model=\"time_visible\"\r\n        confirm-color=\"var(--primary-color)\"\r\n        :params=\"{\r\n          year: true,\r\n          month: true,\r\n          day: true,\r\n        }\"\r\n      ></u-picker>\r\n    </u-form-item>\r\n\r\n    <!-- 单列模式 -->\r\n    <u-form-item\r\n      v-if=\"type == 'select'\"\r\n      :label=\"label\"\r\n      :labelWidth=\"200\"\r\n      :label-position=\"labelPosition\"\r\n      :label-style=\"{\r\n        whiteSpace: 'nowrap',\r\n        fontSize: '30rpx',\r\n        color: '#000000',\r\n      }\"\r\n      :required=\"required\"\r\n      :right-icon=\"rightIcon ? 'arrow-right' : ''\"\r\n      :prop=\"name\"\r\n    >\r\n      <u-input\r\n        v-model=\"getValues\"\r\n        :maxlength=\"100\"\r\n        input-align=\"right\"\r\n        :disabled=\"true\"\r\n        :clearable=\"clearable\"\r\n        :placeholder=\"placeholder ? placeholder : '请选择'\"\r\n        :placeholder-style=\"'font-size:34rpx;color:rgba(0,0,0,0.45);'\"\r\n        :customStyle=\"customStyle\"\r\n        @click=\"handelClick('select')\"\r\n      />\r\n      <u-select\r\n        @confirm=\"onConfirmSingle\"\r\n        v-model=\"select_visible\"\r\n        mode=\"single-column\"\r\n        confirm-color=\"var(--primary-color)\"\r\n        :list=\"options\"\r\n        :default-value=\"defs\"\r\n      >\r\n      </u-select>\r\n    </u-form-item>\r\n    <u-form-item\r\n      v-if=\"type == 'select1'\"\r\n      :label=\"label\"\r\n      :labelWidth=\"200\"\r\n      :label-position=\"'top'\"\r\n      :label-style=\"{\r\n        whiteSpace: 'nowrap',\r\n        fontSize: '26rpx',\r\n        color: '#000000',\r\n        height: '20px',\r\n      }\"\r\n      :required=\"required\"\r\n      :right-icon=\"rightIcon ? 'arrow-right' : ''\"\r\n      :prop=\"name\"\r\n    >\r\n      <u-input\r\n        v-model=\"getValues\"\r\n        :maxlength=\"100\"\r\n        input-align=\"left\"\r\n        :disabled=\"true\"\r\n        :border=\"border\"\r\n        :clearable=\"clearable\"\r\n        :placeholder=\"placeholder ? placeholder : '请选择'\"\r\n        :placeholderStyle=\"placeholderStyle\"\r\n        :customStyle=\"customStyle\"\r\n        @click=\"handelClick('select')\"\r\n      />\r\n      <u-select\r\n        @confirm=\"onConfirmSingle\"\r\n        v-model=\"select_visible\"\r\n        mode=\"single-column\"\r\n        confirm-color=\"var(--primary-color)\"\r\n        :list=\"options\"\r\n        :default-value=\"defs\"\r\n      >\r\n      </u-select>\r\n    </u-form-item>\r\n    <u-form-item\r\n      v-if=\"type == 'select2'\"\r\n      :label=\"label\"\r\n      :labelWidth=\"200\"\r\n      :label-style=\"{\r\n        whiteSpace: 'nowrap',\r\n        fontSize: '26rpx',\r\n        color: '#000000',\r\n      }\"\r\n      :required=\"required\"\r\n      :right-icon=\"rightIcon ? 'arrow-right' : ''\"\r\n      :prop=\"name\"\r\n    >\r\n      <u-input\r\n        v-model=\"getValues\"\r\n        :maxlength=\"100\"\r\n        input-align=\"right\"\r\n        :disabled=\"true\"\r\n        :clearable=\"clearable\"\r\n        :placeholder=\"placeholder ? placeholder : '请选择'\"\r\n        :placeholderStyle=\"placeholderStyle\"\r\n        @click=\"handelClick('select')\"\r\n        :customStyle=\"customStyle\"\r\n      />\r\n      <u-select\r\n        @confirm=\"onConfirmSingle\"\r\n        v-model=\"select_visible\"\r\n        mode=\"single-column\"\r\n        confirm-color=\"var(--primary-color)\"\r\n        :list=\"options\"\r\n        :default-value=\"defs\"\r\n      >\r\n      </u-select>\r\n    </u-form-item>\r\n    <!-- 多列联动模式 -->\r\n    <u-form-item\r\n      v-if=\"type == 'cascader'\"\r\n      :label=\"label\"\r\n      :labelWidth=\"200\"\r\n      :label-style=\"{\r\n        whiteSpace: 'nowrap',\r\n        fontSize: '30rpx',\r\n        color: '#000000',\r\n      }\"\r\n      :required=\"required\"\r\n      :right-icon=\"rightIcon ? 'arrow-right' : ''\"\r\n      :prop=\"name\"\r\n    >\r\n      <u-input\r\n        v-model=\"getValues\"\r\n        input-align=\"right\"\r\n        :disabled=\"true\"\r\n        :clearable=\"clearable\"\r\n        :placeholder=\"placeholder ? placeholder : '请选择'\"\r\n        :placeholderStyle=\"placeholderStyle\"\r\n        @click=\"select_visible = true\"\r\n      />\r\n      <u-select\r\n        @confirm=\"onConfirmAutoMutil\"\r\n        v-model=\"select_visible\"\r\n        mode=\"mutil-column-auto\"\r\n        :list=\"options\"\r\n        confirm-color=\"var(--primary-color)\"\r\n      >\r\n      </u-select>\r\n    </u-form-item>\r\n    <!-- 省市区选择 -->\r\n    <u-form-item\r\n      v-if=\"type == 'area'\"\r\n      :label=\"label\"\r\n      :labelWidth=\"200\"\r\n      :label-style=\"{\r\n        whiteSpace: 'nowrap',\r\n        fontSize: '30rpx',\r\n        color: '#000000',\r\n      }\"\r\n      :required=\"required\"\r\n      :right-icon=\"rightIcon ? 'arrow-right' : ''\"\r\n      :prop=\"name\"\r\n    >\r\n      <u-input\r\n        v-model=\"getValues\"\r\n        input-align=\"right\"\r\n        :disabled=\"true\"\r\n        :clearable=\"clearable\"\r\n        :placeholder=\"placeholder ? placeholder : '请选择'\"\r\n        :placeholderStyle=\"placeholderStyle\"\r\n        @click=\"select_visible = true\"\r\n        :customStyle=\"customStyle\"\r\n      />\r\n      <u-select\r\n        @confirm=\"onConfirmArea\"\r\n        v-model=\"select_visible\"\r\n        mode=\"mutil-column-auto\"\r\n        :list=\"options\"\r\n        confirm-color=\"var(--primary-color)\"\r\n      >\r\n      </u-select>\r\n    </u-form-item>\r\n    <u-form-item\r\n      v-if=\"type == 'area1'\"\r\n      :label=\"label\"\r\n      :labelWidth=\"200\"\r\n      :label-position=\"'top'\"\r\n      :label-style=\"{\r\n        whiteSpace: 'nowrap',\r\n        fontSize: '26rpx',\r\n        color: '#000000',\r\n      }\"\r\n      :required=\"required\"\r\n      :right-icon=\"rightIcon ? 'arrow-right' : ''\"\r\n      :prop=\"name\"\r\n    >\r\n      <u-input\r\n        v-model=\"getValues\"\r\n        input-align=\"left\"\r\n        :disabled=\"true\"\r\n        :clearable=\"clearable\"\r\n        :placeholder=\"placeholder ? placeholder : '请选择'\"\r\n        :placeholderStyle=\"placeholderStyle\"\r\n        @click=\"select_visible = true\"\r\n        :customStyle=\"customStyle\"\r\n      />\r\n      <u-select\r\n        @confirm=\"onConfirmArea\"\r\n        v-model=\"select_visible\"\r\n        mode=\"mutil-column-auto\"\r\n        :list=\"options\"\r\n        confirm-color=\"var(--primary-color)\"\r\n      >\r\n      </u-select>\r\n    </u-form-item>\r\n    <!-- 文本输入框 -->\r\n    <u-form-item\r\n      v-if=\"type == 'textarea'\"\r\n      :label=\"label\"\r\n      :labelWidth=\"200\"\r\n      :label-style=\"{\r\n        whiteSpace: 'nowrap',\r\n        fontSize: '30rpx',\r\n        color: '#000000',\r\n      }\"\r\n      :required=\"required\"\r\n      :right-icon=\"rightIcon ? 'arrow-right' : ''\"\r\n      :prop=\"name\"\r\n    >\r\n      <u-input\r\n        v-model=\"getValues\"\r\n        input-align=\"right\"\r\n        :disabled=\"disabled\"\r\n        :placeholder=\"placeholder ? placeholder : '请输入'\"\r\n        :placeholderStyle=\"placeholderStyle\"\r\n        :clearable=\"clearable\"\r\n      />\r\n    </u-form-item>\r\n    <u-form-item\r\n      v-if=\"type == 'textarea1'\"\r\n      :label=\"label\"\r\n      :labelWidth=\"200\"\r\n      :label-position=\"'top'\"\r\n      :label-style=\"{\r\n        whiteSpace: 'nowrap',\r\n        fontSize: '26rpx',\r\n        color: '#000000',\r\n      }\"\r\n      :required=\"required\"\r\n      :prop=\"name\"\r\n    >\r\n      <u-input\r\n        v-model=\"getValues\"\r\n        input-align=\"left\"\r\n        :maxlength=\"maxlenth\"\r\n        :disabled=\"disabled\"\r\n        :border=\"border\"\r\n        :placeholder=\"placeholder ? placeholder : '请输入请假原因'\"\r\n        :placeholderStyle=\"placeholderStyle\"\r\n        :clearable=\"clearable\"\r\n        :customStyle=\"customStyle\"\r\n        :type=\"'textarea'\"\r\n        :height=\"50\"\r\n      />\r\n    </u-form-item>\r\n    <u-form-item\r\n      v-if=\"type == 'textarea2'\"\r\n      :label=\"label\"\r\n      :labelWidth=\"200\"\r\n      :label-position=\"'top'\"\r\n      :label-style=\"{\r\n        whiteSpace: 'nowrap',\r\n        fontSize: '26rpx',\r\n        color: '#000000',\r\n      }\"\r\n      :required=\"required\"\r\n      :prop=\"name\"\r\n    >\r\n      <u-input\r\n        v-model=\"getValues\"\r\n        input-align=\"left\"\r\n        :maxlength=\"maxlenth\"\r\n        :disabled=\"disabled\"\r\n        :border=\"border\"\r\n        :placeholder=\"placeholder ? placeholder : '请输入请假原因'\"\r\n        :placeholderStyle=\"placeholderStyle\"\r\n        :clearable=\"clearable\"\r\n        :customStyle=\"customStyle\"\r\n        :type=\"'textarea'\"\r\n        :height=\"50\"\r\n      />\r\n    </u-form-item>\r\n  </view>\r\n</template>\r\n\r\n<script>\r\nimport miment from \"miment\";\r\nimport { getLabel } from \"../../common/util.js\";\r\n\r\nexport default {\r\n  name: \"u-input-item\",\r\n  props: {\r\n    //title\r\n    label: {\r\n      type: String,\r\n      default: \"\",\r\n    },\r\n    type: {\r\n      type: String,\r\n      default: \"text\",\r\n    },\r\n    // 是否显示左边的必填星号,只作显示用,具体校验必填的逻辑,请在rules中配置\r\n    required: {\r\n      type: Boolean,\r\n      default: false,\r\n    },\r\n    rightIcon: {\r\n      type: Boolean,\r\n      default: true,\r\n    },\r\n    //表单提交时的key\r\n    name: {\r\n      type: String,\r\n      default: \"\",\r\n    },\r\n    value: {\r\n      type: Object,\r\n      default() {\r\n        return {};\r\n      },\r\n    },\r\n    clearable: {\r\n      type: Boolean,\r\n      default: false,\r\n    },\r\n    disabled: {\r\n      type: Boolean,\r\n      default: false,\r\n    },\r\n\r\n    placeholder: {\r\n      type: String,\r\n      default: \"\",\r\n    },\r\n    labelPosition: {\r\n      type: String,\r\n      default: \"left\",\r\n    },\r\n    maxlenth: {\r\n      type: String,\r\n      default: \"100\",\r\n    },\r\n\r\n    placeholderStyle: {\r\n      type: String,\r\n      default: \"fontSize:34rpx;color:rgba(0,0,0,0.45);\",\r\n    },\r\n    customStyle: {\r\n      type: Object,\r\n      default() {\r\n        return {\r\n          fontSize: \"34rpx\",\r\n          color: \"#000\",\r\n          fontFamily: \" PingFangSC-Regular, PingFang SC\",\r\n          // fontWeight: 500,\r\n        };\r\n      },\r\n    },\r\n    //单选框数据列表\r\n    options: {\r\n      type: Array,\r\n      default() {\r\n        return [];\r\n      },\r\n    },\r\n    //\r\n    defs: {\r\n      type: Array,\r\n      default() {\r\n        return [0];\r\n      },\r\n    },\r\n  },\r\n  data() {\r\n    return {\r\n      time_visible: false,\r\n      select_visible: false,\r\n      currentValue: \"\",\r\n    };\r\n  },\r\n\r\n  watch: {},\r\n  computed: {\r\n    getValues: {\r\n      // getter\r\n      get: function () {\r\n        const defaultValue = this.$parent.model[this.name];\r\n        let finalValue = \"\";\r\n\r\n        if (\r\n          !defaultValue ||\r\n          defaultValue.length <= 0 ||\r\n          JSON.stringify(defaultValue) == \"{}\"\r\n        ) {\r\n          return \"\";\r\n        }\r\n\r\n        switch (this.type) {\r\n          case \"date\":\r\n            return defaultValue > 0 ? this.$u.timeFormat(defaultValue) : \"\";\r\n            break;\r\n\r\n          case \"date1\":\r\n            return defaultValue > 0\r\n              ? this.$u.timeFormat(defaultValue, \"yyyy-mm-dd\")\r\n              : \"\";\r\n            break;\r\n\r\n          case \"date2\":\r\n            return defaultValue > 0\r\n              ? this.$u.timeFormat(defaultValue, \"yyyy-mm-dd hh:MM\")\r\n              : \"\";\r\n            break;\r\n          case \"date3\":\r\n            return defaultValue > 0\r\n              ? this.$u.timeFormat(defaultValue, \"yyyy-mm-dd\")\r\n              : \"\";\r\n            break;\r\n\r\n          case \"select\":\r\n            const selectValue = this.options.filter((item, index) => {\r\n              return defaultValue == item.value;\r\n            });\r\n            return selectValue[0].label;\r\n            break;\r\n\r\n          case \"select1\":\r\n            const selectValue1 = this.options.filter((item, index) => {\r\n              return defaultValue == item.value;\r\n            });\r\n            return selectValue1[0].label;\r\n            break;\r\n\r\n          case \"select2\":\r\n            const selectValue2 = this.options.filter((item, index) => {\r\n              return defaultValue == item.value;\r\n            });\r\n            return selectValue2[0].label;\r\n            break;\r\n\r\n          case \"cascader\":\r\n            const { options = [] } = this;\r\n\r\n            return defaultValue;\r\n            break;\r\n\r\n          case \"area\":\r\n          case \"area1\":\r\n            finalValue =\r\n              defaultValue.province +\r\n              \"/\" +\r\n              defaultValue.city +\r\n              \"/\" +\r\n              defaultValue.district;\r\n            return finalValue;\r\n            break;\r\n\r\n          default:\r\n            return defaultValue;\r\n            break;\r\n        }\r\n      },\r\n      // setter\r\n      set: function (newValue) {\r\n        // console.log(newValue);\r\n\r\n        switch (this.type) {\r\n          case \"number\":\r\n          case \"number1\":\r\n            this.$emit(\"input\", newValue);\r\n            return newValue;\r\n            break;\r\n\r\n          case \"text\":\r\n          case \"text1\":\r\n          case \"textarea\":\r\n          case \"textarea1\":\r\n          case \"textarea2\":\r\n          case \"radio\":\r\n          case \"radio1\":\r\n            this.$emit(\"input\", newValue);\r\n            return newValue;\r\n            break;\r\n\r\n          case \"date\":\r\n          case \"date1\":\r\n          case \"date2\":\r\n          case \"date3\":\r\n          case \"select\":\r\n          case \"select1\":\r\n          case \"select2\":\r\n          case \"area\":\r\n            return this.currentValue;\r\n            break;\r\n        }\r\n      },\r\n    },\r\n  },\r\n  methods: {\r\n    handelClick(type) {\r\n      switch (type) {\r\n        case \"text\":\r\n          this.$emit(\"click\", \"\");\r\n          break;\r\n\r\n        case \"select\":\r\n          this.select_visible = true;\r\n          try {\r\n            // 收起键盘\r\n            uni.hideKeyboard();\r\n          } catch (e) {}\r\n          break;\r\n\r\n        case \"select1\":\r\n          this.select_visible = true;\r\n          try {\r\n            // 收起键盘\r\n            uni.hideKeyboard();\r\n          } catch (e) {}\r\n          break;\r\n\r\n        case \"select2\":\r\n          this.select_visible = true;\r\n          try {\r\n            // 收起键盘\r\n            uni.hideKeyboard();\r\n          } catch (e) {}\r\n          break;\r\n      }\r\n    },\r\n\r\n    onFocus(value) {\r\n      this.$emit(\"focus\", value);\r\n    },\r\n\r\n    onConfirmTime(value) {\r\n      const millisecond = new Date().setFullYear(\r\n        value.year,\r\n        Number(value.month) - 1,\r\n        value.day\r\n      );\r\n      const timestamp = Math.floor(millisecond / 1000);\r\n\r\n      let currentValue = this.$u.timeFormat(timestamp);\r\n\r\n      // console.log(timestamp, currentValue);\r\n\r\n      this.currentValue = currentValue;\r\n      this.$emit(\"input\", timestamp);\r\n    },\r\n    onConfirmTime1(value) {\r\n      let time = value.year + \"-\" + value.month + \"-\" + value.day;\r\n      // console.log(\"000000000+\", time);\r\n\r\n      const millisecond = new Date(time.replace(/\\-/g, \"/\"));\r\n      // console.log(\"111111111+\", millisecond);\r\n\r\n      const timestamp = millisecond.getTime();\r\n      // console.log(\"222222222+\", timestamp);\r\n\r\n      let currentValue = this.$u.timeFormat(timestamp, \"yyyy-mm-dd hh:MM\");\r\n\r\n      // console.log(timestamp, currentValue);\r\n\r\n      this.currentValue = currentValue;\r\n      this.$emit(\"input\", timestamp);\r\n    },\r\n    onConfirmTime2(value) {\r\n      let time =\r\n        value.year +\r\n        \"-\" +\r\n        value.month +\r\n        \"-\" +\r\n        value.day +\r\n        \" \" +\r\n        value.hour +\r\n        \":\" +\r\n        value.minute;\r\n      // console.log(\"000000000+\", time);\r\n\r\n      const millisecond = new Date(time.replace(/\\-/g, \"/\"));\r\n      // console.log(\"111111111+\", millisecond);\r\n\r\n      const timestamp = millisecond.getTime();\r\n      // console.log(\"222222222+\", timestamp);\r\n\r\n      let currentValue = this.$u.timeFormat(timestamp, \"yyyy-mm-dd hh:MM\");\r\n\r\n      // console.log(timestamp, currentValue);\r\n\r\n      this.currentValue = currentValue;\r\n      this.$emit(\"input\", timestamp);\r\n    },\r\n\r\n    onConfirmTime3(value) {\r\n      let time = value.year + \"-\" + value.month + \"-\" + value.day;\r\n      // console.log(\"000000000+\", time);\r\n\r\n      const millisecond = new Date(time.replace(/\\-/g, \"/\"));\r\n      // console.log(\"111111111+\", millisecond);\r\n\r\n      const timestamp = millisecond.getTime();\r\n      // console.log(\"222222222+\", timestamp);\r\n\r\n      let currentValue = this.$u.timeFormat(timestamp, \"yyyy-mm-dd\");\r\n\r\n      // console.log(timestamp, currentValue);\r\n\r\n      this.currentValue = currentValue;\r\n      this.$emit(\"input\", timestamp);\r\n    },\r\n\r\n    onConfirmSingle(value) {\r\n      this.currentValue = value[0].label;\r\n      this.$emit(\"input\", value[0].value);\r\n    },\r\n\r\n    onConfirmAutoMutil(value) {\r\n      let currentValue = \"\";\r\n      let newValue = [];\r\n\r\n      if (value && value.length > 0) {\r\n        value.map((item, index, array) => {\r\n          if (index == array.length - 1) {\r\n            currentValue += item.label;\r\n          } else {\r\n            currentValue += item.label + \"/\";\r\n          }\r\n          newValue.push(item.label);\r\n        });\r\n      }\r\n      this.currentValue = currentValue;\r\n      this.$emit(\"input\", newValue);\r\n    },\r\n    onConfirmArea(value) {\r\n      // console.log(value);\r\n      let currentValue = \"\";\r\n      let newValue = {};\r\n\r\n      if (value && value.length > 0) {\r\n        value.map((item, index, array) => {\r\n          switch (index) {\r\n            case 0:\r\n              currentValue += item.label + \"/\";\r\n              newValue.province = item.label;\r\n              newValue.province_code = item.value;\r\n              break;\r\n            case 1:\r\n              currentValue += item.label + \"/\";\r\n              newValue.city = item.label;\r\n              newValue.city_code = item.value;\r\n              break;\r\n            case 2:\r\n              currentValue += item.label;\r\n              newValue.district = item.label;\r\n              newValue.district_code = item.value;\r\n              break;\r\n          }\r\n        });\r\n      }\r\n      this.currentValue = currentValue;\r\n      this.$emit(\"input\", newValue);\r\n    },\r\n  },\r\n};\r\n</script>\r\n\r\n<style lang=\"scss\" scoped>\r\n.c-input-item {\r\n  u-radio-group {\r\n    text-align: right;\r\n    display: flex;\r\n    flex-direction: row-reverse;\r\n  }\r\n}\r\n</style>\r\n","import mod from \"-!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./c-input-item.vue?vue&type=style&index=0&id=47f60cf8&lang=scss&scoped=true&\"; export default mod; export * from \"-!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./c-input-item.vue?vue&type=style&index=0&id=47f60cf8&lang=scss&scoped=true&\"","// extracted by mini-css-extract-plugin\n    if(module.hot) {\n      // 1700461800073\n      var cssReload = require(\"/Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/hmr/hotModuleReplacement.js\")(module.id, {\"hmr\":true,\"publicPath\":\"../../\",\"locals\":false});\n      module.hot.dispose(cssReload);\n      module.hot.accept(undefined, cssReload);\n    }\n  "],"sourceRoot":""}