row-card.js 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  1. exports.ids = [30];
  2. exports.modules = {
  3. /***/ 212:
  4. /***/ (function(module, exports) {
  5. // Exports
  6. module.exports = {
  7. };
  8. /***/ }),
  9. /***/ 232:
  10. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  11. "use strict";
  12. __webpack_require__.r(__webpack_exports__);
  13. /* 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_RowCard_vue_vue_type_style_index_0_id_42187791_prod_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(212);
  14. /* 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_RowCard_vue_vue_type_style_index_0_id_42187791_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_RowCard_vue_vue_type_style_index_0_id_42187791_prod_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0__);
  15. /* 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_RowCard_vue_vue_type_style_index_0_id_42187791_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_RowCard_vue_vue_type_style_index_0_id_42187791_prod_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__));
  16. /***/ }),
  17. /***/ 290:
  18. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  19. "use strict";
  20. // ESM COMPAT FLAG
  21. __webpack_require__.r(__webpack_exports__);
  22. // 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/RowCard.vue?vue&type=template&id=42187791&scoped=true
  23. var render = function render() {
  24. var _vm = this,
  25. _c = _vm._self._c;
  26. return _c('a', {
  27. attrs: {
  28. "href": _vm.data.link,
  29. "target": "_target"
  30. }
  31. }, [_vm._ssrNode("<figure class=\"card\" data-v-42187791><div class=\"img\"" + _vm._ssrStyle(null, {
  32. backgroundImage: 'url(' + _vm.data.image + ')'
  33. }, null) + " data-v-42187791></div> <figcaption class=\"card-title\" data-v-42187791>" + _vm._ssrEscape("\n " + _vm._s(_vm.data.title) + "\n ") + "</figcaption> <figcaption class=\"card-info\" data-v-42187791><p data-v-42187791>" + _vm._ssrEscape(_vm._s(_vm._f("setTime")(_vm.data.update_time))) + "</p> <p data-v-42187791>" + _vm._ssrEscape(_vm._s(_vm.data.description)) + "</p></figcaption></figure>")]);
  34. };
  35. var staticRenderFns = [];
  36. // CONCATENATED MODULE: ./components/RowCard.vue?vue&type=template&id=42187791&scoped=true
  37. // 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/RowCard.vue?vue&type=script&lang=js
  38. /* harmony default export */ var RowCardvue_type_script_lang_js = ({
  39. props: {
  40. data: {}
  41. },
  42. filters: {
  43. setTime(val) {
  44. let tempArr = val.split(' ');
  45. let timeStr = tempArr[0];
  46. let timeArr = timeStr.split('-');
  47. return `${timeArr[2]}-${timeArr[1]}-${timeArr[0]}`;
  48. }
  49. }
  50. });
  51. // CONCATENATED MODULE: ./components/RowCard.vue?vue&type=script&lang=js
  52. /* harmony default export */ var components_RowCardvue_type_script_lang_js = (RowCardvue_type_script_lang_js);
  53. // EXTERNAL MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
  54. var componentNormalizer = __webpack_require__(2);
  55. // CONCATENATED MODULE: ./components/RowCard.vue
  56. function injectStyles (context) {
  57. var style0 = __webpack_require__(232)
  58. if (style0.__inject__) style0.__inject__(context)
  59. }
  60. /* normalize component */
  61. var component = Object(componentNormalizer["a" /* default */])(
  62. components_RowCardvue_type_script_lang_js,
  63. render,
  64. staticRenderFns,
  65. false,
  66. injectStyles,
  67. "42187791",
  68. "605ada4c"
  69. )
  70. /* harmony default export */ var RowCard = __webpack_exports__["default"] = (component.exports);
  71. /***/ })
  72. };;
  73. //# sourceMappingURL=row-card.js.map