(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-zzda-detail"],{2909:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=u;var i=s(a("6005")),n=s(a("db90")),r=s(a("06c5")),o=s(a("3427"));function s(t){return t&&t.__esModule?t:{default:t}}function u(t){return(0,i.default)(t)||(0,n.default)(t)||(0,r.default)(t)||(0,o.default)()}},3427:function(t,e,a){"use strict";function i(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}Object.defineProperty(e,"__esModule",{value:!0}),e.default=i},"4a1b":function(t,e,a){"use strict";a.r(e);var i=a("6f39"),n=a("e259");for(var r in n)"default"!==r&&function(t){a.d(e,t,(function(){return n[t]}))}(r);a("5bcb");var o,s=a("f0c5"),u=Object(s["a"])(n["default"],i["b"],i["c"],!1,null,"2d4f13a8",null,!1,i["a"],o);e["default"]=u.exports},"4b9c":function(t,e,a){"use strict";var i=a("4ea4");a("99af"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=i(a("2909")),r=i(a("b371")),o=i(a("ba10")),s={components:{searchInput:r.default,noData:o.default},data:function(){return{id:"",data:[],params:{page:1,limit:10}}},onLoad:function(t){this.id=t.id,this.init(),this.getData()},onReachBottom:function(){this.params.page++,this.getData()},methods:{init:function(){this.data=[],uni.pageScrollTo({scrollTop:0,duration:300}),this.params.page=1,this.params.limit=10},getData:function(){var t=this,e={page:this.params.page,limit:this.params.limit,archives_id:this.id};this.$request.getData("archives/paper/borrow",e).then((function(e){1==t.params.page?t.data=e.data:t.data=[].concat((0,n.default)(t.data),(0,n.default)(e.data))}))}}};e.default=s},"5bcb":function(t,e,a){"use strict";var i=a("d0a1"),n=a.n(i);n.a},6005:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=r;var i=n(a("6b75"));function n(t){return t&&t.__esModule?t:{default:t}}function r(t){if(Array.isArray(t))return(0,i.default)(t)}},"6f39":function(t,e,a){"use strict";a.d(e,"b",(function(){return n})),a.d(e,"c",(function(){return r})),a.d(e,"a",(function(){return i}));var i={noData:a("ba10").default},n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-uni-view",{staticClass:"content"},[a("v-uni-view",{staticClass:"panel-list",staticStyle:{"margin-top":"20rpx"}},[t.data.length>0?t._l(t.data,(function(e,i){return a("v-uni-view",{staticClass:"panel"},[a("v-uni-view",{staticClass:"panel-item"},[a("v-uni-text",{staticClass:"uni-text-main-color font-weight-bold"},[t._v(t._s(e.archives_name))]),0==e.record_type?a("v-uni-text",{staticClass:"right-item uni-text-main-color"},[t._v(t._s(e.record_type_str))]):t._e(),1==e.record_type?a("v-uni-text",{staticClass:"right-item orange-light"},[t._v(t._s(e.record_type_str))]):t._e()],1),a("v-uni-view",{staticClass:"panel-item"},[0==e.record_type?a("v-uni-text",[t._v("归还人")]):t._e(),1==e.record_type?a("v-uni-text",[t._v("借阅人")]):t._e(),t._v("："),a("v-uni-text",{staticClass:"text-color-grey"},[t._v(t._s(e.borrower))]),a("v-uni-text",{staticClass:"right-item"},[0==e.record_type?[t._v("归还量")]:t._e(),1==e.record_type?[t._v("借阅量")]:t._e(),t._v("："),a("v-uni-text",{staticClass:"text-color-grey"},[t._v(t._s(e.number))])],2)],1),a("v-uni-view",{staticClass:"panel-item panel-item2"},[a("v-uni-text",{staticClass:"right-item uni-text-color-placeholder"},[0==e.record_type?[t._v("归还时间")]:t._e(),1==e.record_type?[t._v("借阅时间")]:t._e(),t._v("："+t._s(e.create_time))],2)],1)],1)})):[a("noData",{attrs:{show:!0}})]],2)],1)},r=[]},"994d":function(t,e,a){var i=a("24fb");e=i(!1),e.push([t.i,".panel-item2[data-v-2d4f13a8]{padding:%?20?% 0;margin-bottom:0!important;font-size:%?22?%!important;border-top:%?1?% solid #eee}",""]),t.exports=e},d0a1:function(t,e,a){var i=a("994d");"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var n=a("4f06").default;n("60d3ee7d",i,!0,{sourceMap:!1,shadowMode:!1})},db90:function(t,e,a){"use strict";function i(t){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}a("a4d3"),a("e01a"),a("d28b"),a("a630"),a("d3b7"),a("3ca3"),a("ddb0"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=i},e259:function(t,e,a){"use strict";a.r(e);var i=a("4b9c"),n=a.n(i);for(var r in i)"default"!==r&&function(t){a.d(e,t,(function(){return i[t]}))}(r);e["default"]=n.a}}]);