1 line
7.3 KiB
JavaScript
1 line
7.3 KiB
JavaScript
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-238d2e56"],{"41cc":function(t,e,a){var i=a("b79c");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var o=a("499e").default;o("0bfea7da",i,!0,{sourceMap:!1,shadowMode:!1})},8166:function(t,e,a){"use strict";a("41cc")},"9d07":function(t,e,a){"use strict";a.r(e);var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{attrs:{id:"evaluate"}},[a("c-title",{attrs:{hide:!1,text:"售后列表"}}),t._l(t.list,(function(e,i){return a("div",{key:i,staticClass:"shop"},[a("div",{staticClass:"title"},[a("h4",[t._v(t._s(e.order.order_sn))]),a("span",[t._v(t._s(e.status_name))])]),t._l(e.order.has_many_order_goods,(function(e,i){return a("div",{key:i,staticClass:"goods"},[a("div",{staticClass:"img"},[a("img",{attrs:{src:e.thumb}})]),a("div",{staticClass:"warp"},[a("div",{staticClass:"inner"},[a("div",{staticClass:"name"},[t._v(t._s(e.title))]),e.goods_option_title?a("div",{staticClass:"option"},[t._v("规格: "+t._s(e.goods_option_title))]):t._e()])])])})),a("div",{staticClass:"refund"},[40==e.plugin_id&&1==e.refund_type?a("span",{staticClass:"left"},[t._v("租赁归还")]):t._e(),40!=e.plugin_id||1!=e.refund_type?a("span",{staticClass:"left"},[t._v(t._s(e.refund_type_name))]):t._e(),2!=e.refund_type?a("span",{staticClass:"right"},[t._v("退款金额: "+t._s(t.$i18n.t("money"))),a("b",{staticStyle:{"font-size":"18px"}},[t._v(t._s(e.price))])]):t._e()]),a("div",{staticClass:"gourl"},[40!=e.plugin_id||1!=e.refund_type||6!=e.status?a("span",[a("router-link",{attrs:{to:t.fun.getUrl("aftersales",{refund_id:e.id},{pluginid:e.plugin_id})}},[t._v("查看详情")])],1):t._e(),40==e.plugin_id&&1==e.refund_type&&6==e.status?a("span",[a("router-link",{attrs:{to:t.fun.getUrl("OrderReturnAftersalesDetail",{id:e.order.id})}},[t._v("查看详情")])],1):t._e()])],2)}))],2)},o=[],l=(a("99af"),a("6968")),n=a("ac0d"),d={mixins:[n["a"]],data:function(){return{value:null,loading:!1,allLoaded:!1,goload:!0,isLoadMore:!0,page:1,total_page:0,list:[]}},methods:{initData:function(){this.page=1,this.goload=!0,this.total_page=0,this.loading=!0,this.allLoaded=!1,this.isLoadMore=!0},loadTop:function(){this.initData(),this.getNetData(),this.$refs.refund_loadmore.onTopLoaded()},loadBottom:function(){this.isLoadMore&&(this.getMoreData(),this.$refs.refund_loadmore.onBottomLoaded())},getNetData:function(){var t=this,e="refund.list";this.$route.query.goodtype&&"grab"==this.$route.query.goodtype&&(e="plugin.snatch-regiment.api.refund.index"),$http.get(e,{page:1,i:this.fun.getKeyByI(),type:this.fun.getTyep()},"正在获取订单...").then((function(e){if(1==e.result){var a=e.data;t.list=a.data,t.total_page=a.last_page}}),(function(t){}))},getMoreData:function(){var t=this;if(this.page!=this.total_page)return this.page>=this.total_page?(t.loading=!0,void(t.allLoaded=!0)):(this.page=this.page+1,void $http.get("refund.list",{page:this.page,i:this.fun.getKeyByI(),type:this.fun.getTyep()},"正在获取更多数据...").then((function(e){if(1!=e.result)return t.page=t.page-1,t.loading=!0,t.allLoaded=!0,void(t.isLoadMore=!1);t.loading=!1,t.allLoaded=!1;var a=e.data;t.list=t.list.concat(a.data),t.loading=!1,t.allLoaded=!1}),(function(t){})))}},activated:function(){this.initData(),this.getNetData()},components:{cTitle:l["a"]}},s=d,r=s,g=(a("8166"),a("2877")),f=Object(g["a"])(r,i,o,!1,null,"2634d3b9",null);e["default"]=f.exports},ac0d:function(t,e,a){"use strict";a.d(e,"a",(function(){return l}));var i=document.documentElement,o=document.body,l={data:function(){return{}},activated:function(){window.addEventListener("scroll",this.handleScroll)},deactivated:function(){window.removeEventListener("scroll",this.handleScroll)},methods:{getScrollTop:function(){var t=0;return i&&i.scrollTop?t=i.scrollTop:o&&(t=o.scrollTop),t},getClientHeight:function(){var t=0;return t=o.clientHeight&&i.clientHeight?Math.min(o.clientHeight,i.clientHeight):Math.max(o.clientHeight,i.clientHeight),t},getScrollHeight:function(){return Math.max(o.scrollHeight,i.scrollHeight)},handleScroll:function(){this.otherScroll();var t=document.documentElement.scrollTop||document.body.scrollTop;this.btnFlag=t>60,this.getScrollTop()+this.getClientHeight()+105>this.getScrollHeight()?(this.isLoadMore&&this.getMoreData(),this.isBottom=!0):this.isBottom=!1},otherScroll:function(){}}}},b79c:function(t,e,a){var i=a("24fb");e=i(!1),e.push([t.i,'#evaluate .title[data-v-2634d3b9]{line-height:2.25rem;padding:0 .75rem;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center}#evaluate .title h4[data-v-2634d3b9]{text-align:left;font-weight:400;-webkit-box-flex:5;-webkit-flex:5;-ms-flex:5;flex:5;font-size:14px}#evaluate .title h4 b[data-v-2634d3b9]{font-size:18px}#evaluate .title span[data-v-2634d3b9]{color:#f15353;text-align:right;margin-right:.0625rem;-webkit-box-flex:5;-webkit-flex:5;-ms-flex:5;flex:5;font-size:14px}#evaluate .shop[data-v-2634d3b9]{background:#fff;margin:.625rem;border-radius:10px}#evaluate .shop p[data-v-2634d3b9]{margin:.625rem;text-align:left}#evaluate .shop h3[data-v-2634d3b9]{padding:.625rem;background:#fff;text-align:left;font-weight:400;font-size:12px}#evaluate .shop h3 i[data-v-2634d3b9]{margin-right:.625rem;color:#666}#evaluate .shop .gourl[data-v-2634d3b9]{display:block;border-top:.0625rem solid #ebebeb;text-align:right;height:2.5rem;padding-right:.875rem;overflow:hidden}#evaluate .shop .gourl .refund[data-v-2634d3b9]{float:left;line-height:1.875rem;color:#f15353;font-size:12px}#evaluate .shop .gourl a[data-v-2634d3b9]{color:#f15353}#evaluate .shop .gourl span[data-v-2634d3b9]{float:right;border:.0625rem solid #f15353;border-radius:15px;padding:.25rem .625rem;color:#f15353;text-align:center;margin:.3rem 0 0 .3rem}#evaluate .shop .refund[data-v-2634d3b9]{line-height:2.25rem;width:100%;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;padding:0 .75rem;font-size:14px}#evaluate .shop .refund .left[data-v-2634d3b9]{-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;text-align:left}#evaluate .shop .refund .right[data-v-2634d3b9]{-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;text-align:right}#evaluate .goods[data-v-2634d3b9]:after{content:"";display:block;clear:both}#evaluate .goods[data-v-2634d3b9]{width:100%;-webkit-box-sizing:border-box;box-sizing:border-box}#evaluate .goods .img[data-v-2634d3b9]{width:26%;padding:.625rem 1rem;float:left;display:inline-block}#evaluate .goods .img img[data-v-2634d3b9]{width:100%}#evaluate .goods .warp[data-v-2634d3b9]{width:74%;padding:.625rem 0 0 0;float:left;display:inline-block}#evaluate .goods .warp .inner[data-v-2634d3b9]{float:left;-webkit-box-sizing:border-box;box-sizing:border-box;padding:0 .625rem;text-align:left}#evaluate .goods .warp .inner .name[data-v-2634d3b9]{text-align:left;color:#333;margin-bottom:.625rem;font-size:14px}#evaluate .goods .warp .price[data-v-2634d3b9]{width:30%;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;text-align:right;color:#333;-webkit-box-sizing:border-box;box-sizing:border-box;float:left;padding-right:.25rem}#evaluate .goods .warp .price p[data-v-2634d3b9]{margin-top:0}#evaluate .goods .option[data-v-2634d3b9]{color:#888;font-size:12px;-webkit-box-flex:2;-webkit-flex:2;-ms-flex:2;flex:2}',""]),t.exports=e}}]); |