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
13 KiB

(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-index-collection"],{"0d08":function(t,e,r){"use strict";var n;r.d(e,"b",(function(){return o})),r.d(e,"c",(function(){return i})),r.d(e,"a",(function(){return n}));var o=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("v-uni-view",{staticClass:"body"},[n("v-uni-view",{staticClass:"content"},t._l(t.list,(function(e){return n("v-uni-view",{key:e.id,staticClass:"item",on:{click:function(r){arguments[0]=r=t.$handleEvent(r),t.workshow(e.id)}}},[n("v-uni-view",{staticClass:"itempic",style:{backgroundImage:"url("+e.thumbnail+")"}},[n("v-uni-view",{staticClass:"left-cover"},[n("v-uni-image",{staticClass:"collect",attrs:{src:r("2868"),mode:""},on:{click:function(r){r.stopPropagation(),arguments[0]=r=t.$handleEvent(r),t.uncollect(e.id)}}})],1)],1),n("v-uni-view",{staticClass:" text"},[t._v(t._s(e.collectionName))]),n("v-uni-view",{staticClass:"textname"},[t._v(t._s(e.artistName)+" #"+t._s(e.issueNumber))])],1)})),1)],1)},i=[]},1502:function(t,e,r){var n=r("ac7c");"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var o=r("4f06").default;o("3aa8b54a",n,!0,{sourceMap:!1,shadowMode:!1})},"195a":function(t,e,r){"use strict";var n=r("1502"),o=r.n(n);o.a},"1da1":function(t,e,r){"use strict";function n(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(s){return void r(s)}c.done?e(u):Promise.resolve(u).then(n,o)}function o(t){return function(){var e=this,r=arguments;return new Promise((function(o,i){var a=t.apply(e,r);function c(t){n(a,o,i,c,u,"next",t)}function u(t){n(a,o,i,c,u,"throw",t)}c(void 0)}))}}r("d3b7"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=o},2868:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAA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oLLQU6sxJyWqymQ/mQ61xgIYDjIu0ZblOVUXAnBdeUWjTvecWVmbXPuoO8KnF3YOyesfGYFFbym1vi4jQXWc5y79ZZtb5cNcGZF+pbOsl3ZB2BC4KIxBpb+Lw59v7dMw7svefem6g6RP7Rxv07hjD2nuyKhAaSvfbzt1h4DUFdlguf0dO7psjbx+QxaprEbQFv1AOSApgrz2dh9MiaAzDqAz0QCEFgkfhRAAzB1VC2BQ8qWhH5iDWfu+rM0JvQr5InYZmebQHmrUP4g3gecDdrPR97hvH22JyCfzNYx7sbLbVemUbHBdVAnlFNJR31Q2o2LDUD62qfabu3Rst2Lu0lv6lpTdt4oCZFWwNOz8sb3YPAmFyEva+ncY3GYj/QrNGzANpe+JpDlwQzJXm2gsJAPxPflMvIKSH+m1Xb4aQCA3hN/ubf6fTIKoDMiJDKAp1bsNZ6gyObzNb4IOWRZ7vxxrdu+LdegX3wsAF6Roc8725TiRrKk9ShwhNKtu1zF5uxPfmbCPI8NYLh4wTRugCCVoDuYSLr7ef3IXmYYk2PlxA4Qt0E/vf8B/Gao0s//Bu5Fm0DR/ka7AAAAAElFTkSuQmCC"},"69e5":function(t,e,r){"use strict";r.r(e);var n=r("dcaf"),o=r.n(n);for(var i in n)"default"!==i&&function(t){r.d(e,t,(function(){return n[t]}))}(i);e["default"]=o.a},"6b91":function(t,e,r){"use strict";r.r(e);var n=r("0d08"),o=r("69e5");for(var i in o)"default"!==i&&function(t){r.d(e,t,(function(){return o[t]}))}(i);r("195a");var a,c=r("f0c5"),u=Object(c["a"])(o["default"],n["b"],n["c"],!1,null,"7c71914a",null,!1,n["a"],a);e["default"]=u.exports},"96cf":function(t,e){!function(e){"use strict";var r,n=Object.prototype,o=n.hasOwnProperty,i="function"===typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag",s="object"===typeof t,l=e.regeneratorRuntime;if(l)s&&(t.exports=l);else{l=e.regeneratorRuntime=s?t.exports:{},l.wrap=A;var f="suspendedStart",h="suspendedYield",d="executing",p="completed",v={},g={};g[a]=function(){return this};var m=Object.getPrototypeOf,y=m&&m(m(z([])));y&&y!==n&&o.call(y,a)&&(g=y);var w=k.prototype=x.prototype=Object.create(g);E.prototype=w.constructor=k,k.constructor=E,k[u]=E.displayName="GeneratorFunction",l.isGeneratorFunction=function(t){var e="function"===typeof t&&t.constructor;return!!e&&(e===E||"GeneratorFunction"===(e.displayName||e.name))},l.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,k):(t.__proto__=k,u in t||(t[u]="GeneratorFunction")),t.prototype=Object.create(w),t},l.awrap=function(t){return{__await:t}},L(R.prototype),R.prototype[c]=function(){return this},l.AsyncIterator=R,l.async=function(t,e,r,n){var o=new R(A(t,e,r,n));return l.isGeneratorFunction(e)?o:o.next().then((function(t){return t.done?t.value:o.next()}))},L(w),w[u]="Generator",w[a]=function(){return this},w.toString=function(){return"[object Generator]"},l.keys=function(t){var e=[];for(var r in t)e.push(r);return e.reverse(),function r(){while(e.length){var n=e.pop();if(n in t)return r.value=n,r.done=!1,r}return r.done=!0,r}},l.values=z,S.prototype={constructor:S,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=r,this.done=!1,this.delegate=null,this.method="next",this.arg=r,this.tryEntries.forEach(O),!t)for(var e in this)"t"===e.charAt(0)&&o.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=r)},stop:function(){this.done=!0;var t=this.tryEntries[0],e=t.completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function n(n,o){return c.type="throw",c.arg=t,e.next=n,o&&(e.method="next",e.arg=r),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var u=o.call(a,"catchLoc"),s=o.call(a,"finallyLoc");if(u&&s){if(this.prev<a.catchLoc)return n(a.catchLoc,!0);if(this.prev<a.finallyLoc)return n(a.finallyLoc)}else if(u){if(this.prev<a.catchLoc)return n(a.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return n(a.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&o.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var i=n;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,v):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),v},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),O(r),v}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;O(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,n){return this.delegate={iterator:z(t),resultName:e,nextLoc:n},"next"===this.method&&(this.arg=r),v}}}function A(t,e,r,n){var o=e&&e.prototype instanceof x?e:x,i=Object.create(o.prototype),a=new S(n||[]);return i._invoke=C(t,r,a),i}function b(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(n){return{type:"throw",arg:n}}}function x(){}function E(){}function k(){}function L(t){["next","throw","return"].forEach((function(e){t[e]=function(t){return this._invoke(e,t)}}))}function R(t){function e(r,n,i,a){var c=b(t[r],t,n);if("throw"!==c.type){var u=c.arg,s=u.value;return s&&"object"===typeof s&&o.call(s,"__await")?Promise.resolve(s.__await).then((function(t){e("next",t,i,a)}),(function(t){e("throw",t,i,a)})):Promise.resolve(s).then((function(t){u.value=t,i(u)}),(function(t){return e("throw",t,i,a)}))}a(c.arg)}var r;function n(t,n){function o(){return new Promise((function(r,o){e(t,n,r,o)}))}return r=r?r.then(o,o):o()}this._invoke=n}function C(t,e,r){var n=f;return function(o,i){if(n===d)throw new Error("Generator is already running");if(n===p){if("throw"===o)throw i;return Q()}r.method=o,r.arg=i;while(1){var a=r.delegate;if(a){var c=F(a,r);if(c){if(c===v)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(n===f)throw n=p,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n=d;var u=b(t,e,r);if("normal"===u.type){if(n=r.done?p:h,u.arg===v)continue;return{value:u.arg,done:r.done}}"throw"===u.type&&(n=p,r.method="throw",r.arg=u.arg)}}}function F(t,e){var n=t.iterator[e.method];if(n===r){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=r,F(t,e),"throw"===e.method))return v;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return v}var o=b(n,t.iterator,e.arg);if("throw"===o.type)return e.method="throw",e.arg=o.arg,e.delegate=null,v;var i=o.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=r),e.delegate=null,v):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,v)}function N(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function O(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function S(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(N,this),this.reset(!0)}function z(t){if(t){var e=t[a];if(e)return e.call(t);if("function"===typeof t.next)return t;if(!isNaN(t.length)){var n=-1,i=function e(){while(++n<t.length)if(o.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=r,e.done=!0,e};return i.next=i}}return{next:Q}}function Q(){return{value:r,done:!0}}}(function(){return this||"object"===typeof self&&self}()||Function("return this")())},ac7c:function(t,e,r){var n=r("24fb");e=n(!1),e.push([t.i,'@charset "UTF-8";\r\n/**\r\n * 这里是uni-app内置的常用样式变量\r\n *\r\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\r\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\r\n *\r\n */\r\n/**\r\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\r\n *\r\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\r\n */\r\n/* 颜色变量 */\r\n/* 行为相关颜色 */\r\n/* 文字基本颜色 */\r\n/* 背景颜色 */\r\n/* 边框颜色 */\r\n/* 尺寸变量 */\r\n/* 文字尺寸 */\r\n/* 图片尺寸 */\r\n/* Border Radius */\r\n/* 水平间距 */\r\n/* 垂直间距 */\r\n/* 透明度 */\r\n/* 文章场景相关 */.body[data-v-7c71914a]{padding-top:%?0?%;display:flex;flex-direction:column;background-color:#000;min-height:94.6vh;font-family:Arial-Regular}.body .content[data-v-7c71914a]{display:flex;margin-top:%?58?%;flex-wrap:wrap}.body .content .item[data-v-7c71914a]{color:#fff;width:%?324?%;height:%?446?%;background-color:#1c1c1c;border-radius:%?24?%;margin-left:%?36?%;margin-top:%?20?%}.body .content .item .itempic[data-v-7c71914a]{width:%?324?%;height:%?324?%;background-repeat:no-repeat;background-size:cover;overflow:hidden;border-radius:%?12?%}.body .content .item .itempic .left-cover uni-image[data-v-7c71914a]{margin-left:%?20?%;margin-top:%?20?%;width:%?36?%;height:%?36?%}.body .content .item .text[data-v-7c71914a]{font-size:%?28?%;margin-left:%?24?%;margin-top:%?16?%}.body .content .item .textname[data-v-7c71914a]{margin-top:%?16?%;font-size:%?28?%;margin-left:%?24?%}',""]),t.exports=e},dcaf:function(t,e,r){"use strict";var n=r("4ea4");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,r("96cf");var o=n(r("1da1")),i={data:function(){return{list:[]}},onShow:function(){this.mycollect()},methods:{mycollect:function(){var t=this;return(0,o.default)(regeneratorRuntime.mark((function e(){var r;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,t.$myRequest({url:"/api/foreignAuth/collect",header:{token:uni.getStorageSync("token"),Authorization:uni.getStorageSync("Authorization")}});case 2:r=e.sent,200==r.data.code&&(t.list=r.data.rows);case 4:case"end":return e.stop()}}),e)})))()},uncollect:function(t){var e=this;return(0,o.default)(regeneratorRuntime.mark((function r(){var n;return regeneratorRuntime.wrap((function(r){while(1)switch(r.prev=r.next){case 0:return r.next=2,e.$myRequest({url:"/api/foreignAuth/cancel?id="+t,header:{token:uni.getStorageSync("token"),Authorization:uni.getStorageSync("Authorization")}});case 2:n=r.sent,200==n.data.code?(uni.showToast({title:"取消收藏成功"}),e.mycollect()):uni.showToast({title:n.data.msg});case 4:case"end":return r.stop()}}),r)})))()},workshow:function(t){uni.navigateTo({url:"./workshow?id="+t})}}};e.default=i}}]);