|
|
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-order-saleAfter-saleAfterList"],{"12b3":function(t,e,a){"use strict";a.r(e);var n=a("4fb4"),r=a.n(n);for(var i in n)"default"!==i&&function(t){a.d(e,t,(function(){return n[t]}))}(i);e["default"]=r.a},"480d":function(t,e,a){var n=a("a09b");"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var r=a("4f06").default;r("177984d5",n,!0,{sourceMap:!1,shadowMode:!1})},"4fb4":function(t,e,a){"use strict";var n=a("4ea4");a("99af"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,a("96cf");var r=n(a("1da1")),i=n(a("8832")),s=n(a("359f")),o=(a("42b5"),a("c0d4")),d={components:{BsEmpty:i.default,UiButton:s.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,r.default)(regeneratorRuntime.mark((function e(){var a,n,r;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t.loadingStatus="loading",e.next=3,(0,o.ApiGetSaleAfterOrderList)({length:t.pageSize,pageIndex:t.pageIndex});case 3:if(a=e.sent,n=a.error,r=a.result,!n){e.next=9;break}return uni.$u.toast(n.message),e.abrupt("return",!1);case 9:r.records.length<t.pageSize&&(t.loadingStatus="nomore"),t.orderListData=t.orderListData.concat(r.records);case 11:case"end":return e.stop()}}),e)})))()},next:function(){if("nomore"===this.loadingStatus)return!1;this.pageIndex++,this.getOrderList()}}};e.default=d},"54d3":function(t,e,a){"use strict";a.d(e,"b",(function(){return r})),a.d(e,"c",(function(){return i})),a.d(e,"a",(function(){return n}));var n={uLoadmore:a("c153").default},r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("v-uni-view",[t.orderListData.length||"nomore"!==t.loadingStatus?t._e():n("BsEmpty",{staticClass:"empty",attrs:{tips:"暂无售后订单呢~",icon:a("5151")}},[n("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 n("v-uni-view",{key:e.refundId,staticClass:"orders",on:{click:function(a){arguments[0]=a=t.$handleEvent(a),t.$Router.push("/saleAfterDetail?id="+e.refundId)}}},[n("v-uni-view",{staticClass:"orders--title"},[n("v-uni-text",{staticClass:"orders--name"},[t._v("官方自营")]),n("v-uni-text",{staticClass:"orders--status"},[t._v(t._s(e.refundStatusDesc))])],1),n("v-uni-view",{staticClass:"orders--item"},[n("v-uni-image",{staticClass:"orders--item-image",attrs:{mode:"widthFix",src:e.refundProduct.productImageUrl}}),n("v-uni-view",[n("v-uni-view",{staticClass:"orders--item-con"},[n("v-uni-text",{staticClass:"orders--item-title"},[t._v(t._s(e.refundProduct.productName))]),n("v-uni-text",{staticClass:"orders--item-pirce"},[t._v("¥"+t._s(e.refundProduct.realAmount))])],1),n("v-uni-view",{staticClass:"orders--item-desc"},[n("v-uni-text",[t._v(t._s(e.refundProduct.skuDescribe))]),n("v-uni-text",{staticClass:"orders--item-num"},[t._v("x"+t._s(e.refundProduct.quantity))])],1)],1)],1),n("v-uni-view",{staticClass:"orders--footer"},[n("v-uni-button",{staticClass:"orders--footer-btn"},[t._v("查看详情")])],1)],1)})),t.orderListData.length?n("u-loadmore",{attrs:{status:t.loadingStatus}}):t._e()],2)},i=[]},"8f16":function(t,e,a){"use strict";var n=a("480d"),r=a.n(n);r.a},a09b:function(t,e,a){var n=a("24fb");e=n(!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-8a026240]{background:#f8f8f8;overflow:hidden}.empty[data-v-8a026240]{height:100vh}.orders[data-v-8a026240]{background:#fff;padding:%?30?%;margin:%?20?% 0}.orders--title[data-v-8a026240]{display:flex;justify-content:space-between;align-items:center}.orders--name[data-v-8a026240]{font-size:%?32?%;color:#333}.orders--status[data-v-8a026240]{font-size:%?24?%;color:#ff875b}.orders--item[data-v-8a026240]{display:flex;justify-content:space-between;padding:%?30?% 0 0}.orders--item-image[data-v-8a026240]{width:%?180?%;height:%?180?%;margin-right:%?30?%}.orders--item-con[data-v-8a026240]{width:%?510?%;display:flex;justify-content:space-between;font-size:%?28?%;color:#333;line-height:%?39?%}.orders--item-title[data-v-8a026240]{overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}.orders--item-pirce[data-v-8a026240]{font-size:%?22?%;margin-left:%?60?%}.orders--item-desc[data-v-8a026240]{width:%?510?%;font-size:%?24?%;color:#999;margin-top:%?20?%;line-height:%?39?%;display:flex;justify-content:space-between}.orders--item-num[data-v-8a026240]{font-size:%?28?%;margin-left:%?60?%}.orders--total[data-v-8a026240]{font-size:%?24?%;color:#999;display:flex;align-items:center;justify-content:end;margin-top:%?30?%}.orders--total__amount[data-v-8a026240]{font-size:%?28?%;margin-right:%?20?%}.orders--total__pay[data-v-8a026240]{color:#333}.orders--footer[data-v-8a026240]{display:flex;justify-content:end;align-items:center;margin-top:%?30?%}.orders--footer-btn[data-v-8a026240]{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-8a026240]{background:linear-gradient(270deg,#ff7f39,#ffa35b);color:#fff;border:0;height:%?60?%;line-height:%?60?%}body.?%PAGE?%[data-v-8a026240]{background:#f8f8f8}',""]),t.exports=e},db7f:function(t,e,a){"use strict";a.r(e);var n=a("54d3"),r=a("12b3");for(var i in r)"default"!==i&&function(t){a.d(e,t,(function(){return r[t]}))}(i);a("8f16");var s,o=a("f0c5"),d=Object(o["a"])(r["default"],n["b"],n["c"],!1,null,"8a026240",null,!1,n["a"],s);e["default"]=d.exports}}]); |