(global["webpackJsonp"] = global["webpackJsonp"] || []).push([["uni_modules/almost-lottery/components/almost-lottery/almost-lottery"],{

/***/ 72:
/*!**************************************************************************************************************************************!*\
  !*** C:/Users/77876/Documents/HBuilderProjects/qc-luckyDraw/uni_modules/almost-lottery/components/almost-lottery/almost-lottery.vue ***!
  \**************************************************************************************************************************************/
/*! no static exports found */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony import */ var _almost_lottery_vue_vue_type_template_id_34b92f46_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./almost-lottery.vue?vue&type=template&id=34b92f46&scoped=true& */ 73);
/* harmony import */ var _almost_lottery_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./almost-lottery.vue?vue&type=script&lang=js& */ 75);
/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _almost_lottery_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 _almost_lottery_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__[key]; }) }(__WEBPACK_IMPORT_KEY__));
/* harmony import */ var _almost_lottery_vue_vue_type_style_index_0_id_34b92f46_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./almost-lottery.vue?vue&type=style&index=0&id=34b92f46&lang=scss&scoped=true& */ 77);
/* 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_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(_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_3__["default"])(
  _almost_lottery_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__["default"],
  _almost_lottery_vue_vue_type_template_id_34b92f46_scoped_true___WEBPACK_IMPORTED_MODULE_0__["render"],
  _almost_lottery_vue_vue_type_template_id_34b92f46_scoped_true___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"],
  false,
  null,
  "34b92f46",
  null,
  false,
  _almost_lottery_vue_vue_type_template_id_34b92f46_scoped_true___WEBPACK_IMPORTED_MODULE_0__["components"],
  renderjs
)

component.options.__file = "uni_modules/almost-lottery/components/almost-lottery/almost-lottery.vue"
/* harmony default export */ __webpack_exports__["default"] = (component.exports);

/***/ }),

/***/ 73:
/*!*********************************************************************************************************************************************************************************!*\
  !*** C:/Users/77876/Documents/HBuilderProjects/qc-luckyDraw/uni_modules/almost-lottery/components/almost-lottery/almost-lottery.vue?vue&type=template&id=34b92f46&scoped=true& ***!
  \*********************************************************************************************************************************************************************************/
/*! exports provided: render, staticRenderFns, recyclableRender, components */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony import */ var _D_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_16_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_almost_lottery_vue_vue_type_template_id_34b92f46_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!./almost-lottery.vue?vue&type=template&id=34b92f46&scoped=true& */ 74);
/* 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_16_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_almost_lottery_vue_vue_type_template_id_34b92f46_scoped_true___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_16_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_almost_lottery_vue_vue_type_template_id_34b92f46_scoped_true___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_16_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_almost_lottery_vue_vue_type_template_id_34b92f46_scoped_true___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_16_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_almost_lottery_vue_vue_type_template_id_34b92f46_scoped_true___WEBPACK_IMPORTED_MODULE_0__["components"]; });



/***/ }),

/***/ 74:
/*!*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./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!C:/Users/77876/Documents/HBuilderProjects/qc-luckyDraw/uni_modules/almost-lottery/components/almost-lottery/almost-lottery.vue?vue&type=template&id=34b92f46&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 recyclableRender = false
var staticRenderFns = []
render._withStripped = true



/***/ }),

/***/ 75:
/*!***************************************************************************************************************************************************************!*\
  !*** C:/Users/77876/Documents/HBuilderProjects/qc-luckyDraw/uni_modules/almost-lottery/components/almost-lottery/almost-lottery.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_12_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_almost_lottery_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!./almost-lottery.vue?vue&type=script&lang=js& */ 76);
/* 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_12_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_almost_lottery_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_12_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_almost_lottery_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_12_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_almost_lottery_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 _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_12_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_almost_lottery_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_12_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_almost_lottery_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0___default.a); 

/***/ }),

/***/ 76:
/*!**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/babel-loader/lib!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--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!C:/Users/77876/Documents/HBuilderProjects/qc-luckyDraw/uni_modules/almost-lottery/components/almost-lottery/almost-lottery.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 _regenerator = _interopRequireDefault(__webpack_require__(/*! ./node_modules/@babel/runtime/regenerator */ 19));













































