|
|
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-order-saleAfter-saleAfterList"],{"12b3":function(t,e,n){"use strict";n.r(e);var r=n("4fb4"),a=n.n(r);for(var i in r)"default"!==i&&function(t){n.d(e,t,(function(){return r[t]}))}(i);e["default"]=a.a},2702:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r={props:{type:{type:String,default:"line"},size:{type:String,default:"normal"},disable:{type:Boolean,default:!1}},methods:{click:function(){!this.disable&&this.$emit("click")}}};e.default=r},"359f":function(t,e,n){"use strict";n.r(e);var r=n("7f16"),a=n("a5d5");for(var i in a)"default"!==i&&function(t){n.d(e,t,(function(){return a[t]}))}(i);n("9f0b");var o,s=n("f0c5"),c=Object(s["a"])(a["default"],r["b"],r["c"],!1,null,"4c357d64",null,!1,r["a"],o);e["default"]=c.exports},"47e4":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r={data:function(){return{}},props:{icon:{type:String,default:n("7a1a")},tips:{type:String,default:"亲,暂无相关数据"}},mounted:function(){},methods:{}};e.default=r},"4fb4":function(t,e,n){"use strict";var r=n("4ea4");n("99af"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,n("96cf");var a=r(n("1da1")),i=r(n("8832")),o=r(n("359f")),s=n("c0d4"),c={components:{BsEmpty:i.default,UiButton:o.default},data:function(){return{orderListData:[],loadingStatus:"loading",pageIndex:1,pageSize:10}},onLoad:function(){this.getOrderList()},onReachBottom:function(){this.next()},methods:{getOrderList:function(){var t=this;return(0,a.default)(regeneratorRuntime.mark((function e(){var n,r,a;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t.loadingStatus="loading",e.next=3,(0,s.ApiGetSaleAfterOrderList)({length:t.pageSize,pageIndex:t.pageIndex});case 3:if(n=e.sent,r=n.error,a=n.result,!r){e.next=9;break}return uni.$u.toast(r.message),e.abrupt("return",!1);case 9:a.records.length<t.pageSize&&(t.loadingStatus="nomore"),t.orderListData=t.orderListData.concat(a.records);case 11:case"end":return e.stop()}}),e)})))()},next:function(){if("nomore"===this.loadingStatus)return!1;this.pageIndex++,this.getOrderList()}}};e.default=c},5151:function(t,e,n){t.exports=n.p+"static/img/empty.c4b1f0ad.png"},5726:function(t,e,n){var r=n("fc54");"string"===typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals);var a=n("4f06").default;a("ee1499be",r,!0,{sourceMap:!1,shadowMode:!1})},"5a44":function(t,e,n){var r=n("24fb");e=r(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/* 颜色变量 */\n/* 行为相关颜色 */\n/* 文字基本颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 透明度 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 间距 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */.ui-btn[data-v-4c357d64]{display:inline-block;padding:0 %?50?%;border-radius:%?50?%}.ui-btn[data-v-4c357d64]::after{display:none}.ui-btn__normal[data-v-4c357d64]{height:%?70?%;line-height:%?70?%;font-size:%?28?%}.ui-btn__min[data-v-4c357d64]{height:%?60?%;line-height:%?60?%;font-size:%?28?%}.ui-btn__small[data-v-4c357d64]{height:%?50?%;line-height:%?50?%;font-size:%?28?%}.ui-btn__max[data-v-4c357d64]{height:%?80?%;line-height:%?80?%;font-size:%?32?%}.ui-btn__gradual[data-v-4c357d64]{background:linear-gradient(270deg,#ff7f39,#ffa35b);color:#fff}.ui-btn__solid[data-v-4c357d64]{background:#ff875b;color:#fff}.ui-btn__line[data-v-4c357d64]{background:none;color:#333;border:1px solid #999}.ui-btn__primaryLine[data-v-4c357d64]{background:none;color:#ff875b;border:1px solid #ff875b}.ui-btn__disabed[data-v-4c357d64]{opacity:.5}',""]),t.exports=e},7985:function(t,e,n){"use strict";n.r(e);var r=n("47e4"),a=n.n(r);for(var i in r)"default"!==i&&function(t){n.d(e,t,(function(){return r[t]}))}(i);e["default"]=a.a},"7a1a":function(t,e,n){t.exports=n.p+"static/img/empty.bdec362e.png"},"7f16":function(t,e,n){"use strict";var r;n.d(e,"b",(function(){return a})),n.d(e,"c",(function(){return i})),n.d(e,"a",(function(){return r}));var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("v-uni-button",{class:"ui-btn ui-btn__"+t.type+" ui-btn__"+t.size+" "+(t.disable?" x ui-btn__disabed":" xx"),on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.click.apply(void 0,arguments)}}},[t._t("default")],2)},i=[]},8832:function(t,e,n){"use strict";n.r(e);var r=n("b867"),a=n("7985");for(var i in a)"default"!==i&&function(t){n.d(e,t,(function(){return a[t]}))}(i);n("f35f");var o,s=n("f0c5"),c=Object(s["a"])(a["default"],r["b"],r["c"],!1,null,"54c060f6",null,!1,r["a"],o);e["default"]=c.exports},"92fd":function(t,e,n){var r=n("5a44");"string"===typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals);var a=n("4f06").default;a("4898df4d",r,!0,{sourceMap:!1,shadowMode:!1})},"97fc":function(t,e,n){var r=n("e398");"string"===typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals);var a=n("4f06").default;a("62c4a059",r,!0,{sourceMap:!1,shadowMode:!1})},"9f0b":function(t,e,n){"use strict";var r=n("92fd"),a=n.n(r);a.a},a5d5:function(t,e,n){"use strict";n.r(e);var r=n("2702"),a=n.n(r);for(var i in r)"default"!==i&&function(t){n.d(e,t,(function(){return r[t]}))}(i);e["default"]=a.a},a8a7:function(t,e,n){"use strict";n.d(e,"b",(function(){return a})),n.d(e,"c",(function(){return i})),n.d(e,"a",(function(){return r}));var r={uLoadmore:n("c153").default},a=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("v-uni-view",[t.orderListData.length||"nomore"!==t.loadingStatus?t._e():r("BsEmpty",{staticClass:"empty",attrs:{tips:"暂无售后订单呢~",icon:n("5151")}},[r("ui-button",{attrs:{slot:"btn",type:"line"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.$Router("/")}},slot:"btn"},[t._v("去逛逛")])],1),t._l(t.orderListData,(function(e){return r("v-uni-view",{key:e.refundId,staticClass:"orders",on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.$Router.push("/saleAfterDetail?id="+e.refundId)}}},[r("v-uni-view",{staticClass:"orders--title"},[r("v-uni-text",{staticClass:"orders--name"},[t._v("官方自营")]),r("v-uni-text",{staticClass:"orders--status"},[t._v(t._s(e.refundStatusDesc))])],1),r("v-uni-view",{staticClass:"orders--item"},[r("v-uni-image",{staticClass:"orders--item-image",attrs:{mode:"widthFix",src:e.refundProduct.productImageUrl}}),r("v-uni-view",[r("v-uni-view",{staticClass:"orders--item-con"},[r("v-uni-text",{staticClass:"orders--item-title"},[t._v(t._s(e.refundProduct.productName))]),r("v-uni-text",{staticClass:"orders--item-pirce"},[t._v("¥"+t._s(e.refundProduct.realAmount))])],1),r("v-uni-view",{staticClass:"orders--item-desc"},[r("v-uni-text",[t._v(t._s(e.refundProduct.skuDescribe))]),r("v-uni-text",{staticClass:"orders--item-num"},[t._v("x"+t._s(e.refundProduct.quantity))])],1)],1)],1),r("v-uni-view",{staticClass:"orders--footer"},[r("v-uni-button",{staticClass:"orders--footer-btn"},[t._v("查看详情")])],1)],1)})),t.orderListData.length?r("u-loadmore",{attrs:{status:t.loadingStatus}}):t._e()],2)},i=[]},b867:function(t,e,n){"use strict";var r;n.d(e,"b",(function(){return a})),n.d(e,"c",(function(){return i})),n.d(e,"a",(function(){return r}));var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("v-uni-view",{staticClass:"empty"},[t._t("icon",[n("v-uni-image",{staticClass:"empty--icon",attrs:{src:t.icon,mode:"widthFix"}})]),n("v-uni-view",{staticClass:"empty--tips"},[t._v(t._s(t.tips))]),t._t("btn")],2)},i=[]},be39:function(t,e,n){"use strict";var r=n("97fc"),a=n.n(r);a.a},c0d4:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ApiPutLogisticsInfo=e.ApiGetLogisticsCompanylist=e.ApiGetSaleAfterOrderDetail=e.ApiGetSaleAfterOrderList=e.ApiPostCancelSaleAfter=e.ApiPostEditSaleAfter=e.ApiPostApplySaleAfter=e.ApiGetOrderStatistics=e.ApiPostWxPay=e.ApiPutCancelOrder=e.ApiPostSubmitOrder=e.ApiPutOrderReceive=e.ApiGetOrderLogistics=e.ApiGetOrderProductDetail=e.ApiGetOrderDetail=e.ApiGetBeforeCartOrder=e.ApiGetBeforeOrder=e.ApiGetOrderList=void 0;var r=n("5767"),a="/mall/trade",i=function(t){return(0,r.ToAsyncAwait)(r.MsbRequestTk.get("".concat(a,"/app/tradeOrder/page"),t))};e.ApiGetOrderList=i;var o=function(t){return(0,r.ToAsyncAwait)(r.MsbRequestTk.get("".concat(a,"/app/tradeOrder/buyAdvanceOrder"),t))};e.ApiGetBeforeOrder=o;var s=function(t){return(0,r.ToAsyncAwait)(r.MsbRequestTk.get("".concat(a,"/app/tradeOrder/cartAdvanceOrder"),t))};e.ApiGetBeforeCartOrder=s;var c=function(t){return(0,r.ToAsyncAwait)(r.MsbRequestTk.get("".concat(a,"/app/tradeOrder/").concat(t)))};e.ApiGetOrderDetail=c;var d=function(t){var e=t.orderProductId;return(0,r.ToAsyncAwait)(r.MsbRequestTk.get("".concat(a,"/app/tradeOrder/product/").concat(e)))};e.ApiGetOrderProductDetail=d;var u=function(t){var e=t.orderId;return(0,r.ToAsyncAwait)(r.MsbRequestTk.get("".concat(a,"/app/tradeOrder/logistics/").concat(e)))};e.ApiGetOrderLogistics=u;var f=function(t){return(0,r.ToAsyncAwait)(r.MsbRequestTk.put("".concat(a,"/app/tradeOrder/receive"),t))};e.ApiPutOrderReceive=f;var p=function(t){return(0,r.ToAsyncAwait)(r.MsbRequestTk.post("".concat(a,"/app/tradeOrder/submitOrder"),t))};e.ApiPostSubmitOrder=p;var l=function(t){return(0,r.ToAsyncAwait)(r.MsbRequestTk.post("".concat(a,"/app/tradeOrder/cancel"),t))};e.ApiPutCancelOrder=l;var v=function(t){return(0,r.ToAsyncAwait)(r.MsbRequestTk.get("".concat(a,"/pay/payTest"),t))};e.ApiPostWxPay=v;var b=function(){return(0,r.ToAsyncAwait)(r.MsbRequestTk.get("".concat(a,"/app/tradeOrder/statistics")))};e.ApiGetOrderStatistics=b;var g=function(t){return(0,r.ToAsyncAwait)(r.MsbRequestTk.post("".concat(a,"/app/refundOrder/applyRefund"),t))};e.ApiPostApplySaleAfter=g;var A=function(t){return(0,r.ToAsyncAwait)(r.MsbRequestTk.put("".concat(a,"/app/refundOrder/updateRefund"),t))};e.ApiPostEditSaleAfter=A;var m=function(t){return(0,r.ToAsyncAwait)(r.MsbRequestTk.put("".concat(a,"/app/refundOrder/cancelRefund"),t))};e.ApiPostCancelSaleAfter=m;var h=function(t){return(0,r.ToAsyncAwait)(r.MsbRequestTk.get("".concat(a,"/app/refundOrder/page"),t))};e.ApiGetSaleAfterOrderList=h;var y=function(t){return(0,r.ToAsyncAwait)(r.MsbRequestTk.get("".concat(a,"/app/refundOrder/refundInfo"),t))};e.ApiGetSaleAfterOrderDetail=y;var _=function(t){return(0,r.ToAsyncAwait)(r.MsbRequestTk.get("".concat(a,"/app/refundOrder/logisticsCompany")))};e.ApiGetLogisticsCompanylist=_;var w=function(t){return(0,r.ToAsyncAwait)(r.MsbRequestTk.put("".concat(a,"/app/refundOrder/completeRefund"),t))};e.ApiPutLogisticsInfo=w},db7f:function(t,e,n){"use strict";n.r(e);var r=n("a8a7"),a=n("12b3");for(var i in a)"default"!==i&&function(t){n.d(e,t,(function(){return a[t]}))}(i);n("be39");var o,s=n("f0c5"),c=Object(s["a"])(a["default"],r["b"],r["c"],!1,null,"e8ec1c48",null,!1,r["a"],o);e["default"]=c.exports},e398:function(t,e,n){var r=n("24fb");e=r(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/* 颜色变量 */\n/* 行为相关颜色 */\n/* 文字基本颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 透明度 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 间距 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */uni-page-body[data-v-e8ec1c48]{background:#f8f8f8;overflow:hidden}.empty[data-v-e8ec1c48]{height:100vh}.orders[data-v-e8ec1c48]{background:#fff;padding:%?30?%;margin:%?20?% 0}.orders--title[data-v-e8ec1c48]{display:flex;justify-content:space-between;align-items:center}.orders--name[data-v-e8ec1c48]{font-size:%?32?%;color:#333}.orders--status[data-v-e8ec1c48]{font-size:%?24?%;color:#ff875b}.orders--item[data-v-e8ec1c48]{display:flex;justify-content:space-between;padding:%?30?% 0 0}.orders--item-image[data-v-e8ec1c48]{width:%?180?%;height:%?180?%;margin-right:%?30?%}.orders--item-con[data-v-e8ec1c48]{width:%?510?%;display:flex;justify-content:space-between;font-size:%?28?%;color:#333;line-height:%?39?%}.orders--item-title[data-v-e8ec1c48]{overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}.orders--item-pirce[data-v-e8ec1c48]{font-size:%?22?%;margin-left:%?60?%}.orders--item-desc[data-v-e8ec1c48]{width:%?510?%;font-size:%?24?%;color:#999;margin-top:%?20?%;line-height:%?39?%;display:flex;justify-content:space-between}.orders--item-num[data-v-e8ec1c48]{font-size:%?28?%;margin-left:%?60?%}.orders--total[data-v-e8ec1c48]{font-size:%?24?%;color:#999;display:flex;align-items:center;justify-content:end;margin-top:%?30?%}.orders--total__amount[data-v-e8ec1c48]{font-size:%?28?%;margin-right:%?20?%}.orders--total__pay[data-v-e8ec1c48]{color:#333}.orders--footer[data-v-e8ec1c48]{display:flex;justify-content:end;align-items:center;margin-top:%?30?%}.orders--footer-btn[data-v-e8ec1c48]{height:%?58?%;line-height:%?58?%;border-radius:%?30?%;margin:0 0 0 %?30?%;border:1px solid #333;color:#333;background:none;font-size:%?26?%}.orders--footer-btn__red[data-v-e8ec1c48]{background:linear-gradient(270deg,#ff7f39,#ffa35b);color:#fff;border:0;height:%?60?%;line-height:%?60?%}body.?%PAGE?%[data-v-e8ec1c48]{background:#f8f8f8}',""]),t.exports=e},f35f:function(t,e,n){"use strict";var r=n("5726"),a=n.n(r);a.a},fc54:function(t,e,n){var r=n("24fb");e=r(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/* 颜色变量 */\n/* 行为相关颜色 */\n/* 文字基本颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 透明度 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 间距 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */.empty[data-v-54c060f6]{box-sizing:border-box;padding:%?50?%;text-align:center;background:#fff;margin:%?20?% %?30?%;border-radius:%?16?%}.empty--tips[data-v-54c060f6]{font-size:%?26?%;color:#999;margin:%?30?% 0 %?50?%}.empty--icon[data-v-54c060f6]{width:%?380?%;height:%?240?%}',""]),t.exports=e}}]); |