1 line
10 KiB
JavaScript
1 line
10 KiB
JavaScript
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-4944bd8a"],{"0181":function(e,t,i){e.exports=i.p+"static/app/img/home.25292ca8.png"},1407:function(e,t,i){var a=i("24fb");t=a(!1),t.push([e.i,".periodicalDetail .posBtn[data-v-4782e1dc]{position:fixed;width:2.8rem;height:2.8rem;right:1.09rem;bottom:7.06rem}.periodicalDetail .posBtn .circle[data-v-4782e1dc]{border-radius:100%;width:2.8rem;height:2.8rem;margin-bottom:.63rem}.periodicalDetail .posBtn .circle img[data-v-4782e1dc]{width:100%;height:100%}.periodicalDetail .list[data-v-4782e1dc]{background:#fff;padding-top:.94rem;overflow:hidden;-webkit-box-sizing:border-box;box-sizing:border-box;margin-bottom:3rem;text-indent:2em}.periodicalDetail .list .lis[data-v-4782e1dc]{width:100%;border-bottom:.03rem solid #efefef;text-align:left;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;-webkit-justify-content:space-around;-ms-flex-pack:distribute;justify-content:space-around;padding:1rem 0;padding-left:.3rem}.periodicalDetail .list .lis .titleName_d[data-v-4782e1dc]{font-size:.94rem;color:#666;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;margin-top:.5rem}.periodicalDetail .list .title[data-v-4782e1dc]{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:start;-webkit-justify-content:flex-start;-ms-flex-pack:start;justify-content:flex-start;margin-bottom:1.41rem}.periodicalDetail .list .title i[data-v-4782e1dc]{font-size:1.5rem;color:#1d9a89;margin-right:.66rem}.periodicalDetail .list .title span[data-v-4782e1dc]{font-size:1.8rem;color:#898989;font-weight:600;letter-spacing:.5rem}.periodicalDetail .head[data-v-4782e1dc]{width:23.44rem;background-color:#fff;padding:.78rem .85rem;margin-bottom:.63rem}.periodicalDetail .head .headRight[data-v-4782e1dc]{-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1}.periodicalDetail .head .headRight .img[data-v-4782e1dc]{width:5rem;height:6.66rem;border-radius:.13rem;margin-right:.91rem;margin-left:4.63rem}.periodicalDetail .head .headRight .img img[data-v-4782e1dc]{width:100%;height:100%}.periodicalDetail .head .headBottom[data-v-4782e1dc]{text-align:left;-webkit-transition:1s;transition:1s}.periodicalDetail .head .headBottom span[data-v-4782e1dc]{color:#f14e4e}.periodicalDetail .head .upicon[data-v-4782e1dc]{width:100%;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center}.periodicalDetail .head .upicon i[data-v-4782e1dc]{font-size:1rem}.periodicalDetail .head .headBottomMore[data-v-4782e1dc]{-webkit-transition:1s;transition:1s;text-align:left;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.periodicalDetail .head .headBottomMore span[data-v-4782e1dc]{color:#f14e4e}.periodicalDetail .head .headTop[data-v-4782e1dc]{margin-bottom:.5rem}.periodicalDetail .head .headTop[data-v-4782e1dc],.periodicalDetail .head .headTop .headLeft[data-v-4782e1dc]{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between}.periodicalDetail .head .headTop .headLeft[data-v-4782e1dc]{-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1}.periodicalDetail .head .headTop .headLeft .contenTxt[data-v-4782e1dc]{font-size:.81rem;color:#333;text-align:left;font-weight:600}.periodicalDetail .head .headTop .headLeft .logo[data-v-4782e1dc]{width:5rem;height:3.5rem}.periodicalDetail .head .headTop .headLeft .logo img[data-v-4782e1dc]{width:100%;height:100%}.periodicalDetail .head .headTop .headLeft .headTitle[data-v-4782e1dc]{font-size:.94rem;color:#333;font-weight:600;text-align:left;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.periodicalDetail .head .headTop .headLeft .magazineDetail[data-v-4782e1dc]{-webkit-box-pack:start;-webkit-justify-content:flex-start;-ms-flex-pack:start;justify-content:flex-start;font-size:.75rem;color:#666}.periodicalDetail .head .headTop .headLeft .magazineDetail[data-v-4782e1dc],.periodicalDetail .head .headTop .headLeft .magazineDetail .date[data-v-4782e1dc]{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center}.periodicalDetail .head .headTop .headLeft .magazineDetail .date i[data-v-4782e1dc]{margin-right:.22rem}.periodicalDetail .head .headTop .headLeft .magazineDetail .sectionNum[data-v-4782e1dc]{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;margin-left:1.53rem}.periodicalDetail .head .headTop .headLeft .magazineDetail .sectionNum i[data-v-4782e1dc]{margin-right:.22rem}",""]),e.exports=t},ac0d:function(e,t,i){"use strict";i.d(t,"a",(function(){return l}));var a=document.documentElement,o=document.body,l={data:function(){return{}},activated:function(){window.addEventListener("scroll",this.handleScroll)},deactivated:function(){window.removeEventListener("scroll",this.handleScroll)},methods:{getScrollTop:function(){var e=0;return a&&a.scrollTop?e=a.scrollTop:o&&(e=o.scrollTop),e},getClientHeight:function(){var e=0;return e=o.clientHeight&&a.clientHeight?Math.min(o.clientHeight,a.clientHeight):Math.max(o.clientHeight,a.clientHeight),e},getScrollHeight:function(){return Math.max(o.scrollHeight,a.scrollHeight)},handleScroll:function(){this.otherScroll();var e=document.documentElement.scrollTop||document.body.scrollTop;this.btnFlag=e>60,this.getScrollTop()+this.getClientHeight()+105>this.getScrollHeight()?(this.isLoadMore&&this.getMoreData(),this.isBottom=!0):this.isBottom=!1},otherScroll:function(){}}}},c167:function(e,t,i){"use strict";i.r(t);var a=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"periodicalDetail"},[i("c-title",{attrs:{hide:!1,text:"期刊杂志"}}),i("div",{staticClass:"head"},[i("div",{staticClass:"headTop"},[i("div",{staticClass:"headLeft"},[i("div",[i("div",{staticClass:"logo"},[i("img",{attrs:{src:e.info.logo,alt:""}})]),i("div",{staticClass:"headTitle"},[e._v(e._s(e.dinfo.title))]),i("div",{staticClass:"magazineDetail"},[i("div",{staticClass:"dete"},[i("i",{staticClass:"iconfont icon-fontclass-rili",staticStyle:{color:"#9e9e9e"}}),e._v(" "+e._s(e.dinfo.created_time)+" ")]),i("div",{staticClass:"sectionNum"},[i("i",{staticClass:"iconfont icon-fontclass-wenzhangshu"}),e._v(" "+e._s(e.dinfo.article_total)+" ")])])]),i("div",{staticClass:"contenTxt"},[e._v("本期内容")])]),i("div",{staticClass:"headRight"},[i("div",{staticClass:"img"},[i("img",{attrs:{src:e.dinfo.cover,alt:""}})])])]),i("div",{class:e.contenTapMore?"headBottom":"headBottomMore"},[e._v(" "+e._s(e.dinfo.overview)+" ")]),i("div",{staticClass:"upicon"},[e.contenTapMore&&e.overview.length>"100"?i("i",{staticClass:"iconfont icon-member-top",on:{click:function(t){e.contenTapMore=!1}}}):e._e(),e.contenTapMore?e._e():i("i",{staticClass:"iconfont icon-member-bottom",on:{click:function(t){e.contenTapMore=!0}}})])]),i("div",{staticClass:"list"},[e._m(0),e._l(e.datas,(function(t,a){return i("div",{key:a,staticClass:"lis",on:{click:function(t){return e.goWatch(a)}}},[i("div",{staticStyle:{"font-size":"1rem","font-weight":"600"}},[e._v("P"+e._s(a+1)+" "),i("span",[e._v(e._s(t.list_title))])]),i("div",{staticClass:"titleName_d"},[e._v(e._s(t.title))])])}))],2),i("div",{staticClass:"posBtn set-pc-style",on:{click:function(t){return e.toGoBtn("home")}}},[e._m(1)])],1)},o=[function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"title"},[i("span",[e._v("目录")])])},function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"circle"},[a("img",{attrs:{src:i("0181"),alt:""}})])}],l=(i("14d9"),i("99af"),i("6968")),n=i("ac0d"),d={mixins:[n["a"]],data:function(){return{id:"",isLoadMore:!0,page:1,total_page:0,isLoading:!1,info:[],datas:[],dinfo:[],contenTapMore:!1,overview:""}},activated:function(){this.init(),this.total_page=0,window.scrollTo(0,0),this.getData()},deactivated:function(){},mounted:function(){},methods:{init:function(){this.id=this.$route.params.id,this.page=1,this.info=[],this.datas=[],this.dinfo=[],this.isLoadMore=!0,this.isLoading=!1},toGoBtn:function(e){"home"==e?this.$router.push(this.fun.getUrl("periodicalIndex",{})):"list"==e&&this.$router.push(this.fun.getUrl("periodicalDetail",{}))},goWatch:function(e){this.$router.push(this.fun.getUrl("periodicalWatch",{id:this.id,ind:e}))},getData:function(){var e=this;this.isLoadMore=!1,$http.get("plugin.journal.frontend.journal.directory",{journal_id:e.id,page:e.page},"加载中").then((function(t){1===t.result?(e.isLoadMore=!0,e.total_page=t.data.directory.last_page,e.total_page||(e.total_page=0),e.datas=t.data.directory.data,e.info=t.data,e.dinfo=t.data.info,e.overview=e.dinfo.overview,e.dinfo.overview.length>=100?e.contenTapMore=!1:e.contenTapMore=!0,e.isLoading=!1):(Toast(t.msg),e.isLoading=!1)})).catch((function(e){}))},getMoreData:function(){var e=this;this.isLoadMore=!1,this.page>=this.total_page||(this.page=this.page+1,$http.get("plugin.journal.frontend.journal.directory",{page:e.page,journal_id:e.id},"加载中").then((function(t){if(e.isLoadMore=!0,1===t.result){var i=t.data.directory.data;e.datas=e.datas.concat(i)}else e.page=e.page-1,e.isLoadMore=!1})).catch((function(e){})))}},components:{cTitle:l["a"]}},s=d,c=s,r=(i("eae0"),i("2877")),h=Object(r["a"])(c,a,o,!1,null,"4782e1dc",null);t["default"]=h.exports},cd89:function(e,t,i){var a=i("1407");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[e.i,a,""]]),a.locals&&(e.exports=a.locals);var o=i("499e").default;o("17b7dfce",a,!0,{sourceMap:!1,shadowMode:!1})},eae0:function(e,t,i){"use strict";i("cd89")}}]); |