(global["webpackJsonp"] = global["webpackJsonp"] || []).push([["components/page-component/app-diy-form/app-diy-form"],{

/***/ 2660:
/*!***************************************************************************************************!*\
  !*** E:/src/siweidingzhi_mail/shop4.3.57/components/page-component/app-diy-form/app-diy-form.vue ***!
  \***************************************************************************************************/
/*! no static exports found */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony import */ var _app_diy_form_vue_vue_type_template_id_1929c63a_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./app-diy-form.vue?vue&type=template&id=1929c63a&scoped=true& */ 2661);
/* harmony import */ var _app_diy_form_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./app-diy-form.vue?vue&type=script&lang=js& */ 2663);
/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _app_diy_form_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__) if(__WEBPACK_IMPORT_KEY__ !== 'default') (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _app_diy_form_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__[key]; }) }(__WEBPACK_IMPORT_KEY__));
/* harmony import */ var _app_diy_form_vue_vue_type_style_index_0_id_1929c63a_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./app-diy-form.vue?vue&type=style&index=0&id=1929c63a&scoped=true&lang=scss& */ 2665);
/* harmony import */ var _C_develop_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 */ 10);

var renderjs





/* normalize component */

var component = Object(_C_develop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_3__["default"])(
  _app_diy_form_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__["default"],
  _app_diy_form_vue_vue_type_template_id_1929c63a_scoped_true___WEBPACK_IMPORTED_MODULE_0__["render"],
  _app_diy_form_vue_vue_type_template_id_1929c63a_scoped_true___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"],
  false,
  null,
  "1929c63a",
  null,
  false,
  _app_diy_form_vue_vue_type_template_id_1929c63a_scoped_true___WEBPACK_IMPORTED_MODULE_0__["components"],
  renderjs
)

component.options.__file = "components/page-component/app-diy-form/app-diy-form.vue"
/* harmony default export */ __webpack_exports__["default"] = (component.exports);

/***/ }),

/***/ 2661:
/*!**********************************************************************************************************************************************!*\
  !*** E:/src/siweidingzhi_mail/shop4.3.57/components/page-component/app-diy-form/app-diy-form.vue?vue&type=template&id=1929c63a&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_develop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_C_develop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_C_develop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_C_develop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_C_develop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_C_develop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_app_diy_form_vue_vue_type_template_id_1929c63a_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--16-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!./app-diy-form.vue?vue&type=template&id=1929c63a&scoped=true& */ 2662);
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "render", function() { return _C_develop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_C_develop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_C_develop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_C_develop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_C_develop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_C_develop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_app_diy_form_vue_vue_type_template_id_1929c63a_scoped_true___WEBPACK_IMPORTED_MODULE_0__["render"]; });

/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return _C_develop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_C_develop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_C_develop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_C_develop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_C_develop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_C_develop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_app_diy_form_vue_vue_type_template_id_1929c63a_scoped_true___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"]; });

/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "recyclableRender", function() { return _C_develop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_C_develop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_C_develop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_C_develop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_C_develop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_C_develop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_app_diy_form_vue_vue_type_template_id_1929c63a_scoped_true___WEBPACK_IMPORTED_MODULE_0__["recyclableRender"]; });

/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "components", function() { return _C_develop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_C_develop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_C_develop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_C_develop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_C_develop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_C_develop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_app_diy_form_vue_vue_type_template_id_1929c63a_scoped_true___WEBPACK_IMPORTED_MODULE_0__["components"]; });



/***/ }),

/***/ 2662:
/*!**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./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--16-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!E:/src/siweidingzhi_mail/shop4.3.57/components/page-component/app-diy-form/app-diy-form.vue?vue&type=template&id=1929c63a&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
var render = function() {
  var _vm = this
  var _h = _vm.$createElement
  var _c = _vm._self._c || _h
  var l0 = _vm.__map(_vm.myList, function(item, index) {
    var $orig = _vm.__get_orig(item)

    var m0 =
      item.key == "img_upload" && item.img_type == 1
        ? _vm.uploadShowImage(item)
        : null
    return {
      $orig: $orig,
      m0: m0
    }
  })

  if (!_vm._isMounted) {
    _vm.e0 = function($event) {
      _vm.showAllItems = !_vm.showAllItems
    }
  }

  _vm.$mp.data = Object.assign(
    {},
    {
      $root: {
        l0: l0
      }
    }
  )
}
var recyclableRender = false
var staticRenderFns = []
render._withStripped = true



/***/ }),

