1 line
9.1 KiB
JavaScript
1 line
9.1 KiB
JavaScript
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-users-refund-index"],{"10b3":function(e,t,r){var n=r("c86c");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-737e1b81]{background-color:#fff;padding-bottom:%?150?%}.refund-wrapper .item[data-v-737e1b81]{position:relative;display:flex;padding:%?25?% %?30?%}.refund-wrapper .item[data-v-737e1b81]:after{content:" ";position:absolute;right:0;bottom:0;width:%?657?%;height:1px;background:#f0f0f0}.refund-wrapper .item .img-box[data-v-737e1b81]{width:%?130?%;height:%?130?%}.refund-wrapper .item .img-box uni-image[data-v-737e1b81]{width:%?130?%;height:%?130?%;border-radius:%?16?%}.refund-wrapper .item .info[data-v-737e1b81]{display:flex;flex-direction:column;justify-content:space-between;width:%?500?%;margin-left:%?26?%}.refund-wrapper .item .info .tips[data-v-737e1b81]{color:#868686;font-size:%?20?%}.refund-wrapper .item .info .price[data-v-737e1b81]{font-size:%?26?%}.refund-wrapper .item .check-box[data-v-737e1b81]{display:flex;align-items:center;justify-content:center;flex:1}.refund-wrapper .item .check-box .iconfont[data-v-737e1b81]{font-size:%?40?%;color:#ccc}.refund-wrapper .item .check-box .icon-xuanzhong1[data-v-737e1b81]{color:var(--view-theme)}.refund-wrapper .btn-box[data-v-737e1b81]{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:var(--view-theme);border-radius:%?43?%;font-size:%?32?%}',""]),e.exports=t},"37aa":function(e,t,r){"use strict";var n=r("f9ab"),u=r.n(n);u.a},5676:function(e,t,r){"use strict";r("6a54");var n=r("f5bd").default;Object.defineProperty(t,"__esModule",{value:!0}),t.applyInvoiceApi=function(e,t){return u.default.post("order/receipt/".concat(e),t)},t.cartDel=function(e){return u.default.post("user/cart/delete",e)},t.cartProductAttr=function(e){return u.default.get("store/product/get_attr_value/".concat(e))},t.changeCartNum=function(e,t){return u.default.post("user/cart/change/"+e,t)},t.createOrder=function(e){return u.default.post("v2/order/create",e,{noAuth:!0})},t.develiveryDetail=function(e){return u.default.get("order/delivery/".concat(e))},t.express=function(e){return u.default.post("order/express/"+e)},t.expressList=function(){return u.default.get("common/express")},t.getCallBackUrlApi=function(e){return u.default.get("common/pay_key/"+e,{},{noAuth:!0})},t.getCartCounts=function(){return u.default.get("user/cart/count")},t.getCartList=function(){return u.default.get("user/cart/lst")},t.getCouponsOrderPrice=function(e,t){return u.default.get("coupons/order/"+e,t)},t.getOrderConfirm=function(e){return u.default.post("v2/order/check",e)},t.getOrderDetail=function(e){return u.default.get("order/detail/"+e)},t.getOrderList=function(e){return u.default.get("order/list",e)},t.getPayOrder=function(e){return u.default.get("order/status/"+e)},t.getReceiptOrder=function(e){return u.default.get("user/receipt/order/"+e)},t.groupOrderDetail=function(e){return u.default.get("order/group_order_detail/"+e)},t.groupOrderList=function(e){return u.default.get("order/group_order_list",e,{noAuth:!0})},t.integralOrderPay=function(e,t){return u.default.post("order/points/pay/"+e,t)},t.ordeRefundReason=function(){return u.default.get("order/refund/reason")},t.orderAgain=function(e){return u.default.post("user/cart/again",e)},t.orderComment=function(e,t){return u.default.post("reply/"+e,t)},t.orderConfirm=function(e){return u.default.post("order/check",e)},t.orderCreate=function(e){return u.default.post("order/create",e,{noAuth:!0})},t.orderData=function(){return u.default.get("order/number")},t.orderDel=function(e){return u.default.post("order/del/"+e)},t.orderPay=function(e,t){return u.default.post("order/pay/"+e,t)},t.orderProduct=function(e){return u.default.get("reply/product/"+e)},t.orderRefundVerify=function(e){return u.default.post("order/refund/verify",e)},t.orderTake=function(e){return u.default.post("order/take/"+e)},t.postOrderComputed=function(e,t){return u.default.post("/order/computed/"+e,t)},t.presellOrderPay=function(e,t){return u.default.post("presell/pay/"+e,t)},t.receiptOrder=function(e){return u.default.get("user/receipt/order",e)},t.refundApply=function(e,t){return u.default.post("refund/apply/"+e,t,{noAuth:!0})},t.refundBackGoods=function(e,t){return u.default.post("refund/back_goods/"+e,t,{noAuth:!0})},t.refundBatch=function(e){return u.default.get("refund/batch_product/"+e,{noAuth:!0})},t.refundCancelApi=function(e){return u.default.post("refund/cancel/".concat(e))},t.refundDel=function(e){return u.default.post("refund/del/"+e,{noAuth:!0})},t.refundDetail=function(e){return u.default.get("refund/detail/"+e,{noAuth:!0})},t.refundExpress=function(e){return u.default.get("refund/express/"+e,{noAuth:!0})},t.refundList=function(e){return u.default.get("refund/list",e,{noAuth:!0})},t.refundMessage=function(){return u.default.get("common/refund_message",{noAuth:!0})},t.refundOrderExpress=function(e,t){return u.default.get("server/".concat(e,"/refund/express/").concat(t))},t.refundProduct=function(e,t){return u.default.get("refund/product/"+e,t,{noAuth:!0})},t.unOrderCancel=function(e){return u.default.post("order/cancel/"+e)},t.verifyCode=function(e){return u.default.get("order/verify_code/"+e)},r("c223");var u=n(r("fea3"))},"60a4":function(e,t,r){"use strict";r.d(t,"b",(function(){return n})),r.d(t,"c",(function(){return u})),r.d(t,"a",(function(){}));var n=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("v-uni-view",{staticClass:"refund-wrapper",style:e.viewColor},[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=[]},"93df":function(e,t,r){"use strict";r.r(t);var n=r("60a4"),u=r("fbe4");for(var o in u)["default"].indexOf(o)<0&&function(e){r.d(t,e,(function(){return u[e]}))}(o);r("37aa");var i=r("828b"),a=Object(i["a"])(u["default"],n["b"],n["c"],!1,null,"737e1b81",null,!1,n["a"],void 0);t["default"]=a.exports},d476:function(e,t,r){"use strict";r("6a54"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r("bf0f"),r("2797"),r("8f71"),r("fd3c"),r("aa9c");var n=r("5676"),u=r("8f59"),o={computed:(0,u.mapGetters)(["viewColor"]),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.redirectTo({url:"/pages/users/refund/confirm?ids="+this.activeId.join(",")+"&refund_type="+this.refund_type+"&type="+this.type+"&order_id="+this.order_id})}}};t.default=o},f9ab:function(e,t,r){var n=r("10b3");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);var u=r("967d").default;u("5d914728",n,!0,{sourceMap:!1,shadowMode:!1})},fbe4:function(e,t,r){"use strict";r.r(t);var n=r("d476"),u=r.n(n);for(var o in n)["default"].indexOf(o)<0&&function(e){r.d(t,e,(function(){return n[e]}))}(o);t["default"]=u.a}}]); |