糖尿病网pc端官网
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.
 
 
 
 
 

1 lines
28 KiB

(window.webpackJsonp=window.webpackJsonp||[]).push([[20,6],{612:function(t,e,o){var content=o(615);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,o(23).default)("5f6ab9e8",content,!0,{sourceMap:!1})},613:function(t,e){t.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"},614:function(t,e,o){"use strict";o(612)},615:function(t,e,o){var n=o(22),r=o(36),c=o(44),l=n(!1),d=r(c);l.push([t.i,"*{margin:0;border:none;padding:0}html{height:100%}body{position:relative;min-width:320px;min-height:100%;background:#fff;font-family:MicrosoftYaHei;font-size:0}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{position:absolute!important;min-width:auto!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{margin-bottom:10px!important;font-size:20px!important;line-height:28px!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{margin-bottom:8px!important;font-size:16px!important;line-height:24px!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{vertical-align:top;-o-object-fit:cover;object-fit:cover}body a{text-decoration:none}body .detail-list-item.one-line-columns-4.large-width>p,body .text-ellipsis{display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}body .left-content{display:inline-block;margin-right:32px;width:723px}body .right-content{float:right;display:inline-block;width:325px}body .common-flex{display:grid;grid-template-columns:repeat(4,25%)}body .load-more{margin:0 auto;width:357px;height:50px;background:#f5f5f8;border-radius:4px;font-size:18px;font-family:PingFangSC-Regular,PingFang SC;font-weight:400;color:#939aa7;line-height:50px;text-align:center}body .footer-outer{position:fixed;bottom:0;left:0;width:100%;min-width:1258px;background:#f5f5f8;z-index:9}body .common-title{padding:20px 0 10px;text-align:left;font-size:24px;font-family:PingFangSC-Medium,PingFang SC;font-weight:500;color:#001965;line-height:33px}body .common-title a{float:right;font-size:16px;font-family:PingFangSC-Regular,PingFang SC;font-weight:400;color:#5d6269}body .common-title a i{color:#001965}body p.go-follow{margin-bottom:23px;height:50px;background:#e6553f;border-radius:4px;text-align:center;cursor:pointer;font-size:18px;font-family:PingFangSC-Medium,PingFang SC;font-weight:500;color:#fff;line-height:50px}body .common-other-content{margin:44px 0;padding:30px;box-sizing:border-box}body .common-other-content h6{margin-bottom:20px;font-size:24px;font-family:PingFangSC-Medium,PingFang SC;font-weight:500;color:#001965;line-height:33px}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{margin-bottom:12px;font-size:18px;color:#5d6269;line-height:30px}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{min-width:200px;max-width:80%}}body .video-player-box .vjs-big-play-button{top:50%;left:50%;border:none;outline:none;width:68px;height:67px;transform:translate(-50%,-50%);background:url("+d+') 50% no-repeat;background-color:transparent!important;background-size:68px 67px}body .video-player-box .vjs-big-play-button .vjs-icon-placeholder:before{display:none}body .video-player-box .vjs-control-bar button{outline:none}body .el-avatar>img{width:100%}.detail-list-item{display:block;overflow:hidden;position:relative;margin-bottom:18px;background:#f5f5f8;border-radius:4px;cursor:pointer}.detail-list-item .top-img-box{position:relative;height:131px}.detail-list-item .top-img-box>img:first-child{width:100%;height:100%}.detail-list-item .top-img-box span{position:absolute;top:12px;right:12px;padding:0 9px;height:24px;background:rgba(0,0,0,.4);font-size:14px;font-family:PingFangSC-Regular,PingFang SC;font-weight:400;color:#fff;line-height:24px;border-radius:4px}.detail-list-item .top-img-box>img.play{position:absolute;top:50%;left:50%;margin:-34px 0 0 -34px;width:68px;height:67px}.detail-list-item>p{padding:12px 10px 0;font-size:16px;color:#5d6269;line-height:26px;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}.detail-list-item .bottom{position:absolute;bottom:0;left:0;padding:0 10px 22px;width:100%;height:46px;box-sizing:border-box}.detail-list-item .bottom span:first-child{padding:0 9px;height:24px;border-radius:4px;border:1px solid #bac0c2;box-sizing:border-box;font-size:14px;font-family:PingFangSC-Regular,PingFang SC;font-weight:400;color:#939aa7;line-height:22px}.detail-list-item .bottom span:last-child{float:right;font-size:16px;font-family:Apis-Regular,Apis;color:#bac0c2;line-height:24px}.detail-list-item .bottom span:last-child i{margin-left:4px}.detail-list-item .bottom span:last-child img{margin:4px 0 0 4px;width:16px}.detail-list-item.one-line-columns-3{width:230px;height:274px}.detail-list-item.one-line-columns-4{width:255px;height:298px}.detail-list-item.one-line-columns-4 .top-img-box{height:144px}.detail-list-item.one-line-columns-4>p{padding-top:18px}.detail-list-item.one-line-columns-4 .bottom{padding-bottom:30px;height:54px}.detail-list-item.one-line-columns-4.large-width{position:relative;width:529px;grid-column-start:span 2}.detail-list-item.one-line-columns-4.large-width .top-img-box{height:100%}.detail-list-item.one-line-columns-4.large-width .top-img-box>img.play{display:none}.detail-list-item.one-line-columns-4.large-width:after{content:"";position:absolute;bottom:0;left:0;width:100%;height:120px;background:linear-gradient(180deg,transparent,rgba(0,0,0,.4))}.detail-list-item.one-line-columns-4.large-width>p{position:absolute;bottom:62px;left:12px;padding:0;width:calc(100% - 24px);z-index:1;font-size:18px;color:#fff}.detail-list-item.one-line-columns-4.large-width .bottom{z-index:1}.detail-list-item.one-line-columns-4.large-width .bottom span:first-child{border-color:hsla(0,0%,100%,.6);color:#fff}.detail-list-item.one-line-columns-4.large-width .bottom span:last-child{color:#fff}.detail-list-item.one-line-columns-4.large-width.only-img:after{display:none}.detail-list-item.one-line-columns-4.large-width.only-img>img{width:100%;height:100%}.detail-list-item.isMobile{position:relative;display:flex;margin-bottom:1px!important;padding:15px 15px 43px;width:100%!important;height:auto!important;flex-direction:column-reverse;background:#fff;box-sizing:border-box}.detail-list-item.isMobile>p{position:unset!important;display:block;margin-bottom:10px;padding:0;width:100%!important;font-size:18px;font-family:PingFangSC-Medium,PingFang SC;font-weight:500;color:#292b2c!important;line-height:25px;white-space:normal!important}.detail-list-item.isMobile .top-img-box{height:auto}.detail-list-item.isMobile .top-img-box img{border-radius:6px}.detail-list-item.isMobile .top-img-box span{top:auto;bottom:12px}.detail-list-item.isMobile .top-img-box img.play{display:block!important}.detail-list-item.isMobile .bottom{position:absolute;bottom:13px;left:15px;padding:0;width:auto;height:20px}.detail-list-item.isMobile .bottom span:first-child{display:none}.detail-list-item.isMobile .bottom span:last-child{font-size:14px;font-family:PingFangSC-Regular,PingFang SC;font-weight:400;color:#bac0c2!important;line-height:20px}.detail-list-item.isMobile.article-item .top-img-box{position:relative;padding-right:125px;height:80px}.detail-list-item.isMobile.article-item .top-img-box img{position:absolute;top:0;right:0;width:110px;height:80px;border-radius:6px}.detail-list-item.isMobile.article-item.no-intro>p{position:absolute!important;top:15px;padding-right:125px;width:calc(100% - 30px)!important;box-sizing:border-box;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}.detail-list-item.isMobile.article-item.has-intro .top-img-box p{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;font-size:16px;font-family:PingFangSC-Regular,PingFang SC;font-weight:400;color:#5d6269;line-height:24px}.detail-list-item.isMobile:after{display:none}',""]),t.exports=l},616:function(t,e,o){"use strict";o.r(e);o(99);var n={props:{detail:{type:Object,default:null},columnNum:{type:Number,default:1},deviceType:{type:String,default:"pc"}},created:function(){},methods:{goHref:function(t){this.$emit("addStat");var e=!1;"pc"===this.deviceType&&(e=!0),e?window.open(t,"_blank"):window.location.href=t}}},r=(o(614),o(11)),component=Object(r.a)(n,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return 38==t.detail.mainModule?n("div",{staticClass:"only-img detail-list-item large-width",class:"one-line-columns-"+t.columnNum+("pc"!==t.deviceType?" isMobile":""),on:{click:function(e){return t.goHref(t.detail.action_url)}}},[n("img",{attrs:{src:t.detail.image_url,alt:""}})]):n("div",{staticClass:"detail-list-item",class:(2==t.detail.showType?"large-width ":"")+"one-line-columns-"+t.columnNum+("pc"!==t.deviceType?" isMobile":"")+(47==t.detail.mainModule?" video-item":" article-item")+(t.detail.intro&&""!==t.detail.intro?" has-intro":" no-intro"),on:{click:function(e){t.goHref((47==t.detail.mainModule?"/video/":"/article/")+t.detail.id)}}},[n("div",{staticClass:"top-img-box"},[47===t.detail.mainModule||t.detail.thumb?n("img",{attrs:{src:47==t.detail.mainModule?t.detail.video_cover_url:t.detail.thumb,alt:""}}):n("img",{attrs:{src:o(417),alt:""}}),t._v(" "),"pc"!==t.deviceType&&t.detail.intro&&""!==t.detail.intro?n("p",[t._v("\n "+t._s(t.detail.intro)+"\n ")]):t._e(),t._v(" "),47==t.detail.mainModule?[n("span",[t._v(t._s(parseInt(t.detail.video_time/60)>9?parseInt(t.detail.video_time/60):"0"+parseInt(t.detail.video_time/60))+":"+t._s(parseInt(t.detail.video_time%60)>9?parseInt(t.detail.video_time%60):"0"+parseInt(t.detail.video_time%60)))]),t._v(" "),n("img",{staticClass:"play",attrs:{src:o(44),alt:""}})]:t._e()],2),t._v(" "),n("p",[t._v(t._s(t.detail.title))]),t._v(" "),n("div",{staticClass:"bottom"},[n("span",{style:{display:(47==t.detail.mainModule?t.detail.tag_name:t.detail.labelName)?"":"none"}},[t._v(t._s(47==t.detail.mainModule?t.detail.tag_name:t.detail.labelName))]),t._v(" "),n("span",[t._v(t._s(47==t.detail.mainModule?t.detail.play_num:t.detail.hit)),"pc"!==t.deviceType?[t._v(t._s(47==t.detail.mainModule?"播放":"阅读")+"  ")]:n("i",{staticClass:"el-icon-view",staticStyle:{"margin-right":"8px"}}),t._v(t._s(47==t.detail.mainModule?t.detail.like_num:t.detail.collect)),"pc"!==t.deviceType?[t._v(t._s(47==t.detail.mainModule?"喜欢":"收藏")+"  ")]:[47==t.detail.mainModule?n("img",{attrs:{src:o(613),alt:""}}):n("i",{staticClass:"el-icon-star-on",staticStyle:{"margin-left":"2px","font-size":"18px"}})]],2)])])}),[],!1,null,null,null);e.default=component.exports},635:function(t,e,o){var content=o(659);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,o(23).default)("1ff8b06c",content,!0,{sourceMap:!1})},658:function(t,e,o){"use strict";o(635)},659:function(t,e,o){var n=o(22),r=o(36),c=o(44),l=n(!1),d=r(c);l.push([t.i,"*{margin:0;border:none;padding:0}html{height:100%}body{position:relative;min-width:320px;min-height:100%;background:#fff;font-family:MicrosoftYaHei;font-size:0}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{position:absolute!important;min-width:auto!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{margin-bottom:10px!important;font-size:20px!important;line-height:28px!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{margin-bottom:8px!important;font-size:16px!important;line-height:24px!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{vertical-align:top;-o-object-fit:cover;object-fit:cover}body a{text-decoration:none}body .text-ellipsis{display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}body .left-content{display:inline-block;margin-right:32px;width:723px}body .right-content{float:right;display:inline-block;width:325px}body .common-flex{display:grid;grid-template-columns:repeat(4,25%)}body .load-more{margin:0 auto;width:357px;height:50px;background:#f5f5f8;border-radius:4px;font-size:18px;font-family:PingFangSC-Regular,PingFang SC;font-weight:400;color:#939aa7;line-height:50px;text-align:center}body .footer-outer{position:fixed;bottom:0;left:0;width:100%;min-width:1258px;background:#f5f5f8;z-index:9}body .common-title{padding:20px 0 10px;text-align:left;font-size:24px;font-family:PingFangSC-Medium,PingFang SC;font-weight:500;color:#001965;line-height:33px}body .common-title a{float:right;font-size:16px;font-family:PingFangSC-Regular,PingFang SC;font-weight:400;color:#5d6269}body .common-title a i{color:#001965}body p.go-follow{margin-bottom:23px;height:50px;background:#e6553f;border-radius:4px;text-align:center;cursor:pointer;font-size:18px;font-family:PingFangSC-Medium,PingFang SC;font-weight:500;color:#fff;line-height:50px}body .common-other-content{margin:44px 0;padding:30px;box-sizing:border-box}body .common-other-content h6{margin-bottom:20px;font-size:24px;font-family:PingFangSC-Medium,PingFang SC;font-weight:500;color:#001965;line-height:33px}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{margin-bottom:12px;font-size:18px;color:#5d6269;line-height:30px}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{min-width:200px;max-width:80%}}body .video-player-box .vjs-big-play-button{top:50%;left:50%;border:none;outline:none;width:68px;height:67px;transform:translate(-50%,-50%);background:url("+d+") 50% no-repeat;background-color:transparent!important;background-size:68px 67px}body .video-player-box .vjs-big-play-button .vjs-icon-placeholder:before{display:none}body .video-player-box .vjs-control-bar button{outline:none}body .el-avatar>img{width:100%}.search-header-outer{width:100%;height:100%;border-bottom:1px solid #f5f5f8;min-width:1258px;background:#fff;z-index:9}.search-header-outer .box{width:100%;height:60px}.search-header-outer .search-center{width:100%;height:100%;position:relative;padding-top:14px}.search-header-outer .search-center .common-flex{width:100%;position:absolute;top:0;left:0}.search-header-outer .search-center .common-flex .bottom{display:none}.search-header-outer .search-center .common-flex .searchtitle{width:100%;height:60px;line-height:60px;font-size:16px;padding-left:14px;box-sizing:border-box}.search-header-outer .search-center .search-tocenter{width:100%;height:100%;background:red;position:absolute;top:0;left:0}.search-header-outer .search-center .search-tocenter .searchdl{width:100%;height:30px;background:#ccc}.search-header-outer .search-center .search-center-content{margin:auto 15px}.search-header-outer .search-center .search-center-content .search-history{font-size:16px;color:#939aa7}.search-header-outer .search-center .search-center-content .search-history .el-icon-delete{margin-left:8px;color:#939aa7}.search-header-outer .search-center .search-center-content .search-ul{margin-top:18px;width:100%;height:100%;float:left}.search-header-outer .search-center .search-center-content .search-ul .search-li{font-size:16px;line-height:48px;border-radius:26px;margin-bottom:21px;margin-right:10px;padding-left:26px;padding-right:26px;border:1px solid #ededed;list-style:none;float:left;color:#292b2c}.search-header-outer .search-center .search-center-content .search-hot{width:100%;font-size:16px;float:left;color:#939aa7}.search-header-outer .search-center .search-center-content .search-hot .hot{width:36px;font-size:12px;border-radius:25px;text-align:center;display:inline-block;color:#fff;background:#e6553f}.search-header-outer .search-center .search-center-content .search-uls{width:100%;float:left;margin-top:30px}.search-header-outer .search-center .search-center-content .search-uls .search-lis{font-size:16px;list-style:none;margin-bottom:10px;width:100%;height:auto;white-space:normal}.search-header-outer .search-center .search-center-content .search-uls .search-lis .search-spa{width:27px;height:16px;font-size:14px;border-radius:4px;line-height:16px;color:#fff;background:#ccc5bd;display:inline-block;text-align:center;margin-right:5px;float:left;margin-top:8px}.search-header-outer .search-center .search-center-content .search-uls .search-lis .search-spas{color:#292b2c;padding-left:13px;padding-right:15px;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}.search-header-outer .search-header{margin:0 auto;display:flex;width:1080px;height:86px;align-items:center}.search-header-outer .search-header>a:first-child{width:155px;height:46px}.search-header-outer .search-header>a:first-child img{width:100%}.search-header-outer .search-header .search-user{display:flex;width:335px;position:relative}.search-header-outer .search-header .search-user .el-icon-search{font-size:20px;position:absolute;top:10px;right:56px}.search-header-outer .search-header .search-user .el-icon-error{font-size:24px;margin-top:6px;color:#939aa7}.search-header-outer.isMobile{top:0!important;min-width:auto;height:60px}.search-header-outer.isMobile .search-header{position:fixed;padding:0 15px;width:100%;height:60px;box-sizing:border-box;justify-content:space-between;z-index:999;background:#fff}.search-header-outer.isMobile .search-header>a:first-child{flex:none;width:36px;height:36px}.search-header-outer.isMobile .search-header .search-user{width:80%;min-width:233px}.search-header-outer.isMobile .search-header .search-user .search-input{margin-right:20px;width:calc(100% - 40px)!important}.search-header-outer.isMobile .search-header .search-user .search-input .el-input__inner{border:none;padding:0 50px 0 12px;width:100%!important;height:40px;background:#f5f5f8;border-radius:20px;box-sizing:border-box;color:#292b2c;font-size:16px}.search-header-outer.isMobile .search-header .search-user .search-input .el-input__suffix{right:16px}.search-header-outer.isMobile .search-header .search-user .search-input .el-input__suffix .el-input__icon{width:24px;font-size:24px;color:#001965}.search-header-outer.isMobile .common-flex{display:block!important}.search-header-outer.isMobile .common-flex .load-more{width:100%}.search-header-outer.isMobile .common-flex .detail-list-item.isMobile{padding:15px}",""]),t.exports=l},689:function(t,e,o){"use strict";o.r(e);var n=o(7),r=(o(83),o(52),{data:function(){return{searchKey:"",showHidden:!1,topSearch:[],title:1,colorData:{background:"#EAAB00FF"},colorDatas:{background:"#CCC5BDFF"},toSouSuo:"",searchHasMore:!0,searchPages:1,searchLoading:!1,searchDataContent:[],showHid:!0,scrollTop:0,scrollLeft:0,showHot:!1,numberOf:"",searchKeys:""}},computed:{deviceType:function(){return this.$store.state.device.deviceType}},mounted:function(){var t=this;t.baiduStat("糖尿病网-搜索","show","搜索页面"),t.getHotSearchKey(),t.$nextTick((function(){"pc"!==t.deviceType&&window.addEventListener("scroll",(function(){(document.documentElement.scrollTop||document.body.scrollTop)+(document.documentElement.clientHeight||document.body.clientHeight)>(document.documentElement.scrollHeight||document.body.scrollHeight)-50&&""!==t.searchKey&&t.searchData()}))}))},methods:{getHotSearchKey:function(){var t=this;return Object(n.a)(regeneratorRuntime.mark((function e(){var data;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.$axios.$get("/article/hot");case 2:data=e.sent,t.topSearch=data.detail.articleList,t.toSouSuo="大家都在搜",data.detail.articleList.length>0&&(t.showHot=!0);case 6:case"end":return e.stop()}}),e)})))()},searchData:function(){var t=this;return Object(n.a)(regeneratorRuntime.mark((function e(){var data;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t.searchLoading||!t.searchHasMore){e.next=12;break}return 1===t.searchPages&&t.baiduStat("糖尿病网-搜索","click","搜索控件-开始搜索"),t.searchLoading=!0,e.next=5,t.$axios.$get("/search-article?keyword="+t.searchKey+"&page="+t.searchPages);case 5:data=e.sent,t.searchDataContent=t.searchDataContent.concat(data.detail.dataList),t.searchHasMore=data.detail.hasMore,t.searchPages=t.searchPages+1,t.searchLoading=!1,t.numberOf=data.detail.total,t.searchKeys=t.searchKey;case 12:case"end":return e.stop()}}),e)})))()},toTopSearch:function(t){var e=this.$router.resolve({path:"/article/"+t});window.location.href=e.href},shutDown:function(){window.history.go(-1)},getSearch:function(){if(""===this.searchKey)return!1;this.searchHasMore=!0,this.searchPages=1,this.searchDataContent=[],this.searchData(),this.showHidden=!0,this.showHid=!1},enterSearch:function(){if(""===this.searchKey)return!1;this.searchHasMore=!0,this.searchPages=1,this.searchDataContent=[],this.searchData(),this.showHidden=!0,this.showHid=!1}}}),c=(o(658),o(11)),component=Object(c.a)(r,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"search-header-outer",class:{isMobile:"pc"!==t.deviceType},style:{top:-t.scrollTop+"px",left:-t.scrollLeft+"px"}},[n("div",{staticClass:"box"},[n("div",{staticClass:"search-header"},[n("a",{attrs:{href:"/"}},["pc"===t.deviceType?n("img",{attrs:{src:o(423),alt:"糖尿病网"}}):n("img",{attrs:{src:o(191),alt:"糖尿病网"}})]),t._v(" "),n("div",{staticClass:"search-user"},[n("el-input",{staticClass:"search-input",attrs:{slot:"reference",maxlength:"50",placeholder:t.toSouSuo},nativeOn:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.enterSearch()},click:function(e){return t.baiduStat("糖尿病网-搜索","click","点击输入框")}},slot:"reference",model:{value:t.searchKey,callback:function(e){t.searchKey="string"==typeof e?e.trim():e},expression:"searchKey"}}),t._v(" "),n("i",{staticClass:"el-icon-error",on:{click:function(e){return t.shutDown()}}}),t._v(" "),n("i",{staticClass:"el-icon-search",on:{click:function(e){return t.getSearch()}}})],1)])]),t._v(" "),n("div",{staticClass:"search-center"},[n("div",{directives:[{name:"show",rawName:"v-show",value:t.showHid,expression:"showHid"}],staticClass:"search-center-content"},[n("h3",{directives:[{name:"show",rawName:"v-show",value:t.showHot,expression:"showHot"}],staticClass:"search-hot"},[t._v("\n 大家都在看\n "),n("i",{staticClass:"hot"},[t._v("HOT")])]),t._v(" "),n("ul",{staticClass:"search-uls"},t._l(t.topSearch,(function(e,o){return n("li",{key:o,staticClass:"search-lis",on:{click:function(o){t.baiduStat("移动端-搜索","click","移动端搜索页-大家在看-"+e.id+"+"+e.title),t.toTopSearch(e.id)}}},[n("span",{staticClass:"search-spa",style:o<3?t.colorData:t.colorDatas},[t._v("\n "+t._s(o+1>9?o+1:""+(o+1))+"\n ")]),t._v(" "),n("span",{staticClass:"search-spas"},[t._v("\n "+t._s(e.title)+"\n ")])])})),0)]),t._v(" "),n("div",{directives:[{name:"show",rawName:"v-show",value:t.showHidden,expression:"showHidden"}],staticClass:"common-flex"},[n("h2",{directives:[{name:"show",rawName:"v-show",value:t.showHidden,expression:"showHidden"}],staticClass:"searchtitle"},[t._v("\n 为您找到"+t._s(t.numberOf)+"条包含“"),n("span",{staticClass:"fontcolor"},[t._v(t._s(t.searchKeys))]),t._v("”的内容\n ")]),t._v(" "),t._l(t.searchDataContent,(function(e){return[n("VideoArticleListItem",{key:"sea"+e.id,attrs:{detail:e,"column-num":3,"device-type":t.deviceType},on:{addStat:function(o){return t.baiduStat("糖尿病网-搜索","click","搜索结果点击-"+e.id+"+"+e.title)}}})]})),t._v(" "),t.searchLoading?n("p",{staticClass:"load-more"},[t._v("\n 加载更多"),n("i",{staticClass:"el-icon-loading"})]):t._e()],2)])])}),[],!1,null,null,null);e.default=component.exports;installComponents(component,{VideoArticleListItem:o(616).default})}}]);