1"use strict";(self["webpackChunkvue_front_shop"]=self["webpackChunkvue_front_shop"]||[]).push([[8844],{87538:function(t,e,a){a.r(e),a.d(e,{default:function(){return d}});var s=function(){var t=this,e=t._self._c;return e("div",{staticClass:"blog-collection-page",style:t.lasNavbarHeight},[t.notFoundShow?e("div",[e("notfound-component")],1):e("div",{staticClass:"pb-4"},[t.collectionInfo.articleList?[(t.blogTitle||t.blogDescription)&&t.showTitle?e("div",{staticClass:"top-box"},[t.blogTitle?e("div",{staticClass:"blog-title uppercase"},[t._v(t._s(t.blogTitle))]):t._e(),t.blogDescription?e("div",{staticClass:"blog-description uppercase"},[t._v(t._s(t.blogDescription))]):t._e()]):t._e(),"2"==t.card.params.view_type?e("div",{staticClass:"container collection-list-type2"},t._l(t.collectionInfo.articleList.coll,(function(a,s){return e("div",{key:s,staticClass:"block"},[e("a",{staticClass:"card-item",attrs:{href:!!a.handle&&t.$baseUrl+"/blog/"+a.handle}},[e("div",{staticClass:"pic",staticStyle:{position:"relative"}},[e("div",{staticClass:"common-img-box",staticStyle:{width:"100%","padding-bottom":"66.67%","border-radius":"12px",overflow:"hidden"}},[e("el-image",{staticClass:"common-img-hover",staticStyle:{"border-radius":"12px",overflow:"hidden"},attrs:{src:t.$media(a.image),alt:a.title,lazy:"",fit:"cover"}},[e("div",{staticClass:"image-slot",attrs:{slot:"error"},slot:"error"}),e("div",{staticClass:"image-placeholder",attrs:{slot:"placeholder"},slot:"placeholder"})])],1)]),e("div",{staticClass:"msg-box"},[e("div",{staticClass:"diy-color"},[e("h5",{staticClass:"card-title mb-2 line-1"},[t._v(t._s(a.title))])]),e("div",{staticClass:"author-text mb-2 ft-12 line-1"},[t.showDate?[t._v(" "+t._s(t._f("publishedFilter")(a.published_at))+" ")]:t._e(),a.published_at&&t.showDate&&t.showAuthor?e("i",{staticStyle:{padding:"0 5px"}},[t._v("|")]):t._e(),t.showAuthor?[t._v(" "+t._s(a.author))]:t._e()],2),e("div",{staticClass:"commonLine mb-3"}),a.summary_html?e("p",{staticClass:"card-text text-wrap summary-html line-3",staticStyle:{"min-height":"22px"},domProps:{innerHTML:t._s(a.summary_html)}}):t._e()])])])})),0):e("div",{staticClass:"container collection-list-type1",style:t.row_show_number},t._l(t.collectionInfo.articleList.coll,(function(a,s){return e("div",{key:s,staticClass:"block"},[e("div",{staticClass:"card-item",staticStyle:{width:"100%"}},[e("a",{staticStyle:{position:"relative"},attrs:{href:!!a.handle&&t.$baseUrl+"/blog/"+a.handle}},[e("div",{staticClass:"common-img-box",staticStyle:{width:"100%","padding-bottom":"66.67%","border-radius":"12px",overflow:"hidden"}},[e("el-image",{staticClass:"common-img-hover",staticStyle:{"border-radius":"12px",overflow:"hidden"},attrs:{src:t.$media(a.image),alt:a.title,lazy:"",fit:"cover"}},[e("div",{staticClass:"image-slot",attrs:{slot:"error"},slot:"error"}),e("div",{staticClass:"image-placeholder",attrs:{slot:"placeholder"},slot:"placeholder"})])],1)]),e("div",{staticClass:"card-body"},[e("a",{staticClass:"diy-color",attrs:{href:!!a.handle&&t.$baseUrl+"/blog/"+a.handle}},[e("h5",{staticClass:"card-title mb-3 line-2"},[t._v(t._s(a.title))])]),a.summary_html?e("p",{staticClass:"summary-html card-text text-wrap mb-3 line-3",domProps:{innerHTML:t._s(a.summary_html)}}):t._e(),e("div",{staticClass:"author-text mb-3 ft-12"},[t.showDate?[t._v(" "+t._s(t._f("publishedFilter")(a.published_at))+" ")]:t._e(),a.published_at&&t.showDate&&t.showAuthor?e("i",{staticStyle:{padding:"0 5px"}},[t._v("|")]):t._e(),t.showAuthor?[t._v(" "+t._s(a.author))]:t._e()],2)])])])})),0)]:t._e(),e("br"),e("div",{staticStyle:{"text-align":"center"}},[e("el-pagination",{staticClass:"mb-4 mt-2",attrs:{"pager-count":t.clientIsPhone?5:9,"hide-on-single-page":!0,total:t.total,"current-page":t.currentPage,"page-size":t.numPerPage,layout:"prev, pager, next"},on:{"current-change":t.currentChange}})],1)],2)])},i=[],l=a(85444),o={name:"blog_collection_page",components:{"notfound-component":()=>a.e(4311).then(a.bind(a,4311))},data(){return{notFoundShow:!1,total:0,currentPage:1,numPerPage:20,blogTitle:"",blogDescription:""}},props:{pageInfo:{type:Object,default:()=>{}}},created(){},computed:{showAuthor(){var t,e,a;let s=(null===(t=window)||void 0===t||null===(e=t.baseData)||void 0===e||null===(a=e.blog_articles)||void 0===a?void 0:a.show_author)||1;return 1==s},showDate(){var t,e,a;let s=(null===(t=window)||void 0===t||null===(e=t.baseData)||void 0===e||null===(a=e.blog_articles)||void 0===a?void 0:a.show_date)||1;return 1==s},lasNavbarHeight(){let t=Number(sessionStorage.getItem("las_navbarOffsetTop"))||0,e=Number(sessionStorage.getItem("las_navbarClientHeight"))||100;if(this.clientIsPhone)return{"--las-nav-height":e+t+"px"};{let a=e+t;return{"--las-nav-height":a+"px"}}},card(){return this.pageInfo.card},showTitle(){var t,e;return"1"==(null===(t=this.card)||void 0===t||null===(e=t.params)||void 0===e?void 0:e.show_title)},row_show_number(){var t,e;let a=(null===(t=this.card)||void 0===t||null===(e=t.params)||void 0===e?void 0:e.row_show_number)||2;return{"grid-template-columns":`repeat(${a},minmax(0,1fr))`}},collectionInfo(){let t=window.pageData||this.$store.state.decorate.pageData;return(0,l.xb)(t.collection)?(this.notFoundShow=!0,!1):(this.total=t.articleList.count,this.currentPage=t.articleList.pageNum,this.numPerPage=t.articleList.numPerPage,this.blogTitle=t.collection.title,this.blogDescription=t.collection.meta_description,t)}},methods:{currentChange(t){let e=(0,l.oW)(window.location.href,"page",t);history.replaceState("","",e),window.location.reload()}}},r=o,n=a(1001),c=(0,n.Z)(r,s,i,!1,null,"653f0d81",null),d=c.exports}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.