/***/ 2663:
/*!****************************************************************************************************************************!*\
  !*** E:/src/siweidingzhi_mail/shop4.3.57/components/page-component/app-diy-form/app-diy-form.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_develop_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_C_develop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_C_develop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_C_develop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_C_develop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_app_diy_form_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--12-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!./app-diy-form.vue?vue&type=script&lang=js& */ 2664);
/* harmony import */ var _C_develop_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_C_develop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_C_develop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_C_develop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_C_develop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_app_diy_form_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_C_develop_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_C_develop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_C_develop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_C_develop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_C_develop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_app_diy_form_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__);
/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _C_develop_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_C_develop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_C_develop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_C_develop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_C_develop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_app_diy_form_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__) if(__WEBPACK_IMPORT_KEY__ !== 'default') (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _C_develop_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_C_develop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_C_develop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_C_develop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_C_develop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_app_diy_form_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__));
 /* harmony default export */ __webpack_exports__["default"] = (_C_develop_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_C_develop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_C_develop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_C_develop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_C_develop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_app_diy_form_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0___default.a); 

/***/ }),

/***/ 2664:
/*!***********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/babel-loader/lib!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--12-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!E:/src/siweidingzhi_mail/shop4.3.57/components/page-component/app-diy-form/app-diy-form.vue?vue&type=script&lang=js& ***!
  \***********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {

"use strict";
/* WEBPACK VAR INJECTION */(function(uni) {Object.defineProperty(exports, "__esModule", { value: true });exports.default = void 0;var AppDatetimePicker = function AppDatetimePicker() {__webpack_require__.e(/*! require.ensure | components/basic-component/app-datetime-picker/app-datetime-picker */ "components/basic-component/app-datetime-picker/app-datetime-picker").then((function () {return resolve(__webpack_require__(/*! ../../basic-component/app-datetime-picker/app-datetime-picker.vue */ 3733));}).bind(null, __webpack_require__)).catch(__webpack_require__.oe);};var AppRadio = function AppRadio() {__webpack_require__.e(/*! require.ensure | components/basic-component/app-radio/app-radio */ "components/basic-component/app-radio/app-radio").then((function () {return resolve(__webpack_require__(/*! ../../basic-component/app-radio/app-radio */ 2889));}).bind(null, __webpack_require__)).catch(__webpack_require__.oe);};var AppRadioGroup = function AppRadioGroup() {__webpack_require__.e(/*! require.ensure | components/basic-component/app-radio/app-radio-group */ "components/basic-component/app-radio/app-radio-group").then((function () {return resolve(__webpack_require__(/*! ../../basic-component/app-radio/app-radio-group */ 3740));}).bind(null, __webpack_require__)).catch(__webpack_require__.oe);};var AppDiyFormCheckboxGroup = function AppDiyFormCheckboxGroup() {__webpack_require__.e(/*! require.ensure | components/page-component/app-diy-form/app-diy-form-checkbox-group */ "components/page-component/app-diy-form/app-diy-form-checkbox-group").then((function () {return resolve(__webpack_require__(/*! ./app-diy-form-checkbox-group */ 3747));}).bind(null, __webpack_require__)).catch(__webpack_require__.oe);};var AppUploadImage = function AppUploadImage() {__webpack_require__.e(/*! require.ensure | components/basic-component/app-upload-image/app-upload-image */ "components/basic-component/app-upload-image/app-upload-image").then((function () {return resolve(__webpack_require__(/*! ../../basic-component/app-upload-image/app-upload-image */ 3064));}).bind(null, __webpack_require__)).catch(__webpack_require__.oe);};var AppTextarea = function AppTextarea() {__webpack_require__.e(/*! require.ensure | components/basic-component/app-textarea/app-textarea */ "components/basic-component/app-textarea/app-textarea").then((function () {return resolve(__webpack_require__(/*! ../../basic-component/app-textarea/app-textarea */ 2646));}).bind(null, __webpack_require__)).catch(__webpack_require__.oe);};var _default =


















































































































































































































































































































































{
  name: 'app-diy-form',
  components: { AppTextarea: AppTextarea, AppUploadImage: AppUploadImage, AppDiyFormCheckboxGroup: AppDiyFormCheckboxGroup, AppRadioGroup: AppRadioGroup, AppRadio: AppRadio, AppDatetimePicker: AppDatetimePicker },
  props: {
    sign: {
      default: null },

    datePadding: {
      type: String,
      default: '0 24rpx' },

    title: {
      type: String,
      default: null },

    backgroundColor: {
      default: '#ffffff' },

    backgroundImage: {
      default: null },

    backgroundPosition: {
      default: 'center' },

    backgroundWidth: {
      default: 100 },

    backgroundHeight: {
      default: 100 },

    backgroundRepeat: {
      default: 'no-repeat' },

    marginTop: {
      default: 0 },

    marginBottom: {
      default: 0 },

    paddingTop: {
      default: 0 },

    paddingBottom: {
      default: 0 },

    list: {
      type: Array,
      default: [] },

    showRequiredIcon: {
      type: Boolean,
      default: false },

    itemPaddingX: {
      default: 24 },

    itemMarginY: {
      default: 0 },

    itemHeight: {
      type: Number,
      default: 88 },

    showItemBorder: {
      default: true },

    labelPosition: {
      default: 'left' },

    labelColor: {
      default: '#666666' },

    labelTextAlign: {
      default: 'right' },

    showInputBorder: {
      type: Boolean,
      default: false },

    inputBackground: {
      default: '#ffffff' },

    inputBorderColor: {
      default: '#c0c4cc' },

    inputTextColor: {
      default: '#666666' },

    inputPlaceholderColor: {
      default: '#bbbbbb' },

    inputRadius: {
      default: 0 },


    showSubmit: {
      type: Boolean,
      default: false },

    submitUrl: {
      type: String,
      default: null },

    submitBtnText: {
      default: '提交' },

    submitBtnHeight: {
      default: 80 },

    submitBtnPadding: {
      default: 24 },

    submitBtnMargin: {
      default: 40 },

    submitBtnRadius: {
      default: 40 },

    submitBtnBackground: {
      default: '#ff4544' },

    submitBtnBorderColor: {
      default: '#ff4544' },

    submitBtnTextColor: {
      default: '#ffffff' },

    showScrollBtn: {
      default: false },

    labelFs28: {
      default: false },

    marginColor: {
      default: '#ffffff' },

    selectBoxColor: {
      default: '#ff4544' } },


  data: function data() {
    var newList = [];
    for (var i in this.list) {
      var item = this.list[i];
      if (typeof item.default === 'undefined') {
        item.default = null;
      }
      if (typeof item.value === 'undefined' || item.value === null || item.value === '') {
        item.value = item.default;
      }
      item.hint = item.hint || '';
      if (item.key === 'radio' || item.key === 'checkbox') {
        if (!item.list) item.list = [];
        for (var j in item.list) {
          if (!item.list[j].value || item.list[j].value === false || item.list[j].value === 'false') {
            item.list[j].value = false;
          } else {
            item.list[j].value = true;
          }
        }
      }
      if (item.key === 'img_upload' && (item.img_type === 2 || item.img_type === '2') && !item.value) {
        item.value = ['', ''];
      }
      if (item.key == 'text') {
      }
      newList[i] = item;
    }
    return {
      myList: newList,
      randomString: '',
      validateResult: {
        hasError: false,
        errors: [] },

      showAllItems: this.showScrollBtn ? false : true };

  },
  computed: {
    uploadShowImage: function uploadShowImage() {
      return function (item) {
        if (Array.isArray(item.value)) {
          return item.value;
        }
        if (item.value) {
          return [item.value];
        }
        return null;
      };
    },
    itemClass: function itemClass() {
      if (this.labelPosition === 'left') {
        return 'label-left dir-left-nowrap cross-top';
      }
      if (this.labelPosition === 'inset') {
        return 'label-inset dir-left-nowrap cross-top';
      }
      if (this.labelPosition === 'top') {
        return 'label-top';
      }
    },
    getDateTimeTextPosition: function getDateTimeTextPosition() {
      if (this.labelPosition === 'top') {
        return 'left';
      }
      return 'right';
    },
    getInputPaddingLeft: function getInputPaddingLeft() {
      if (this.labelPosition === 'top') {
        if (this.showInputBorder) {
          return 24;
        } else {
          return 0;
        }
      }
      return 24;
    } },

  created: function created() {
    this.validate();
    this.outputData();
  },
  methods: {
    textInput: function textInput() {
      this.outputData();
    },
    datetimeChange: function datetimeChange() {
      this.outputData();
    },
    checkChange: function checkChange() {var _this = this;
      setTimeout(function () {
        _this.outputData();
      }, 10);
    },
    handleImageUpload: function handleImageUpload(e) {
      var index = parseInt(e.sign);
      if (e.imageList.length === 1) {
        this.myList[index].value = e.imageList[0];
      } else if (e.imageList.length > 0) {
        this.myList[index].value = e.imageList;
      } else {
        this.myList[index].value = '';
      }
      this.outputData();
    },
    handleUserIdFrontUpload: function handleUserIdFrontUpload(e) {
      var index = parseInt(e.sign);
      if (e.imageList.length > 0) {
        this.myList[index].value[0] = e.imageList[0];
      } else {
        this.myList[index].value[0] = '';
      }
      this.outputData();
    },
    handleUserIdBackUpload: function handleUserIdBackUpload(e) {
      var index = parseInt(e.sign);
      if (e.imageList.length > 0) {
        this.myList[index].value[1] = e.imageList[0];
      } else {
        this.myList[index].value[1] = '';
      }
      this.outputData();
    },
    validate: function validate() {
      this.validateResult = {
        hasError: false,
        errors: [] };

      for (var i in this.myList) {
        var item = this.myList[i];
        if (item.is_required === 1 || item.is_required === '1') {
          if (typeof item.value === 'undefined' || item.value === null || item.value === '') {
            this.validateResult.hasError = true;
            this.validateResult.errors.push({
              index: i,
              msg: "\"".concat(item.name, "\"\u4E0D\u80FD\u4E3A\u7A7A\u3002") });

            continue;
          }
          if (item.img_type && parseInt(item.img_type) === 2) {
            if (!item.value || !item.value.length) {
              this.validateResult.hasError = true;
              this.validateResult.errors.push({
                index: i,
                msg: "\"".concat(item.name, "\"\u4E0D\u80FD\u4E3A\u7A7A\u3002") });

              continue;
            }
            var imgErr = false;
            for (var j in item.value) {
              if (item.value[j] === null || item.value[j] === '') {
                imgErr = true;
                break;
              }
            }
            if (imgErr) {
              this.validateResult.hasError = true;
              this.validateResult.errors.push({
                index: i,
                msg: "\"".concat(item.name, "\"\u4E0D\u80FD\u4E3A\u7A7A\u3002") });

              continue;
            }
          }
        }
      }
      this.$emit('validate', this.validateResult, this.sign);
    },
    outputData: function outputData() {
      this.validate();
      for (var i in this.myList) {
        this.myList[i].label = this.myList[i].name;
        this.myList[i].required = this.myList[i].is_required;
      }
      this.$emit('input', this.myList, this.sign);





    },
    submit: function submit() {var _this2 = this;
      this.outputData();
      if (this.validateResult.hasError && this.validateResult.errors) {
        uni.showModal({
          title: '提示',
          content: this.validateResult.errors[0].msg,
          showCancel: false });

        return;
      }
      uni.showLoading({
        mask: true,
        title: '正在提交...' });

      this.$request({
        url: this.submitUrl ? this.submitUrl : this.$api.diy.page_store,
        method: 'post',
        data: {
          form_data: JSON.stringify(this.myList) } }).

      then(function (response) {
        uni.hideLoading();
        if (response.code === 0) {
          setTimeout(function () {
            var copyList = _this2.myList;
            for (var i in copyList) {
              copyList[i].value = copyList[i].default;
            }
            _this2.myList = [];
            setTimeout(function () {
              _this2.myList = copyList;
            }, 0);
          }, 300);
          uni.showModal({
            title: '提示',
            content: response.msg || '提交成功',
            showCancel: false });

        } else {
          uni.showModal({
            title: '提示',
            content: response.msg || '提交失败',
            showCancel: false });

        }
      }).catch(function () {
        uni.hideLoading();
      });
    } } };exports.default = _default;
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 1)["default"]))

