(global["webpackJsonp"] = global["webpackJsonp"] || []).push([["components/xinyu-canvas-drawer/xinyu-cross-canvas/xinyu-cross-canvas"],{

/***/ 1148:
/*!***************************************************************************************************************************************!*\
  !*** C:/Users/Administrator/Desktop/yswc/hire-wx-houxuanren/components/xinyu-canvas-drawer/xinyu-cross-canvas/xinyu-cross-canvas.vue ***!
  \***************************************************************************************************************************************/
/*! no static exports found */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony import */ var _xinyu_cross_canvas_vue_vue_type_template_id_296fc387_filter_modules_eyJ4aW55dWNyb3NzY2FudmFzIjp7InR5cGUiOiJyZW5kZXJqcyIsImNvbnRlbnQiOiIiLCJzdGFydCI6OTcwOCwiYXR0cnMiOnsibW9kdWxlIjoieGlueXVjcm9zc2NhbnZhcyIsImxhbmciOiJqcyJ9LCJlbmQiOjE1MDQwfX0_3D___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./xinyu-cross-canvas.vue?vue&type=template&id=296fc387&filter-modules=eyJ4aW55dWNyb3NzY2FudmFzIjp7InR5cGUiOiJyZW5kZXJqcyIsImNvbnRlbnQiOiIiLCJzdGFydCI6OTcwOCwiYXR0cnMiOnsibW9kdWxlIjoieGlueXVjcm9zc2NhbnZhcyIsImxhbmciOiJqcyJ9LCJlbmQiOjE1MDQwfX0%3D& */ 1149);
/* harmony import */ var _xinyu_cross_canvas_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./xinyu-cross-canvas.vue?vue&type=script&lang=js& */ 1151);
/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _xinyu_cross_canvas_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 _xinyu_cross_canvas_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__[key]; }) }(__WEBPACK_IMPORT_KEY__));
/* harmony import */ var _D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/runtime/componentNormalizer.js */ 39);

var renderjs




/* normalize component */

var component = Object(_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_2__["default"])(
  _xinyu_cross_canvas_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__["default"],
  _xinyu_cross_canvas_vue_vue_type_template_id_296fc387_filter_modules_eyJ4aW55dWNyb3NzY2FudmFzIjp7InR5cGUiOiJyZW5kZXJqcyIsImNvbnRlbnQiOiIiLCJzdGFydCI6OTcwOCwiYXR0cnMiOnsibW9kdWxlIjoieGlueXVjcm9zc2NhbnZhcyIsImxhbmciOiJqcyJ9LCJlbmQiOjE1MDQwfX0_3D___WEBPACK_IMPORTED_MODULE_0__["render"],
  _xinyu_cross_canvas_vue_vue_type_template_id_296fc387_filter_modules_eyJ4aW55dWNyb3NzY2FudmFzIjp7InR5cGUiOiJyZW5kZXJqcyIsImNvbnRlbnQiOiIiLCJzdGFydCI6OTcwOCwiYXR0cnMiOnsibW9kdWxlIjoieGlueXVjcm9zc2NhbnZhcyIsImxhbmciOiJqcyJ9LCJlbmQiOjE1MDQwfX0_3D___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"],
  false,
  null,
  null,
  null,
  false,
  _xinyu_cross_canvas_vue_vue_type_template_id_296fc387_filter_modules_eyJ4aW55dWNyb3NzY2FudmFzIjp7InR5cGUiOiJyZW5kZXJqcyIsImNvbnRlbnQiOiIiLCJzdGFydCI6OTcwOCwiYXR0cnMiOnsibW9kdWxlIjoieGlueXVjcm9zc2NhbnZhcyIsImxhbmciOiJqcyJ9LCJlbmQiOjE1MDQwfX0_3D___WEBPACK_IMPORTED_MODULE_0__["components"],
  renderjs
)

component.options.__file = "components/xinyu-canvas-drawer/xinyu-cross-canvas/xinyu-cross-canvas.vue"
/* harmony default export */ __webpack_exports__["default"] = (component.exports);

/***/ }),

