1 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-index-artList"],{"02aa":function(t,a,e){"use strict";e.r(a);var i=e("dd11"),n=e("fceb");for(var o in n)"default"!==o&&function(t){e.d(a,t,(function(){return n[t]}))}(o);e("d3a3");var d,r=e("f0c5"),c=Object(r["a"])(n["default"],i["b"],i["c"],!1,null,"5516c8de",null,!1,i["a"],d);a["default"]=c.exports},"1cfa":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},"2ab1":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("02aa").default},n=function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("v-uni-view",{staticClass:"content"},[e("v-uni-view",{staticClass:"main"},t._l(t.list,(function(a,i){return e("v-uni-view",[0==i?e("v-uni-view",{staticClass:"first",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.navToList(a.id)}}},[e("v-uni-view",{staticClass:"title"},[t._v(t._s(a.title))]),e("v-uni-view",{staticClass:"image"},[e("v-uni-image",{attrs:{src:a.image_input[0],mode:""}})],1),e("v-uni-view",{staticClass:"time"},[t._v(t._s(a.add_time))])],1):e("v-uni-view",{staticClass:"item flex",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.navToList(a.id)}}},[e("v-uni-view",{staticClass:"item-left"},[e("v-uni-image",{attrs:{src:a.image_input[0],mode:""}})],1),e("v-uni-view",{staticClass:"item-right"},[e("v-uni-view",{staticClass:"item-font clamp"},[t._v(t._s(a.title))]),e("v-uni-view",{staticClass:"item-time"},[t._v(t._s(a.add_time))])],1)],1)],1)})),1),e("uni-load-more",{attrs:{status:t.loadingType}})],1)},o=[]},"38cd":function(t,a,e){"use strict";var i=e("4404"),n=e.n(i);n.a},4404:function(t,a,e){var i=e("ae0f");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var n=e("4f06").default;n("27480198",i,!0,{sourceMap:!1,shadowMode:!1})},7075:function(t,a,e){"use strict";var i=e("4ea4");e("99af"),Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0,e("96cf");var n=i(e("1da1")),o=e("cf53"),d={data:function(){return{list:[],page:1,limit:10,loadingType:"more"}},onLoad:function(){this.loadData()},onShareAppMessage:function(t){var a=getCurrentPages(),e=a[a.length-1],i=e.route,n=(e.options,{title:"水箱计算",path:i,imageUrl:"",success:function(t){t.errMsg},fail:function(){"shareAppMessage:fail cancel"==res.errMsg||res.errMsg}});return n},methods:{loadData:function(){var t=this;return(0,n.default)(regeneratorRuntime.mark((function a(){var e;return regeneratorRuntime.wrap((function(a){while(1)switch(a.prev=a.next){case 0:if(e=t,"noMore"!=e.loadingType&&"loading"!=e.loadingType){a.next=3;break}return a.abrupt("return");case 3:e.loadingType="loading",(0,o.article)({page:e.page,limit:e.limit},1).then((function(t){var a=t.data;e.list=e.list.concat(a),e.page++,a.length==e.limit?e.loadingType="more":e.loadingType="noMore"}));case 5:case"end":return a.stop()}}),a)})))()},navToList:function(t){uni.navigateTo({url:"/pages/index/artDetail?id="+t})}}};a.default=d},"8ec8":function(t,a,e){var i=e("1cfa");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var n=e("4f06").default;n("5181cfcc",i,!0,{sourceMap:!1,shadowMode:!1})},9864:function(t,a,e){"use strict";e.r(a);var i=e("7075"),n=e.n(i);for(var o in i)"default"!==o&&function(t){e.d(a,t,(function(){return i[t]}))}(o);a["default"]=n.a},a582:function(t,a,e){"use strict";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},ae0f:function(t,a,e){var i=e("24fb");a=i(!1),a.push([t.i,'@charset "UTF-8";\n/* 页面左右间距 */\n/* 文字尺寸 */\n/*文字颜色*/\n/* 边框颜色 */\n/*颜色*/\n/* 图片加载中颜色 */\n/* 行为相关颜色 */\n/* 功能栏字体大小 */\n/*功能栏左侧小图标*/uni-page-body[data-v-3cd5fc7c],\n.content[data-v-3cd5fc7c]{height:auto;min-height:100%;background:#f5f5f5}.main[data-v-3cd5fc7c]{background:#fff}.main .first[data-v-3cd5fc7c]{padding:%?50?% 0 %?18?%;margin:0 %?22?%;border-bottom:1px solid #e0e0e0}.main .first .title[data-v-3cd5fc7c]{font-size:%?32?%;font-family:PingFang SC;font-weight:700;color:#333}.main .first .image[data-v-3cd5fc7c]{width:%?710?%;height:%?400?%;background:#eee;margin-top:%?20?%}.main .first .image uni-image[data-v-3cd5fc7c]{width:100%;height:100%}.main .first .time[data-v-3cd5fc7c]{margin-top:%?20?%;font-size:%?26?%;font-family:PingFang SC;font-weight:500;color:#666}.main .item[data-v-3cd5fc7c]{padding:%?26?% 0 %?18?%;margin:0 %?22?%;justify-content:flex-start;align-items:flex-start;border-bottom:1px solid #e0e0e0}.main .item .item-left[data-v-3cd5fc7c]{width:%?224?%;height:%?160?%}.main .item .item-left uni-image[data-v-3cd5fc7c]{width:100%;height:100%}.main .item .item-right[data-v-3cd5fc7c]{width:%?458?%;height:%?160?%;margin-left:%?24?%;padding:%?18?% 0;display:flex;flex-direction:column;justify-content:space-between}.main .item .item-right .item-font[data-v-3cd5fc7c]{font-size:%?32?%;font-family:PingFang SC;font-weight:700;color:#333}.main .item .item-right .item-time[data-v-3cd5fc7c]{font-size:%?28?%;font-family:PingFang SC;font-weight:500;color:#666}body.?%PAGE?%[data-v-3cd5fc7c]{background:#f5f5f5}',""]),t.exports=a},cf53:function(t,a,e){"use strict";var i=e("4ea4");Object.defineProperty(a,"__esModule",{value:!0}),a.orderData=o,a.getUserInfo=d,a.spreadBanner=r,a.getAddressList=c,a.addressEdit=l,a.addressDel=s,a.setAddressDefault=u,a.getCartList=f,a.getCartNum=m,a.cartDel=v,a.getcollectList=g,a.delcollect=h,a.edit=p,a.article=w,a.getJsList=b,a.getjsDetail=y,a.details=_;var n=i(e("653b"));function o(t){return(0,n.default)({url:"/api/order/data",method:"get",data:t})}function d(t){return(0,n.default)({url:"/api/userinfo",method:"get",data:t})}function r(t){return(0,n.default)({url:"/api/spread/banner",method:"get",data:t})}function c(t){return(0,n.default)({url:"/api/address/list",method:"get",data:t})}function l(t){return(0,n.default)({url:"/api/address/edit",method:"post",data:t})}function s(t){return(0,n.default)({url:"/api/address/del",method:"post",data:t})}function u(t){return(0,n.default)({url:"/api/address/default/set",method:"post",data:t})}function f(t){return(0,n.default)({url:"/api/cart/list",method:"get",data:t})}function m(t){return(0,n.default)({url:"/api/cart/num",method:"post",data:t})}function v(t){return(0,n.default)({url:"/api/cart/del",method:"post",data:t})}function g(t){return(0,n.default)({url:"/api/collect/user",method:"get",data:t})}function h(t){return(0,n.default)({url:"/api/collect/del",method:"post",data:t})}function p(t){return(0,n.default)({url:"/api/user/edit",method:"post",data:t})}function w(t,a){return(0,n.default)({url:"/api/article/list/"+a,method:"get",data:t})}function b(t){return(0,n.default)({url:"/api/water/query_list",method:"get",data:t})}function y(t){return(0,n.default)({url:"/api/water/query_details",method:"get",data:t})}function _(t,a){return(0,n.default)({url:"/api/article/details/"+a,method:"get",data:t})}},d3a3:function(t,a,e){"use strict";var i=e("8ec8"),n=e.n(i);n.a},dd11:function(t,a,e){"use strict";var i;e.d(a,"b",(function(){return n})),e.d(a,"c",(function(){return o})),e.d(a,"a",(function(){return i}));var n=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)},o=[]},f525:function(t,a,e){"use strict";e.r(a);var i=e("2ab1"),n=e("9864");for(var o in n)"default"!==o&&function(t){e.d(a,t,(function(){return n[t]}))}(o);e("38cd");var d,r=e("f0c5"),c=Object(r["a"])(n["default"],i["b"],i["c"],!1,null,"3cd5fc7c",null,!1,i["a"],d);a["default"]=c.exports},fceb:function(t,a,e){"use strict";e.r(a);var i=e("a582"),n=e.n(i);for(var o in i)"default"!==o&&function(t){e.d(a,t,(function(){return i[t]}))}(o);a["default"]=n.a}}]);
|