/***/ }),

/***/ 2665:
/*!*************************************************************************************************************************************************************!*\
  !*** E:/src/siweidingzhi_mail/shop4.3.57/components/page-component/app-diy-form/app-diy-form.vue?vue&type=style&index=0&id=1929c63a&scoped=true&lang=scss& ***!
  \*************************************************************************************************************************************************************/
/*! no static exports found */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony import */ var _C_develop_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_C_develop_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_C_develop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_C_develop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_C_develop_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_C_develop_HBuilderX_plugins_uniapp_cli_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_C_develop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_C_develop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_C_develop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_app_diy_form_vue_vue_type_style_index_0_id_1929c63a_scoped_true_lang_scss___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/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!./app-diy-form.vue?vue&type=style&index=0&id=1929c63a&scoped=true&lang=scss& */ 2666);
/* harmony import */ var _C_develop_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_C_develop_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_C_develop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_C_develop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_C_develop_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_C_develop_HBuilderX_plugins_uniapp_cli_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_C_develop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_C_develop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_C_develop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_app_diy_form_vue_vue_type_style_index_0_id_1929c63a_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_C_develop_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_C_develop_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_C_develop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_C_develop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_C_develop_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_C_develop_HBuilderX_plugins_uniapp_cli_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_C_develop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_C_develop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_C_develop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_app_diy_form_vue_vue_type_style_index_0_id_1929c63a_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__);
/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _C_develop_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_C_develop_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_C_develop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_C_develop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_C_develop_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_C_develop_HBuilderX_plugins_uniapp_cli_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_C_develop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_C_develop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_C_develop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_app_diy_form_vue_vue_type_style_index_0_id_1929c63a_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__) if(__WEBPACK_IMPORT_KEY__ !== 'default') (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _C_develop_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_C_develop_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_C_develop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_C_develop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_C_develop_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_C_develop_HBuilderX_plugins_uniapp_cli_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_C_develop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_C_develop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_C_develop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_app_diy_form_vue_vue_type_style_index_0_id_1929c63a_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__));
 /* harmony default export */ __webpack_exports__["default"] = (_C_develop_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_C_develop_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_C_develop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_C_develop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_C_develop_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_C_develop_HBuilderX_plugins_uniapp_cli_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_C_develop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_C_develop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_C_develop_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_app_diy_form_vue_vue_type_style_index_0_id_1929c63a_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0___default.a); 

/***/ }),

/***/ 2666:
/*!***************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./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/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!E:/src/siweidingzhi_mail/shop4.3.57/components/page-component/app-diy-form/app-diy-form.vue?vue&type=style&index=0&id=1929c63a&scoped=true&lang=scss& ***!
  \***************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {

// extracted by mini-css-extract-plugin
    if(false) { var cssReload; }
  

/***/ })

}]);
//# sourceMappingURL=../../../../.sourcemap/mp-weixin/components/page-component/app-diy-form/app-diy-form.js.map
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
    'components/page-component/app-diy-form/app-diy-form-create-component',
    {
        'components/page-component/app-diy-form/app-diy-form-create-component':(function(module, exports, __webpack_require__){
            __webpack_require__('1')['createComponent'](__webpack_require__(2660))
        })
    },
    [['components/page-component/app-diy-form/app-diy-form-create-component']]
]);