/***/ 1149:
/*!********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** C:/Users/Administrator/Desktop/yswc/hire-wx-houxuanren/components/xinyu-canvas-drawer/xinyu-cross-canvas/xinyu-cross-canvas.vue?vue&type=template&id=296fc387&filter-modules=eyJ4aW55dWNyb3NzY2FudmFzIjp7InR5cGUiOiJyZW5kZXJqcyIsImNvbnRlbnQiOiIiLCJzdGFydCI6OTcwOCwiYXR0cnMiOnsibW9kdWxlIjoieGlueXVjcm9zc2NhbnZhcyIsImxhbmciOiJqcyJ9LCJlbmQiOjE1MDQwfX0%3D& ***!
  \********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/*! exports provided: render, staticRenderFns, recyclableRender, components */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony import */ var _D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_17_0_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_xinyu_cross_canvas_vue_vue_type_template_id_296fc387_filter_modules_eyJ4aW55dWNyb3NzY2FudmFzIjp7InR5cGUiOiJyZW5kZXJqcyIsImNvbnRlbnQiOiIiLCJzdGFydCI6OTcwOCwiYXR0cnMiOnsibW9kdWxlIjoieGlueXVjcm9zc2NhbnZhcyIsImxhbmciOiJqcyJ9LCJlbmQiOjE1MDQwfX0_3D___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!./xinyu-cross-canvas.vue?vue&type=template&id=296fc387&filter-modules=eyJ4aW55dWNyb3NzY2FudmFzIjp7InR5cGUiOiJyZW5kZXJqcyIsImNvbnRlbnQiOiIiLCJzdGFydCI6OTcwOCwiYXR0cnMiOnsibW9kdWxlIjoieGlueXVjcm9zc2NhbnZhcyIsImxhbmciOiJqcyJ9LCJlbmQiOjE1MDQwfX0%3D& */ 1150);
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "render", function() { return _D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_17_0_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_xinyu_cross_canvas_vue_vue_type_template_id_296fc387_filter_modules_eyJ4aW55dWNyb3NzY2FudmFzIjp7InR5cGUiOiJyZW5kZXJqcyIsImNvbnRlbnQiOiIiLCJzdGFydCI6OTcwOCwiYXR0cnMiOnsibW9kdWxlIjoieGlueXVjcm9zc2NhbnZhcyIsImxhbmciOiJqcyJ9LCJlbmQiOjE1MDQwfX0_3D___WEBPACK_IMPORTED_MODULE_0__["render"]; });

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

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

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



/***/ }),

/***/ 1150:
/*!********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./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/Administrator/Desktop/yswc/hire-wx-houxuanren/components/xinyu-canvas-drawer/xinyu-cross-canvas/xinyu-cross-canvas.vue?vue&type=template&id=296fc387&filter-modules=eyJ4aW55dWNyb3NzY2FudmFzIjp7InR5cGUiOiJyZW5kZXJqcyIsImNvbnRlbnQiOiIiLCJzdGFydCI6OTcwOCwiYXR0cnMiOnsibW9kdWxlIjoieGlueXVjcm9zc2NhbnZhcyIsImxhbmciOiJqcyJ9LCJlbmQiOjE1MDQwfX0%3D& ***!
  \********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/*! 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 m0 = _vm.styleWidth == -1 ? _vm.rpx(750) : null
  var m1 = !(_vm.styleWidth == -1) ? _vm.rpx(_vm.styleWidth) : null
  var m2 = !(_vm.styleHeight == -1) ? _vm.rpx(_vm.styleWidth) : null
  var m3 = _vm.styleWidth == -1 ? _vm.rpx(750) : null
  var m4 = !(_vm.styleWidth == -1) ? _vm.rpx(_vm.styleWidth) : null
  var m5 = !(_vm.styleHeight == -1) ? _vm.rpx(_vm.styleWidth) : null
  _vm.$mp.data = Object.assign(
    {},
    {
      $root: {
        m0: m0,
        m1: m1,
        m2: m2,
        m3: m3,
        m4: m4,
        m5: m5,
      },
    }
  )
}
var recyclableRender = false
var staticRenderFns = []
render._withStripped = true



/***/ }),

