12 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-64e0da45"],{"04db":function(t,i){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABoAAAAaCAYAAACpSkzOAAAAAXNSR0IArs4c6QAAAwFJREFUSEvFlUtoE1EUhv8ziX1kbrWi1YVVEFwlwVpKF6UKXUipr2opvvCBkDQI0oVYdWUJulIrLkSQNAHxgVgt1VY0iIuCr4VIrWSyEgStC61i1Tvpw2SOTLQ1SZs61VBnd+89/N85/zlzL2GWPpolDv4vyO2ViwHyGGxUEpEd4H67Xensv6D2pTpQtl8vj8eNRoDKmDmukPIM4FAkKN5nOjWpIpdX7gX4PIAws/IAxGMKsIaZGxj01E6KzxSJsxEgcBURdRnAQzDlERlrAdQBdEALikupsDSQu0nuMQw+Q7A1aCHH49TAqoNc+PWrbGPCLnOfGFfnzhUtT8/ScGqcyxOrZiS6FIUORdrF5fGzCZBpF4NfgW11mZBUIbdP1prrSEDczzZIJgyUCBNoxbiNEyCXR29lYlc0KLbnYhKdXnmdmDQtpB5POjAu6vTIBwrhYiQoruQC5PbK3QZjXzQkzL79Brk88hmAY1pIhHMBcnlkHYATWkhUpoO8sodBPdGgGsgFyOnVfQTepAXFpjSQ2ysPM7BGC4r6XIBcXtlNwMNIUJxOA5U3c8lYTH/NClZH28WLf4E5m+QqMvAoz6Eu7ztHg2kgc+FqkkfB2FGgqNXPAxT7G1iFjx0jCf0JFFzT2sXJSf+RubG1g23afb07eViqNkT9NDYTmNPPeRjQu5JJ16r1N7ZRYkqQubmyhdXEZxkG6Msyh9p47xyNWoGta+b8NzG9E+B5tvmi7mUb6VmvoPGDJGxIvwNgtKRU3dLrp5HpYDV+Lhgc0G8ByLcVqxszIZN6lCpmej1s6LfBoEKbWp+tZ8m4hN4NAhcq6uZscdO+R78y7WJwob1YbMjMdCaV//HhS3o/rN8Ec3HxArH+8Sn6ZlZefYSLhj7Ju1Z7+UeQKfpzmmQHGIuKHMK8WvAtJsMgfECp2GZlOi2BTOEKH88ZSchrIFqa7CXz2wKb2Pk8QN+tTKVlkClW42f7x3d68tpfuERt7fVT3Apk2qmzKmA1bkYVWRWdKm7WQD8A5CE7Kjx5MXUAAAAASUVORK5CYII="},"16de":function(t,i){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAUCAYAAAC58NwRAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAADdSURBVDhPjdNdCgFRHIbx8VG4IRtR7inXiixAUTagpKxAUjagJAtQlDslIWUTLIEbFPl4Xply4cyZp34XTv9jZo7h+CyFPRafT5ayOOKFrRa8KuICDS+RgLEq7tDwBFEYa+IJDQ8Qwt8C6EKD0oGxMIbQoL69AWMxTKFh3XcFxvTkK2hYJ1KAZztoWGed0YJXwS+l+xZrSWygq5yRhzU99AzadEMZ1nSsI2jTA3VY0w/XgzZJG75qwX01+jC+Gr/V4L58Y0RgrYQrtEl/njis5XCCNq214Kc0Do7jzN9OWjlpCZJq+QAAAABJRU5ErkJggg=="},"1b22b":function(t,i,e){},2254:function(t,i){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAUCAYAAAC58NwRAAAAAXNSR0IArs4c6QAAASFJREFUOE+N080qRWEUxvGfr3wMkCswcBOkZKoOUopSipShosQFSImpEpKByMRHRkpKDKSUK2HEQNE6vbtw9j7HM9rvu9Z/77XWs3YdrtGDMTyroTrcoR9vGMVtNSaAdpxhEB+YTOdcLoBQM45SWZ+Yx14ekQERa8A25vCFVaz/hX4CWWwNK+mwhaX0gvJVHhD3C9hEPQ4xiyi1EIjYFPbRhCuM473oC1l5QzhFG+5RqgUE2IdLdOHpP0CYGkAnHmsBJZygNW1E1ZKmsYtGXGCiWtOL2EhTPEhmFo413F1OYwoonsP5CuNiNXYwkxIiMYBfyppuwTFGkqOxT1FKhQLowDkGoqnUXDSZqwAe0ItXDKfxFeWXd+kG3elveynMTIFvgdo1yQgkMHUAAAAASUVORK5CYII="},"283d":function(t,i,e){"use strict";e("2baa")},"2baa":function(t,i,e){},"41ca":function(t,i,e){},"43d2":function(t,i,e){"use strict";e.r(i);var a=function(){var t=this,i=t._self._c;return i("div",{staticClass:"wrap"},[i("div",{staticClass:"wrap-content"},[i("div",{staticClass:"back",on:{click:function(i){return t.$router.back()}}},[i("img",{attrs:{src:e("16de")}}),i("span",[t._v("返回")])]),i("div",{staticClass:"collection"},[i("Collection",{attrs:{title:t.info.title,follow_switch:!!t.info.follow_switch,num:"共".concat(t.info.item_list?t.info.item_list.length:0,"篇文章")},on:{handleSwitch:t.handleSwitch}})],1),i("div",{staticClass:"sort"},[i("Sort",{attrs:{current:t.sort_type,list:[{label:"正序",type:2},{label:"倒序",type:3}]},on:{changeSort:t.changeSort}})],1),i("div",{staticClass:"list"},t._l(t.info.item_list,(function(e,a){return i("div",{staticClass:"list-item",on:{click:function(i){return t.toDetail(e.article_id,e.id)}}},[i("ImageTextCollectionCard",{attrs:{info:e,index:2==t.sort_type?a:t.info.item_list.length-1-a}})],1)})),0)])])},s=[],A=e("f523"),n=e("d6bb"),o=e("b157"),r=function(){var t=this,i=t._self._c;return i("div",{staticClass:"image-text-collection-card"},[i("div",{staticClass:"left"},[i("img",{staticClass:"cover",attrs:{src:t.info.cover}}),t.info.is_vip?i("img",{staticClass:"vip",attrs:{src:e("cfa8")}}):t._e(),t.info.is_recently?i("div",{staticClass:"recently"},[i("span",[t._v("上次查看")])]):t._e()]),i("div",{staticClass:"right"},[i("div",{staticClass:"header"},[i("div",{staticClass:"title"},[t._v(t._s(t.index+1)+"."+t._s(t.info.title))]),i("div",{staticClass:"read"},[t._v("\n "+t._s(t.info.read_num||"--")+" 观看·"+t._s(t.info.release_time||"--")+"\n ")])]),i("div",{staticClass:"app"},[i("img",{staticClass:"app-logo",attrs:{src:t.info.app_logo,alt:""}}),i("div",{staticClass:"app-name"},[t._v(t._s(t.info.app_name))])])])])},c=[],l=(e("c5f6"),{name:"ImageTextCollectionCard",props:{info:{type:Object,default:function(t){}},index:{type:Number,default:0}}}),f=l,u=(e("acbb"),e("2877")),p=Object(u["a"])(f,r,c,!1,null,"b3abc132",null),g=p.exports,d={components:{Collection:n["a"],Sort:o["a"],ImageTextCollectionCard:g},data:function(){return{info:{},sort_type:2}},mounted:function(){var t=this.$route.query;this.info.id=t.id,this.getDetail()},methods:{changeSort:function(t){this.sort_type=t,this.getDetail()},getDetail:function(){var t=this;A["a"].getArticleDetail({id:this.info.id,sort_type:this.sort_type}).then((function(i){var e=i.data;t.info=e.detail}))},handleSwitch:function(){var t=this;A["g"].switchSet({id:this.info.id,type:3}).then((function(i){var e=i.data,a=i.msg;t.info.follow_switch=e.status,t.$message.success(a)}))},toDetail:function(t,i){this.$router.push({path:"/image-text-details",query:{id:t,item_id:i}})}}},h=d,C=(e("f46a"),Object(u["a"])(h,a,s,!1,null,"c389e0da",null));i["default"]=C.exports},"55ee":function(t,i,e){"use strict";e("41ca")},aa77:function(t,i,e){var a=e("5ca1"),s=e("be13"),A=e("79e5"),n=e("fdef"),o="["+n+"]",r="
",c=RegExp("^"+o+o+"*"),l=RegExp(o+o+"*$"),f=function(t,i,e){var s={},o=A((function(){return!!n[t]()||r[t]()!=r})),c=s[t]=o?i(u):n[t];e&&(s[e]=c),a(a.P+a.F*o,"String",s)},u=f.trim=function(t,i){return t=String(s(t)),1&i&&(t=t.replace(c,"")),2&i&&(t=t.replace(l,"")),t};t.exports=f},aae8:function(t,i){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAflJREFUWEftV0toE1EUPeeln5hMsVBw4caFuElEkYLd2H3dCCKCgrvYuLCgS4sILpR22YIuTNJtLRUU3OjelUJAbVIEURAEQRArmdjQzxyZiWKV2vnVDrW+1fDePfecOe++eXOJhAdd/v6iOluOPQia/RK8uT8OailFVOdK1txmaOeRkebepZYeSToUJiGNuVYvZ2+EwawXy1yhMQvgdJREhqlTtUrmfhTsDwzzhcZnAb1RkpB4ZWDOhcHSQCaTeft8ggsuznVAYRJsTixliOluky0mJKD9GgQnExUA8kOyApKrgZ+VtH0dIPlR0ohXTOQtSXuinJDoDpCj8xVr3CXNnbevQBrbYgHmwnwlW2oLaBYh585/AX/PAeJLB1JDL8q7npLc8NMtiYeHFwdWsPoYwm4/UYGKkOBMfco665ds7Xq+YN8VdMYPE0gAwHdWOtv/7DY/+SV0149eVJ/dalYB7fOLDyjAS9MA+RqAtwWG5matnHngPh8c/nrSkXP1OxkhHQDQ40ce7zrmTj+GxvByrWxNtrfAvuQ4mghi+e8xYWrgVyxZT3V2nHAnV5dXHkLKb62AKGzrYKI78M8IiPNbHtcEAguxGpO4AgDci9yaxSUn+bIrzeNeI5q7ri6+t48Fak5jMpMQ5LxJG+tJtcTljTvhmGRB4N8A3XLp8HctsOsAAAAASUVORK5CYII="},acbb:function(t,i,e){"use strict";e("f113")},b157:function(t,i,e){"use strict";var a=function(){var t=this,i=t._self._c;return i("div",{staticClass:"sort"},t._l(t.list,(function(e){return i("div",{staticClass:"sort-item",class:{select:t.current==e.type},on:{click:function(i){return t.$emit("changeSort",e.type)}}},[t._v("\n "+t._s(e.label)+"\n ")])})),0)},s=[],A=(e("c5f6"),{name:"Sort",props:{current:{type:Number,default:1},list:{type:Array,default:function(){return[{label:"默认排序",type:1},{label:"按时间升序",type:2},{label:"按时间降序",type:3}]}}}}),n=A,o=(e("55ee"),e("2877")),r=Object(o["a"])(n,a,s,!1,null,"36514e32",null);i["a"]=r.exports},c5f6:function(t,i,e){"use strict";var a=e("7726"),s=e("69a8"),A=e("2d95"),n=e("5dbc"),o=e("6a99"),r=e("79e5"),c=e("9093").f,l=e("11e9").f,f=e("86cc").f,u=e("aa77").trim,p="Number",g=a[p],d=g,h=g.prototype,C=A(e("2aeb")(h))==p,v="trim"in String.prototype,S=function(t){var i=o(t,!1);if("string"==typeof i&&i.length>2){i=v?i.trim():u(i,3);var e,a,s,A=i.charCodeAt(0);if(43===A||45===A){if(e=i.charCodeAt(2),88===e||120===e)return NaN}else if(48===A){switch(i.charCodeAt(1)){case 66:case 98:a=2,s=49;break;case 79:case 111:a=8,s=55;break;default:return+i}for(var n,r=i.slice(2),c=0,l=r.length;c<l;c++)if(n=r.charCodeAt(c),n<48||n>s)return NaN;return parseInt(r,a)}}return+i};if(!g(" 0o1")||!g("0b1")||g("+0x1")){g=function(t){var i=arguments.length<1?0:t,e=this;return e instanceof g&&(C?r((function(){h.valueOf.call(e)})):A(e)!=p)?n(new d(S(i)),e,g):S(i)};for(var N,I=e("9e1e")?c(d):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),w=0;I.length>w;w++)s(d,N=I[w])&&!s(g,N)&&f(g,N,l(d,N));g.prototype=h,h.constructor=g,e("2aba")(a,p,g)}},cfa8:function(t,i){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADQAAAAcCAYAAAAuh5ywAAAAAXNSR0IArs4c6QAABl9JREFUWEfVWHtQVFUY/51lHzwEpMTJclKTfOWjdFQeMj5AHgY2WsA0NSKKkuaD8tFgIoo66GgNOm06pdgKwhRh5jMnUlOsDcFBoyFJRg0UB0wERRBtb3PP3r333N27uxf9x/afhbvnnvN93+/3fb/vfAQAuKqsQbCQHBBEAsQPhADQgH7Tv4VvopH+VnrGrnX3vrhWOMe2n7gvf6b9ecz/NtuIpg1EUwqdNoP4RdYSqzOcGSABioY7c4g1iDXCpaN2BrkLlCxAdg7Kgk2D0gKdNphw5zNLwJGZj49GN410cF4h6nSN0r5KaDLPPDT7CVeZ2SrRzEYtG83sD1OgAL9UiV42o+xpa1vL/67h9+NZrERlJcrZpYI9SzSaNsJVrObohjJqMZuxtKBrBAO6ky+sc0rvq8pNm40K5zP28whxYu7IOA10dFlwo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MInbUbzS33MX5kXxRuTnRQ9CdxSK/TYuTQvkiaHowZsWNBhC5DXralftCtDrEonayoR+r6YzSYWz6IwMyIoTD/fgPvZOynz3KWTkVizAgHfVDjUNaS1xERNlRWFPjWx9/Px9pZKHXgCvc2VTpkqzSPLEDo7Hz809qBiWNeRN666VhtPIWiY9VW1IrS4Ovj6YjQE+oQyxLpzsZqZzd1iL34rfuiDHsPV0ProcFZ02zELizE7bZOxIQFwbg6XvF2qwYhscq5vDi6uQ8RAlU6JPKVaFB1qQlvrrBSLDpkII7/WmcV3Mx4RIUG2V3R1Vc5dzokdeLMaEC5KHT/PhSRVoSrja1iYfLvYYB533zo9VoVCHVfh2Q9G3+qw/1NQk61DrFVZVtRBbYXWZtQ/vN27HBsWMzPV9h2XjpYjQ7JKSfvoJ0Oatii0F0dsjpkTb5rjW1YuvVH0aGsBZPx2pA+TvurXcXlOPzzn3R9yWcpoo5U1dzA2u1H6fNlqVMRPk4Qa7UzhSfVIVmk7G63ijSQjaYUrvmi4U5oxL7P6o9s0OJ4H3IyJPmfzOXYAQ3hhySVmSWAMMZyNzx0Nlp6GuZyvA10jMUOGh9rSvqUzOVsg0Y+IalTIDng2FGw0qTyKZzL0VEwKYVFl0ECI2v/A5efXosLxT9xAAAAAElFTkSuQmCC"},d6bb:function(t,i,e){"use strict";var a=function(){var t=this,i=t._self._c;return i("div",{staticClass:"collection",on:{click:function(i){return t.$emit("toCollection")}}},[i("div",{staticClass:"left"},[i("div",{staticClass:"top"},[i("img",{staticClass:"icon",attrs:{src:e("aae8"),alt:""}}),i("span",{staticClass:"title"},[t._v(t._s(t.title||"---")+" ")]),i("img",{staticClass:"rightIcon",attrs:{src:e("2254")}})]),t.num?i("div",{staticClass:"bottom"},[t._v(t._s(t.num))]):t._e()]),i("div",{staticClass:"right",class:{switch:t.follow_switch},on:{click:function(i){return i.stopPropagation(),t.$emit("handleSwitch")}}},[i("img",{attrs:{src:e(t.follow_switch?"ee86":"04db"),alt:""}}),i("span",[t._v(t._s(t.follow_switch?"已订阅":"订阅"))])])])},s=[],A={name:"Collection",props:{title:{type:String},follow_switch:{type:Boolean},num:{type:String}}},n=A,o=(e("283d"),e("2877")),r=Object(o["a"])(n,a,s,!1,null,"6afd1ce2",null);i["a"]=r.exports},ee86:function(t,i){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABoAAAAaCAYAAACpSkzOAAAAAXNSR0IArs4c6QAAAZBJREFUSEvl1csrRGEYx/Hvz8I1ZeH/oJSS24LcybCwYUtZ+zOsFVsWUi4Rhii5pCzkD7FQcl149OqlccyZc87MaTbObs485/nMed/f+4wo06UyOfwTyMwqgAmgF6gELoBtSQ+5S21mDUAG6ATegRNgS9JHcEv+LJ2ZNQI7QHug+AVYkLTk7pvZPLAI1ATqroBxSfe5939B/k3O8yC5zxz7D30FguSwrtw3C0JTwHpKSZyStPHdKwitAtMpQWuSZsKgQ2AgJSgraTAMWgZmU4JWJM2FQaPAbkrQmKS9MMidn1ugqUTsDmgJTZ0/H82Ai2dtkdizOx6SHPZz5Z11ZjbkJoGfCkk8Nx0ykg4iJ8N3gZkNA5tAVUzpDZiUtJ+vvuD0NrN+P46qI7BXP3aOwuoi/ybMrMcnMWzP3J64hJ0W+jGRkA9IN+CWpC7Q7AkYkXQWtbyxII91AG6T633TR2BI0mUU4r6PDXmsDcj6xgOSruMgiSGPtX49KN3ERYqCkjSPPLDFNis5dWnAicJQCvgJz0lyG1l1VdoAAAAASUVORK5CYII="},f113:function(t,i,e){},f46a:function(t,i,e){"use strict";e("1b22b")},fdef:function(t,i){t.exports="\t\n\v\f\r \u2028\u2029\ufeff"}}]);
- //# sourceMappingURL=chunk-64e0da45.82d851a5.js.map
|