|
|
|
|
|
exports.ids = [11,4,5];
|
|
|
|
|
|
exports.modules = {
|
|
|
|
|
|
|
|
|
|
|
|
/***/ 144:
|
|
|
|
|
|
/***/ (function(module, exports, __webpack_require__) {
|
|
|
|
|
|
|
|
|
|
|
|
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
|
|
|
|
|
|
|
|
|
|
// load the styles
|
|
|
|
|
|
var content = __webpack_require__(147);
|
|
|
|
|
|
if(content.__esModule) content = content.default;
|
|
|
|
|
|
if(typeof content === 'string') content = [[module.i, content, '']];
|
|
|
|
|
|
if(content.locals) module.exports = content.locals;
|
|
|
|
|
|
// add CSS to SSR context
|
|
|
|
|
|
var add = __webpack_require__(4).default
|
|
|
|
|
|
module.exports.__inject__ = function (context) {
|
|
|
|
|
|
add("f0a69850", content, true, context)
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
/***/ }),
|
|
|
|
|
|
|
|
|
|
|
|
/***/ 145:
|
|
|
|
|
|
/***/ (function(module, exports) {
|
|
|
|
|
|
|
|
|
|
|
|
module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAAAXNSR0IArs4c6QAAA4NJREFUWEftmMtr1FAUxr+TtPoXqOjKheCmaLGKRTuTpI9kqiIqOCulglihVsVFUSpCF5ZCFcRCBUdERQXRheLCdtJHMomi4AtEQcWlYls3FVdqkyMT7djHzDTJdIYKzmqYe77v+90zN8m9ISzwDy1wPvzbgH2GsVKEKIMgAShzGc+JhDeaXDMQpvN6KqUyU5VAWMuMbwDp5Vz+WFGqP+byy9rBQdve5jo4CXB1NiGDPwDUJ04s6qyvrx7NBzs4+GSZU/Yj7dVIoFXZagl47MC9FJPlKzPHpwEahlH2E+I5EFr9dIiBV+Rwm1on6dnq9aGUyiKdIWCNHz8QhsdHRxrj8fiPyfoMYN/ww9Wi4L71ZTSriOKqHLkz9WfdtHcDfDuMnytgRSwa/ZzWZgB10/oEYEUYw9+av5CFwP3xeqPKkYoMYNK0EgQcCA8HeOuScRMkjAHusVzrzW8GM5/SFOk0JU2zgSBkXUN+zYpW57BGSdM+QuDzRQspwJiY22jATF1kUHMBPsWUXic9ZT0Do6qYKWG9vduYbloc1qAUunQHn4CxsRRhwTP4JSVNq4eAw8HFJVAQXaZkym4m5osliAseQdxKumGsB4lPg6tLoGBng/eo003rOoA9JYgMEnFDlaN7PcB+w64XiEPt8YIkBql1mRpiSmQws1kYMK27DOwIYlKsWgLuNcjRnZnNQvpL0jAqSBCHwFharGBfvoQxdp06TVFeTwP0IBfAFc1EBzUpkpiczKwtv56yroLR5Gu2811EuKZK0X1TbWcBPrCsJeWMfmasm+/8fH5EePGTENsSjX7JC5ge7DMMWSSxH8DiEkF+d9iJNSqKOTMv57k4adotBO4tBSCDDmly5EK2rLwH96RhdxHxiWJCMtCuydGuXBlzvlkYMO1eBrcUBZK5VVWkvP/SnIDe7ce0uglom09IIqGtQao5O5enL0DveW1Z++Bi1sl/roBs4wz3qCbLPX60vgE9SONRJch56cc4Zw3xVlWSHvj1CASYNu23rOUC4w4Ym/2G/Kl777gT2xtra98F0QUGTJt3dHQIm5S6BJj3+wy7Pz42sisejzs+6zNloQAn1bppdQJozx9K3aocOR4UbLK+IEDvCh+2qwTBbZ55tiZwwnWFhFYbeR4WLq0rGDDTTcOoJEFscl3+CpTf0pRNId+UTZ/OvAEW0qV82v+AhXb2F1BsL4A14kXbAAAAAElFTkSuQmCC"
|
|
|
|
|
|
|
|
|
|
|
|
/***/ }),
|
|
|
|
|
|
|
|
|
|
|
|
/***/ 146:
|
|
|
|
|
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
|
|
|
|
|
|
|
|
|
|
"use strict";
|
|
|
|
|
|
__webpack_require__.r(__webpack_exports__);
|
|
|
|
|
|
/* harmony import */ var _node_modules_vue_style_loader_index_js_ref_7_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_dist_cjs_js_ref_7_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_7_oneOf_1_3_node_modules_sass_resources_loader_lib_loader_js_ref_7_oneOf_1_4_node_modules_nuxt_components_dist_loader_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_VideoArticleListItem_vue_vue_type_style_index_0_id_ae307dfe_prod_lang_scss__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(144);
|
|
|
|
|
|
/* harmony import */ var _node_modules_vue_style_loader_index_js_ref_7_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_dist_cjs_js_ref_7_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_7_oneOf_1_3_node_modules_sass_resources_loader_lib_loader_js_ref_7_oneOf_1_4_node_modules_nuxt_components_dist_loader_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_VideoArticleListItem_vue_vue_type_style_index_0_id_ae307dfe_prod_lang_scss__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_vue_style_loader_index_js_ref_7_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_dist_cjs_js_ref_7_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_7_oneOf_1_3_node_modules_sass_resources_loader_lib_loader_js_ref_7_oneOf_1_4_node_modules_nuxt_components_dist_loader_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_VideoArticleListItem_vue_vue_type_style_index_0_id_ae307dfe_prod_lang_scss__WEBPACK_IMPORTED_MODULE_0__);
|
|
|
|
|
|
/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _node_modules_vue_style_loader_index_js_ref_7_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_dist_cjs_js_ref_7_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_7_oneOf_1_3_node_modules_sass_resources_loader_lib_loader_js_ref_7_oneOf_1_4_node_modules_nuxt_components_dist_loader_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_VideoArticleListItem_vue_vue_type_style_index_0_id_ae307dfe_prod_lang_scss__WEBPACK_IMPORTED_MODULE_0__) if(["default"].indexOf(__WEBPACK_IMPORT_KEY__) < 0) (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _node_modules_vue_style_loader_index_js_ref_7_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_dist_cjs_js_ref_7_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_7_oneOf_1_3_node_modules_sass_resources_loader_lib_loader_js_ref_7_oneOf_1_4_node_modules_nuxt_components_dist_loader_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_VideoArticleListItem_vue_vue_type_style_index_0_id_ae307dfe_prod_lang_scss__WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__));
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/***/ }),
|
|
|
|
|
|
|
|
|
|
|
|
/***/ 147:
|
|
|
|
|
|
/***/ (function(module, exports, __webpack_require__) {
|
|
|
|
|
|
|
|
|
|
|
|
// Imports
|
|
|
|
|
|
var ___CSS_LOADER_API_IMPORT___ = __webpack_require__(3);
|
|
|
|
|
|
var ___CSS_LOADER_GET_URL_IMPORT___ = __webpack_require__(6);
|
|
|
|
|
|
var ___CSS_LOADER_URL_IMPORT_0___ = __webpack_require__(8);
|
|
|
|
|
|
var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]});
|
|
|
|
|
|
var ___CSS_LOADER_URL_REPLACEMENT_0___ = ___CSS_LOADER_GET_URL_IMPORT___(___CSS_LOADER_URL_IMPORT_0___);
|
|
|
|
|
|
// Module
|
|
|
|
|
|
___CSS_LOADER_EXPORT___.push([module.i, "*{border:none;margin:0;padding:0}html{height:100%}body{background:#fff;font-family:MicrosoftYaHei;font-size:0;min-height:100%;min-width:320px;position:relative}body .outer-container{min-width:1258px}body .outer-container.isMobile{min-width:auto}body .outer-container.isMobile .content-container{padding:60px 0 62px;width:100%}body .outer-container.isMobile .content-container .left-content{display:block!important;margin-right:0!important;width:100%!important}body .outer-container.isMobile .content-container .footer-outer{min-width:auto!important;position:absolute!important}body .outer-container.isMobile .content-container .load-more{width:100%!important}body .outer-container.isMobile .content-container .common-flex{display:block!important}body .outer-container.isMobile .content-container .common-other-content{margin:0!important}body .outer-container.isMobile .content-container .common-other-content h6{font-size:20px!important;line-height:28px!important;margin-bottom:10px!important}body .outer-container.isMobile .content-container .common-other-content .font-content b,body .outer-container.isMobile .content-container .common-other-content .font-content h5,body .outer-container.isMobile .content-container .common-other-content .font-content h6,body .outer-container.isMobile .content-container .common-other-content .font-content p{font-size:16px!important;line-height:24px!important;margin-bottom:8px!important;word-break:break-all}body .outer-container.isMobile .content-container .common-other-content .font-content h5{font-size:18px!important}body .outer-container.isMobile.hasLoginBottom{padding-bottom:calc(env(safe-area-inset-bottom) + 55px)}body .outer-container.isMobile.hasLoginBottom .bottom-outer,body .outer-container.isMobile.hasLoginBottom .footer-outer{bottom:calc(constant(safe-area-inset-bottom) + 55px);bottom:calc(env(safe-area-inset-bottom) + 55px)}body .outer-container.isMobile.hasLoginBottom .fixed-box{bottom:calc(constant(safe-area-inset-bottom) + 65px)!important;bottom:calc(env(safe-area-inset-bottom) + 65px)!important}body .content-container{margin:0 auto;width:1080px}body img{-o-object-fit:cover;object-fit:cover;vertical-align:top}body a{-webkit-text-decoration:none;text-decoration:none}body .detail-list-item.one-line-columns-4.large-width>p,body .text-ellipsis{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}body .left-content{display:inline-block;margin-right:32px;width:723px}body .right-content{display:inline-block;float:right;width:325px}body .common-flex{display:grid;grid-template-columns:repeat(4,25%)}body .load-more{background:#f5f5f8;border-radius:4px;color:#939aa7;font-family:PingFangSC-Regular,PingFang SC;font-size:18px;font-weight:400;height:50px;line-height:50px;margin:0 auto;text-align:center;width:357px}body .footer-outer{background:#f5f5f8;bottom:0;left:0;min-width:1258px;position:fixed;width:100%;z-index:9}body .common-title{color:#001965;font-family:PingFangSC-Medium,PingFang SC;font-size:24px;font-weight:500;line-height:33px;padding:20px 0 10px;text-align:left}body .common-title a{color:#5d6269;float:right;font-family:PingFangSC-Regular,PingFang SC;font-size:16px;font-weight:400}body .common-title a i{color:#001965}body p.go-follow{background:#e6553f;border-radius:4px;color:#fff;cursor:pointer;font-family:PingFangSC-Medium,PingFang SC;font-size:18px;font-weight:500;height:50px;line-height:50px;margin-bottom:23px;text-align:center}body .common-other-content{box-sizing:border-box;margin:44px 0;padding:30px}body .common-other-content h6{color:#001965;font-family:PingFangSC-Medium,PingFang SC;font-size:24px;font-weight:500;line-height:33px;margin-bottom:20px}body .common-other-content .font-content b,body .common-other-content .font-content h5,body .common-other-content .font-content h6,body .common-other-content .font-content p{color:#5d6269;font-size:18px;line-height:30px;margin-bottom:12px}body .common-other-content .font-content h5{font-size:20px}body .el-message{top:50%!important}body .el-message i{font-size:16px}@media screen a
|
|
|
|
|
|
// Exports
|
|
|
|
|
|
___CSS_LOADER_EXPORT___.locals = {};
|
|
|
|
|
|
module.exports = ___CSS_LOADER_EXPORT___;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/***/ }),
|
|
|
|
|
|
|
|
|
|
|
|
/***/ 148:
|
|
|
|
|
|
/***/ (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!./src/components/VideoArticleListItem.vue?vue&type=template&id=ae307dfe
|
|
|
|
|
|
var render = function render() {
|
|
|
|
|
|
var _vm = this,
|
|
|
|
|
|
_c = _vm._self._c;
|
|
|
|
|
|
return _vm.detail.mainModule == 38 ? _c('div', {
|
|
|
|
|
|
staticClass: "only-img detail-list-item large-width",
|
|
|
|
|
|
class: 'one-line-columns-' + _vm.columnNum + (_vm.deviceType !== 'pc' ? ' isMobile' : ''),
|
|
|
|
|
|
on: {
|
|
|
|
|
|
"click": function ($event) {
|
|
|
|
|
|
return _vm.goHref(_vm.detail.action_url);
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}, [_vm._ssrNode("<img" + _vm._ssrAttr("src", _vm.detail.image_url) + " alt>")], 2) : _c('div', {
|
|
|
|
|
|
staticClass: "detail-list-item",
|
|
|
|
|
|
class: (_vm.detail.showType == 2 ? 'large-width ' : '') + ('one-line-columns-' + _vm.columnNum) + (_vm.deviceType !== 'pc' ? ' isMobile' : '') + (_vm.detail.mainModule == 47 ? ' video-item' : ' article-item') + (_vm.detail.intro && _vm.detail.intro !== '' ? ' has-intro' : ' no-intro'),
|
|
|
|
|
|
on: {
|
|
|
|
|
|
"click": function ($event) {
|
|
|
|
|
|
_vm.goHref((_vm.detail.mainModule == 47 ? '/video/' : '/article/') + _vm.detail.id);
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}, [_vm._ssrNode("<div class=\"top-img-box\">" + (_vm.detail.mainModule !== 47 && !_vm.detail.thumb ? "<img" + _vm._ssrAttr("src", __webpack_require__(66)) + " alt>" : "<img" + _vm._ssrAttr("src", _vm.detail.mainModule == 47 ? _vm.detail.video_cover_url : _vm.detail.thumb) + " alt>") + " " + (_vm.deviceType !== 'pc' && _vm.detail.intro && _vm.detail.intro !== '' ? "<p>" + _vm._ssrEscape("\n " + _vm._s(_vm.detail.intro) + "\n ") + "</p>" : "<!---->") + " " + (_vm.detail.mainModule == 47 ? "<span>" + _vm._ssrEscape(_vm._s(parseInt(_vm.detail.video_time / 60) > 9 ? parseInt(_vm.detail.video_time / 60) : '0' + parseInt(_vm.detail.video_time / 60)) + ":" + _vm._s(parseInt(_vm.detail.video_time % 60) > 9 ? parseInt(_vm.detail.video_time % 60) : '0' + parseInt(_vm.detail.video_time % 60))) + "</span> <img" + _vm._ssrAttr("src", __webpack_require__(8)) + " alt class=\"play\">" : "<!---->") + "</div> <p>" + _vm._ssrEscape(_vm._s(_vm.detail.title)) + "</p> <div class=\"bottom\"><span" + _vm._ssrStyle(null, {
|
|
|
|
|
|
display: (_vm.detail.mainModule == 47 ? _vm.detail.tag_name : _vm.detail.labelName) ? '' : 'none'
|
|
|
|
|
|
}, null) + ">" + _vm._ssrEscape(_vm._s(_vm.detail.mainModule == 47 ? _vm.detail.tag_name : _vm.detail.labelName)) + "</span> <span>" + _vm._ssrEscape(_vm._s(_vm.detail.mainModule == 47 ? _vm.detail.play_num : _vm.detail.hit)) + (_vm.deviceType !== 'pc' ? _vm._ssrEscape(_vm._s(_vm.detail.mainModule == 47 ? '播放' : '阅读') + " ") : "<i class=\"el-icon-view\" style=\"margin-right: 8px\"></i>") + _vm._ssrEscape(_vm._s(_vm.detail.mainModule == 47 ? _vm.detail.like_num : _vm.detail.collect)) + (_vm.deviceType !== 'pc' ? _vm._ssrEscape(_vm._s(_vm.detail.mainModule == 47 ? '喜欢' : '收藏') + " ") : _vm.detail.mainModule == 47 ? "<img" + _vm._ssrAttr("src", __webpack_require__(145)) + " alt>" : "<i class=\"el-icon-star-on\" style=\"margin-left: 2px; font-size: 18px\"></i>") + "</span></div>")]);
|
|
|
|
|
|
};
|
|
|
|
|
|
var staticRenderFns = [];
|
|
|
|
|
|
|
|
|
|
|
|
// CONCATENATED MODULE: ./src/components/VideoArticleListItem.vue?vue&type=template&id=ae307dfe
|
|
|
|
|
|
|
|
|
|
|
|
// 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!./src/components/VideoArticleListItem.vue?vue&type=script&lang=js
|
|
|
|
|
|
/* harmony default export */ var VideoArticleListItemvue_type_script_lang_js = ({
|
|
|
|
|
|
props: {
|
|
|
|
|
|
detail: {
|
|
|
|
|
|
type: Object,
|
|
|
|
|
|
default: null
|
|
|
|
|
|
},
|
|
|
|
|
|
columnNum: {
|
|
|
|
|
|
type: Number,
|
|
|
|
|
|
default: 1
|
|
|
|
|
|
},
|
|
|
|
|
|
deviceType: {
|
|
|
|
|
|
type: String,
|
|
|
|
|
|
default: 'pc'
|
|
|
|
|
|
}
|
|
|
|
|
|
},
|
|
|
|
|
|
created() {},
|
|
|
|
|
|
methods: {
|
|
|
|
|
|
goHref(url) {
|
|
|
|
|
|
this.$emit('addStat');
|
|
|
|
|
|
let openNew = false;
|
|
|
|
|
|
if (this.deviceType === 'pc') {
|
|
|
|
|
|
openNew = true;
|
|
|
|
|
|
}
|
|
|
|
|
|
if (openNew) {
|
|
|
|
|
|
window.open(url, '_blank');
|
|
|
|
|
|
} else {
|
|
|
|
|
|
window.location.href = url;
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
});
|
|
|
|
|
|
// CONCATENATED MODULE: ./src/components/VideoArticleListItem.vue?vue&type=script&lang=js
|
|
|
|
|
|
/* harmony default export */ var components_VideoArticleListItemvue_type_script_lang_js = (VideoArticleListItemvue_type_script_lang_js);
|
|
|
|
|
|
// EXTERNAL MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
|
|
|
|
|
|
var componentNormalizer = __webpack_require__(1);
|
|
|
|
|
|
|
|
|
|
|
|
// CONCATENATED MODULE: ./src/components/VideoArticleListItem.vue
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
function injectStyles (context) {
|
|
|
|
|
|
|
|
|
|
|
|
var style0 = __webpack_require__(146)
|
|
|
|
|
|
if (style0.__inject__) style0.__inject__(context)
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/* normalize component */
|
|
|
|
|
|
|
|
|
|
|
|
var component = Object(componentNormalizer["a" /* default */])(
|
|
|
|
|
|
components_VideoArticleListItemvue_type_script_lang_js,
|
|
|
|
|
|
render,
|
|
|
|
|
|
staticRenderFns,
|
|
|
|
|
|
false,
|
|
|
|
|
|
injectStyles,
|
|
|
|
|
|
null,
|
|
|
|
|
|
"02aa05c6"
|
|
|
|
|
|
|
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|
/* harmony default export */ var VideoArticleListItem = __webpack_exports__["default"] = (component.exports);
|
|
|
|
|
|
|
|
|
|
|
|
/***/ }),
|
|
|
|
|
|
|
|
|
|
|
|
/***/ 150:
|
|
|
|
|
|
/***/ (function(module, exports, __webpack_require__) {
|
|
|
|
|
|
|
|
|
|
|
|
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
|
|
|
|
|
|
|
|
|
|
// load the styles
|
|
|
|
|
|
var content = __webpack_require__(159);
|
|
|
|
|
|
if(content.__esModule) content = content.default;
|
|
|
|
|
|
if(typeof content === 'string') content = [[module.i, content, '']];
|
|
|
|
|
|
if(content.locals) module.exports = content.locals;
|
|
|
|
|
|
// add CSS to SSR context
|
|
|
|
|
|
var add = __webpack_require__(4).default
|
|
|
|
|
|
module.exports.__inject__ = function (context) {
|
|
|
|
|
|
add("55869e6e", content, true, context)
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
/***/ }),
|
|
|
|
|
|
|
|
|
|
|
|
/***/ 156:
|
|
|
|
|
|
/***/ (function(module, exports, __webpack_require__) {
|
|
|
|
|
|
|
|
|
|
|
|
module.exports = __webpack_require__.p + "img/beans.96d5ea2.png";
|
|
|
|
|
|
|
|
|
|
|
|
/***/ }),
|
|
|
|
|
|
|
|
|
|
|
|
/***/ 157:
|
|
|
|
|
|
/***/ (function(module, exports, __webpack_require__) {
|
|
|
|
|
|
|
|
|
|
|
|
module.exports = __webpack_require__.p + "img/beans_popup_bg.fec0553.png";
|
|
|
|
|
|
|
|
|
|
|
|
/***/ }),
|
|
|
|
|
|
|
|
|
|
|
|
/***/ 158:
|
|
|
|
|
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
|
|
|
|
|
|
|
|
|
|
"use strict";
|
|
|
|
|
|
__webpack_require__.r(__webpack_exports__);
|
|
|
|
|
|
/* harmony import */ var _node_modules_vue_style_loader_index_js_ref_7_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_dist_cjs_js_ref_7_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_7_oneOf_1_3_node_modules_sass_resources_loader_lib_loader_js_ref_7_oneOf_1_4_node_modules_nuxt_components_dist_loader_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_UserInfoCommon_vue_vue_type_style_index_0_id_013bfdca_prod_lang_scss__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(150);
|
|
|
|
|
|
/* harmony import */ var _node_modules_vue_style_loader_index_js_ref_7_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_dist_cjs_js_ref_7_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_7_oneOf_1_3_node_modules_sass_resources_loader_lib_loader_js_ref_7_oneOf_1_4_node_modules_nuxt_components_dist_loader_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_UserInfoCommon_vue_vue_type_style_index_0_id_013bfdca_prod_lang_scss__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_vue_style_loader_index_js_ref_7_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_dist_cjs_js_ref_7_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_7_oneOf_1_3_node_modules_sass_resources_loader_lib_loader_js_ref_7_oneOf_1_4_node_modules_nuxt_components_dist_loader_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_UserInfoCommon_vue_vue_type_style_index_0_id_013bfdca_prod_lang_scss__WEBPACK_IMPORTED_MODULE_0__);
|
|
|
|
|
|
/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _node_modules_vue_style_loader_index_js_ref_7_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_dist_cjs_js_ref_7_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_7_oneOf_1_3_node_modules_sass_resources_loader_lib_loader_js_ref_7_oneOf_1_4_node_modules_nuxt_components_dist_loader_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_UserInfoCommon_vue_vue_type_style_index_0_id_013bfdca_prod_lang_scss__WEBPACK_IMPORTED_MODULE_0__) if(["default"].indexOf(__WEBPACK_IMPORT_KEY__) < 0) (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _node_modules_vue_style_loader_index_js_ref_7_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_dist_cjs_js_ref_7_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_7_oneOf_1_3_node_modules_sass_resources_loader_lib_loader_js_ref_7_oneOf_1_4_node_modules_nuxt_components_dist_loader_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_UserInfoCommon_vue_vue_type_style_index_0_id_013bfdca_prod_lang_scss__WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__));
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/***/ }),
|
|
|
|
|
|
|
|
|
|
|
|
/***/ 159:
|
|
|
|
|
|
/***/ (function(module, exports, __webpack_require__) {
|
|
|
|
|
|
|
|
|
|
|
|
// Imports
|
|
|
|
|
|
var ___CSS_LOADER_API_IMPORT___ = __webpack_require__(3);
|
|
|
|
|
|
var ___CSS_LOADER_GET_URL_IMPORT___ = __webpack_require__(6);
|
|
|
|
|
|
var ___CSS_LOADER_URL_IMPORT_0___ = __webpack_require__(8);
|
|
|
|
|
|
var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]});
|
|
|
|
|
|
var ___CSS_LOADER_URL_REPLACEMENT_0___ = ___CSS_LOADER_GET_URL_IMPORT___(___CSS_LOADER_URL_IMPORT_0___);
|
|
|
|
|
|
// Module
|
|
|
|
|
|
___CSS_LOADER_EXPORT___.push([module.i, "*{border:none;margin:0;padding:0}html{height:100%}body{background:#fff;font-family:MicrosoftYaHei;font-size:0;min-height:100%;min-width:320px;position:relative}body .outer-container{min-width:1258px}body .outer-container.isMobile{min-width:auto}body .outer-container.isMobile .content-container{padding:60px 0 62px;width:100%}body .outer-container.isMobile .content-container .left-content{display:block!important;margin-right:0!important;width:100%!important}body .outer-container.isMobile .content-container .footer-outer{min-width:auto!important;position:absolute!important}body .outer-container.isMobile .content-container .load-more{width:100%!important}body .outer-container.isMobile .content-container .common-flex{display:block!important}body .outer-container.isMobile .content-container .common-other-content{margin:0!important}body .outer-container.isMobile .content-container .common-other-content h6{font-size:20px!important;line-height:28px!important;margin-bottom:10px!important}body .outer-container.isMobile .content-container .common-other-content .font-content b,body .outer-container.isMobile .content-container .common-other-content .font-content h5,body .outer-container.isMobile .content-container .common-other-content .font-content h6,body .outer-container.isMobile .content-container .common-other-content .font-content p{font-size:16px!important;line-height:24px!important;margin-bottom:8px!important;word-break:break-all}body .outer-container.isMobile .content-container .common-other-content .font-content h5{font-size:18px!important}body .outer-container.isMobile.hasLoginBottom{padding-bottom:calc(env(safe-area-inset-bottom) + 55px)}body .outer-container.isMobile.hasLoginBottom .bottom-outer,body .outer-container.isMobile.hasLoginBottom .footer-outer{bottom:calc(constant(safe-area-inset-bottom) + 55px);bottom:calc(env(safe-area-inset-bottom) + 55px)}body .outer-container.isMobile.hasLoginBottom .fixed-box{bottom:calc(constant(safe-area-inset-bottom) + 65px)!important;bottom:calc(env(safe-area-inset-bottom) + 65px)!important}body .content-container{margin:0 auto;width:1080px}body img{-o-object-fit:cover;object-fit:cover;vertical-align:top}body a{-webkit-text-decoration:none;text-decoration:none}.top-user-info>div body .left-content>p,body .text-ellipsis,body .top-user-info>div .left-content>p{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}body .left-content{display:inline-block;margin-right:32px;width:723px}body .right-content{display:inline-block;float:right;width:325px}body .common-flex{display:grid;grid-template-columns:repeat(4,25%)}body .load-more{background:#f5f5f8;border-radius:4px;color:#939aa7;font-family:PingFangSC-Regular,PingFang SC;font-size:18px;font-weight:400;height:50px;line-height:50px;margin:0 auto;text-align:center;width:357px}body .footer-outer{background:#f5f5f8;bottom:0;left:0;min-width:1258px;position:fixed;width:100%;z-index:9}body .common-title{color:#001965;font-family:PingFangSC-Medium,PingFang SC;font-size:24px;font-weight:500;line-height:33px;padding:20px 0 10px;text-align:left}body .common-title a{color:#5d6269;float:right;font-family:PingFangSC-Regular,PingFang SC;font-size:16px;font-weight:400}body .common-title a i{color:#001965}body p.go-follow{background:#e6553f;border-radius:4px;color:#fff;cursor:pointer;font-family:PingFangSC-Medium,PingFang SC;font-size:18px;font-weight:500;height:50px;line-height:50px;margin-bottom:23px;text-align:center}body .common-other-content{box-sizing:border-box;margin:44px 0;padding:30px}body .common-other-content h6{color:#001965;font-family:PingFangSC-Medium,PingFang SC;font-size:24px;font-weight:500;line-height:33px;margin-bottom:20px}body .common-other-content .font-content b,body .common-other-content .font-content h5,body .common-other-content .font-content h6,body .common-other-content .font-content p{color:#5d6269;font-size:18px;line-height:30px;margin-bottom:12px}body .common-other-content .font-content h5{font-size:20px}body .el-message{top:50%!important}body .el-message i{font-s
|
|
|
|
|
|
// Exports
|
|
|
|
|
|
___CSS_LOADER_EXPORT___.locals = {};
|
|
|
|
|
|
module.exports = ___CSS_LOADER_EXPORT___;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/***/ }),
|
|
|
|
|
|
|
|
|
|
|
|
/***/ 162:
|
|
|
|
|
|
/***/ (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!./src/components/UserInfoCommon.vue?vue&type=template&id=013bfdca
|
|
|
|
|
|
var render = function render() {
|
|
|
|
|
|
var _vm = this,
|
|
|
|
|
|
_c = _vm._self._c;
|
|
|
|
|
|
return _c('div', [_vm._ssrNode("<div class=\"top-user-info\">", "</div>", [_vm._ssrNode("<div>", "</div>", [_vm._ssrNode("<div class=\"left-content\">", "</div>", [_vm.deviceType === 'pc' ? [_c('el-avatar', {
|
|
|
|
|
|
attrs: {
|
|
|
|
|
|
"size": 100,
|
|
|
|
|
|
"src": _vm.userImg
|
|
|
|
|
|
}
|
|
|
|
|
|
}), _vm._ssrNode(" <p>" + _vm._ssrEscape(_vm._s(_vm.userName)) + "</p> "), _c('NuxtLink', {
|
|
|
|
|
|
attrs: {
|
|
|
|
|
|
"to": "/user/setting",
|
|
|
|
|
|
"target": "_blank"
|
|
|
|
|
|
},
|
|
|
|
|
|
nativeOn: {
|
|
|
|
|
|
"click": function ($event) {
|
|
|
|
|
|
return _vm.baiduStat('我的账户页', 'click', '我的账户页-点击设置');
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}, [_c('i', {
|
|
|
|
|
|
staticClass: "el-icon-s-tools"
|
|
|
|
|
|
}), _vm._v("账户设置")])] : _vm._ssrNode("<a href=\"/user/setting\">", "</a>", [_c('el-avatar', {
|
|
|
|
|
|
attrs: {
|
|
|
|
|
|
"size": 100,
|
|
|
|
|
|
"src": _vm.userImg
|
|
|
|
|
|
}
|
|
|
|
|
|
}), _vm._ssrNode(" <p>" + _vm._ssrEscape(_vm._s(_vm.userName)) + "</p> <i class=\"el-icon-s-tools\"></i>")], 2)], 2), _vm._ssrNode(" <div class=\"right-content\"><img" + _vm._ssrAttr("src", __webpack_require__(156)) + " alt> <p>我的金豆</p> <h5>" + _vm._ssrEscape("\n " + _vm._s(_vm.beanNum)) + "<i class=\"el-icon-caret-right\"></i></h5></div>")], 2)]), _vm._ssrNode(" "), _vm._ssrNode("<div class=\"user-collect\">", "</div>", [_vm._ssrNode("<h6>\n 我的收藏 <span>" + _vm._ssrEscape(_vm._s(_vm.total)) + "</span></h6> "), _vm._ssrNode("<div class=\"common-flex\">", "</div>", [_vm._l(_vm.articleList, function (item) {
|
|
|
|
|
|
return [_c('VideoArticleListItem', {
|
|
|
|
|
|
key: 'collect' + item.id,
|
|
|
|
|
|
attrs: {
|
|
|
|
|
|
"detail": item,
|
|
|
|
|
|
"column-num": 4,
|
|
|
|
|
|
"device-type": _vm.deviceType
|
|
|
|
|
|
},
|
|
|
|
|
|
on: {
|
|
|
|
|
|
"addStat": function ($event) {
|
|
|
|
|
|
return _vm.baiduStat('我的账户页', 'click', '我的账户页-点击收藏的文章');
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
})];
|
|
|
|
|
|
})], 2), _vm._ssrNode(" " + (_vm.collectLoading ? "<p class=\"load-more\">\n 加载更多<i class=\"el-icon-loading\"></i></p>" : "<!---->"))], 2), _vm._ssrNode(" "), _c('el-dialog', {
|
|
|
|
|
|
attrs: {
|
|
|
|
|
|
"title": "",
|
|
|
|
|
|
"visible": _vm.dialogVisible,
|
|
|
|
|
|
"custom-class": "beans-popup",
|
|
|
|
|
|
"show-close": false,
|
|
|
|
|
|
"width": _vm.deviceType === 'pc' ? '795px' : '280px'
|
|
|
|
|
|
},
|
|
|
|
|
|
on: {
|
|
|
|
|
|
"update:visible": function ($event) {
|
|
|
|
|
|
_vm.dialogVisible = $event;
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}, [_c('div', {
|
|
|
|
|
|
staticClass: "popup-content"
|
|
|
|
|
|
}, [_vm.deviceType === 'pc' ? _c('img', {
|
|
|
|
|
|
attrs: {
|
|
|
|
|
|
"src": __webpack_require__(157),
|
|
|
|
|
|
"alt": ""
|
|
|
|
|
|
}
|
|
|
|
|
|
}) : _vm._e(), _vm._v(" "), _c('div', [_c('p', [_c('img', {
|
|
|
|
|
|
attrs: {
|
|
|
|
|
|
"src": __webpack_require__(70),
|
|
|
|
|
|
"alt": ""
|
|
|
|
|
|
}
|
|
|
|
|
|
}), _vm._v("扫码前往公众号\n ")]), _vm._v(" "), _c('img', {
|
|
|
|
|
|
attrs: {
|
|
|
|
|
|
"src": _vm.isPro ? _vm.qrcodeUrl : _vm.qrcodeUrlTest,
|
|
|
|
|
|
"alt": ""
|
|
|
|
|
|
}
|
|
|
|
|
|
}), _vm._v(" "), _c('h5', [_vm._v("公众号内做任务赢金豆"), _c('br'), _vm._v("海量精美礼品免费兑换")])])])])], 2);
|
|
|
|
|
|
};
|
|
|
|
|
|
var staticRenderFns = [];
|
|
|
|
|
|
|
|
|
|
|
|
// CONCATENATED MODULE: ./src/components/UserInfoCommon.vue?vue&type=template&id=013bfdca
|
|
|
|
|
|
|
|
|
|
|
|
// EXTERNAL MODULE: external "vuex"
|
|
|
|
|
|
var external_vuex_ = __webpack_require__(5);
|
|
|
|
|
|
|
|
|
|
|
|
// 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!./src/components/UserInfoCommon.vue?vue&type=script&lang=js
|
|
|
|
|
|
|
|
|
|
|
|
const {
|
|
|
|
|
|
mapState
|
|
|
|
|
|
} = Object(external_vuex_["createNamespacedHelpers"])('user');
|
|
|
|
|
|
/* harmony default export */ var UserInfoCommonvue_type_script_lang_js = ({
|
|
|
|
|
|
props: {
|
|
|
|
|
|
beanNum: {
|
|
|
|
|
|
type: Number,
|
|
|
|
|
|
default: 0
|
|
|
|
|
|
},
|
|
|
|
|
|
total: {
|
|
|
|
|
|
type: Number,
|
|
|
|
|
|
default: 0
|
|
|
|
|
|
},
|
|
|
|
|
|
articleList: {
|
|
|
|
|
|
type: Array,
|
|
|
|
|
|
default: () => []
|
|
|
|
|
|
},
|
|
|
|
|
|
hasMore: {
|
|
|
|
|
|
type: Boolean,
|
|
|
|
|
|
default: true
|
|
|
|
|
|
},
|
|
|
|
|
|
collectLoading: {
|
|
|
|
|
|
type: Boolean,
|
|
|
|
|
|
default: false
|
|
|
|
|
|
}
|
|
|
|
|
|
},
|
|
|
|
|
|
data() {
|
|
|
|
|
|
return {
|
|
|
|
|
|
dialogVisible: false,
|
|
|
|
|
|
isPro: false,
|
|
|
|
|
|
qrcodeUrl: __webpack_require__(67),
|
|
|
|
|
|
qrcodeUrlTest: __webpack_require__(68)
|
|
|
|
|
|
};
|
|
|
|
|
|
},
|
|
|
|
|
|
computed: {
|
|
|
|
|
|
deviceType() {
|
|
|
|
|
|
return this.$store.state.device.deviceType;
|
|
|
|
|
|
},
|
|
|
|
|
|
...mapState({
|
|
|
|
|
|
userInfo: state => state.info
|
|
|
|
|
|
}),
|
|
|
|
|
|
userName() {
|
|
|
|
|
|
if (this.userInfo !== null && this.userInfo.name !== null && this.userInfo.name !== '') {
|
|
|
|
|
|
return this.userInfo.name;
|
|
|
|
|
|
}
|
|
|
|
|
|
return '--';
|
|
|
|
|
|
},
|
|
|
|
|
|
userImg() {
|
|
|
|
|
|
if (this.userInfo !== null && this.userInfo.headimg !== null && this.userInfo.headimg !== '') {
|
|
|
|
|
|
return this.userInfo.headimg;
|
|
|
|
|
|
}
|
|
|
|
|
|
return 'https://cube.elemecdn.com/3/7c/3ea6beec64369c2642b92c6726f1epng.png';
|
|
|
|
|
|
}
|
|
|
|
|
|
},
|
|
|
|
|
|
created() {
|
|
|
|
|
|
this.isPro = "production" === 'production';
|
|
|
|
|
|
}
|
|
|
|
|
|
});
|
|
|
|
|
|
// CONCATENATED MODULE: ./src/components/UserInfoCommon.vue?vue&type=script&lang=js
|
|
|
|
|
|
/* harmony default export */ var components_UserInfoCommonvue_type_script_lang_js = (UserInfoCommonvue_type_script_lang_js);
|
|
|
|
|
|
// EXTERNAL MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
|
|
|
|
|
|
var componentNormalizer = __webpack_require__(1);
|
|
|
|
|
|
|
|
|
|
|
|
// CONCATENATED MODULE: ./src/components/UserInfoCommon.vue
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
function injectStyles (context) {
|
|
|
|
|
|
|
|
|
|
|
|
var style0 = __webpack_require__(158)
|
|
|
|
|
|
if (style0.__inject__) style0.__inject__(context)
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/* normalize component */
|
|
|
|
|
|
|
|
|
|
|
|
var component = Object(componentNormalizer["a" /* default */])(
|
|
|
|
|
|
components_UserInfoCommonvue_type_script_lang_js,
|
|
|
|
|
|
render,
|
|
|
|
|
|
staticRenderFns,
|
|
|
|
|
|
false,
|
|
|
|
|
|
injectStyles,
|
|
|
|
|
|
null,
|
|
|
|
|
|
"23ca1756"
|
|
|
|
|
|
|
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|
/* harmony default export */ var UserInfoCommon = __webpack_exports__["default"] = (component.exports);
|
|
|
|
|
|
|
|
|
|
|
|
/* nuxt-component-imports */
|
|
|
|
|
|
installComponents(component, {VideoArticleListItem: __webpack_require__(148).default})
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/***/ }),
|
|
|
|
|
|
|
|
|
|
|
|
/***/ 169:
|
|
|
|
|
|
/***/ (function(module, exports, __webpack_require__) {
|
|
|
|
|
|
|
|
|
|
|
|
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
|
|
|
|
|
|
|
|
|
|
// load the styles
|
|
|
|
|
|
var content = __webpack_require__(187);
|
|
|
|
|
|
if(content.__esModule) content = content.default;
|
|
|
|
|
|
if(typeof content === 'string') content = [[module.i, content, '']];
|
|
|
|
|
|
if(content.locals) module.exports = content.locals;
|
|
|
|
|
|
// add CSS to SSR context
|
|
|
|
|
|
var add = __webpack_require__(4).default
|
|
|
|
|
|
module.exports.__inject__ = function (context) {
|
|
|
|
|
|
add("321b8df7", content, true, context)
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
/***/ }),
|
|
|
|
|
|
|
|
|
|
|
|
/***/ 186:
|
|
|
|
|
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
|
|
|
|
|
|
|
|
|
|
"use strict";
|
|
|
|
|
|
__webpack_require__.r(__webpack_exports__);
|
|
|
|
|
|
/* harmony import */ var _node_modules_vue_style_loader_index_js_ref_7_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_dist_cjs_js_ref_7_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_7_oneOf_1_3_node_modules_sass_resources_loader_lib_loader_js_ref_7_oneOf_1_4_node_modules_nuxt_components_dist_loader_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_more_vue_vue_type_style_index_0_id_0230d775_prod_lang_scss__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(169);
|
|
|
|
|
|
/* harmony import */ var _node_modules_vue_style_loader_index_js_ref_7_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_dist_cjs_js_ref_7_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_7_oneOf_1_3_node_modules_sass_resources_loader_lib_loader_js_ref_7_oneOf_1_4_node_modules_nuxt_components_dist_loader_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_more_vue_vue_type_style_index_0_id_0230d775_prod_lang_scss__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_vue_style_loader_index_js_ref_7_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_dist_cjs_js_ref_7_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_7_oneOf_1_3_node_modules_sass_resources_loader_lib_loader_js_ref_7_oneOf_1_4_node_modules_nuxt_components_dist_loader_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_more_vue_vue_type_style_index_0_id_0230d775_prod_lang_scss__WEBPACK_IMPORTED_MODULE_0__);
|
|
|
|
|
|
/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _node_modules_vue_style_loader_index_js_ref_7_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_dist_cjs_js_ref_7_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_7_oneOf_1_3_node_modules_sass_resources_loader_lib_loader_js_ref_7_oneOf_1_4_node_modules_nuxt_components_dist_loader_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_more_vue_vue_type_style_index_0_id_0230d775_prod_lang_scss__WEBPACK_IMPORTED_MODULE_0__) if(["default"].indexOf(__WEBPACK_IMPORT_KEY__) < 0) (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _node_modules_vue_style_loader_index_js_ref_7_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_dist_cjs_js_ref_7_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_7_oneOf_1_3_node_modules_sass_resources_loader_lib_loader_js_ref_7_oneOf_1_4_node_modules_nuxt_components_dist_loader_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_more_vue_vue_type_style_index_0_id_0230d775_prod_lang_scss__WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__));
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/***/ }),
|
|
|
|
|
|
|
|
|
|
|
|
/***/ 187:
|
|
|
|
|
|
/***/ (function(module, exports, __webpack_require__) {
|
|
|
|
|
|
|
|
|
|
|
|
// Imports
|
|
|
|
|
|
var ___CSS_LOADER_API_IMPORT___ = __webpack_require__(3);
|
|
|
|
|
|
var ___CSS_LOADER_GET_URL_IMPORT___ = __webpack_require__(6);
|
|
|
|
|
|
var ___CSS_LOADER_URL_IMPORT_0___ = __webpack_require__(8);
|
|
|
|
|
|
var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]});
|
|
|
|
|
|
var ___CSS_LOADER_URL_REPLACEMENT_0___ = ___CSS_LOADER_GET_URL_IMPORT___(___CSS_LOADER_URL_IMPORT_0___);
|
|
|
|
|
|
// Module
|
|
|
|
|
|
___CSS_LOADER_EXPORT___.push([module.i, "*{border:none;margin:0;padding:0}html{height:100%}body{background:#fff;font-family:MicrosoftYaHei;font-size:0;min-height:100%;min-width:320px;position:relative}body .outer-container{min-width:1258px}body .outer-container.isMobile{min-width:auto}body .outer-container.isMobile .content-container{padding:60px 0 62px;width:100%}body .outer-container.isMobile .content-container .left-content{display:block!important;margin-right:0!important;width:100%!important}body .outer-container.isMobile .content-container .footer-outer{min-width:auto!important;position:absolute!important}body .outer-container.isMobile .content-container .load-more{width:100%!important}body .outer-container.isMobile .content-container .common-flex{display:block!important}body .outer-container.isMobile .content-container .common-other-content{margin:0!important}body .outer-container.isMobile .content-container .common-other-content h6{font-size:20px!important;line-height:28px!important;margin-bottom:10px!important}body .outer-container.isMobile .content-container .common-other-content .font-content b,body .outer-container.isMobile .content-container .common-other-content .font-content h5,body .outer-container.isMobile .content-container .common-other-content .font-content h6,body .outer-container.isMobile .content-container .common-other-content .font-content p{font-size:16px!important;line-height:24px!important;margin-bottom:8px!important;word-break:break-all}body .outer-container.isMobile .content-container .common-other-content .font-content h5{font-size:18px!important}body .outer-container.isMobile.hasLoginBottom{padding-bottom:calc(env(safe-area-inset-bottom) + 55px)}body .outer-container.isMobile.hasLoginBottom .bottom-outer,body .outer-container.isMobile.hasLoginBottom .footer-outer{bottom:calc(constant(safe-area-inset-bottom) + 55px);bottom:calc(env(safe-area-inset-bottom) + 55px)}body .outer-container.isMobile.hasLoginBottom .fixed-box{bottom:calc(constant(safe-area-inset-bottom) + 65px)!important;bottom:calc(env(safe-area-inset-bottom) + 65px)!important}body .content-container{margin:0 auto;width:1080px}body img{-o-object-fit:cover;object-fit:cover;vertical-align:top}body a{-webkit-text-decoration:none;text-decoration:none}.more-page body .top-user-info>div>div:first-child>a>p,body .more-page .top-user-info>div>div:first-child>a>p,body .text-ellipsis{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}body .left-content{display:inline-block;margin-right:32px;width:723px}body .right-content{display:inline-block;float:right;width:325px}body .common-flex{display:grid;grid-template-columns:repeat(4,25%)}body .load-more{background:#f5f5f8;border-radius:4px;color:#939aa7;font-family:PingFangSC-Regular,PingFang SC;font-size:18px;font-weight:400;height:50px;line-height:50px;margin:0 auto;text-align:center;width:357px}body .footer-outer{background:#f5f5f8;bottom:0;left:0;min-width:1258px;position:fixed;width:100%;z-index:9}body .common-title{color:#001965;font-family:PingFangSC-Medium,PingFang SC;font-size:24px;font-weight:500;line-height:33px;padding:20px 0 10px;text-align:left}body .common-title a{color:#5d6269;float:right;font-family:PingFangSC-Regular,PingFang SC;font-size:16px;font-weight:400}body .common-title a i{color:#001965}body p.go-follow{background:#e6553f;border-radius:4px;color:#fff;cursor:pointer;font-family:PingFangSC-Medium,PingFang SC;font-size:18px;font-weight:500;height:50px;line-height:50px;margin-bottom:23px;text-align:center}body .common-other-content{box-sizing:border-box;margin:44px 0;padding:30px}body .common-other-content h6{color:#001965;font-family:PingFangSC-Medium,PingFang SC;font-size:24px;font-weight:500;line-height:33px;margin-bottom:20px}body .common-other-content .font-content b,body .common-other-content .font-content h5,body .common-other-content .font-content h6,body .common-other-content .font-content p{color:#5d6269;font-size:18px;line-height:30px;margin-bottom:12px}body .common-other-content .font-content h5{font-size:20px}body .el-message{top:50%!impor
|
|
|
|
|
|
// Exports
|
|
|
|
|
|
___CSS_LOADER_EXPORT___.locals = {};
|
|
|
|
|
|
module.exports = ___CSS_LOADER_EXPORT___;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/***/ }),
|
|
|
|
|
|
|
|
|
|
|
|
/***/ 218:
|
|
|
|
|
|
/***/ (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!./src/pages/more.vue?vue&type=template&id=0230d775
|
|
|
|
|
|
var render = function render() {
|
|
|
|
|
|
var _vm = this,
|
|
|
|
|
|
_c = _vm._self._c;
|
|
|
|
|
|
return _c('div', {
|
|
|
|
|
|
staticClass: "outer-container",
|
|
|
|
|
|
class: {
|
|
|
|
|
|
isMobile: _vm.deviceType !== 'pc'
|
|
|
|
|
|
}
|
|
|
|
|
|
}, [_vm._ssrNode("<div" + _vm._ssrClass("content-container more-page", {
|
|
|
|
|
|
isMobile: _vm.deviceType !== 'pc'
|
|
|
|
|
|
}) + ">", "</div>", [_c('CommonHeader', {
|
|
|
|
|
|
attrs: {
|
|
|
|
|
|
"device-type": _vm.deviceType,
|
|
|
|
|
|
"has-web-header": true,
|
|
|
|
|
|
"scroll-top": _vm.scrollTop,
|
|
|
|
|
|
"scroll-left": _vm.scrollLeft,
|
|
|
|
|
|
"search-height": _vm.searchHeight,
|
|
|
|
|
|
"tab-type": 1,
|
|
|
|
|
|
"show-close": true
|
|
|
|
|
|
},
|
|
|
|
|
|
on: {
|
|
|
|
|
|
"func": _vm.getMsgFormSon
|
|
|
|
|
|
}
|
|
|
|
|
|
}), _vm._ssrNode(" "), _vm._ssrNode("<div class=\"top-entrance-box\">", "</div>", [_vm._ssrNode("<h6>栏目</h6> "), _c('MobileHeader', {
|
|
|
|
|
|
attrs: {
|
|
|
|
|
|
"is-more": true
|
|
|
|
|
|
}
|
|
|
|
|
|
}), _vm._ssrNode(" <h6>关于</h6> <div class=\"other-box\"><a href=\"/other/about\">关于我们</a> <a href=\"/other/agreement\">用户协议</a> <a href=\"/other/privacy\">隐私政策</a> <a href=\"/other/cookies\">cookies政策</a> <a href=\"/other/corporate\">媒体合作</a> <a href=\"/other/disclaimer\" style=\"display: none\">免责声明</a> <a href=\"/other/link\" style=\"display: none\">友情链接</a></div>")], 2), _vm._ssrNode(" "), _vm.isLogin ? _c('UserInfoCommon', {
|
|
|
|
|
|
attrs: {
|
|
|
|
|
|
"bean-num": _vm.beanNum,
|
|
|
|
|
|
"total": _vm.total,
|
|
|
|
|
|
"has-more": _vm.hasMore,
|
|
|
|
|
|
"article-list": _vm.articleList,
|
|
|
|
|
|
"collect-loading": _vm.collectLoading
|
|
|
|
|
|
}
|
|
|
|
|
|
}) : _c('div', {
|
|
|
|
|
|
staticClass: "not-login-box"
|
|
|
|
|
|
}, [_c('div', {
|
|
|
|
|
|
staticClass: "top-box"
|
|
|
|
|
|
}, [_c('el-avatar', {
|
|
|
|
|
|
staticStyle: {
|
|
|
|
|
|
"cursor": "pointer"
|
|
|
|
|
|
},
|
|
|
|
|
|
attrs: {
|
|
|
|
|
|
"src": "https://cube.elemecdn.com/3/7c/3ea6beec64369c2642b92c6726f1epng.png",
|
|
|
|
|
|
"size": 50
|
|
|
|
|
|
}
|
|
|
|
|
|
}), _vm._v(" "), _c('p', [_vm._v("未登录")]), _vm._v(" "), _c('span', [_vm._v("更多个性化内容,登录查看")])], 1), _vm._v(" "), _c('div', {
|
|
|
|
|
|
staticClass: "bottom-box"
|
|
|
|
|
|
})])], 2)]);
|
|
|
|
|
|
};
|
|
|
|
|
|
var staticRenderFns = [];
|
|
|
|
|
|
|
|
|
|
|
|
// CONCATENATED MODULE: ./src/pages/more.vue?vue&type=template&id=0230d775
|
|
|
|
|
|
|
|
|
|
|
|
// EXTERNAL MODULE: external "vuex"
|
|
|
|
|
|
var external_vuex_ = __webpack_require__(5);
|
|
|
|
|
|
|
|
|
|
|
|
// 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!./src/pages/more.vue?vue&type=script&lang=js
|
|
|
|
|
|
|
|
|
|
|
|
const {
|
|
|
|
|
|
mapActions,
|
|
|
|
|
|
mapGetters,
|
|
|
|
|
|
mapState
|
|
|
|
|
|
} = Object(external_vuex_["createNamespacedHelpers"])('user');
|
|
|
|
|
|
/* harmony default export */ var morevue_type_script_lang_js = ({
|
|
|
|
|
|
name: 'MorePage',
|
|
|
|
|
|
// layout: 'common',
|
|
|
|
|
|
async asyncData({
|
|
|
|
|
|
req,
|
|
|
|
|
|
$axios,
|
|
|
|
|
|
store
|
|
|
|
|
|
}) {
|
|
|
|
|
|
if (store.state.user.info && store.state.user.info.isLogin) {
|
|
|
|
|
|
const [dataA, dataB] = await Promise.all([$axios.$get('/user/collect-list?page=1', $axios.genSSROptions(req)), $axios.$get('/user/bean-num', $axios.genSSROptions(req))]);
|
|
|
|
|
|
return {
|
|
|
|
|
|
...dataA.detail,
|
|
|
|
|
|
...dataB.detail
|
|
|
|
|
|
};
|
|
|
|
|
|
}
|
|
|
|
|
|
},
|
|
|
|
|
|
data() {
|
|
|
|
|
|
return {
|
|
|
|
|
|
scrollTop: 0,
|
|
|
|
|
|
scrollLeft: 0,
|
|
|
|
|
|
searchHeight: 0,
|
|
|
|
|
|
msgFormSon: true,
|
|
|
|
|
|
// 页面显隐
|
|
|
|
|
|
// isLogin: 0,
|
|
|
|
|
|
collectPage: 2,
|
|
|
|
|
|
collectLoading: false
|
|
|
|
|
|
};
|
|
|
|
|
|
},
|
|
|
|
|
|
computed: {
|
|
|
|
|
|
...mapGetters({
|
|
|
|
|
|
isLogin: 'isLogin'
|
|
|
|
|
|
}),
|
|
|
|
|
|
deviceType() {
|
|
|
|
|
|
return this.$store.state.device.deviceType;
|
|
|
|
|
|
},
|
|
|
|
|
|
...mapState({
|
|
|
|
|
|
loginInfo: state => state.loginInfo,
|
|
|
|
|
|
loginDialogVisible: state => state.loginDialogVisible
|
|
|
|
|
|
})
|
|
|
|
|
|
},
|
|
|
|
|
|
created() {},
|
|
|
|
|
|
mounted() {
|
|
|
|
|
|
if (!this.isLogin) {
|
|
|
|
|
|
this.showLoginDialog(true);
|
|
|
|
|
|
document.getElementsByClassName('el-dialog__wrapper')[0].style.position = 'absolute';
|
|
|
|
|
|
document.getElementsByClassName('el-dialog__wrapper')[0].style.top = 'auto';
|
|
|
|
|
|
document.getElementsByClassName('el-dialog__wrapper')[0].style.bottom = '0';
|
|
|
|
|
|
document.getElementsByClassName('mobile-login-popup')[0].style.margin = '0';
|
|
|
|
|
|
document.getElementsByClassName('mobile-login-popup')[0].style.width = '100%';
|
|
|
|
|
|
} else {
|
|
|
|
|
|
const that = this;
|
|
|
|
|
|
this.$nextTick(() => {
|
|
|
|
|
|
window.addEventListener('scroll', function () {
|
|
|
|
|
|
// 变量scrollTop是滚动条滚动时,距离顶部的距离
|
|
|
|
|
|
const scrollTop = document.documentElement.scrollTop || document.body.scrollTop;
|
|
|
|
|
|
// 变量windowHeight是可视区的高度
|
|
|
|
|
|
const windowHeight = document.documentElement.clientHeight || document.body.clientHeight;
|
|
|
|
|
|
// 变量scrollHeight是滚动条的总高度
|
|
|
|
|
|
const scrollHeight = document.documentElement.scrollHeight || document.body.scrollHeight;
|
|
|
|
|
|
// 滚动条到底部的条件
|
|
|
|
|
|
if (scrollTop + windowHeight > scrollHeight - 50) {
|
|
|
|
|
|
// 写后台加载数据的函数 一定要用that
|
|
|
|
|
|
that.getCollectList();
|
|
|
|
|
|
}
|
|
|
|
|
|
});
|
|
|
|
|
|
});
|
|
|
|
|
|
}
|
|
|
|
|
|
},
|
|
|
|
|
|
methods: {
|
|
|
|
|
|
...mapActions({
|
|
|
|
|
|
showLoginDialog: 'showLoginDialog'
|
|
|
|
|
|
}),
|
|
|
|
|
|
// 接收 CommonHeader 传递过来的值
|
|
|
|
|
|
getMsgFormSon(data) {
|
|
|
|
|
|
this.msgFormSon = data;
|
|
|
|
|
|
console.log(this.msgFormSon);
|
|
|
|
|
|
},
|
|
|
|
|
|
async getCollectList() {
|
|
|
|
|
|
if (this.hasMore && !this.collectLoading) {
|
|
|
|
|
|
this.collectLoading = true;
|
|
|
|
|
|
const data = await this.$axios.$get('/user/collect-list?page=' + this.collectPage);
|
|
|
|
|
|
this.hasMore = data.detail.hasMore;
|
|
|
|
|
|
this.articleList = this.articleList.concat(data.detail.articleList);
|
|
|
|
|
|
this.collectPage = this.collectPage + 1;
|
|
|
|
|
|
this.collectLoading = false;
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
});
|
|
|
|
|
|
// CONCATENATED MODULE: ./src/pages/more.vue?vue&type=script&lang=js
|
|
|
|
|
|
/* harmony default export */ var pages_morevue_type_script_lang_js = (morevue_type_script_lang_js);
|
|
|
|
|
|
// EXTERNAL MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
|
|
|
|
|
|
var componentNormalizer = __webpack_require__(1);
|
|
|
|
|
|
|
|
|
|
|
|
// CONCATENATED MODULE: ./src/pages/more.vue
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
function injectStyles (context) {
|
|
|
|
|
|
|
|
|
|
|
|
var style0 = __webpack_require__(186)
|
|
|
|
|
|
if (style0.__inject__) style0.__inject__(context)
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/* normalize component */
|
|
|
|
|
|
|
|
|
|
|
|
var component = Object(componentNormalizer["a" /* default */])(
|
|
|
|
|
|
pages_morevue_type_script_lang_js,
|
|
|
|
|
|
render,
|
|
|
|
|
|
staticRenderFns,
|
|
|
|
|
|
false,
|
|
|
|
|
|
injectStyles,
|
|
|
|
|
|
null,
|
|
|
|
|
|
"0161c7b8"
|
|
|
|
|
|
|
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|
/* harmony default export */ var more = __webpack_exports__["default"] = (component.exports);
|
|
|
|
|
|
|
|
|
|
|
|
/* nuxt-component-imports */
|
|
|
|
|
|
installComponents(component, {CommonHeader: __webpack_require__(31).default,MobileHeader: __webpack_require__(71).default,UserInfoCommon: __webpack_require__(162).default})
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/***/ })
|
|
|
|
|
|
|
|
|
|
|
|
};;
|
|
|
|
|
|
//# sourceMappingURL=more.js.map
|