1 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-users-refund-list"],{"1b85":function(t,e,n){"use strict";var i=n("ea4b"),o=n.n(i);o.a},"1cc3":function(t,e,n){var i=n("24fb");e=i(!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/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */.refund-list .tab-box[data-v-9645e2d0]{z-index:50;position:fixed;left:0;top:0;width:100%;display:-webkit-box;display:-webkit-flex;display:flex}.refund-list .tab-box .item[data-v-9645e2d0]{-webkit-box-flex:1;-webkit-flex:1;flex:1;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;align-items:center;height:%?90?%;background-color:#fff;border-bottom:1px solid transparent}.refund-list .tab-box .item.active[data-v-9645e2d0]{color:#e93323;border-color:#e93323}.refund-list .goods-wrapper[data-v-9645e2d0]{margin-top:%?102?%}.refund-list .info-box[data-v-9645e2d0]{position:relative;margin-top:%?12?%;background-color:#fff}.refund-list .info-box .title[data-v-9645e2d0]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;padding:0 %?32?%;height:%?86?%;border-bottom:1px solid #f0f0f0;color:#282828}.refund-list .info-box .title .icon-shangjiadingdan[data-v-9645e2d0]{font-size:%?32?%}.refund-list .info-box .title .txt[data-v-9645e2d0]{margin:0 %?5?%}.refund-list .info-box .title .icon-xiangyou[data-v-9645e2d0]{color:#999;font-size:%?20?%;margin-top:%?6?%}.refund-list .info-box .product-box .product-item[data-v-9645e2d0]{display:-webkit-box;display:-webkit-flex;display:flex;padding:%?25?% %?30?%}.refund-list .info-box .product-box .product-item .img-box[data-v-9645e2d0]{width:%?130?%;height:%?130?%;-webkit-border-radius:%?16?%;border-radius:%?16?%}.refund-list .info-box .product-box .product-item .msg[data-v-9645e2d0]{position:relative;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;-webkit-box-pack:justify;-webkit-justify-content:space-between;justify-content:space-between;width:%?440?%;margin-left:%?26?%}.refund-list .info-box .product-box .product-item .msg .name[data-v-9645e2d0]{font-size:%?28?%;color:#282828}.refund-list .info-box .product-box .product-item .msg .des[data-v-9645e2d0]{font-size:%?20?%;color:#868686}.refund-list .info-box .product-box .product-item .msg .price[data-v-9645e2d0]{font-size:%?26?%}.refund-list .info-box .product-box .product-item .msg .num[data-v-9645e2d0]{position:absolute;right:%?-80?%;top:%?4?%;color:#868686;font-size:%?26?%}.refund-list .info-box .product-box .event_name[data-v-9645e2d0]{display:inline-block;margin-right:%?9?%;color:#fff;font-size:%?20?%;padding:0 %?8?%;line-height:%?30?%;text-align:center;-webkit-border-radius:%?6?%;border-radius:%?6?%}.refund-list .info-box .btn-box[data-v-9645e2d0]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:end;-webkit-justify-content:flex-end;justify-content:flex-end;padding:0 %?20?% %?20?%}.refund-list .info-box .btn-box .btn[data-v-9645e2d0]{width:%?176?%;height:%?60?%;line-height:%?60?%;margin-left:%?18?%;text-align:center;background:#e93323;-webkit-border-radius:%?30?%;border-radius:%?30?%;color:#fff;font-size:%?27?%}.refund-list .info-box .btn-box .btn.gray[data-v-9645e2d0]{border:1px solid #ddd;background:transparent;color:#aaa}.refund-list .info-box .status[data-v-9645e2d0]{position:absolute;right:%?30?%;top:0}.refund-list .info-box .status .iconfont[data-v-9645e2d0]{font-size:%?120?%;opacity:.3}.refund-list .info-box .status .red-color[data-v-9645e2d0]{color:#e93323}.event_bg[data-v-9645e2d0]{background:#ff7f00}',""]),t.exports=e},"26ae":function(t,e,n){"use strict";n.r(e);var i=n("93b4"),o=n.n(i);for(var r in i)"default"!==r&&function(t){n.d(e,t,(function(){return i[t]}))}(r);e["default"]=o.a},"5c27":function(t,e,n){"use strict";var i;n.d(e,"b",(function(){return o})),n.d(e,"c",(function(){return r})),n.d(e,"a",(function(){return i}));var o=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("v-uni-view",{staticClass:"refund-list"},[n("v-uni-view",{staticClass:"tab-box"},t._l(t.tabList,(function(e,i){return n("v-uni-view",{key:i,staticClass:"item",class:{active:i==t.tabIndex},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.bindTab(i)}}},[t._v(t._s(e.title))])})),1),n("v-uni-view",{staticClass:"goods-wrapper"},t._l(t.goodsList,(function(e,i){return n("v-uni-view",{key:i,staticClass:"info-box"},[n("v-uni-view",{staticClass:"title",on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.goStore(e)}}},[n("v-uni-text",{staticClass:"iconfont icon-shangjiadingdan"}),n("v-uni-text",{staticClass:"txt"},[t._v(t._s(e.merchant.mer_name))]),n("v-uni-text",{staticClass:"iconfont icon-xiangyou"})],1),n("v-uni-view",{staticClass:"product-box"},t._l(e.refundProduct,(function(i){return n("v-uni-view",{key:i.order_product_id,staticClass:"product-item"},[n("v-uni-image",{staticClass:"img-box",attrs:{src:i.product.cart_info.product.image,mode:""}}),n("v-uni-view",{staticClass:"msg"},[n("v-uni-view",{staticClass:"name line1"},[2===i.product.cart_info.product_type?n("v-uni-text",{staticClass:"event_name event_bg"},[t._v("预售")]):t._e(),t._v(t._s(i.product.cart_info.product.store_name))],1),n("v-uni-view",{staticClass:"des"},[t._v(t._s(i.product.cart_info.productAttr.sku))]),n("v-uni-view",{staticClass:"price"},[t._v("退款:"+t._s(e.refund_price))]),n("v-uni-view",{staticClass:"num"},[t._v("x "+t._s(i.product.product_num))])],1)],1)})),1),1==e.status?n("v-uni-view",{staticClass:"btn-box"},[n("v-uni-view",{staticClass:"btn gray",on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.goDetail(e)}}},[t._v("查看详情")]),n("v-uni-view",{staticClass:"btn",on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.goPage(e.refund_order_id)}}},[t._v("退回商品")])],1):-1==e.status?n("v-uni-view",{staticClass:"btn-box"},[n("v-uni-view",{staticClass:"btn gray",on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.goDetail(e)}}},[t._v("查看详情")]),n("v-uni-view",{staticClass:"btn",on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.applyAgain(e)}}},[t._v("再次申请")])],1):n("v-uni-view",{staticClass:"btn-box"},[3==e.status?n("v-uni-view",{staticClass:"btn gray",on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.bindDetele(e,i)}}},[t._v("删除记录")]):t._e(),n("v-uni-view",{staticClass:"btn",on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.goDetail(e)}}},[t._v("查看详情")])],1),n("v-uni-view",{staticClass:"status"},[0==e.status?[n("v-uni-text",{staticClass:"iconfont icon-shenhezhong1 red-color"})]:t._e(),1==e.status?[n("v-uni-text",{staticClass:"iconfont icon-daituihuo"})]:t._e(),2==e.status?[n("v-uni-text",{staticClass:"iconfont icon-tuihuozhong"})]:t._e(),3==e.status?[n("v-uni-text",{staticClass:"iconfont icon-yituikuan"})]:t._e(),-1==e.status?[n("v-uni-text",{staticClass:"iconfont icon-yijujue1"})]:t._e()],2)],1)})),1)],1)},r=[]},"7d4f":function(t,e,n){"use strict";var i=n("4ea4");Object.defineProperty(e,"__esModule",{value:!0}),e.getCartCounts=r,e.getCartList=a,e.changeCartNum=u,e.cartDel=s,e.getOrderList=d,e.orderProduct=c,e.orderComment=l,e.orderPay=f,e.orderData=p,e.unOrderCancel=b,e.orderDel=g,e.getOrderDetail=v,e.groupOrderDetail=x,e.getPayOrder=h,e.orderAgain=m,e.orderTake=_,e.express=w,e.ordeRefundReason=k,e.orderRefundVerify=y,e.orderConfirm=C,e.getCouponsOrderPrice=A,e.postOrderComputed=L,e.orderCreate=D,e.groupOrderList=j,e.refundBatch=O,e.refundProduct=z,e.refundApply=P,e.refundMessage=$,e.refundList=E,e.refundDetail=T,e.expressList=R,e.refundBackGoods=M,e.refundDel=S,e.refundExpress=B,e.verifyCode=I,e.presellOrderPay=J,e.receiptOrder=U,e.getReceiptOrder=F,e.getCallBackUrlApi=G;var o=i(n("112d"));function r(){return o.default.get("user/cart/count")}function a(){return o.default.get("user/cart/lst")}function u(t,e){return o.default.post("user/cart/change/"+t,e)}function s(t){return o.default.post("user/cart/delete",t)}function d(t){return o.default.get("order/list",t)}function c(t){return o.default.get("reply/product/"+t)}function l(t,e){return o.default.post("reply/"+t,e)}function f(t,e){return o.default.post("order/pay/"+t,e)}function p(){return o.default.get("order/number")}function b(t){return o.default.post("order/cancel/"+t)}function g(t){return o.default.post("order/del/"+t)}function v(t){return o.default.get("order/detail/"+t)}function x(t){return o.default.get("order/group_order_detail/"+t)}function h(t){return o.default.get("order/status/"+t)}function m(t){return o.default.post("user/cart/again",t)}function _(t){return o.default.post("order/take/"+t)}function w(t){return o.default.post("order/express/"+t)}function k(){return o.default.get("order/refund/reason")}function y(t){return o.default.post("order/refund/verify",t)}function C(t){return o.default.post("order/check",t)}function A(t,e){return o.default.get("coupons/order/"+t,e)}function L(t,e){return o.default.post("/order/computed/"+t,e)}function D(t){return o.default.post("order/create",t,{noAuth:!0})}function j(t){return o.default.get("order/group_order_list",t,{noAuth:!0})}function O(t){return o.default.get("refund/batch_product/"+t,{noAuth:!0})}function z(t,e){return o.default.get("refund/product/"+t,e,{noAuth:!0})}function P(t,e){return o.default.post("refund/apply/"+t,e,{noAuth:!0})}function $(){return o.default.get("common/refund_message",{noAuth:!0})}function E(t){return o.default.get("refund/list",t,{noAuth:!0})}function T(t){return o.default.get("refund/detail/"+t,{noAuth:!0})}function R(){return o.default.get("common/express")}function M(t,e){return o.default.post("refund/back_goods/"+t,e,{noAuth:!0})}function S(t){return o.default.post("refund/del/"+t,{noAuth:!0})}function B(t){return o.default.get("refund/express/"+t,{noAuth:!0})}function I(t){return o.default.get("order/verify_code/"+t)}function J(t,e){return o.default.post("presell/pay/"+t,e)}function U(t){return o.default.get("user/receipt/order",t)}function F(t){return o.default.get("user/receipt/order/"+t)}function G(t){return o.default.get("common/pay_key/"+t,{},{noAuth:!0})}},"93b4":function(t,e,n){"use strict";n("99af"),n("a434"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n("7d4f"),o=getApp(),r={data:function(){return{tabIndex:0,tabList:[{title:"全部"},{title:"处理中"},{title:"已处理"}],goodsList:[],isScroll:!0,page:1,limit:15,hide_mer_status:o.globalData.hide_mer_status}},onLoad:function(){this.getList()},onReady:function(){var t=this;uni.$on("update",(function(e){t.hide_mer_status=e.hide_mer_status}))},mounted:function(){var t=this,e=getApp();this.$nextTick((function(){t.hide_mer_status=e.globalData.hide_mer_status}))},methods:{goStore:function(t){0==this.hide_mer_status&&uni.navigateTo({url:"/pages/store/home/index?id=".concat(t.merchant.mer_id)})},goPage:function(t){uni.navigateTo({url:"/pages/users/refund/goods/index?id="+t})},applyAgain:function(t){uni.navigateTo({url:"/pages/order_details/index?order_id=".concat(t.refundProduct[0].product.order_id)})},bindTab:function(t){this.tabIndex=t,this.page=1,this.isScroll=!0,this.goodsList=[],this.getList()},getList:function(){var t=this;this.isScroll&&(0,i.refundList)({type:this.tabIndex,page:this.page,limit:this.limit}).then((function(e){var n=e.data;t.isScroll=n.list.length>=t.limit,t.goodsList=t.goodsList.concat(n.list),t.page+=1}))},goDetail:function(t){uni.navigateTo({url:"/pages/users/refund/detail?id="+t.refund_order_id})},bindDetele:function(t,e){var n=this;uni.showModal({title:"提示",content:"确定删除该记录吗?",success:function(o){o.confirm?((0,i.refundDel)(t.refund_order_id).then((function(t){n.goodsList.splice(e,1)})),uni.showToast({title:"删除成功",icon:"none"})):o.cancel}})}},onReachBottom:function(){this.getList()}};e.default=r},"9c9e":function(t,e,n){"use strict";n.r(e);var i=n("5c27"),o=n("26ae");for(var r in o)"default"!==r&&function(t){n.d(e,t,(function(){return o[t]}))}(r);n("1b85");var a,u=n("f0c5"),s=Object(u["a"])(o["default"],i["b"],i["c"],!1,null,"9645e2d0",null,!1,i["a"],a);e["default"]=s.exports},ea4b:function(t,e,n){var i=n("1cc3");"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var o=n("4f06").default;o("da16e33e",i,!0,{sourceMap:!1,shadowMode:!1})}}]);
|