var _almostUtils = __webpack_require__(/*! @/uni_modules/almost-lottery/utils/almost-utils.js */ 48);function _interopRequireDefault(obj) {return obj && obj.__esModule ? obj : { default: obj };}function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {try {var info = gen[key](arg);var value = info.value;} catch (error) {reject(error);return;}if (info.done) {resolve(value);} else {Promise.resolve(value).then(_next, _throw);}}function _asyncToGenerator(fn) {return function () {var self = this,args = arguments;return new Promise(function (resolve, reject) {var gen = fn.apply(self, args);function _next(value) {asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value);}function _throw(err) {asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err);}_next(undefined);});};} //
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
var systemInfo = uni.getSystemInfoSync();var timer = null,timer1 = null;var _default2 = { name: 'AlmostLottery', props: { // canvas 宽度
    canvasId: { type: String, default: 'almostLotteryCanvas' }, // canvas 宽度
    canvasWidth: { type: Number, default: 280 }, // canvas 高度
    canvasHeight: { type: Number, default: 280 }, // 转盘外圈的宽度
    outerWidth: { type: Number, default: 320 }, // 转盘外圈的高度
    outerHeight: { type: Number, default: 320 }, // 内圈与外圈的间距
    canvasMargin: { type: Number, default: 5 }, // 抽奖按钮的宽度
    actionWidth: { type: Number, default: 120 }, // 抽奖按钮的高度
    actionHeight: { type: Number, default: 120 }, // 奖品列表
    prizeList: {
      type: Array,
      required: true,
      validator: function validator(value) {
        return value.length > 1;
      } },

    // 中奖奖品在列表中的下标
    prizeIndex: {
      type: Number,
      required: true },

    // 奖品区块对应背景颜色
    colors: {
      type: Array,
      default: function _default() {return [
        '#FFFFFF',
        '#FFE9AA'];} },


    // 转盘外环背景图
    lotteryBg: {
      type: String,
      default: '/static/almost-lottery__bg2x.png' },

    // 抽奖按钮背景图
    actionBg: {
      type: String,
      default: '/static/almost-lottery__action2x.png' },

    // 是否绘制奖品名称
    prizeNameDrawed: {
      type: Boolean,
      default: true },

    // 是否开启奖品区块描边
    stroked: {
      type: Boolean,
      default: false },

    // 描边颜色
    strokeColor: {
      type: String,
      default: '#FFE9AA' },

    // 旋转的类型
    rotateType: {
      type: String,
      default: 'roulette' },

    // 旋转动画时间 单位s
    duration: {
      type: Number,
      default: 8 },

    // 旋转的圈数
    ringCount: {
      type: Number,
      default: 2 },

    // 指针位置
    pointerPosition: {
      type: String,
      default: 'edge',
      validator: function validator(value) {
        return value === 'edge' || value === 'middle';
      } },

    // 字体颜色
    strFontColor: {
      type: String,
      default: '#FE5549' },

    // 文字的大小
    strFontSize: {
      type: Number,
      default: 12 },

    // 奖品文字距离边缘的距离
    strMarginOutside: {
      type: Number,
      default: 20 },

    // 奖品图片距离奖品文字的距离
    imgMarginStr: {
      type: Number,
      default: 10 },

    // 奖品文字多行情况下的行高
    strLineHeight: {
      type: Number,
      default: 1.2 },

    // 奖品名称所对应的 key 值
    strKey: {
      type: String,
      default: 'name' },

    // 奖品文字总长度限制
    strMaxLen: {
      type: Number,
      default: 6 },

    // 奖品文字多行情况下第一行文字长度
    strLineLen: {
      type: Number,
      default: 6 },

    // 奖品图片的宽
    imgWidth: {
      type: Number,
      default: 50 },

    // 奖品图片的高
    imgHeight: {
      type: Number,
      default: 50 },

    // 转盘绘制成功的提示
    successMsg: {
      type: String,
      default: '奖品准备就绪，快来参与抽奖吧' },

    // 转盘绘制失败的提示
    failMsg: {
      type: String,
      default: '奖品仍在准备中，请稍后再来...' },

    // 是否开启画板的缓存
    canvasCached: {
      type: Boolean,
      default: false } },


  data: function data() {
    return {
      // 画板className
      className: 'almost-lottery__canvas',
      // 画板导出的图片
      lotteryImg: '',
      // 旋转到奖品目标需要的角度
      targetAngle: 0,
      targetActionAngle: 0,
      // 旋转动画时间 单位 s
      transitionDuration: 0,
      // 是否正在旋转
      isRotate: false,
      // 当前停留在那个奖品的序号
      stayIndex: 0,
      // 当前中奖奖品的序号
      targetIndex: 0,
      // 是否存在可用的缓存转盘图
      isCacheImg: false,
      oldLotteryImg: '',
      // 转盘绘制时的提示
      almostLotteryTip: '奖品准备中...',
      // 解决 app 不支持 measureText 的问题
      // app 已在 2.9.3 的版本中提供了对 measureText 的支持，将在后续版本逐渐稳定后移除相关兼容代码
      measureText: '',
      animationData: {},
      imgType: 0 };

  },
  created: function created() {var _this = this;
    var circleCount = 0;
    // 初始化一个动画
    var animation = uni.createAnimation({
      duration: 500,
      timingFunction: 'linear',
      delay: 100,
      transformOrigin: "50% 50%" });


    timer = setInterval(function () {
      if (circleCount % 2 == 0) {
        animation.scale(1).step();
      } else {
        animation.scale(1.1).step();
      }
      _this.animationData = animation.export();
      circleCount++;
      if (circleCount === 1000) {
        circleCount = 0;
      }
    }, 500);

    timer1 = setInterval(function () {
      if (_this.imgType === 0) {
        _this.imgType = 1;
      } else {
        _this.imgType = 0;
      }
    }, 1000);
  },
  destroyed: function destroyed() {
    timer && clearInterval(timer);
    timer1 && clearInterval(timer1);
  },
  computed: {
    // 高清尺寸
    higtCanvasSize: function higtCanvasSize() {
      return this.canvasWidth * systemInfo.pixelRatio;
    },
    // 高清字体
    higtFontSize: function higtFontSize() {
      return this.strFontSize * systemInfo.pixelRatio;
    },
    // 高清行高
    higtHeightMultiple: function higtHeightMultiple() {
      return this.strFontSize * this.strLineHeight * systemInfo.pixelRatio;
    },
    // 高清内外圈间距
    higtCanvasMargin: function higtCanvasMargin() {
      return this.canvasMargin * systemInfo.pixelRatio;
    },
    // 根据奖品列表计算 canvas 旋转角度
    canvasAngle: function canvasAngle() {
      var result = 0;

      var prizeCount = this.prizeList.length;
      var prizeClip = 360 / prizeCount;
      var diffNum = 90 / prizeClip;
      if (this.pointerPosition === 'edge' || this.rotateType === 'pointer') {
        result = -(prizeClip * diffNum);
      } else {
        result = -(prizeClip * diffNum + prizeClip / 2);
      }

      return result;
    },
    actionAngle: function actionAngle() {
      return 0;
    },
    // 外圆的半径
    outsideRadius: function outsideRadius() {
      return this.higtCanvasSize / 2;
    },
    // 内圆的半径
    insideRadius: function insideRadius() {
      return 20 * systemInfo.pixelRatio;
    },
    // 文字距离边缘的距离
    textRadius: function textRadius() {
      return this.strMarginOutside * systemInfo.pixelRatio || this.higtFontSize / 2;
    },
    // 根据画板的宽度计算奖品文字与中心点的距离
    textDistance: function textDistance() {
      var textZeroY = Math.round(this.outsideRadius - this.insideRadius / 2);
      return textZeroY - this.textRadius;
    },
    // 根据内容个数返回半个格子角度
    countBaseAngle: function countBaseAngle() {
      var result = 0;
      var prizeCount = this.prizeList.length;
      var prizeClip = 360 / prizeCount;
      return prizeClip / 2;
    } },

  watch: {
    // 监听获奖序号的变动
    prizeIndex: function prizeIndex(newVal, oldVal) {
      if (newVal > -1) {
        this.targetIndex = newVal;
        this.onRotateStart();
      } else {
        console.info('旋转结束，prizeIndex 已重置');
      }
    } },

  methods: {
    // 开始旋转
    onRotateStart: function onRotateStart() {var _this2 = this;
      if (this.isRotate) return;
      this.isRotate = true;
      // 奖品总数
      var prizeCount = this.prizeList.length;
      var baseAngle = 360 / prizeCount;
      var angles = 0;

      if (this.rotateType === 'pointer') {
        if (this.targetActionAngle === 0) {
          // 第一次旋转
          angles = (this.targetIndex - this.stayIndex) * baseAngle + baseAngle / 2 - this.actionAngle;
        } else {
          // 后续旋转
          // 后续继续旋转 就只需要计算停留的位置与目标位置的角度
          angles = (this.targetIndex - this.stayIndex) * baseAngle;
        }

        // 更新目前序号
        this.stayIndex = this.targetIndex;
        // 转 8 圈，圈数越多，转的越快
        this.targetActionAngle += angles + 360 * this.ringCount;
        console.log('targetActionAngle', this.targetActionAngle);
      } else {
        // if (this.targetAngle === 0) {
        // 	// 第一次旋转
        // 	// 因为第一个奖品是从0°开始的，即水平向右方向
        // 	// 第一次旋转角度 = 270度 - (停留的序号-目标序号) * 每个奖品区间角度 - 每个奖品区间角度的一半 - canvas自身旋转的度数
        // 	angles = (270 - (this.targetIndex - this.stayIndex) * baseAngle - baseAngle / 2) - this.canvasAngle
        // } else {
        // 后续旋转
        // 后续继续旋转 就只需要计算停留的位置与目标位置的角度
        angles = -(this.targetIndex - this.stayIndex) * baseAngle;
        // }

        // 更新目前序号
        this.stayIndex = this.targetIndex;
        // 转 8 圈，圈数越多，转的越快
        this.targetAngle += angles + 360 * this.ringCount;
      }

      // 计算转盘结束的时间，预加一些延迟确保转盘停止后触发结束事件
      var endTime = this.transitionDuration * 1000 + 100;
      var endTimer = setTimeout(function () {
        clearTimeout(endTimer);
        endTimer = null;

        _this2.isRotate = false;
        _this2.$emit('draw-end');
      }, endTime);

      var resetPrizeTimer = setTimeout(function () {
        clearTimeout(resetPrizeTimer);
        resetPrizeTimer = null;

        // 每次抽奖结束后都要重置父级附件的 prizeIndex
        _this2.$emit('reset-index');
      }, endTime + 50);
    },
    // 点击 开始抽奖 按钮
    handleActionStart: function handleActionStart() {
      if (!this.lotteryImg) return;
      if (this.isRotate) return;
      this.$emit('draw-start');
    },
    // 渲染转盘
    onCreateCanvas: function onCreateCanvas() {var _this3 = this;return _asyncToGenerator( /*#__PURE__*/_regenerator.default.mark(function _callee() {var canvasId, ctx, canvasW, canvasH, prizeCount, baseAngle, i, prizeItem, angle, translateX, translateY, rewardName, realLen, isLineBreak, firstText, lastText, firstCount, j, rewardNames, _j, tempStrSize, tempStrWidth, textWidth, _tempStrWidth, _tempStrSize, _tempStrWidth2, _textWidth, _tempStrWidth3, reg, platformTips, res, tempFilePath, prizeImageX, prizeImageY, prizeImageW, prizeImageH;return _regenerator.default.wrap(function _callee$(_context) {while (1) {switch (_context.prev = _context.next) {case 0:
                // 获取 canvas 画布
                canvasId = _this3.canvasId;
                ctx = uni.createCanvasContext(canvasId, _this3);

                // canvas 的宽高
                canvasW = _this3.higtCanvasSize;
                canvasH = _this3.higtCanvasSize;

                // 根据奖品个数计算 角度
                prizeCount = _this3.prizeList.length;
                baseAngle = Math.PI * 2 / prizeCount;

                // 设置字体
                ctx.setFontSize(_this3.higtFontSize);

                // 注意，开始画的位置是从0°角的位置开始画的。也就是水平向右的方向。
                // 画具体内容
                i = 0;case 8:if (!(i < prizeCount)) {_context.next = 92;break;}
                prizeItem = _this3.prizeList[i];
                // 当前角度
                angle = i * baseAngle;

                // 保存当前画布的状态
                ctx.save();

                // x => 圆弧对应的圆心横坐标 x
                // y => 圆弧对应的圆心横坐标 y
                // radius => 圆弧的半径大小
                // startAngle => 圆弧开始的角度，单位是弧度
                // endAngle => 圆弧结束的角度，单位是弧度
                // anticlockwise(可选) => 绘制方向，true 为逆时针，false 为顺时针

                ctx.beginPath();
                // 外圆
                ctx.arc(canvasW * 0.5, canvasH * 0.5, _this3.outsideRadius, angle, angle + baseAngle, false);
                // 内圆
                ctx.arc(canvasW * 0.5, canvasH * 0.5, _this3.insideRadius, angle + baseAngle, angle, true);

                // 每个奖品区块背景填充颜色
                if (_this3.colors.length === 2) {
                  ctx.setFillStyle(_this3.colors[i % 2]);
                } else {
                  ctx.setFillStyle(_this3.colors[i]);
                }
                // 填充颜色
                ctx.fill();

                // 开启描边
                if (_this3.stroked) {
                  // 设置描边颜色
                  ctx.setStrokeStyle("".concat(_this3.strokeColor));
                  // 描边
                  ctx.stroke();
                }

                // 开始绘制奖品内容
                // 重新映射画布上的 (0,0) 位置
                translateX = canvasW * 0.5 + Math.cos(angle + baseAngle / 2) * _this3.textDistance;
                translateY = canvasH * 0.5 + Math.sin(angle + baseAngle / 2) * _this3.textDistance;
                ctx.translate(translateX, translateY);

                // 绘制奖品名称
                ctx.setFillStyle(_this3.strFontColor);
                rewardName = _this3.strLimit(prizeItem[_this3.strKey]);

                // rotate方法旋转当前的绘图，因为文字是和当前扇形中心线垂直的
                ctx.rotate(angle + baseAngle / 2 + Math.PI / 2);

                // 设置文本位置并处理换行
                // 是否需要换行
                if (!(rewardName && _this3.prizeNameDrawed)) {_context.next = 69;break;}
                realLen = (0, _almostUtils.clacTextLen)(rewardName).realLen;
                isLineBreak = realLen > _this3.strLineLen;if (!
                isLineBreak) {_context.next = 55;break;}
                // 获得多行文本数组
                firstText = '';
                lastText = '';
                firstCount = 0;
                for (j = 0; j < rewardName.length; j++) {
                  firstCount += (0, _almostUtils.clacTextLen)(rewardName[j]).byteLen;
                  if (firstCount <= _this3.strLineLen * 2) {
                    firstText += rewardName[j];
                  } else {
                    lastText += rewardName[j];
                  }
                }
                rewardName = firstText + ',' + lastText;
                rewardNames = rewardName.split(',');
                // 循环文本数组，计算每一行的文本宽度
                _j = 0;case 35:if (!(_j < rewardNames.length)) {_context.next = 53;break;}if (!(
                ctx.measureText && ctx.measureText(rewardNames[_j]).width > 0)) {_context.next = 42;break;}
                // 文本的宽度信息
                tempStrSize = ctx.measureText(rewardNames[_j]);
                tempStrWidth = -(tempStrSize.width / 2).toFixed(2);
                ctx.fillText(rewardNames[_j], tempStrWidth, _j * _this3.higtHeightMultiple);_context.next = 50;break;case 42:

                _this3.measureText = rewardNames[_j];

                // 等待页面重新渲染
                _context.next = 45;return _this3.$nextTick();case 45:_context.next = 47;return (

                  _this3.getTextWidth());case 47:textWidth = _context.sent;
                _tempStrWidth = -(textWidth / 2).toFixed(2);
                ctx.fillText(rewardNames[_j], _tempStrWidth, _j * _this3.higtHeightMultiple);
                // console.log(rewardNames[j], textWidth, i)
              case 50:_j++;_context.next = 35;break;case 53:_context.next = 69;break;case 55:if (!(


                ctx.measureText && ctx.measureText(rewardName).width > 0)) {_context.next = 61;break;}
                // 文本的宽度信息
                _tempStrSize = ctx.measureText(rewardName);
                _tempStrWidth2 = -(_tempStrSize.width / 2).toFixed(2);
                ctx.fillText(rewardName, _tempStrWidth2, 0);_context.next = 69;break;case 61:

                _this3.measureText = rewardName;

                // 等待页面重新渲染
                _context.next = 64;return _this3.$nextTick();case 64:_context.next = 66;return (

                  _this3.getTextWidth());case 66:_textWidth = _context.sent;
                _tempStrWidth3 = -(_textWidth / 2).toFixed(2);
                ctx.fillText(rewardName, _tempStrWidth3, 0);case 69:if (!





                prizeItem.prizeImage) {_context.next = 88;break;}
                // App-Android平台 系统 webview 更新到 Chrome84+ 后 canvas 组件绘制本地图像 uni.canvasToTempFilePath 会报错
                // 统一将图片处理成 base64
                // https://ask.dcloud.net.cn/question/103303
                reg = /^(https|http)/g;
                // 处理远程图片
                if (!reg.test(prizeItem.prizeImage)) {_context.next = 82;break;}
                platformTips = '';




                platformTips = '需要处理好下载域名的白名单问题，';




                console.warn("###\u5F53\u524D\u6570\u636E\u5217\u8868\u4E2D\u7684\u5956\u54C1\u56FE\u7247\u4E3A\u7F51\u7EDC\u56FE\u7247\uFF0C".concat(platformTips, "\u5F00\u59CB\u5C1D\u8BD5\u4E0B\u8F7D\u56FE\u7247...###"));_context.next = 77;return (
                  (0, _almostUtils.downloadFile)(prizeItem.prizeImage));case 77:res = _context.sent;
                console.log('处理远程图片', res);
                if (res.ok) {
                  tempFilePath = res.tempFilePath;




                  prizeItem.prizeImage = tempFilePath;

                } else {
                  _this3.handlePrizeImgSuc({
                    ok: false,
                    data: res.data,
                    msg: res.msg });

                }_context.next = 83;break;case 82:

                console.log('处理非远程图片', prizeItem.prizeImage);case 83:







                prizeImageX = -(_this3.imgWidth * systemInfo.pixelRatio / 2);
                prizeImageY = _this3.imgMarginStr * systemInfo.pixelRatio;
                prizeImageW = _this3.imgWidth * systemInfo.pixelRatio;
                prizeImageH = _this3.imgHeight * systemInfo.pixelRatio;
                ctx.drawImage(prizeItem.prizeImage, prizeImageX, prizeImageY, prizeImageW, prizeImageH);case 88:


                ctx.restore();case 89:i++;_context.next = 8;break;case 92:


                // 保存绘图并导出图片
                ctx.draw(true, function () {
                  var drawTimer = setTimeout(function () {
                    clearTimeout(drawTimer);
                    drawTimer = null;
























                    uni.canvasToTempFilePath({
                      canvasId: _this3.canvasId,
                      success: function success(res) {
                        // 在 H5 平台下，tempFilePath 为 base64
                        // console.log(res.tempFilePath)
                        _this3.handlePrizeImg({
                          ok: true,
                          data: res.tempFilePath,
                          msg: '画布导出生成图片成功' });

                      },
                      fail: function fail(err) {
                        _this3.handlePrizeImg({
                          ok: false,
                          data: err,
                          msg: '画布导出生成图片失败' });

                      } },
                    _this3);

                  }, 500);
                });case 93:case "end":return _context.stop();}}}, _callee);}))();
    },
    // 处理导出的图片
    handlePrizeImg: function handlePrizeImg(res) {var _this4 = this;
      if (res.ok) {
        var data = res.data;

        if (!this.canvasCached) {
          this.lotteryImg = data;
          this.handlePrizeImgSuc(res);
          return;
        }


        if (this.isCacheImg) {
          uni.getSavedFileList({
            success: function success(sucRes) {
              var fileList = sucRes.fileList;
              // console.log('getSavedFileList Cached', fileList)

              var cached = false;

              if (fileList.length) {
                for (var i = 0; i < fileList.length; i++) {
                  var item = fileList[i];
                  if (item.filePath === data) {
                    cached = true;
                    _this4.lotteryImg = data;

                    console.info('经查，本地缓存中存在的转盘图可用，本次将不再绘制转盘');
                    _this4.handlePrizeImgSuc(res);
                    break;
                  }
                }
              }

              if (!cached) {
                console.info('经查，本地缓存中存在的转盘图不可用，需要重新初始化转盘绘制');
                _this4.initCanvasDraw();
              }
            },
            fail: function fail(err) {
              _this4.initCanvasDraw();
            } });

        } else {
          uni.saveFile({
            tempFilePath: data,
            success: function success(sucRes) {
              var filePath = sucRes.savedFilePath;
              // console.log('saveFile', filePath)
              (0, _almostUtils.setStore)("".concat(_this4.canvasId, "LotteryImg"), filePath);
              _this4.lotteryImg = filePath;
              _this4.handlePrizeImgSuc({
                ok: true,
                data: filePath,
                msg: '画布导出生成图片成功' });

            },
            fail: function fail(err) {
              _this4.handlePrizeImg({
                ok: false,
                data: err,
                msg: '画布导出生成图片失败' });

            } });

        }










      } else {
        console.error('处理导出的图片失败', res);
        uni.hideLoading();




        console.error('###当前为小程序端，下载网络图片需要配置域名白名单###');

      }
    },
    // 处理图片完成
    handlePrizeImgSuc: function handlePrizeImgSuc(res) {
      uni.hideLoading();
      this.$emit('finish', {
        ok: res.ok,
        data: res.data,
        msg: res.ok ? this.successMsg : this.failMsg });

      this.almostLotteryTip = res.ok ? this.successMsg : this.failMsg;
    },
    // 兼容 app 端不支持 ctx.measureText
    // 已知问题：初始绘制时，低端安卓机 平均耗时 2s
    // hbx 2.8.12+ 已在 app 端支持
    getTextWidth: function getTextWidth() {
      console.warn('正在采用兼容方式获取文本的 size 信息，虽然没有任何问题，如果可以，请将此 systemInfo 及 hbx 版本号 反馈给作者', systemInfo);
      var query = uni.createSelectorQuery().in(this);
      var nodesRef = query.select('.almost-lottery__measureText');
      return new Promise(function (resolve, reject) {
        nodesRef.fields({
          size: true },
        function (res) {
          resolve(res.width);
        }).exec();
      });
    },
    // 处理文字溢出
    strLimit: function strLimit(value) {
      var maxLength = this.strMaxLen;
      if (!value || !maxLength) return value;
      return (0, _almostUtils.clacTextLen)(value).realLen > maxLength ? value.slice(0, maxLength - 1) + '...' : value;
    },
    // 检查本地缓存中是否存在转盘图
    checkCacheImg: function checkCacheImg() {
      console.log('检查本地缓存中是否存在转盘图');
      // 检查是否已有缓存的转盘图
      // 检查是否与本次奖品数据相同
      this.oldLotteryImg = (0, _almostUtils.getStore)("".concat(this.canvasId, "LotteryImg"));
      var oldPrizeList = (0, _almostUtils.getStore)("".concat(this.canvasId, "PrizeList"));
      var newPrizeList = JSON.stringify(this.prizeList);
      if (this.oldLotteryImg) {
        if (oldPrizeList === newPrizeList) {
          console.log("\u7ECF\u67E5\uFF0C\u672C\u5730\u7F13\u5B58\u4E2D\u5B58\u5728\u8F6C\u76D8\u56FE => ".concat(this.oldLotteryImg));
          this.isCacheImg = true;

          console.log('需要继续判断这张缓存图是否可用');
          this.handlePrizeImg({
            ok: true,
            data: this.oldLotteryImg,
            msg: '画布导出生成图片成功' });

          return;
        }
      }

      console.log('经查，本地缓存中不存在转盘图');
      this.initCanvasDraw();
    },
    // 初始化绘制
    initCanvasDraw: function initCanvasDraw() {
      console.log('开始初始化转盘绘制');
      this.isCacheImg = false;
      this.lotteryImg = '';
      (0, _almostUtils.clearStore)("".concat(this.canvasId, "LotteryImg"));
      (0, _almostUtils.setStore)("".concat(this.canvasId, "PrizeList"), this.prizeList);
      this.onCreateCanvas();
    } },


  mounted: function mounted() {var _this5 = this;
    this.$nextTick(function () {
      var stoTimer = setTimeout(function () {
        clearTimeout(stoTimer);
        stoTimer = null;
        if (_this5.canvasCached) {
          _this5.checkCacheImg();
        } else {
          _this5.onCreateCanvas();
        }
        _this5.transitionDuration = _this5.duration;
      }, 50);
    });
  } };exports.default = _default2;
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 1)["default"]))

