You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
145 lines
13 KiB
145 lines
13 KiB
|
3 days ago
|
exports.ids = [2];
|
||
|
|
exports.modules = {
|
||
|
|
|
||
|
|
/***/ 149:
|
||
|
|
/***/ (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__(153);
|
||
|
|
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("7d4a034b", content, true, context)
|
||
|
|
};
|
||
|
|
|
||
|
|
/***/ }),
|
||
|
|
|
||
|
|
/***/ 151:
|
||
|
|
/***/ (function(module, exports, __webpack_require__) {
|
||
|
|
|
||
|
|
module.exports = __webpack_require__.p + "img/doctor_play_icon.b7d2bd8.png";
|
||
|
|
|
||
|
|
/***/ }),
|
||
|
|
|
||
|
|
/***/ 152:
|
||
|
|
/***/ (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_DoctorItem_vue_vue_type_style_index_0_id_40519a17_prod_lang_scss__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(149);
|
||
|
|
/* 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_DoctorItem_vue_vue_type_style_index_0_id_40519a17_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_DoctorItem_vue_vue_type_style_index_0_id_40519a17_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_DoctorItem_vue_vue_type_style_index_0_id_40519a17_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_DoctorItem_vue_vue_type_style_index_0_id_40519a17_prod_lang_scss__WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__));
|
||
|
|
|
||
|
|
|
||
|
|
/***/ }),
|
||
|
|
|
||
|
|
/***/ 153:
|
||
|
|
/***/ (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 .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 and (max-width:500px){body .el-message{max-width:80%;min-
|
||
|
|
// Exports
|
||
|
|
___CSS_LOADER_EXPORT___.locals = {};
|
||
|
|
module.exports = ___CSS_LOADER_EXPORT___;
|
||
|
|
|
||
|
|
|
||
|
|
/***/ }),
|
||
|
|
|
||
|
|
/***/ 161:
|
||
|
|
/***/ (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/DoctorItem.vue?vue&type=template&id=40519a17
|
||
|
|
var render = function render() {
|
||
|
|
var _vm = this,
|
||
|
|
_c = _vm._self._c;
|
||
|
|
return _c('div', {
|
||
|
|
key: _vm.detail.id,
|
||
|
|
staticClass: "doctor-item",
|
||
|
|
on: {
|
||
|
|
"click": function ($event) {
|
||
|
|
return _vm.goDoctor(_vm.detail.video_list[0].id);
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}, [_vm._ssrNode("<img" + _vm._ssrAttr("src", _vm.detail.expert_img) + _vm._ssrAttr("alt", _vm.detail.username) + "> <h5>" + _vm._ssrEscape(_vm._s(_vm.detail.username) + " " + _vm._s(_vm.detail.title)) + "</h5> <p class=\"text-ellipsis\">" + _vm._ssrEscape(_vm._s(_vm.detail.hospital_name)) + "</p> <p class=\"text-ellipsis\">" + _vm._ssrEscape(_vm._s(_vm.detail.department)) + "</p> <div class=\"expert-video-list\">" + _vm._ssrList(_vm.detail.video_list, function (video, index) {
|
||
|
|
return index < 2 ? "<p><img" + _vm._ssrAttr("src", __webpack_require__(151)) + " alt> <span>" + _vm._ssrEscape(_vm._s(video.title)) + "</span></p>" : "<!---->";
|
||
|
|
}) + "</div>")]);
|
||
|
|
};
|
||
|
|
var staticRenderFns = [];
|
||
|
|
|
||
|
|
// CONCATENATED MODULE: ./src/components/DoctorItem.vue?vue&type=template&id=40519a17
|
||
|
|
|
||
|
|
// 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/DoctorItem.vue?vue&type=script&lang=js
|
||
|
|
/* harmony default export */ var DoctorItemvue_type_script_lang_js = ({
|
||
|
|
props: {
|
||
|
|
detail: {
|
||
|
|
type: Object,
|
||
|
|
default: null
|
||
|
|
},
|
||
|
|
columnNum: {
|
||
|
|
type: Number,
|
||
|
|
default: 1
|
||
|
|
}
|
||
|
|
},
|
||
|
|
created() {},
|
||
|
|
methods: {
|
||
|
|
goDoctor(id) {
|
||
|
|
this.$emit('addStat');
|
||
|
|
const {
|
||
|
|
href
|
||
|
|
} = this.$router.resolve({
|
||
|
|
path: '/doctor/' + id
|
||
|
|
});
|
||
|
|
window.open(href, '_blank');
|
||
|
|
}
|
||
|
|
}
|
||
|
|
});
|
||
|
|
// CONCATENATED MODULE: ./src/components/DoctorItem.vue?vue&type=script&lang=js
|
||
|
|
/* harmony default export */ var components_DoctorItemvue_type_script_lang_js = (DoctorItemvue_type_script_lang_js);
|
||
|
|
// EXTERNAL MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
|
||
|
|
var componentNormalizer = __webpack_require__(1);
|
||
|
|
|
||
|
|
// CONCATENATED MODULE: ./src/components/DoctorItem.vue
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
function injectStyles (context) {
|
||
|
|
|
||
|
|
var style0 = __webpack_require__(152)
|
||
|
|
if (style0.__inject__) style0.__inject__(context)
|
||
|
|
|
||
|
|
}
|
||
|
|
|
||
|
|
/* normalize component */
|
||
|
|
|
||
|
|
var component = Object(componentNormalizer["a" /* default */])(
|
||
|
|
components_DoctorItemvue_type_script_lang_js,
|
||
|
|
render,
|
||
|
|
staticRenderFns,
|
||
|
|
false,
|
||
|
|
injectStyles,
|
||
|
|
null,
|
||
|
|
"1b9df443"
|
||
|
|
|
||
|
|
)
|
||
|
|
|
||
|
|
/* harmony default export */ var DoctorItem = __webpack_exports__["default"] = (component.exports);
|
||
|
|
|
||
|
|
/***/ })
|
||
|
|
|
||
|
|
};;
|
||
|
|
//# sourceMappingURL=doctor-item.js.map
|