exports.ids = [18];
exports.modules = {

/***/ 213:
/***/ (function(module, exports) {

// Exports
module.exports = {

};


/***/ }),

/***/ 244:
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony import */ var _node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_0_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_sass_loader_dist_cjs_js_ref_7_oneOf_1_2_node_modules_nuxt_components_dist_loader_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_MediaCard_vue_vue_type_style_index_0_id_69177590_prod_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(213);
/* harmony import */ var _node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_0_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_sass_loader_dist_cjs_js_ref_7_oneOf_1_2_node_modules_nuxt_components_dist_loader_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_MediaCard_vue_vue_type_style_index_0_id_69177590_prod_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_0_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_sass_loader_dist_cjs_js_ref_7_oneOf_1_2_node_modules_nuxt_components_dist_loader_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_MediaCard_vue_vue_type_style_index_0_id_69177590_prod_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0__);
/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_0_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_sass_loader_dist_cjs_js_ref_7_oneOf_1_2_node_modules_nuxt_components_dist_loader_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_MediaCard_vue_vue_type_style_index_0_id_69177590_prod_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0__) if(["default"].indexOf(__WEBPACK_IMPORT_KEY__) < 0) (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_0_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_sass_loader_dist_cjs_js_ref_7_oneOf_1_2_node_modules_nuxt_components_dist_loader_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_MediaCard_vue_vue_type_style_index_0_id_69177590_prod_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__));


/***/ }),

/***/ 303:
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
// ESM COMPAT FLAG
__webpack_require__.r(__webpack_exports__);

// CONCATENATED MODULE: ./node_modules/babel-loader/lib??ref--2-0!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/@nuxt/components/dist/loader.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./components/MediaCard.vue?vue&type=template&id=69177590&scoped=true
var render = function render() {
  var _vm = this,
    _c = _vm._self._c;
  return _c('figure', {
    class: ['card', {
      row: _vm.toggle
    }]
  }, [_vm._ssrNode("<div class=\"card-media\" data-v-69177590>", "</div>", [_vm.cardData.type === 5 && _vm.toggle ? _vm._ssrNode("<video controls=\"controls\" class=\"card-media-content\" data-v-69177590>", "</video>", [_vm._ssrNode("<source" + _vm._ssrAttr("src", _vm.cardData.media_url) + " data-v-69177590>\n      Your browser does not support the video tag.\n    ")], 2) : _c('el-image', {
    staticClass: "card-img-1",
    staticStyle: {
      "width": "100%",
      "height": "100%"
    },
    attrs: {
      "src": _vm.cardData.type === 1 || _vm.cardData.type === 8 ? _vm.cardData.media_url : _vm.cardData.image,
      "fit": "contain"
    }
  }), _vm._ssrNode(" " + (_vm.cardData.typeName && !_vm.toggle ? "<div class=\"type-icon\" data-v-69177590>" + _vm._ssrEscape("\n      " + _vm._s(_vm.cardData.typeName.toUpperCase()) + "\n    ") + "</div>" : "<!---->"))], 2), _vm._ssrNode(" "), _vm._ssrNode("<figcaption class=\"card-info\" data-v-69177590>", "</figcaption>", [_vm._ssrNode("<div class=\"card-info-1\" data-v-69177590>", "</div>", [_vm._ssrNode("<h1 data-v-69177590>" + _vm._ssrEscape(_vm._s(_vm.cardData.name)) + "</h1> <p class=\"card-info-point\" data-v-69177590>" + _vm._s(_vm.cardData.description) + "</p> "), _vm._ssrNode("<ul class=\"card-info-label\" data-v-69177590>", "</ul>", [_vm._ssrNode(_vm._ssrList(_vm.cardData.mapLabel, function (l, index) {
    return "<li data-v-69177590>" + _vm._ssrEscape("\n          " + _vm._s(l) + "\n        ") + "</li>";
  }) + " "), _vm._l(_vm.cardData.sku, function (item, i) {
    return _c('nuxt-link', {
      key: item + i,
      attrs: {
        "to": {
          name: 'product-code',
          params: {
            code: item
          }
        },
        "target": "_blank"
      }
    }, [_c('li', [_vm._v(_vm._s(item))])]);
  })], 2)], 2), _vm._ssrNode(" "), _vm._ssrNode("<div class=\"card-info-btn\" data-v-69177590>", "</div>", [!_vm.toggle ? _c('el-button', {
    on: {
      "click": _vm.handLeftBtn
    }
  }, [_vm._v("View")]) : _vm._e(), _vm._ssrNode(" "), _c('el-button', {
    on: {
      "click": _vm.handRightBtn
    }
  }, [_vm._v("Download")])], 2)], 2)], 2);
};
var staticRenderFns = [];

// CONCATENATED MODULE: ./components/MediaCard.vue?vue&type=template&id=69177590&scoped=true

// CONCATENATED MODULE: ./node_modules/babel-loader/lib??ref--2-0!./node_modules/@nuxt/components/dist/loader.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./components/MediaCard.vue?vue&type=script&lang=js
/* harmony default export */ var MediaCardvue_type_script_lang_js = ({
  props: {
    cardData: {},
    toggle: {
      type: Boolean,
      default: false
    }
  },
  data() {
    return {};
  },
  watch: {
    'cardData.media_url': function (newVal, oldVal) {
      if (newVal !== oldVal && this.$refs.video) {
        this.$refs.video.load(); // 重新加载视频
      }
    }
  },
  methods: {
    emitLabel(l) {
      this.$emit('labelEvent', l);
    },
    handLeftBtn() {
      this.$emit('leftBtnEvent');
    },
    handRightBtn() {
      this.$emit('rightBtnEvent');
    }
  }
});
// CONCATENATED MODULE: ./components/MediaCard.vue?vue&type=script&lang=js
 /* harmony default export */ var components_MediaCardvue_type_script_lang_js = (MediaCardvue_type_script_lang_js); 
// EXTERNAL MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
var componentNormalizer = __webpack_require__(2);

// CONCATENATED MODULE: ./components/MediaCard.vue



function injectStyles (context) {
  
  var style0 = __webpack_require__(244)
if (style0.__inject__) style0.__inject__(context)

}

/* normalize component */

var component = Object(componentNormalizer["a" /* default */])(
  components_MediaCardvue_type_script_lang_js,
  render,
  staticRenderFns,
  false,
  injectStyles,
  "69177590",
  "544729b0"
  
)

/* harmony default export */ var MediaCard = __webpack_exports__["default"] = (component.exports);

/***/ })

};;
//# sourceMappingURL=media-card.js.map