pages-index-artlist.76d0d542.js 9.6 KB

1
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-index-artlist"],{"20cf":function(t,a,e){"use strict";e("7a82");var i=e("4ea4").default;Object.defineProperty(a,"__esModule",{value:!0}),a.addressDel=function(t){return(0,n.default)({url:"/api/address/del",method:"post",data:t})},a.addressEdit=function(t){return(0,n.default)({url:"/api/address/edit",method:"post",data:t})},a.article=function(t,a){return(0,n.default)({url:"/api/article/list/"+a,method:"GET",data:t})},a.cartDel=function(t){return(0,n.default)({url:"/api/cart/del",method:"post",data:t})},a.delcollect=function(t){return(0,n.default)({url:"/api/collect/del",method:"post",data:t})},a.details=function(t,a){return(0,n.default)({url:"/api/article/details/"+a,method:"get",data:t})},a.getAddressList=function(t){return(0,n.default)({url:"/api/address/list",method:"get",data:t})},a.getCartList=function(t){return(0,n.default)({url:"/api/cart/list",method:"get",data:t})},a.getCartNum=function(t){return(0,n.default)({url:"/api/cart/num",method:"post",data:t})},a.getUserInfo=function(t){return(0,n.default)({url:"/api/user",method:"get",data:t})},a.getcollectList=function(t){return(0,n.default)({url:"/api/collect/user",method:"get",data:t})},a.myteam=function(t){return(0,n.default)({url:"/api/user/team",method:"get",data:t})},a.orderData=function(t){return(0,n.default)({url:"/api/order/data",method:"get",data:t})},a.setAddressDefault=function(t){return(0,n.default)({url:"/api/address/default/set",method:"post",data:t})},a.spread=function(t){return(0,n.default)({url:"/api/spread/people",method:"POST",data:t})},a.spreadBanner=function(t){return(0,n.default)({url:"/api/spread/banner",method:"get",data:t})},a.sqdl=function(t){return(0,n.default)({url:"/api/user/apply",method:"POST",data:t})},a.transfer_accounts=function(t){return(0,n.default)({url:"/api/user/trade",method:"post",data:t})};var n=i(e("5696"))},4467:function(t,a,e){"use strict";e.d(a,"b",(function(){return n})),e.d(a,"c",(function(){return o})),e.d(a,"a",(function(){return i}));var i={uniLoadMore:e("b823").default},n=function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("v-uni-view",{staticClass:"center"},[t._l(t.list,(function(a,i){return e("v-uni-view",{key:i,staticClass:"massage",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.nav("/pages/index/artDetail?id="+a.id)}}},[e("v-uni-view",{staticClass:"title"},[t._v(t._s(a.title))]),e("v-uni-view",{staticClass:"time"},[t._v(t._s(a.add_time))])],1)})),e("uni-load-more",{attrs:{status:t.loadingType}})],2)},o=[]},"4f9a":function(t,a,e){var i=e("24fb");a=i(!1),a.push([t.i,".center[data-v-367f6e84]{background:#f3f3f3}.massage[data-v-367f6e84]{background:#fff;padding:%?30?%;border-bottom:1px solid #e9e9e9}.massage .title[data-v-367f6e84]{font-size:%?28?%;font-family:PingFang SC;font-weight:500;color:#333}.massage .time[data-v-367f6e84]{margin-top:%?18?%;font-size:%?20?%;font-family:PingFang SC;font-weight:500;color:#999}",""]),t.exports=a},8002:function(t,a,e){"use strict";e.r(a);var i=e("4467"),n=e("9925");for(var o in n)["default"].indexOf(o)<0&&function(t){e.d(a,t,(function(){return n[t]}))}(o);e("be18");var d=e("f0c5"),r=Object(d["a"])(n["default"],i["b"],i["c"],!1,null,"367f6e84",null,!1,i["a"],void 0);a["default"]=r.exports},"87fd":function(t,a,e){"use strict";e.r(a);var i=e("f626"),n=e.n(i);for(var o in i)["default"].indexOf(o)<0&&function(t){e.d(a,t,(function(){return i[t]}))}(o);a["default"]=n.a},"98d0":function(t,a,e){"use strict";var i=e("f8c6"),n=e.n(i);n.a},9925:function(t,a,e){"use strict";e.r(a);var i=e("ddf6"),n=e.n(i);for(var o in i)["default"].indexOf(o)<0&&function(t){e.d(a,t,(function(){return i[t]}))}(o);a["default"]=n.a},a150:function(t,a,e){var i=e("4f9a");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var n=e("4f06").default;n("d7a23bb2",i,!0,{sourceMap:!1,shadowMode:!1})},b823:function(t,a,e){"use strict";e.r(a);var i=e("f2fd"),n=e("87fd");for(var o in n)["default"].indexOf(o)<0&&function(t){e.d(a,t,(function(){return n[t]}))}(o);e("98d0");var d=e("f0c5"),r=Object(d["a"])(n["default"],i["b"],i["c"],!1,null,"5516c8de",null,!1,i["a"],void 0);a["default"]=r.exports},be18:function(t,a,e){"use strict";var i=e("a150"),n=e.n(i);n.a},d4c39:function(t,a,e){var i=e("24fb");a=i(!1),a.push([t.i,".uni-load-more[data-v-5516c8de]{display:flex;flex-direction:row;height:%?80?%;align-items:center;justify-content:center}.uni-load-more__text[data-v-5516c8de]{font-size:%?28?%;color:#999}.uni-load-more__img[data-v-5516c8de]{height:24px;width:24px;margin-right:10px}.uni-load-more__img>.load[data-v-5516c8de]{position:absolute}.uni-load-more__img>.load .item[data-v-5516c8de]{width:6px;height:2px;border-top-left-radius:1px;border-bottom-left-radius:1px;background:#999;position:absolute;opacity:.2;-webkit-transform-origin:50%;transform-origin:50%;-webkit-animation:load-data-v-5516c8de 1.56s ease infinite;animation:load-data-v-5516c8de 1.56s ease infinite}.uni-load-more__img>.load .item[data-v-5516c8de]:nth-child(1){-webkit-transform:rotate(90deg);transform:rotate(90deg);top:2px;left:9px}.uni-load-more__img>.load .item[data-v-5516c8de]:nth-child(2){-webkit-transform:rotate(180deg);transform:rotate(180deg);top:11px;right:0}.uni-load-more__img>.load .item[data-v-5516c8de]:nth-child(3){-webkit-transform:rotate(270deg);transform:rotate(270deg);bottom:2px;left:9px}.uni-load-more__img>.load .item[data-v-5516c8de]:nth-child(4){top:11px;left:0}.load1[data-v-5516c8de],\n.load2[data-v-5516c8de],\n.load3[data-v-5516c8de]{height:24px;width:24px}.load2[data-v-5516c8de]{-webkit-transform:rotate(30deg);transform:rotate(30deg)}.load3[data-v-5516c8de]{-webkit-transform:rotate(60deg);transform:rotate(60deg)}.load1 .item[data-v-5516c8de]:nth-child(1){-webkit-animation-delay:0s;animation-delay:0s}.load2 .item[data-v-5516c8de]:nth-child(1){-webkit-animation-delay:.13s;animation-delay:.13s}.load3 .item[data-v-5516c8de]:nth-child(1){-webkit-animation-delay:.26s;animation-delay:.26s}.load1 .item[data-v-5516c8de]:nth-child(2){-webkit-animation-delay:.39s;animation-delay:.39s}.load2 .item[data-v-5516c8de]:nth-child(2){-webkit-animation-delay:.52s;animation-delay:.52s}.load3 .item[data-v-5516c8de]:nth-child(2){-webkit-animation-delay:.65s;animation-delay:.65s}.load1 .item[data-v-5516c8de]:nth-child(3){-webkit-animation-delay:.78s;animation-delay:.78s}.load2 .item[data-v-5516c8de]:nth-child(3){-webkit-animation-delay:.91s;animation-delay:.91s}.load3 .item[data-v-5516c8de]:nth-child(3){-webkit-animation-delay:1.04s;animation-delay:1.04s}.load1 .item[data-v-5516c8de]:nth-child(4){-webkit-animation-delay:1.17s;animation-delay:1.17s}.load2 .item[data-v-5516c8de]:nth-child(4){-webkit-animation-delay:1.3s;animation-delay:1.3s}.load3 .item[data-v-5516c8de]:nth-child(4){-webkit-animation-delay:1.43s;animation-delay:1.43s}@-webkit-keyframes load-data-v-5516c8de{0%{opacity:1}100%{opacity:.2}}",""]),t.exports=a},ddf6:function(t,a,e){"use strict";e("7a82"),Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0,e("99af");var i=e("20cf"),n={data:function(){return{list:[],type:"",page:1,limit:10,loadingType:"more"}},onLoad:function(t){this.type=t.id,this.loadData()},onReachBottom:function(){this.loadData()},methods:{nav:function(t){uni.navigateTo({url:t})},loadData:function(){var t=this;"loading"!==t.loadingType&&"noMore"!==t.loadingType&&(t.loadingType="loading",(0,i.article)({page:t.page,limit:t.limit},this.type).then((function(a){var e=a.data;t.list=t.list.concat(e),t.page++,e.length==t.limit?t.loadingType="more":t.loadingType="noMore"})))}}};a.default=n},f2fd:function(t,a,e){"use strict";e.d(a,"b",(function(){return i})),e.d(a,"c",(function(){return n})),e.d(a,"a",(function(){}));var i=function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("v-uni-view",{staticClass:"uni-load-more"},[e("v-uni-view",{directives:[{name:"show",rawName:"v-show",value:"loading"===t.status&&t.showIcon,expression:"status === 'loading' && showIcon"}],staticClass:"uni-load-more__img"},[e("v-uni-view",{staticClass:"load1 load"},[e("v-uni-view",{staticClass:"item",style:{background:t.color}}),e("v-uni-view",{staticClass:"item",style:{background:t.color}}),e("v-uni-view",{staticClass:"item",style:{background:t.color}}),e("v-uni-view",{staticClass:"item",style:{background:t.color}})],1),e("v-uni-view",{staticClass:"load2 load"},[e("v-uni-view",{staticClass:"item",style:{background:t.color}}),e("v-uni-view",{staticClass:"item",style:{background:t.color}}),e("v-uni-view",{staticClass:"item",style:{background:t.color}}),e("v-uni-view",{staticClass:"item",style:{background:t.color}})],1),e("v-uni-view",{staticClass:"load3 load"},[e("v-uni-view",{staticClass:"item",style:{background:t.color}}),e("v-uni-view",{staticClass:"item",style:{background:t.color}}),e("v-uni-view",{staticClass:"item",style:{background:t.color}}),e("v-uni-view",{staticClass:"item",style:{background:t.color}})],1)],1),e("v-uni-text",{staticClass:"uni-load-more__text",style:{color:t.color}},[t._v(t._s("more"===t.status?t.contentText.contentdown:"loading"===t.status?t.contentText.contentrefresh:t.contentText.contentnomore))])],1)},n=[]},f626:function(t,a,e){"use strict";e("7a82"),Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var i={name:"uni-load-more",props:{status:{type:String,default:"more"},showIcon:{type:Boolean,default:!0},color:{type:String,default:"#777777"},contentText:{type:Object,default:function(){return{contentdown:"上拉显示更多",contentrefresh:"正在加载...",contentnomore:"没有更多数据了"}}}},data:function(){return{}}};a.default=i},f8c6:function(t,a,e){var i=e("d4c39");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var n=e("4f06").default;n("9ae4411c",i,!0,{sourceMap:!1,shadowMode:!1})}}]);