|
|
(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},"1eb4":function(t,e,n){"use strict";var r=n("b5ee"),a=n.n(r);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},3533: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("UiGoodsInfoMax",{attrs:{data:e.refundProduct},on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.$Router.push("/orderDetail?id="+e.orderId)}}}),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=[]},"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},3795:function(t,e,n){"use strict";n("a9e3"),n("d3b7"),n("ac1f"),n("25f0"),n("1276"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r={props:{money:{type:Number|String,default:"0"},float:{type:Boolean,default:!1},prefix:{type:Boolean,default:!1},suffix:{type:Boolean,default:!1}},computed:{moneyStr:function(){var t="",e=this.moneyArr[0],n=this.moneyArr[1];return t=this.prefix?e:"¥".concat(e),this.suffix||(t+=n?".".concat(n):""),t},moneyArr:function(){var t=(this.money||"0").toString().split(".");return this.float&&(t[1]?t[1]<10&&(t[1]="0".concat(t[1])):t[1]="00"),t}}};e.default=r},"37d9":function(t,e,n){"use strict";var r=n("78b1"),a=n.n(r);a.a},"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=r(n("eb0d")),d={components:{BsEmpty:i.default,UiButton:o.default,UiGoodsInfoMax:c.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=d},"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},"6c85":function(t,e,n){var r=n("b6ed");"string"===typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals);var a=n("4f06").default;a("065f0992",r,!0,{sourceMap:!1,shadowMode:!1})},"78b1":function(t,e,n){var r=n("d4e3");"string"===typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals);var a=n("4f06").default;a("27ed0478",r,!0,{sourceMap:!1,shadowMode:!1})},"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=[]},"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})},"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},af92:function(t,e,n){"use strict";var r=n("6c85"),a=n.n(r);a.a},b5ee:function(t,e,n){var r=n("d158");"string"===typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals);var a=n("4f06").default;a("73b96490",r,!0,{sourceMap:!1,shadowMode:!1})},b6ed: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-ac8c07a2]{background:#f8f8f8;overflow:hidden}body.?%PAGE?%[data-v-ac8c07a2]{background:#f8f8f8}',""]),t.exports=e},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.ApiPutCancelOrder=e.ApiPostSubmitOrder=e.ApiPutOrderReceive=e.ApiGetOrderLogistics=e.ApiGetOrderPaySatus=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/payResult/").concat(e)))};e.ApiGetOrderPaySatus=u;var f=function(t){var e=t.orderId;return(0,r.ToAsyncAwait)(r.MsbRequestTk.get("".concat(a,"/app/tradeOrder/logistics/").concat(e)))};e.ApiGetOrderLogistics=f;var l=function(t){return(0,r.ToAsyncAwait)(r.MsbRequestTk.put("".concat(a,"/app/tradeOrder/receive"),t))};e.ApiPutOrderReceive=l;var p=function(t){return(0,r.ToAsyncAwait)(r.MsbRequestTk.post("".concat(a,"/app/tradeOrder/submitOrder"),t))};e.ApiPostSubmitOrder=p;var v=function(t){return(0,r.ToAsyncAwait)(r.MsbRequestTk.put("".concat(a,"/app/tradeOrder/cancel"),t))};e.ApiPutCancelOrder=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 h=function(t){return(0,r.ToAsyncAwait)(r.MsbRequestTk.put("".concat(a,"/app/refundOrder/cancelRefund"),t))};e.ApiPostCancelSaleAfter=h;var m=function(t){return(0,r.ToAsyncAwait)(r.MsbRequestTk.get("".concat(a,"/app/refundOrder/page"),t))};e.ApiGetSaleAfterOrderList=m;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 O=function(t){return(0,r.ToAsyncAwait)(r.MsbRequestTk.put("".concat(a,"/app/refundOrder/completeRefund"),t))};e.ApiPutLogisticsInfo=O},cc65: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:"ui-money"},[t.prefix?n("v-uni-text",{staticClass:"ui-money--prefix"},[t._v("¥")]):t._e(),n("v-uni-text",{staticClass:"ui-money--price"},[t._v(t._s(t.moneyStr))]),t.float&&t.suffix?n("v-uni-text",{staticClass:"ui-money--suffix"},[t._v("."+t._s(t.moneyArr[1]))]):t._e()],1)},i=[]},d158: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-money[data-v-1939e820]{align-items:center}.ui-money uni-text[data-v-1939e820]{line-height:normal}',""]),t.exports=e},d4e3: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-ac8c07a2]{height:100vh}.orders[data-v-ac8c07a2]{background:#fff;padding:%?30?%;margin:%?20?% 0}.orders--title[data-v-ac8c07a2]{display:flex;justify-content:space-between;align-items:center}.orders--name[data-v-ac8c07a2]{font-size:%?32?%;color:#333}.orders--status[data-v-ac8c07a2]{font-size:%?24?%;color:#ff875b}.orders--item[data-v-ac8c07a2]{display:flex;justify-content:space-between;padding:%?30?% 0 0}.orders--item-image[data-v-ac8c07a2]{width:%?180?%;height:%?180?%;margin-right:%?30?%}.orders--item-con[data-v-ac8c07a2]{width:%?510?%;display:flex;justify-content:space-between;font-size:%?28?%;color:#333;line-height:%?39?%}.orders--item-title[data-v-ac8c07a2]{overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}.orders--item-pirce[data-v-ac8c07a2]{font-size:%?22?%;margin-left:%?60?%}.orders--item-desc[data-v-ac8c07a2]{width:%?510?%;font-size:%?24?%;color:#999;margin-top:%?20?%;line-height:%?39?%;display:flex;justify-content:space-between}.orders--item-num[data-v-ac8c07a2]{font-size:%?28?%;margin-left:%?60?%}.orders--total[data-v-ac8c07a2]{font-size:%?24?%;color:#999;display:flex;align-items:center;justify-content:end;margin-top:%?30?%}.orders--total__amount[data-v-ac8c07a2]{font-size:%?28?%;margin-right:%?20?%}.orders--total__pay[data-v-ac8c07a2]{color:#333}.orders--footer[data-v-ac8c07a2]{display:flex;justify-content:flex-end;align-items:center;margin-top:%?30?%}.orders--footer-btn[data-v-ac8c07a2]{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-ac8c07a2]{background:linear-gradient(270deg,#ff7f39,#ffa35b);color:#fff;border:0;height:%?60?%;line-height:%?60?%}',""]),t.exports=e},d4fb:function(t,e,n){"use strict";n.r(e);var r=n("3795"),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},db7f:function(t,e,n){"use strict";n.r(e);var r=n("3533"),a=n("12b3");for(var i in a)"default"!==i&&function(t){n.d(e,t,(function(){return a[t]}))}(i);n("af92"),n("37d9");var o,s=n("f0c5"),c=Object(s["a"])(a["default"],r["b"],r["c"],!1,null,"ac8c07a2",null,!1,r["a"],o);e["default"]=c.exports},dd25:function(t,e,n){"use strict";n.r(e);var r=n("cc65"),a=n("d4fb");for(var i in a)"default"!==i&&function(t){n.d(e,t,(function(){return a[t]}))}(i);n("1eb4");var o,s=n("f0c5"),c=Object(s["a"])(a["default"],r["b"],r["c"],!1,null,"1939e820",null,!1,r["a"],o);e["default"]=c.exports}}]); |