/***/ 1151:
/*!****************************************************************************************************************************************************************!*\
  !*** C:/Users/Administrator/Desktop/yswc/hire-wx-houxuanren/components/xinyu-canvas-drawer/xinyu-cross-canvas/xinyu-cross-canvas.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_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_13_1_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_xinyu_cross_canvas_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!./xinyu-cross-canvas.vue?vue&type=script&lang=js& */ 1152);
/* harmony import */ var _D_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_13_1_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_xinyu_cross_canvas_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_D_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_13_1_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_xinyu_cross_canvas_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__);
/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _D_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_13_1_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_xinyu_cross_canvas_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_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_13_1_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_xinyu_cross_canvas_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__));
 /* harmony default export */ __webpack_exports__["default"] = (_D_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_13_1_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_xinyu_cross_canvas_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0___default.a); 

/***/ }),

/***/ 1152:
/*!***********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./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/Administrator/Desktop/yswc/hire-wx-houxuanren/components/xinyu-canvas-drawer/xinyu-cross-canvas/xinyu-cross-canvas.vue?vue&type=script&lang=js& ***!
  \***********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {

"use strict";
/* WEBPACK VAR INJECTION */(function(uni) {

var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.default = void 0;
var _regenerator = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/regenerator */ 63));
var _asyncToGenerator2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/asyncToGenerator */ 65));
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
var _default = {
  props: {
    id: {
      type: String,
      default: "xinyu_cross_canvas"
    },
    styleWidth: {
      type: Number,
      default: -1
    },
    styleHeight: {
      type: Number,
      default: -1
    },
    width: {
      type: Number,
      default: 750
    },
    height: {
      type: Number,
      default: 1506
    }
  },
  data: function data() {
    return {
      renderjsData: null,
      renderJSMountedEvent: false,
      renderjsContextProp: null,
      renderjsContextMethodCall: null,
      renderJSLoadImage: null,
      inited: false,
      recvMethod: {},
      currentGenerateIndex: 0,
      downXY: {
        x: 0,
        y: 0
      }
    };
  },
  mounted: function mounted() {
    var _this = this;
    return (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee() {
      return _regenerator.default.wrap(function _callee$(_context) {
        while (1) {
          switch (_context.prev = _context.next) {
            case 0:
              _this.imageHash = [];
              _this.refreshRenderJS();
              _this.renderJSMountedEvent = true;
              _context.next = 5;
              return _this.onCanvasInitReady();
            case 5:
              _this.inited = true;
            case 6:
            case "end":
              return _context.stop();
          }
        }
      }, _callee);
    }))();
  },
  methods: {
    refreshWidthHeight: function refreshWidthHeight(width, height) {
      var _this2 = this;
      return (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee2() {
        return _regenerator.default.wrap(function _callee2$(_context2) {
          while (1) {
            switch (_context2.prev = _context2.next) {
              case 0:
                _this2.$emit("input:width", width);
                _this2.$emit("input:height", height);
                if (_this2.canvas) {
                  _this2.canvas.width = width;
                  _this2.canvas.height = height;
                }
              case 3:
              case "end":
                return _context2.stop();
            }
          }
        }, _callee2);
      }))();
    },
    generateObject: function generateObject(obj) {
      obj.__ = Date.now() + "_" + this.currentGenerateIndex++;
      return obj;
    },
    rpx: function rpx(_rpx) {
      return uni.upx2px(_rpx) + 'px';
    },
    onInitFinished: function onInitFinished() {
      this.inited = true;
    },
    onRenderCallback: function onRenderCallback(callbackObject) {
      var func = callbackObject.func,
        param = callbackObject.param;
      if (this.recvMethod[func]) this.recvMethod[func].apply(this.recvMethod[func], [param]);
    },
    onTouchREvent: function onTouchREvent(e) {
      this.$emit("ctouch", e);
    },
    onTClick: function onTClick(e) {
      this.$emit("cclick", e);
    },
    onTouch: function onTouch(type, e) {
      var px = Math.round(e.changedTouches[0].x / uni.getSystemInfoSync().screenWidth * this.width);
      var py = Math.round(e.changedTouches[0].y / uni.getSystemInfoSync().screenHeight * this.height);
      this.$emit("touch", {
        type: type,
        px: px,
        py: py
      });
      if (type == "start") {
        this.downXY.x = px;
        this.downXY.y = py;
      } else if (type == "end") {
        if ((this.downXY.x - px) * (this.downXY.x - px) + (this.downXY.y - py) * (this.downXY.y - py) < 64) this.onTClick({
          px: px,
          py: py
        });
        this.downXY.x = 0;
        this.downXY.y = 0;
      }
    },
    getImageHash: function getImageHash(src) {
      var ret = this.imageHash.filter(function (t) {
        return t.key == src;
      });
      if (ret.length > 0) return ret[0].val;
      return null;
    },
    setImageHash: function setImageHash(src, image) {
      this.imageHash.push({
        key: src,
        val: image
      });
    },
    loadImage: function loadImage(src) {
      var _this3 = this;
      return (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee3() {
        return _regenerator.default.wrap(function _callee3$(_context3) {
          while (1) {
            switch (_context3.prev = _context3.next) {
              case 0:
                _context3.next = 2;
                return new Promise(function (recv) {
                  if (_this3.getImageHash(src)) return recv(_this3.getImageHash(src));
                  var img = _this3.canvas.createImage();
                  _this3.setImageHash(src, img);
                  img.onload = function () {
                    recv(img);
                  };
                  img.src = src;
                });
              case 2:
                return _context3.abrupt("return", src);
              case 3:
              case "end":
                return _context3.stop();
            }
          }
        }, _callee3);
      }))();
    },
    loadImageCacheMP: function loadImageCacheMP(src) {
      var _this4 = this;
      return (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee4() {
        return _regenerator.default.wrap(function _callee4$(_context4) {
          while (1) {
            switch (_context4.prev = _context4.next) {
              case 0:
                _context4.next = 2;
                return new Promise(function (recv) {
                  if (_this4.getImageHash(src)) return recv(_this4.getImageHash(src));
                  var img = _this4.canvas.createImage();
                  _this4.setImageHash(src, img);
                  img.onload = function () {
                    recv(img);
                  };
                  img.src = src;
                });
              case 2:
                return _context4.abrupt("return", _context4.sent);
              case 3:
              case "end":
                return _context4.stop();
            }
          }
        }, _callee4);
      }))();
    },
    drawImage: function drawImage(src, methodParams) {
      var _this5 = this;
      return (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee5() {
        var image;
        return _regenerator.default.wrap(function _callee5$(_context5) {
          while (1) {
            switch (_context5.prev = _context5.next) {
              case 0:
                _context5.next = 2;
                return _this5.loadImageCacheMP(src);
              case 2:
                image = _context5.sent;
                _this5.context["drawImage"].apply(_this5.context, [image].concat(methodParams));
              case 4:
              case "end":
                return _context5.stop();
            }
          }
        }, _callee5);
      }))();
    },
    init: function init() {
      var _this6 = this;
      return (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee6() {
        return _regenerator.default.wrap(function _callee6$(_context6) {
          while (1) {
            switch (_context6.prev = _context6.next) {
              case 0:
                if (false) {}
                if (!_this6.inited) {
                  _context6.next = 3;
                  break;
                }
                return _context6.abrupt("return");
              case 3:
                _context6.next = 5;
                return _this6.refreshRenderJS();
              case 5:
                _context6.next = 7;
                return new Promise(function (t) {
                  return setTimeout(t, 200);
                });
              case 7:
                _context6.next = 0;
                break;
              case 9:
              case "end":
                return _context6.stop();
            }
          }
        }, _callee6);
      }))();
    },
    onCanvasInitReady: function onCanvasInitReady() {
      var _this7 = this;
      return (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee7() {
        return _regenerator.default.wrap(function _callee7$(_context7) {
          while (1) {
            switch (_context7.prev = _context7.next) {
              case 0:
                _context7.next = 2;
                return new Promise(function (recv) {
                  uni.createSelectorQuery().in(_this7).select("#" + _this7.id).fields({
                    node: true,
                    size: true
                  }).exec(function (res) {
                    _this7.canvas = res[0].node;
                    _this7.canvas.width = _this7.width;
                    _this7.canvas.height = _this7.height;
                    _this7.context = _this7.canvas.getContext("2d");
                    recv();
                  });
                });
              case 2:
              case "end":
                return _context7.stop();
            }
          }
        }, _callee7);
      }))();
    },
    onCanvasInitReadyAlipay: function onCanvasInitReadyAlipay() {
      var _this8 = this;
      return (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee8() {
        return _regenerator.default.wrap(function _callee8$(_context8) {
          while (1) {
            switch (_context8.prev = _context8.next) {
              case 0:
                _context8.next = 2;
                return new Promise(function (recv) {
                  my.createSelectorQuery().in(_this8).select("#" + _this8.id).node().exec(function (res) {
                    _this8.canvas = res[0].node;
                    _this8.canvas.width = _this8.width;
                    _this8.canvas.height = _this8.height;
                    _this8.context = _this8.canvas.getContext("2d");
                    _this8.inited = true;
                    recv();
                  });
                });
              case 2:
              case "end":
                return _context8.stop();
            }
          }
        }, _callee8);
      }))();
    },
    refreshRenderJS: function refreshRenderJS() {
      var _this9 = this;
      return (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee9() {
        return _regenerator.default.wrap(function _callee9$(_context9) {
          while (1) {
            switch (_context9.prev = _context9.next) {
              case 0:
                if (_this9.canvas && (_this9.canvas.width != _this9.width || _this9.canvas.height != _this9.height)) {
                  _this9.canvas.width = _this9.width;
                  _this9.canvas.height = _this9.height;
                }
              case 1:
              case "end":
                return _context9.stop();
            }
          }
        }, _callee9);
      }))();
    },
    setContextProp: function setContextProp(key, val) {
      var _this10 = this;
      return (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee10() {
        return _regenerator.default.wrap(function _callee10$(_context10) {
          while (1) {
            switch (_context10.prev = _context10.next) {
              case 0:
                _this10.context[key] = val;
              case 1:
              case "end":
                return _context10.stop();
            }
          }
        }, _callee10);
      }))();
    },
    callContextMethod: function callContextMethod(methodName, methodParams) {
      var _this11 = this;
      return (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee11() {
        return _regenerator.default.wrap(function _callee11$(_context11) {
          while (1) {
            switch (_context11.prev = _context11.next) {
              case 0:
                if (!(methodName == "drawImage")) {
                  _context11.next = 4;
                  break;
                }
                _context11.next = 3;
                return _this11.drawImage(methodParams[0], methodParams.slice(1));
              case 3:
                return _context11.abrupt("return", _context11.sent);
              case 4:
                if (!(methodName == "toDataURL")) {
                  _context11.next = 6;
                  break;
                }
                return _context11.abrupt("return", _this11.canvas.toDataURL.apply(_this11.canvas, methodParams));
              case 6:
                return _context11.abrupt("return", _this11.context[methodName].apply(_this11.context, methodParams));
              case 7:
              case "end":
                return _context11.stop();
            }
          }
        }, _callee11);
      }))();
    },
    fillRectList: function fillRectList(rectList) {
      var _this12 = this;
      return (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee12() {
        var i;
        return _regenerator.default.wrap(function _callee12$(_context12) {
          while (1) {
            switch (_context12.prev = _context12.next) {
              case 0:
                for (i in rectList) {
                  _this12.context.fillStyle = rectList[i].fillStyle;
                  _this12.context.fillRect(rectList[i].x, rectList[i].y, rectList[i].w, rectList[i].h);
                }
              case 1:
              case "end":
                return _context12.stop();
            }
          }
        }, _callee12);
      }))();
    }
  }
};
exports.default = _default;
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))

/***/ })

}]);
//# sourceMappingURL=../../../../.sourcemap/mp-weixin/components/xinyu-canvas-drawer/xinyu-cross-canvas/xinyu-cross-canvas.js.map
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
    'components/xinyu-canvas-drawer/xinyu-cross-canvas/xinyu-cross-canvas-create-component',
    {
        'components/xinyu-canvas-drawer/xinyu-cross-canvas/xinyu-cross-canvas-create-component':(function(module, exports, __webpack_require__){
            __webpack_require__('2')['createComponent'](__webpack_require__(1148))
        })
    },
    [['components/xinyu-canvas-drawer/xinyu-cross-canvas/xinyu-cross-canvas-create-component']]
]);