/***/ }),

/***/ 77:
/*!************************************************************************************************************************************************************************************************!*\
  !*** C:/Users/77876/Documents/HBuilderProjects/qc-luckyDraw/uni_modules/almost-lottery/components/almost-lottery/almost-lottery.vue?vue&type=style&index=0&id=34b92f46&lang=scss&scoped=true& ***!
  \************************************************************************************************************************************************************************************************/
/*! no static exports found */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony import */ var _D_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_D_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_D_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_D_HBuilderX_plugins_uniapp_cli_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_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_almost_lottery_vue_vue_type_style_index_0_id_34b92f46_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!./node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!./node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--8-oneOf-1-2!./node_modules/postcss-loader/src??ref--8-oneOf-1-3!./node_modules/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!./almost-lottery.vue?vue&type=style&index=0&id=34b92f46&lang=scss&scoped=true& */ 78);
/* harmony import */ var _D_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_D_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_D_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_D_HBuilderX_plugins_uniapp_cli_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_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_almost_lottery_vue_vue_type_style_index_0_id_34b92f46_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_D_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_D_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_D_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_D_HBuilderX_plugins_uniapp_cli_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_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_almost_lottery_vue_vue_type_style_index_0_id_34b92f46_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _D_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_D_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_D_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_D_HBuilderX_plugins_uniapp_cli_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_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_almost_lottery_vue_vue_type_style_index_0_id_34b92f46_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__) if(__WEBPACK_IMPORT_KEY__ !== 'default') (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _D_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_D_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_D_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_D_HBuilderX_plugins_uniapp_cli_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_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_almost_lottery_vue_vue_type_style_index_0_id_34b92f46_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__));
 /* harmony default export */ __webpack_exports__["default"] = (_D_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_D_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_D_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_D_HBuilderX_plugins_uniapp_cli_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_D_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_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_almost_lottery_vue_vue_type_style_index_0_id_34b92f46_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0___default.a); 

/***/ }),

/***/ 78:
/*!**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./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!C:/Users/77876/Documents/HBuilderProjects/qc-luckyDraw/uni_modules/almost-lottery/components/almost-lottery/almost-lottery.vue?vue&type=style&index=0&id=34b92f46&lang=scss&scoped=true& ***!
  \**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {

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

/***/ })

}]);
//# sourceMappingURL=../../../../../.sourcemap/mp-weixin/uni_modules/almost-lottery/components/almost-lottery/almost-lottery.js.map
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
    'uni_modules/almost-lottery/components/almost-lottery/almost-lottery-create-component',
    {
        'uni_modules/almost-lottery/components/almost-lottery/almost-lottery-create-component':(function(module, exports, __webpack_require__){
            __webpack_require__('1')['createComponent'](__webpack_require__(72))
        })
    },
    [['uni_modules/almost-lottery/components/almost-lottery/almost-lottery-create-component']]
]);
