pages-users-refund-index.65b4a84c.js 8.8 KB

1
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-users-refund-index"],{"08bc":function(e,t,r){var n=r("24fb");t=n(!1),t.push([e.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-wrapper[data-v-1891a377]{background-color:#fff}.refund-wrapper .item[data-v-1891a377]{position:relative;display:-webkit-box;display:-webkit-flex;display:flex;padding:%?25?% %?30?%}.refund-wrapper .item[data-v-1891a377]:after{content:" ";position:absolute;right:0;bottom:0;width:%?657?%;height:1px;background:#f0f0f0}.refund-wrapper .item .img-box[data-v-1891a377]{width:%?130?%;height:%?130?%}.refund-wrapper .item .img-box uni-image[data-v-1891a377]{width:%?130?%;height:%?130?%;-webkit-border-radius:%?16?%;border-radius:%?16?%}.refund-wrapper .item .info[data-v-1891a377]{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-wrapper .item .info .tips[data-v-1891a377]{color:#868686;font-size:%?20?%}.refund-wrapper .item .info .price[data-v-1891a377]{font-size:%?26?%}.refund-wrapper .item .check-box[data-v-1891a377]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-flex:1;-webkit-flex:1;flex:1}.refund-wrapper .item .check-box .iconfont[data-v-1891a377]{font-size:%?40?%;color:#ccc}.refund-wrapper .item .check-box .icon-xuanzhong1[data-v-1891a377]{color:#e93323}.refund-wrapper .btn-box[data-v-1891a377]{position:fixed;left:50%;bottom:%?60?%;width:%?690?%;height:%?86?%;-webkit-transform:translateX(-50%);transform:translateX(-50%);line-height:%?86?%;text-align:center;color:#fff;background:#e93323;-webkit-border-radius:%?43?%;border-radius:%?43?%;font-size:%?32?%}',""]),e.exports=t},"2abb":function(e,t,r){"use strict";r.r(t);var n=r("8690"),i=r("5059");for(var u in i)"default"!==u&&function(e){r.d(t,e,(function(){return i[e]}))}(u);r("9788");var o,a=r("f0c5"),d=Object(a["a"])(i["default"],n["b"],n["c"],!1,null,"1891a377",null,!1,n["a"],o);t["default"]=d.exports},"2cfd":function(e,t,r){"use strict";r("4de4"),r("4160"),r("a15b"),r("d81d"),r("159b"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r("7d4f"),i={data:function(){return{order_id:"",refund_type:2,type:2,orderDetail:[],activeId:[]}},onLoad:function(e){this.order_id=e.order_id,this.refund_type=e.refund_type,this.type=e.type,this.getList()},methods:{getList:function(){var e=this;(0,n.refundBatch)(this.order_id).then((function(t){var r=t.data;r.forEach((function(e){e.check=!1})),e.orderDetail=r})).catch((function(t){e.$util.Tips({title:t},{tab:3})}))},bindCheck:function(e){e.check=!e.check,this.arrFilter()},arrFilter:function(){var e=this,t=this.orderDetail.filter((function(e){return 1==e.check}));this.activeId=[],t.map((function(t){e.activeId.push(t.order_product_id)}))},confirm:function(){0==this.activeId.length?uni.showToast({title:"请选择商品",icon:"none"}):uni.navigateTo({url:"/pages/users/refund/confirm?ids="+this.activeId.join(",")+"&refund_type="+this.refund_type+"&type="+this.type+"&order_id="+this.order_id})}}};t.default=i},5059:function(e,t,r){"use strict";r.r(t);var n=r("2cfd"),i=r.n(n);for(var u in n)"default"!==u&&function(e){r.d(t,e,(function(){return n[e]}))}(u);t["default"]=i.a},"7d4f":function(e,t,r){"use strict";var n=r("4ea4");Object.defineProperty(t,"__esModule",{value:!0}),t.getCartCounts=u,t.getCartList=o,t.changeCartNum=a,t.cartDel=d,t.getOrderList=c,t.orderProduct=f,t.orderComment=s,t.orderPay=l,t.orderData=p,t.unOrderCancel=h,t.orderDel=v,t.getOrderDetail=b,t.groupOrderDetail=g,t.getPayOrder=w,t.orderAgain=m,t.orderTake=k,t.express=x,t.ordeRefundReason=y,t.orderRefundVerify=_,t.orderConfirm=C,t.getCouponsOrderPrice=A,t.postOrderComputed=O,t.orderCreate=D,t.groupOrderList=j,t.refundBatch=L,t.refundProduct=P,t.refundApply=z,t.refundMessage=B,t.refundList=E,t.refundDetail=I,t.expressList=M,t.refundBackGoods=R,t.refundDel=T,t.refundExpress=$,t.verifyCode=F,t.presellOrderPay=J,t.receiptOrder=U,t.getReceiptOrder=X,t.getCallBackUrlApi=G;var i=n(r("112d"));function u(){return i.default.get("user/cart/count")}function o(){return i.default.get("user/cart/lst")}function a(e,t){return i.default.post("user/cart/change/"+e,t)}function d(e){return i.default.post("user/cart/delete",e)}function c(e){return i.default.get("order/list",e)}function f(e){return i.default.get("reply/product/"+e)}function s(e,t){return i.default.post("reply/"+e,t)}function l(e,t){return i.default.post("order/pay/"+e,t)}function p(){return i.default.get("order/number")}function h(e){return i.default.post("order/cancel/"+e)}function v(e){return i.default.post("order/del/"+e)}function b(e){return i.default.get("order/detail/"+e)}function g(e){return i.default.get("order/group_order_detail/"+e)}function w(e){return i.default.get("order/status/"+e)}function m(e){return i.default.post("user/cart/again",e)}function k(e){return i.default.post("order/take/"+e)}function x(e){return i.default.post("order/express/"+e)}function y(){return i.default.get("order/refund/reason")}function _(e){return i.default.post("order/refund/verify",e)}function C(e){return i.default.post("order/check",e)}function A(e,t){return i.default.get("coupons/order/"+e,t)}function O(e,t){return i.default.post("/order/computed/"+e,t)}function D(e){return i.default.post("order/create",e,{noAuth:!0})}function j(e){return i.default.get("order/group_order_list",e,{noAuth:!0})}function L(e){return i.default.get("refund/batch_product/"+e,{noAuth:!0})}function P(e,t){return i.default.get("refund/product/"+e,t,{noAuth:!0})}function z(e,t){return i.default.post("refund/apply/"+e,t,{noAuth:!0})}function B(){return i.default.get("common/refund_message",{noAuth:!0})}function E(e){return i.default.get("refund/list",e,{noAuth:!0})}function I(e){return i.default.get("refund/detail/"+e,{noAuth:!0})}function M(){return i.default.get("common/express")}function R(e,t){return i.default.post("refund/back_goods/"+e,t,{noAuth:!0})}function T(e){return i.default.post("refund/del/"+e,{noAuth:!0})}function $(e){return i.default.get("refund/express/"+e,{noAuth:!0})}function F(e){return i.default.get("order/verify_code/"+e)}function J(e,t){return i.default.post("presell/pay/"+e,t)}function U(e){return i.default.get("user/receipt/order",e)}function X(e){return i.default.get("user/receipt/order/"+e)}function G(e){return i.default.get("common/pay_key/"+e,{},{noAuth:!0})}},8690:function(e,t,r){"use strict";var n;r.d(t,"b",(function(){return i})),r.d(t,"c",(function(){return u})),r.d(t,"a",(function(){return n}));var i=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("v-uni-view",{staticClass:"refund-wrapper"},[e._l(e.orderDetail,(function(t){return r("v-uni-view",{staticClass:"item"},[r("v-uni-view",{staticClass:"img-box"},[r("v-uni-image",{attrs:{src:t.cart_info.product.image}})],1),r("v-uni-view",{staticClass:"info"},[r("v-uni-view",{staticClass:"name line1"},[e._v(e._s(t.cart_info.product.store_name))]),r("v-uni-view",{staticClass:"tips"},[e._v(e._s(t.cart_info.productAttr.sku))]),r("v-uni-view",{staticClass:"price"},[e._v("¥"+e._s(t.cart_info.productAttr.price)+" ×"+e._s(t.refund_num))])],1),r("v-uni-view",{staticClass:"check-box",on:{click:function(r){arguments[0]=r=e.$handleEvent(r),e.bindCheck(t)}}},[t.check?r("v-uni-view",{staticClass:"iconfont icon-xuanzhong1"}):r("v-uni-view",{staticClass:"iconfont icon-weixuanzhong"})],1)],1)})),r("v-uni-view",{staticClass:"btn-box",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.confirm.apply(void 0,arguments)}}},[e._v("申请退款")])],2)},u=[]},9788:function(e,t,r){"use strict";var n=r("f5cd"),i=r.n(n);i.a},f5cd:function(e,t,r){var n=r("08bc");"string"===typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);var i=r("4f06").default;i("d5a06bee",n,!0,{sourceMap:!1,shadowMode:!1})}}]);