1 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-member-refund-RefundView"],{"0868":function(e,t,n){"use strict";n("7a82");var a=n("4ea4").default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=a(n("5530")),s=n("26cb"),r=n("de79"),o={name:"MemberBase",data:function(){return{page:"",cartNumber:0}},props:{show:{type:Boolean,default:!0}},computed:(0,i.default)((0,i.default)({},(0,s.mapState)({user:function(e){return e.member.info},isOnline:function(e){return e.member.isOnline}})),{},{getCarCount:function(){return this.cartNumber>0&&this.cartNumber<100?this.cartNumber:this.cartNumber>=100?"99+":void 0}}),mounted:function(){var e=getCurrentPages(),t=e[e.length-1];this.page={route:t.route,options:t.options},this.user||uni.navigateTo({url:"/pages/home/memberlogin/Login?clear=1"}),this.getCartCount()},methods:{getCartCount:function(){var e=this;this.isOnline&&(0,r.cartQuantity)().then((function(t){t&&(e.cartNumber=t.result.cart_count)}))}}};t.default=o},"0b4e":function(e,t,n){"use strict";n.d(t,"b",(function(){return i})),n.d(t,"c",(function(){return s})),n.d(t,"a",(function(){return a}));var a={pageMeta:n("6d42").default,uniNavBar:n("7bfb").default,uniPopup:n("3ae3").default},i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("v-uni-view",[n("page-meta",{attrs:{"root-font-size":e.fontSize+"px"}}),n("member-base",{attrs:{show:!1}},[n("v-uni-view",{staticClass:"div member-information"},[n("v-uni-view",{staticClass:"div common-header-wrap"},[n("v-uni-view",{style:"height:"+e.navHeight+"px"}),n("v-uni-view",{staticClass:"common-header-holder"}),n("v-uni-view",{staticClass:"common-header-fixed"},[n("title-header"),n("uni-nav-bar",{staticClass:"common-header",attrs:{title:"退款详情","left-icon":"back"},on:{clickLeft:function(t){arguments[0]=t=e.$handleEvent(t),e.goBack()}}})],1)],1),n("v-uni-view",{staticClass:"div main-content"},[n("flex-line",{attrs:{"show-border":!0}},[n("v-uni-text",{staticClass:"span line-name"},[e._v("退款编号")]),n("v-uni-text",{staticClass:"span",attrs:{slot:"right"},slot:"right"},[e._v(e._s(e.refund.refund_sn))])],1),n("flex-line",{attrs:{"show-border":!0}},[n("v-uni-text",{staticClass:"span line-name"},[e._v("退款原因")]),n("v-uni-text",{staticClass:"span",attrs:{slot:"right"},slot:"right"},[e._v(e._s(e.refund.reason_info))])],1),n("flex-line",{attrs:{"show-border":!0}},[n("v-uni-text",{staticClass:"span line-name"},[e._v("退款金额")]),n("v-uni-text",{staticClass:"span",attrs:{slot:"right"},slot:"right"},[e._v(e._s(e.refund.refund_amount))])],1),n("flex-line",{attrs:{"show-border":!0}},[n("v-uni-text",{staticClass:"span line-name"},[e._v("退款说明")]),n("v-uni-text",{staticClass:"span",attrs:{slot:"right"},slot:"right"},[e._v(e._s(e.refund.buyer_message))])],1),n("v-uni-view",{staticClass:"div",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.showPopup("isshow")}}},[n("flex-line",{attrs:{"show-border":!0}},[n("v-uni-text",{staticClass:"span line-name"},[e._v("退款凭证")]),n("v-uni-text",{staticClass:"span",attrs:{slot:"right"},slot:"right"},[e._v(e._s(e.pic_list.length>0?"查看":""))])],1)],1),n("flex-line",{attrs:{"show-border":!0}},[n("v-uni-text",{staticClass:"span line-name"},[e._v("商家审核")]),n("v-uni-text",{staticClass:"span",attrs:{slot:"right"},slot:"right"},[e._v(e._s(e.refund.seller_state))])],1),e.refund.seller_message?n("flex-line",{attrs:{"show-border":!0}},[n("v-uni-text",{staticClass:"span line-name"},[e._v("商家备注")]),n("v-uni-text",{staticClass:"span",attrs:{slot:"right"},slot:"right"},[e._v(e._s(e.refund.seller_message))])],1):e._e(),n("flex-line",{attrs:{"show-border":!0}},[n("v-uni-text",{staticClass:"span line-name"},[e._v("平台审核")]),n("v-uni-text",{staticClass:"span",attrs:{slot:"right"},slot:"right"},[e._v(e._s(e.refund.admin_state))])],1),e.refund.admin_message?n("flex-line",{attrs:{"show-border":!0}},[n("v-uni-text",{staticClass:"span line-name"},[e._v("平台备注")]),n("v-uni-text",{staticClass:"span",attrs:{slot:"right"},slot:"right"},[e._v(e._s(e.refund.admin_message))])],1):e._e()],1),e.pic_list.length>0?n("uni-popup",{ref:"isshow",attrs:{"background-color":"#fff"}},[n("v-uni-view",{staticClass:"div preview-picture"},[n("title-header"),n("v-uni-view",{staticClass:"div picture-header",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.hidePopup("isshow")}}},[n("v-uni-text",{staticClass:"span"},[e._v("关闭")]),e.pic_list?n("v-uni-text",{staticClass:"span"},[e._v(e._s(e.defaultindex+1)+" / "+e._s(e.pic_list.length))]):e._e()],1),n("v-uni-view",{staticClass:"div picture-body"},[n("v-uni-swiper",{staticClass:"ui-common-swiper",attrs:{autoplay:!1,"show-indicators":!0,current:e.defaultindex},on:{change:function(t){arguments[0]=t=e.$handleEvent(t),e.handleChange.apply(void 0,arguments)}}},e._l(e.pic_list,(function(t,a){return n("v-uni-swiper-item",{key:a,staticClass:"ui-common-swiper-item"},[n("v-uni-image",{staticClass:"img",staticStyle:{"max-width":"100%","max-height":"100%"},attrs:{mode:"aspectFit",src:t},on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.setPopHeader()}}})],1)})),1)],1)],1)],1):e._e()],1)],1)],1)},s=[]},"1d0f":function(e,t,n){var a=n("ab61");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[e.i,a,""]]),a.locals&&(e.exports=a.locals);var i=n("4f06").default;i("5e92d202",a,!0,{sourceMap:!1,shadowMode:!1})},"1d9c":function(e,t,n){"use strict";n.r(t);var a=n("0b4e"),i=n("5e76");for(var s in i)["default"].indexOf(s)<0&&function(e){n.d(t,e,(function(){return i[e]}))}(s);n("78f9");var r=n("f0c5"),o=Object(r["a"])(i["default"],a["b"],a["c"],!1,null,"02f04368",null,!1,a["a"],void 0);t["default"]=o.exports},"4fec":function(e,t,n){"use strict";n("7a82");var a=n("4ea4").default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n("0b9f"),s=a(n("cce0")),r=a(n("7b4a")),o=n("6874"),u=a(n("f522")),c={components:{TitleHeader:s.default,MemberBase:r.default,flexLine:u.default},name:"MemberRefundView",data:function(){return{navHeight:0,refund_id:0,refund:{},pic_list:[],defaultindex:0}},mounted:function(){},computed:{fontSize:function(){return(0,i.getFontSize)()}},onLoad:function(e){var t=this;this.refund_id=e.refund_id,(0,o.getRefundInfo)(this.refund_id).then((function(e){t.refund=e.result.refund,t.pic_list=e.result.pic_list})).catch((function(e){uni.showToast({icon:"none",title:e.message})}))},methods:{showPopup:function(e){this.$refs[e].open()},hidePopup:function(e){this.$refs[e].close()},goBack:function(){uni.navigateBack({delta:1})},handleChange:function(e){this.defaultindex=e.detail.current}}};t.default=c},"5e76":function(e,t,n){"use strict";n.r(t);var a=n("4fec"),i=n.n(a);for(var s in a)["default"].indexOf(s)<0&&function(e){n.d(t,e,(function(){return a[e]}))}(s);t["default"]=i.a},6874:function(e,t,n){"use strict";n("7a82"),Object.defineProperty(t,"__esModule",{value:!0}),t.uploadRefundImage=t.getRefundList=t.getRefundInfo=t.getCommonData=t.addRefundAll=t.addRefund=void 0;var a=n("887c");t.getRefundList=function(e){return(0,a.requestApi)("/Memberrefund/get_refund_list","POST",{page:e.page,per_page:e.per_page},"member")};t.getRefundInfo=function(e){return(0,a.requestApi)("/Memberrefund/get_refund_info","POST",{refund_id:e},"member")};t.addRefundAll=function(e,t,n){return(0,a.requestApi)("/Memberrefund/refund_all_post","POST",{order_id:e,buyer_message:t,refund_pic:n},"member")};t.addRefund=function(e,t,n,i,s,r,o,u){return(0,a.requestApi)("/Memberrefund/refund_post","POST",{refund_type:e,order_id:t,order_goods_id:n,refund_amount:i,goods_num:s,reason_id:r,buyer_message:o,refund_pic:u},"member")};t.uploadRefundImage=function(e){return(0,a.requestApi)("/Memberrefund/upload_pic","POST",e,"member",!0)};t.getCommonData=function(e,t){return(0,a.requestApi)("/Memberrefund/refund_form","POST",{order_id:e,order_goods_id:t},"member")}},"69f5":function(e,t,n){"use strict";n.r(t);var a=n("0868"),i=n.n(a);for(var s in a)["default"].indexOf(s)<0&&function(e){n.d(t,e,(function(){return a[e]}))}(s);t["default"]=i.a},"6fee":function(e,t,n){var a=n("24fb");t=a(!1),t.push([e.i,'@charset "UTF-8";\r\n/**\r\n * 这里是uni-app内置的常用样式变量\r\n *\r\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\r\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\r\n *\r\n */\r\n/**\r\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\r\n *\r\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\r\n */\r\n/* 颜色变量 */\r\n/* 行为相关颜色 */\r\n/* 文字基本颜色 */\r\n/* 背景颜色 */\r\n/* 边框颜色 */\r\n/* 尺寸变量 */\r\n/* 文字尺寸 */\r\n/* 图片尺寸 */\r\n/* Border Radius */\r\n/* 水平间距 */\r\n/* 垂直间距 */\r\n/* 透明度 */\r\n/* 文章场景相关 */.main-content[data-v-02f04368]{background:#fff;padding:0 .6rem}.ui-common-swiper[data-v-02f04368]{width:100%}.ui-common-swiper-item[data-v-02f04368]{display:flex;align-content:center}.mint-popup[data-v-02f04368]{width:100%;height:100%;background-color:#000}.mint-swipe[data-v-02f04368],\r\n.mint-swipe-items-wrap[data-v-02f04368]{position:static}.preview-picture[data-v-02f04368]{width:100%;height:100%;position:fixed;z-index:10;top:0;bottom:0;left:0;right:0;background-color:#000;display:flex;flex-direction:column}.preview-picture .picture-header[data-v-02f04368]{color:#000;background-color:#fff;display:flex;justify-content:center;align-content:center;align-items:center;width:100%;top:0;padding-top:0}.preview-picture .picture-header .span[data-v-02f04368]{font-size:.7rem;font-weight:400;height:2.2rem;line-height:2.2rem}.preview-picture .picture-header .span[data-v-02f04368]:first-child{position:absolute;cursor:pointer;position:absolute;left:.75rem;background-size:1.2rem;display:inline-block;height:2.2rem;line-height:2.2rem}.preview-picture .picture-body[data-v-02f04368]{flex:1;display:flex;justify-content:center;align-content:center;align-items:center}',""]),e.exports=t},"76f2":function(e,t,n){"use strict";n.d(t,"b",(function(){return a})),n.d(t,"c",(function(){return i})),n.d(t,"a",(function(){}));var a=function(){var e=this.$createElement,t=this._self._c||e;return t("v-uni-view",{staticClass:"div flex-line",class:{border:this.showBorder}},[t("v-uni-view",{staticClass:"div left"},[this._t("default")],2),t("v-uni-view",{staticClass:"div right"},[this._t("right"),this.isLink?t("v-uni-text",{staticClass:"span iconfont arrow"},[this._v("")]):this._e()],2)],1)},i=[]},"78f9":function(e,t,n){"use strict";var a=n("fe2b"),i=n.n(a);i.a},"7b4a":function(e,t,n){"use strict";n.r(t);var a=n("8034"),i=n("69f5");for(var s in i)["default"].indexOf(s)<0&&function(e){n.d(t,e,(function(){return i[e]}))}(s);n("dacb");var r=n("f0c5"),o=Object(r["a"])(i["default"],a["b"],a["c"],!1,null,"3e6c03f6",null,!1,a["a"],void 0);t["default"]=o.exports},8034:function(e,t,n){"use strict";n.d(t,"b",(function(){return a})),n.d(t,"c",(function(){return i})),n.d(t,"a",(function(){}));var a=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("v-uni-view",{staticClass:"div member-base"},[a("v-uni-view",{staticClass:"status-holder"}),a("v-uni-view",{staticClass:"content"},[e._t("default")],2),e.show?a("v-uni-view",{staticClass:"div common-footer-wrap"},[a("v-uni-view",{staticClass:"common-footer"},[a("v-uni-view",{staticClass:"item-wrap",class:{active:"pages/home/index/Index"==e.page.route}},[a("v-uni-navigator",{staticClass:"item",attrs:{url:"/pages/home/index/Index","open-type":"reLaunch"}},["pages/home/index/Index"==e.page.route?a("v-uni-image",{staticClass:"img image",attrs:{mode:"aspectFit",src:n("0207")}}):a("v-uni-image",{staticClass:"img image",attrs:{mode:"aspectFit",src:n("241a")}}),a("v-uni-text",{staticClass:"span text"},[e._v("首页")])],1)],1),a("v-uni-view",{staticClass:"item-wrap",class:{active:"pages/home/goodsclass/Goodsclass"==e.page.route}},[a("v-uni-navigator",{staticClass:"item",attrs:{url:"/pages/home/goodsclass/Goodsclass"}},["pages/home/goodsclass/Goodsclass"==e.page.route?a("v-uni-image",{staticClass:"img image",attrs:{mode:"aspectFit",src:n("79bf")}}):a("v-uni-image",{staticClass:"img image",attrs:{mode:"aspectFit",src:n("d86e")}}),a("v-uni-text",{staticClass:"span text"},[e._v("分类")])],1)],1),a("v-uni-view",{staticClass:"item-wrap",class:{active:"pages/home/search/Search"==e.page.route}},[a("v-uni-navigator",{staticClass:"item",attrs:{url:"/pages/home/search/Search"}},["pages/home/search/Search"==e.page.route?a("v-uni-image",{staticClass:"img image",attrs:{mode:"aspectFit",src:n("492b")}}):a("v-uni-image",{staticClass:"img image",attrs:{mode:"aspectFit",src:n("1702")}}),a("v-uni-text",{staticClass:"span text"},[e._v("搜索")])],1)],1),a("v-uni-view",{staticClass:"item-wrap",class:{active:"pages/member/cart/Cart"==e.page.route}},[a("v-uni-navigator",{staticClass:"item",attrs:{url:"/pages/member/cart/Cart"}},["pages/member/cart/Cart"==e.page.route?a("v-uni-image",{staticClass:"img image",attrs:{mode:"aspectFit",src:n("62a8")}}):a("v-uni-image",{staticClass:"img image",attrs:{mode:"aspectFit",src:n("8559")}}),a("v-uni-text",{staticClass:"span text"},[e._v("购物车")]),e.cartNumber>0?a("v-uni-text",{staticClass:"span icon"},[e._v(e._s(e.getCarCount))]):e._e()],1)],1),a("v-uni-view",{staticClass:"item-wrap",class:{active:"pages/member/index/Index"==e.page.route}},[a("v-uni-navigator",{staticClass:"item",attrs:{url:"/pages/member/index/Index","open-type":"reLaunch"}},["pages/member/index/Index"==e.page.route?a("v-uni-image",{staticClass:"img image",attrs:{mode:"aspectFit",src:n("857e")}}):a("v-uni-image",{staticClass:"img image",attrs:{mode:"aspectFit",src:n("e31d")}}),a("v-uni-text",{staticClass:"span text"},[e._v("我的")])],1)],1)],1)],1):e._e()],1)},i=[]},"80c6":function(e,t,n){"use strict";n("7a82"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a={name:"flexLine",data:function(){return{}},props:{isLink:{type:Boolean,default:!1},showBorder:{type:Boolean,default:!1}},methods:{}};t.default=a},"8a0c":function(e,t,n){var a=n("24fb");t=a(!1),t.push([e.i,'@charset "UTF-8";\r\n/**\r\n * 这里是uni-app内置的常用样式变量\r\n *\r\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\r\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\r\n *\r\n */\r\n/**\r\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\r\n *\r\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\r\n */\r\n/* 颜色变量 */\r\n/* 行为相关颜色 */\r\n/* 文字基本颜色 */\r\n/* 背景颜色 */\r\n/* 边框颜色 */\r\n/* 尺寸变量 */\r\n/* 文字尺寸 */\r\n/* 图片尺寸 */\r\n/* Border Radius */\r\n/* 水平间距 */\r\n/* 垂直间距 */\r\n/* 透明度 */\r\n/* 文章场景相关 */.status-holder[data-v-3e6c03f6]{background-color:#fff}.member-base[data-v-3e6c03f6]{display:flex;flex-direction:column}.content[data-v-3e6c03f6]{flex:1}.item-wrap[data-v-3e6c03f6]{position:relative}.image[data-v-3e6c03f6]{width:1rem;height:1rem;display:block;margin-left:auto;margin-right:auto;margin-top:.2rem;margin-bottom:.2rem}.icon[data-v-3e6c03f6]{position:absolute;right:.8rem;top:.2rem;font-size:.5rem;line-height:.7rem;width:.9rem;height:.7rem;background:#ef3338;border-radius:1rem;text-align:center;color:#fff}',""]),e.exports=t},"9a3a":function(e,t,n){"use strict";var a=n("1d0f"),i=n.n(a);i.a},ab61:function(e,t,n){var a=n("24fb");t=a(!1),t.push([e.i,'@charset "UTF-8";\r\n/**\r\n * 这里是uni-app内置的常用样式变量\r\n *\r\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\r\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\r\n *\r\n */\r\n/**\r\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\r\n *\r\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\r\n */\r\n/* 颜色变量 */\r\n/* 行为相关颜色 */\r\n/* 文字基本颜色 */\r\n/* 背景颜色 */\r\n/* 边框颜色 */\r\n/* 尺寸变量 */\r\n/* 文字尺寸 */\r\n/* 图片尺寸 */\r\n/* Border Radius */\r\n/* 水平间距 */\r\n/* 垂直间距 */\r\n/* 透明度 */\r\n/* 文章场景相关 */.flex-line[data-v-c08b8c2a]{display:flex;flex:1;align-items:center;min-height:2.5rem;background:#fff}.flex-line.border[data-v-c08b8c2a]{border-bottom:1px dashed #eee}.flex-line .left[data-v-c08b8c2a]{display:flex;align-items:center;flex:1;font-size:.7rem;color:#333;font-weight:700}.flex-line .right[data-v-c08b8c2a]{display:flex;align-items:center;font-size:.7rem;color:#a2a6ad}.flex-line .right .arrow[data-v-c08b8c2a]{font-size:.7rem}',""]),e.exports=t},dacb:function(e,t,n){"use strict";var a=n("f6c0"),i=n.n(a);i.a},e4f8:function(e,t,n){"use strict";n.r(t);var a=n("80c6"),i=n.n(a);for(var s in a)["default"].indexOf(s)<0&&function(e){n.d(t,e,(function(){return a[e]}))}(s);t["default"]=i.a},f522:function(e,t,n){"use strict";n.r(t);var a=n("76f2"),i=n("e4f8");for(var s in i)["default"].indexOf(s)<0&&function(e){n.d(t,e,(function(){return i[e]}))}(s);n("9a3a");var r=n("f0c5"),o=Object(r["a"])(i["default"],a["b"],a["c"],!1,null,"c08b8c2a",null,!1,a["a"],void 0);t["default"]=o.exports},f6c0:function(e,t,n){var a=n("8a0c");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[e.i,a,""]]),a.locals&&(e.exports=a.locals);var i=n("4f06").default;i("11f8896b",a,!0,{sourceMap:!1,shadowMode:!1})},fe2b:function(e,t,n){var a=n("6fee");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[e.i,a,""]]),a.locals&&(e.exports=a.locals);var i=n("4f06").default;i("4061b7e8",a,!0,{sourceMap:!1,shadowMode:!1})}}]);
|