cxybn/public/mobile/static/js/bundle-pages-post_sale-post_sale.d5ed891c.js
2023-10-23 16:11:09 +08:00

1 line
37 KiB
JavaScript
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["bundle-pages-post_sale-post_sale"],{"0461":function(t,e,a){"use strict";a.r(e);var i=a("cbf9"),n=a("1f35");for(var o in n)["default"].indexOf(o)<0&&function(t){a.d(e,t,(function(){return n[t]}))}(o);a("a2b8");var s=a("f0c5"),r=Object(s["a"])(n["default"],i["b"],i["c"],!1,null,"07bfc4b2",null,!1,i["a"],void 0);e["default"]=r.exports},"08cb":function(t,e,a){"use strict";a("7a82"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,a("a9e3"),a("a630"),a("3ca3");var i={props:{color:String,vertical:Boolean,type:{type:String,default:"spinner"},size:{type:Number,default:40},textSize:String},data:function(){return{array12:Array.from({length:12})}}};e.default=i},"091a":function(t,e,a){var i=a("24fb");e=i(!1),e.push([t.i,'[data-v-13a5beb4]:host{font-size:0;line-height:1}.loading[data-v-13a5beb4]{display:inline-flex;align-items:center;justify-content:center;color:#c8c9cc}.loading__spinner[data-v-13a5beb4]{position:relative;box-sizing:border-box;width:%?45?%;max-width:100%;max-height:100%;height:%?45?%;-webkit-animation:rotate-data-v-13a5beb4 .8s linear infinite;animation:rotate-data-v-13a5beb4 .8s linear infinite}.loading__spinner--spinner[data-v-13a5beb4]{-webkit-animation-timing-function:steps(12);animation-timing-function:steps(12)}.loading__spinner--circular[data-v-13a5beb4]{border:%?2?% solid transparent;border-top-color:initial;border-radius:100%}.loading__text[data-v-13a5beb4]{margin-left:%?16?%;color:#969799;font-size:%?28?%;line-height:%?40?%}.loading__text[data-v-13a5beb4]:empty{display:none}.loading--vertical[data-v-13a5beb4]{-webkit-flex-direction:column;flex-direction:column}.loading--vertical .loading__text[data-v-13a5beb4]{margin:%?16?% 0 0}.loading__dot[data-v-13a5beb4]{position:absolute;top:0;left:0;width:100%;height:100%}.loading__dot[data-v-13a5beb4]:before{display:block;width:%?4?%;height:25%;margin:0 auto;background-color:currentColor;border-radius:40%;content:" "}.loading__dot[data-v-13a5beb4]:first-of-type{-webkit-transform:rotate(30deg);transform:rotate(30deg);opacity:1}.loading__dot[data-v-13a5beb4]:nth-of-type(2){-webkit-transform:rotate(60deg);transform:rotate(60deg);opacity:.9375}.loading__dot[data-v-13a5beb4]:nth-of-type(3){-webkit-transform:rotate(90deg);transform:rotate(90deg);opacity:.875}.loading__dot[data-v-13a5beb4]:nth-of-type(4){-webkit-transform:rotate(120deg);transform:rotate(120deg);opacity:.8125}.loading__dot[data-v-13a5beb4]:nth-of-type(5){-webkit-transform:rotate(150deg);transform:rotate(150deg);opacity:.75}.loading__dot[data-v-13a5beb4]:nth-of-type(6){-webkit-transform:rotate(180deg);transform:rotate(180deg);opacity:.6875}.loading__dot[data-v-13a5beb4]:nth-of-type(7){-webkit-transform:rotate(210deg);transform:rotate(210deg);opacity:.625}.loading__dot[data-v-13a5beb4]:nth-of-type(8){-webkit-transform:rotate(240deg);transform:rotate(240deg);opacity:.5625}.loading__dot[data-v-13a5beb4]:nth-of-type(9){-webkit-transform:rotate(270deg);transform:rotate(270deg);opacity:.5}.loading__dot[data-v-13a5beb4]:nth-of-type(10){-webkit-transform:rotate(300deg);transform:rotate(300deg);opacity:.4375}.loading__dot[data-v-13a5beb4]:nth-of-type(11){-webkit-transform:rotate(330deg);transform:rotate(330deg);opacity:.375}.loading__dot[data-v-13a5beb4]:nth-of-type(12){-webkit-transform:rotate(1turn);transform:rotate(1turn);opacity:.3125}@-webkit-keyframes rotate-data-v-13a5beb4{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes rotate-data-v-13a5beb4{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}',""]),t.exports=e},"0a7c":function(t,e,a){"use strict";a.r(e);var i=a("2f70"),n=a.n(i);for(var o in i)["default"].indexOf(o)<0&&function(t){a.d(e,t,(function(){return i[t]}))}(o);e["default"]=n.a},"0a8e":function(t,e,a){"use strict";a.d(e,"b",(function(){return n})),a.d(e,"c",(function(){return o})),a.d(e,"a",(function(){return i}));var i={tabs:a("e826").default,tab:a("527c").default,afterSalesList:a("fca0").default},n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-uni-view",{staticClass:"post-sale"},[a("v-uni-view",{staticClass:"contain"},[a("tabs",{attrs:{active:t.active,"line-width":40,sticky:!0},on:{change:function(e){arguments[0]=e=t.$handleEvent(e),t.onChange.apply(void 0,arguments)}}},t._l(t.afterSale,(function(e,i){return a("tab",{key:i,attrs:{title:e.name}},[e.isShow?a("after-sales-list",{ref:e.type,refInFor:!0,attrs:{type:e.type}}):t._e()],1)})),1)],1)],1)},o=[]},"0fcf":function(t,e,a){var i=a("6ce9");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var n=a("4f06").default;n("9dad6170",i,!0,{sourceMap:!1,shadowMode:!1})},"1e74":function(t,e,a){"use strict";a("7a82"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,a("a9e3"),a("14d9");var i={props:{dot:{type:Boolean},info:{type:null},title:{type:String},titleStyle:{type:String},name:{type:[Number,String],value:""}},inject:["tabs"],data:function(){return{active:!1,shouldShow:!1,shouldRender:!1}},created:function(){this.tabs.childrens.push(this)},mounted:function(){this.update()},methods:{getComputedName:function(){return""!==this.data.name?this.data.name:this.index},updateRender:function(t,e){this.inited=this.inited||t,this.active=t,this.shouldRender=this.inited,this.shouldShow=t},update:function(){this.tabs&&this.tabs.updateTabs()}},computed:{changeData:function(){var t=this.dot,e=this.info,a=this.title,i=this.titleStyle;return{dot:t,info:e,title:a,titleStyle:i}}},watch:{changeData:function(t){this.update()}}};e.default=i},"1f35":function(t,e,a){"use strict";a.r(e);var i=a("eea4"),n=a.n(i);for(var o in i)["default"].indexOf(o)<0&&function(t){a.d(e,t,(function(){return i[t]}))}(o);e["default"]=n.a},"1f90":function(t,e,a){"use strict";a("7a82"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i={data:function(){return{}},components:{},props:{status:{type:String,default:"loading"},errorText:{type:String,default:"加载失败,点击重新加载"},loadingText:{type:String,default:"加载中..."},finishedText:{type:String,default:"我可是有底线的~"},slotEmpty:{type:Boolean,default:!1},color:{type:String,default:"#666"}},methods:{onRefresh:function(){this.$emit("refresh")}}};e.default=i},"1fcb":function(t,e,a){"use strict";var i=a("90f9"),n=a.n(i);n.a},"21cd":function(t,e,a){var i=a("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/* 行为相关颜色 */uni-image[data-v-45244480]{width:100%;height:100%}.post-sale .contain .sale-list[data-v-45244480]{padding:%?20?% 0}.post-sale .contain .sale-list .sale-item .sale-header[data-v-45244480]{padding:%?20?% %?24?%}.post-sale .contain .sale-list .sale-item .sale-header .store-name[data-v-45244480]{font-weight:700;font-family:PingFang SC;line-height:%?40?%}.post-sale .contain .sale-list .sale-item .sale-goods-show[data-v-45244480]{padding:%?20?% %?24?%}.post-sale .contain .sale-list .sale-item .sale-goods-show .goods-img[data-v-45244480]{height:%?160?%;width:%?160?%}.post-sale .contain .sale-list .sale-item .sale-goods-show .goods-desc[data-v-45244480]{margin-left:%?24?%}.post-sale .contain .sale-list .sale-item .sale-goods-show .sale-status[data-v-45244480]{padding:%?20?% %?60?%;background-color:#f6f6f6}.post-sale .contain .sale-list .sale-item .sale-footer[data-v-45244480]{padding:0 %?24?% %?22?%}.post-sale .contain .sale-list .sale-item .sale-footer .btn[data-v-45244480]{padding:%?9?% %?34?%;font-family:PingFang SC}.post-sale .contain .sale-list .sale-item .sale-footer .grey-btn[data-v-45244480]{border:1px solid #ccc;padding:%?9?% %?34?%;font-family:PingFang SC}',""]),t.exports=e},"2f70":function(t,e,a){"use strict";(function(t){a("7a82"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=a("93c3"),n=a("a46d"),o=a("1f9b"),s={data:function(){return{lists:[],page:1,loadingStatus:i.loadingType.LOADING,confirmDialog:!1}},components:{},props:{type:{type:String,default:i.AfterSaleType.NORMAL}},created:function(){var e=this;t.log("type",this.type),uni.$on("refreshsale",(function(){e.reflesh()}))},beforeMount:function(){this.getAfterSaleListFun()},destroyed:function(){uni.$off("refreshsale")},methods:{cancelApplyFun:function(){var e=this;t.log(this.id,"id"),(0,n.cancelApply)({id:this.id}).then((function(t){1==t.code&&(e.$toast({title:t.msg}),uni.$emit("refreshsale"))}))},getAfterSaleListFun:function(){var e=this,a=this.lists,i=this.loadingStatus,s=this.page;(0,o.loadingFun)(n.getAfterSaleList,s,a,i,{type:this.type}).then((function(a){t.log(a,"res"),a&&(e.page=a.page,e.loadingStatus=a.status,e.lists=a.dataList)}))},goPage:function(t,e,a,i,n){1==e&&(a=a+"?order_id="+i+"&item_id="+n,uni.navigateTo({url:a}))},reflesh:function(){this.page=1,this.lists=[],this.loadingStatus=i.loadingType.LOADING,this.getAfterSaleListFun()},showDialog:function(e){t.log(e,"showDialog"),this.id=e,this.confirmDialog=!0},hideDialog:function(){this.comfirmDialog=!1}}};e.default=s}).call(this,a("5a52")["default"])},3646:function(t,e,a){var i=a("24fb");e=i(!1),e.push([t.i,".loading-footer[data-v-6dc30303]{padding:%?30?% 0;color:#666}",""]),t.exports=e},"365a":function(t,e,a){"use strict";a("7a82"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,a("a9e3"),a("d81d"),a("ac1f"),a("d3b7"),a("159b");var i={name:"tabs",props:{active:{type:Number,default:0},config:{type:Object,default:function(){return{}}}},provide:function(){return{tabs:this}},data:function(){return{tabList:[],tagIndex:0,slider:{left:0,width:0,scrollLeft:0},scorll:{},defaultConfig:{bgColor:"#fff",fontSize:26,color:"#333",activeColor:"#FF2C3C",itemWidth:0,underLinePadding:10,underLineWidth:0,underLineHeight:4,underLineColor:"#FF2C3C"}}},watch:{},created:function(){this.childrens=[]},mounted:function(){this.updateTabs()},methods:{updateTabs:function(){var t=this;this.tabList=this.childrens.map((function(t){var e=t.title,a=t.info,i=t.name,n=t.dot,o=t.titleStyle,s=t.active,r=t.updateRender;return{title:e,info:a,name:i,dot:n,titleStyle:o,active:s,updateRender:r}})),this.updateConfig(),this.tagIndex=this.active,this.$nextTick((function(){t.calcScrollPosition()}))},updateConfig:function(){this.defaultConfig=Object.assign(this.defaultConfig,this.config)},calcScrollPosition:function(){var t=this,e=uni.createSelectorQuery().in(this);e.select("#_scroll").boundingClientRect((function(e){t.scorll=e,t.updateTabWidth()})).exec()},updateTabWidth:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,a=this.tabList;if(0==a.length)return!1;var i=uni.createSelectorQuery().in(this);i.select("#_tab_"+e).boundingClientRect((function(i){a[e]._slider={width:i.width,left:i.left,scrollLeft:i.left-(a[e-1]?a[e-1]._slider.width:0)},t.tagIndex==e&&t.tabToIndex(t.tagIndex),e++,a.length>e&&t.updateTabWidth(e)})).exec()},tabToIndex:function(t){var e=this,a=this.tabList[t]._slider,i=uni.upx2px(this.defaultConfig.underLineWidth);i||(i=this.defaultConfig.itemWidth?uni.upx2px(this.defaultConfig.itemWidth)/3:this.tabList[t]["title"].length*uni.upx2px(this.defaultConfig.fontSize),i+=2*uni.upx2px(this.defaultConfig.underLinePadding)),this.childrens.forEach((function(a,i){var n=i===t;n===a.active&&a.inited||a.updateRender(n,e)}));var n=this.scorll.left||0;this.slider={left:a.left-n+(a.width-i)/2,width:i,scrollLeft:a.scrollLeft-n}},tabClick:function(t){this.tagIndex=t,this.tabToIndex(t),this.$emit("change",t)}}};e.default=i},"40e2":function(t,e,a){"use strict";var i=a("e54e"),n=a.n(i);n.a},4429:function(t,e,a){"use strict";a.r(e);var i=a("1e74"),n=a.n(i);for(var o in i)["default"].indexOf(o)<0&&function(t){a.d(e,t,(function(){return i[t]}))}(o);e["default"]=n.a},"4cad":function(t,e,a){"use strict";a.d(e,"b",(function(){return i})),a.d(e,"c",(function(){return n})),a.d(e,"a",(function(){}));var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-uni-text",{class:(t.lineThrough?"line-through":"")+" price-format",style:{color:t.color,"font-weight":t.weight}},[t.showSubscript?a("v-uni-text",{style:{"font-size":t.subscriptSize+"rpx","margin-right":"2rpx"}},[t._v("¥")]):t._e(),a("v-uni-text",{style:{"font-size":t.firstSize+"rpx","margin-right":"1rpx"}},[t._v(t._s(t.priceSlice.first))]),t.priceSlice.second?a("v-uni-text",{style:{"font-size":t.secondSize+"rpx"}},[t._v("."+t._s(t.priceSlice.second))]):t._e()],1)},n=[]},"4f99":function(t,e,a){var i=a("24fb");e=i(!1),e.push([t.i,".price-format[data-v-60f6159f]{font-family:Avenir,SourceHanSansCN,PingFang SC,Arial,Hiragino Sans GB,Microsoft YaHei,sans-serif}",""]),t.exports=e},"527c":function(t,e,a){"use strict";a.r(e);var i=a("7769"),n=a("4429");for(var o in n)["default"].indexOf(o)<0&&function(t){a.d(e,t,(function(){return n[t]}))}(o);a("eba8");var s=a("f0c5"),r=Object(s["a"])(n["default"],i["b"],i["c"],!1,null,"469015b5",null,!1,i["a"],void 0);e["default"]=r.exports},"5da8":function(t,e,a){var i=a("4f99");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var n=a("4f06").default;n("1a36fbb8",i,!0,{sourceMap:!1,shadowMode:!1})},"5e56":function(t,e,a){"use strict";a.r(e);var i=a("ea6b"),n=a.n(i);for(var o in i)["default"].indexOf(o)<0&&function(t){a.d(e,t,(function(){return i[t]}))}(o);e["default"]=n.a},"647b":function(t,e,a){"use strict";a.r(e);var i=a("6779"),n=a("68fa");for(var o in n)["default"].indexOf(o)<0&&function(t){a.d(e,t,(function(){return n[t]}))}(o);a("1fcb");var s=a("f0c5"),r=Object(s["a"])(n["default"],i["b"],i["c"],!1,null,"13a5beb4",null,!1,i["a"],void 0);e["default"]=r.exports},"649e7":function(t,e,a){"use strict";a.d(e,"b",(function(){return n})),a.d(e,"c",(function(){return o})),a.d(e,"a",(function(){return i}));var i={loading:a("647b").default},n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-uni-view",{staticClass:"loading-footer row-center",style:"color: "+t.color},["loading"===t.status?a("v-uni-view",{staticClass:"loading row"},[a("loading",{staticClass:"mr20",attrs:{color:t.color}}),a("v-uni-text",{style:"color: "+t.color},[t._v(t._s(t.loadingText))])],1):t._e(),"finished"===t.status?a("v-uni-view",{staticClass:"finished"},[t._v(t._s(t.finishedText))]):t._e(),"error"===t.status?a("v-uni-view",{on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.onRefresh.apply(void 0,arguments)}}},[t._v(t._s(t.errorText))]):t._e(),"empty"===t.status?a("v-uni-view",{staticClass:"empty"},[t.slotEmpty?t._t("empty"):a("v-uni-text",[t._v("暂无数据")])],2):t._e()],1)},o=[]},6779:function(t,e,a){"use strict";a.d(e,"b",(function(){return i})),a.d(e,"c",(function(){return n})),a.d(e,"a",(function(){}));var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-uni-view",{class:"loading "+(t.vertical?"loading--vertical":"")},[a("v-uni-view",{class:"loading__spinner loading__spinner--"+t.type,style:{color:t.color,width:t.size+"rpx",height:t.size+"rpx"}},t._l(t.array12,(function(e,i){return"spinner"===t.type?a("v-uni-view",{key:i,staticClass:"loading__dot"}):t._e()})),1),a("v-uni-view",{staticClass:"loading__text",style:{"font-size":t.textSize+"rpx",color:t.color}},[t._t("default")],2)],1)},n=[]},"68fa":function(t,e,a){"use strict";a.r(e);var i=a("08cb"),n=a.n(i);for(var o in i)["default"].indexOf(o)<0&&function(t){a.d(e,t,(function(){return i[t]}))}(o);e["default"]=n.a},"6a2a":function(t,e,a){"use strict";a.d(e,"b",(function(){return n})),a.d(e,"c",(function(){return o})),a.d(e,"a",(function(){return i}));var i={customImage:a("0461").default,priceFormat:a("97b9").default,loadingFooter:a("e9a8").default,uModal:a("de3f").default},n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-uni-view",[a("v-uni-view",["normal"==t.type?a("v-uni-view",{staticClass:"sale-list"},t._l(t.lists,(function(e,i){return a("v-uni-view",{key:i,staticClass:"sale-item bg-white mt20"},t._l(e.order_goods,(function(i,n){return a("v-uni-view",{key:n,staticClass:"goods-item"},[a("v-uni-view",{staticClass:"sale-goods-show row"},[a("v-uni-view",{staticClass:"goods-img"},[a("custom-image",{attrs:{width:"100%",height:"100%",radius:"6rpx","lazy-load":!0,src:i.image}})],1),a("v-uni-view",{staticClass:"goods-desc"},[a("v-uni-view",{staticClass:"goods-name line2 nr"},[t._v(t._s(i.goods_name))]),a("v-uni-view",{staticClass:"row-between mt20"},[a("price-format",{staticClass:"sm",attrs:{firstSize:30,secondSize:30,showSubscript:!0,subscriptSize:26,price:i.goods_price}}),a("v-uni-view",{staticClass:"nr"},[t._v("x"+t._s(i.goods_num))])],1)],1)],1),a("v-uni-view",{class:"sale-footer row-end "+(1==e.after_sale.able_apply?"":"bottom-opacity")},[a("v-uni-view",{staticClass:"btn row-center bd-primary primary br60",on:{click:function(a){arguments[0]=a=t.$handleEvent(a),t.goPage(a,e.after_sale.able_apply,"/bundle/pages/apply_refund/apply_refund",e.order_id,i.item_id)}}},[t._v("申请售后")])],1)],1)})),1)})),1):"apply"==t.type?a("v-uni-view",{staticClass:"sale-list"},t._l(t.lists,(function(e,i){return a("v-uni-view",{key:i,staticClass:"sale-item bg-white mt20"},[a("v-uni-view",{staticClass:"sale-header row-between"},[a("v-uni-view",{staticClass:"row"},[a("v-uni-view",{staticClass:"store-name nr ml10 mr10"},[t._v("申请时间: "+t._s(e.time))])],1),a("v-uni-view",{staticClass:"primary nr"},[t._v(t._s(e.after_sale.type_text))])],1),t._l(e.order_goods,(function(i,n){return a("v-uni-navigator",{key:n,staticClass:"sale-goods-show",attrs:{"hover-class":"none",url:"/bundle/pages/after_sales_detail/after_sales_detail?afterSaleId="+e.after_sale.after_sale_id+"&order_id="+e.order_id}},[a("v-uni-view",{staticClass:"row"},[a("v-uni-view",{staticClass:"goods-img"},[a("custom-image",{attrs:{width:"100%",height:"100%",radius:"6rpx","lazy-load":!0,src:i.image}})],1),a("v-uni-view",{staticClass:"goods-desc"},[a("v-uni-view",{staticClass:"goods-name line2 nr"},[t._v(t._s(i.goods_name))]),a("v-uni-view",{staticClass:"row-between mt20"},[a("v-uni-view",[a("price-format",{attrs:{firstSize:26,price:i.goods_price,weight:"600",showSubscript:!0}})],1),a("v-uni-view",{staticClass:"nr"},[t._v("x"+t._s(i.goods_num))])],1),a("v-uni-view",{staticClass:"row-between mt20"},[a("v-uni-view",[a("price-format",{attrs:{firstSize:26,price:e.after_sale.refund_price,weight:"600",showSubscript:!0,color:"red"}})],1),a("v-uni-view",{staticClass:"nr"},[t._v("退款金额")])],1)],1)],1),a("v-uni-view",{staticClass:"sale-status mt20 row"},[a("v-uni-view",{staticClass:"nr",staticStyle:{"font-weight":"bold"}},[t._v("申请状态")]),a("v-uni-view",{staticClass:"nr ml20"},[t._v(t._s(e.after_sale.desc))])],1)],1)})),a("v-uni-view",{staticClass:"sale-footer row-end"},[a("v-uni-view",{staticClass:"row-center normal br60 mr20 grey-btn nr",on:{click:function(a){arguments[0]=a=t.$handleEvent(a),t.showDialog(e.after_sale.after_sale_id)}}},[t._v("撤销申请")]),a("v-uni-navigator",{staticClass:"row-center normal br60 grey-btn nr",attrs:{"hover-class":"none",url:"/bundle/pages/input_express_info/input_express_info?id="+e.after_sale.after_sale_id,hidden:2!=e.after_sale.status}},[t._v("填写快递单号")])],1)],2)})),1):a("v-uni-view",{staticClass:"sale-list"},t._l(t.lists,(function(e,i){return a("v-uni-navigator",{key:i,staticClass:"sale-item bg-white mt20",attrs:{"hover-class":"none",url:"/bundle/pages/after_sales_detail/after_sales_detail?afterSaleId="+e.after_sale.after_sale_id}},[a("v-uni-view",{staticClass:"sale-header row-between"},[a("v-uni-view",{staticClass:"row"},[a("v-uni-view",{staticClass:"store-name nr ml10 mr10"},[t._v("申请时间: "+t._s(e.time))])],1),a("v-uni-view",{staticClass:"primary nr"},[t._v(t._s(e.after_sale.type_text))])],1),t._l(e.order_goods,(function(i,n){return a("v-uni-view",{key:n,staticClass:"sale-goods-show"},[a("v-uni-view",{staticClass:"row"},[a("v-uni-view",{staticClass:"goods-img"},[a("custom-image",{attrs:{"lazy-load":!0,width:"100%",height:"100%",radius:"6rpx",src:i.image}})],1),a("v-uni-view",{staticClass:"goods-desc"},[a("v-uni-view",{staticClass:"goods-name line2 nr"},[t._v(t._s(i.goods_name))]),a("v-uni-view",{staticClass:"row-between mt20 row-between"},[a("price-format",{attrs:{firstSize:26,price:i.goods_price,weight:"600",showSubscript:!0}}),a("v-uni-view",{staticClass:"nr"},[t._v("x"+t._s(i.goods_num))])],1),a("v-uni-view",{staticClass:"row-between mt20"},[a("v-uni-view",[a("price-format",{attrs:{firstSize:26,price:e.after_sale.refund_price,weight:"600",showSubscript:!0,color:"red"}})],1),a("v-uni-view",{staticClass:"nr"},[t._v("退款金额")])],1)],1)],1),a("v-uni-view",{staticClass:"sale-status mt20 row"},[a("v-uni-view",{staticClass:"nr",staticStyle:{"font-weight":"bold"}},[t._v("申请状态")]),a("v-uni-view",{staticClass:"nr ml20"},[t._v(t._s(e.after_sale.desc))])],1)],1)}))],2)})),1),a("loading-footer",{attrs:{status:t.loadingStatus,slotEmpty:!0}},[a("v-uni-view",{staticClass:"data-null column-center",attrs:{slot:"empty"},slot:"empty"},[a("v-uni-image",{staticClass:"img-null",attrs:{src:"/static/images/order_null.png"}}),a("v-uni-text",{staticClass:"nr muted"},[t._v("暂无售后数据~")])],1)],1)],1),a("u-modal",{attrs:{"confirm-text":"确定",showCancelButton:!0,"show-title":!1,"confirm-color":"#FF2C3C"},on:{confirm:function(e){arguments[0]=e=t.$handleEvent(e),t.cancelApplyFun.apply(void 0,arguments)},cancel:function(e){arguments[0]=e=t.$handleEvent(e),t.hideDialog.apply(void 0,arguments)}},model:{value:t.confirmDialog,callback:function(e){t.confirmDialog=e},expression:"confirmDialog"}},[a("v-uni-view",{staticClass:"column-center tips-dialog",staticStyle:{padding:"20rpx 0"}},[a("v-uni-image",{staticClass:"icon-lg",attrs:{src:"/static/images/icon_warning.png"}}),a("v-uni-view",{staticStyle:{"margin-top":"30rpx"}},[t._v("是否要撤销申请?")])],1)],1)],1)},o=[]},"6ca73":function(t,e,a){"use strict";a.r(e);var i=a("96ee"),n=a.n(i);for(var o in i)["default"].indexOf(o)<0&&function(t){a.d(e,t,(function(){return i[t]}))}(o);e["default"]=n.a},"6ce9":function(t,e,a){var i=a("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/* 行为相关颜色 */._tab-box[data-v-6cfd186a]{width:100%;font-size:%?26?%;position:relative;z-index:10}._tab-box .scroll-view-h[data-v-6cfd186a]{height:%?80?%;line-height:%?80?%;white-space:nowrap;width:100%;box-sizing:border-box}._tab-box .scroll-view-h ._scroll-content[data-v-6cfd186a]{width:100%;height:100%;position:relative;display:inline-block}._tab-box .scroll-view-h ._scroll-content ._tab-item-box[data-v-6cfd186a]{height:100%;display:inline-block}._tab-box .scroll-view-h ._scroll-content ._tab-item-box._flex[data-v-6cfd186a]{display:flex}._tab-box .scroll-view-h ._scroll-content ._tab-item-box._flex ._item[data-v-6cfd186a]{flex:1;padding:0 %?20?%}._tab-box .scroll-view-h ._scroll-content ._tab-item-box._clamp ._item[data-v-6cfd186a]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}._tab-box .scroll-view-h ._scroll-content ._tab-item-box ._item[data-v-6cfd186a]{height:100%;display:inline-block;text-align:center;position:relative;text-align:center;color:#333}._tab-box .scroll-view-h ._scroll-content ._tab-item-box ._item._active[data-v-6cfd186a]{color:#e54d42}._tab-box .scroll-view-h ._scroll-content ._underline[data-v-6cfd186a]{height:%?4?%;background-color:#e54d42;border-radius:%?6?%;transition:-webkit-transform .5s;transition:transform .5s;transition:transform .5s,-webkit-transform .5s;position:absolute;bottom:0}',""]),t.exports=e},"6d68":function(t,e,a){"use strict";var i=a("7e73"),n=a.n(i);n.a},"6f0f":function(t,e,a){var i=a("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/* 行为相关颜色 */.sale-list[data-v-cf5a70de]{\n /* padding: 20rpx 0; */}.sale-list .sale-item .sale-goods-show[data-v-cf5a70de]{padding:%?20?% %?24?%}.sale-list .sale-item .sale-goods-show .goods-img[data-v-cf5a70de]{height:%?160?%;width:%?160?%}.sale-list .sale-item .sale-goods-show .goods-desc[data-v-cf5a70de]{margin-left:%?24?%;flex:1}.sale-list .sale-item .sale-goods-show .sale-status[data-v-cf5a70de]{padding:%?20?% %?40?%;background-color:#f6f6f6;border-radius:%?6?%}.sale-list .sale-item .sale-header[data-v-cf5a70de]{padding:%?20?% %?24?%}.sale-list .sale-item .sale-header .store-name[data-v-cf5a70de]{font-family:PingFang SC;line-height:%?40?%}.sale-list .sale-item .sale-footer[data-v-cf5a70de]{padding:0 %?24?% %?22?%}.sale-list .sale-item .sale-footer .btn[data-v-cf5a70de]{padding:%?9?% %?34?%;font-family:PingFang SC;border:1px solid #ff2c3c}.sale-list .sale-item .sale-footer .grey-btn[data-v-cf5a70de]{border:1px solid #ccc;padding:%?9?% %?34?%;font-family:PingFang SC}.bottom-opacity[data-v-cf5a70de]{opacity:.5}.data-null[data-v-cf5a70de]{padding-top:%?150?%}.tips-dialog[data-v-cf5a70de]{height:%?230?%;width:100%}',""]),t.exports=e},"6ff3":function(t,e,a){"use strict";a.r(e);var i=a("1f90"),n=a.n(i);for(var o in i)["default"].indexOf(o)<0&&function(t){a.d(e,t,(function(){return i[t]}))}(o);e["default"]=n.a},7769:function(t,e,a){"use strict";a.d(e,"b",(function(){return i})),a.d(e,"c",(function(){return n})),a.d(e,"a",(function(){}));var i=function(){var t=this.$createElement,e=this._self._c||t;return e("v-uni-view",{class:{active:this.active,inactive:!this.active,tab:!0},style:this.shouldShow?"":"display: none;"},[this.shouldRender?this._t("default"):this._e()],2)},n=[]},"7e73":function(t,e,a){var i=a("6f0f");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var n=a("4f06").default;n("2bf549c2",i,!0,{sourceMap:!1,shadowMode:!1})},"7f23":function(t,e,a){"use strict";a.d(e,"b",(function(){return i})),a.d(e,"c",(function(){return n})),a.d(e,"a",(function(){}));var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-uni-view",{staticClass:"_tab-box",style:{fontSize:t.defaultConfig.fontSize+"rpx",color:t.defaultConfig.color}},[a("v-uni-scroll-view",{staticClass:"scroll-view-h",style:{backgroundColor:t.defaultConfig.bgColor},attrs:{id:"_scroll","scroll-x":!0,"scroll-with-animation":!0,"scroll-left":t.slider.scrollLeft}},[a("v-uni-view",{staticClass:"_scroll-content"},[a("v-uni-view",{staticClass:"_tab-item-box",class:[t.defaultConfig.itemWidth?"_clamp":"_flex"]},[t._l(t.tabList,(function(e,i){return[a("v-uni-view",{key:i+"_0",staticClass:"_item",class:{_active:t.tagIndex===i},style:{color:t.tagIndex==i?t.defaultConfig.activeColor:t.defaultConfig.color,width:t.defaultConfig.itemWidth?t.defaultConfig.itemWidth+"rpx":""},attrs:{id:"_tab_"+i},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.tabClick(i)}}},[t._v(t._s(e.title))])]}))],2),a("v-uni-view",{staticClass:"_underline",style:{transform:"translateX("+t.slider.left+"px)",width:t.slider.width+"px",height:t.defaultConfig.underLineHeight+"rpx",backgroundColor:t.defaultConfig.underLineColor}})],1)],1),a("v-uni-view",{staticClass:"tab-content"},[a("v-uni-view",[t._t("default")],2)],1)],1)},n=[]},"8a11":function(t,e,a){"use strict";var i=a("0fcf"),n=a.n(i);n.a},"8ac4":function(t,e,a){var i=a("21cd");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var n=a("4f06").default;n("15638f5a",i,!0,{sourceMap:!1,shadowMode:!1})},"90f9":function(t,e,a){var i=a("091a");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var n=a("4f06").default;n("a155f2da",i,!0,{sourceMap:!1,shadowMode:!1})},"96ee":function(t,e,a){"use strict";a("7a82"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,a("c740");a("a46d");var i=a("93c3"),n={data:function(){return{active:0,afterSaleType:i.AfterSaleType.NORMAL,afterSaleList:[],afterSale:[{name:"售后申请",type:i.AfterSaleType.NORMAL,isShow:!0},{name:"处理中",type:i.AfterSaleType.HANDLING,isShow:!1},{name:"已处理",type:i.AfterSaleType.FINISH,isShow:!1}]}},components:{},props:{},onReachBottom:function(){var t=this.active,e=i.AfterSaleType.NORMAL;switch(t){case 0:e=i.AfterSaleType.NORMAL;break;case 1:break;case 2:e=i.AfterSaleType.FINISH;break;default:e=i.AfterSaleType.NORMAL;break}var a=this.$refs[e][0];a.getAfterSaleListFun&&a.getAfterSaleListFun()},methods:{onChange:function(t){this.changeShow(t)},changeShow:function(t){var e=this.afterSale,a=0==t?i.AfterSaleType.NORMAL:1==t?i.AfterSaleType.HANDLING:i.AfterSaleType.FINISH,n=e.findIndex((function(t){return t.type==a}));-1!=n&&(this.afterSale[n].isShow=!0,this.active=a==i.AfterSaleType.NORMAL?0:a==i.AfterSaleType.HANDLING?1:2),this.$refs[a]&&this.$refs[a][0].getAfterSaleListFun()&&this.$refs[a][0].getAfterSaleListFun()},goPage:function(t){var e=t.currentTarget.dataset.url;uni.navigateTo({url:e})}}};e.default=n},"97b9":function(t,e,a){"use strict";a.r(e);var i=a("4cad"),n=a("5e56");for(var o in n)["default"].indexOf(o)<0&&function(t){a.d(e,t,(function(){return n[t]}))}(o);a("bf77");var s=a("f0c5"),r=Object(s["a"])(n["default"],i["b"],i["c"],!1,null,"60f6159f",null,!1,i["a"],void 0);e["default"]=r.exports},a2b8:function(t,e,a){"use strict";var i=a("e648"),n=a.n(i);n.a},bf77:function(t,e,a){"use strict";var i=a("5da8"),n=a.n(i);n.a},cbf9:function(t,e,a){"use strict";a.d(e,"b",(function(){return n})),a.d(e,"c",(function(){return o})),a.d(e,"a",(function(){return i}));var i={uIcon:a("af4f").default},n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-uni-view",{class:{"custom-image":!0,"image-round":t.round},style:[t.viewStyle],on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.onClick.apply(void 0,arguments)}}},[t.error?t._e():a("v-uni-image",{staticClass:"image",attrs:{src:t.src,mode:t.mode,"lazy-load":t.lazyLoad,"show-menu-by-longpress":t.showMenuByLongpress},on:{load:function(e){arguments[0]=e=t.$handleEvent(e),t.onLoaded.apply(void 0,arguments)},error:function(e){arguments[0]=e=t.$handleEvent(e),t.onErrored.apply(void 0,arguments)}}}),t.loading&&t.showLoading?a("v-uni-view",{staticClass:"loading-wrap image"},[t.useLoadingSlot?t._t("loading"):a("u-icon",{attrs:{color:"#aaa",name:"photo-fill",size:"45"}})],2):t._e(),t.error&&t.showError?a("v-uni-view",{staticClass:"error-wrap image"},[t.useErrorSlot?t._t("error"):a("u-icon",{attrs:{color:"#aaa",name:"error-circle-fill",size:"45"}}),a("v-uni-text",{staticClass:"sm"},[t._v("加载失败")])],2):t._e()],1)},o=[]},d593:function(t,e,a){"use strict";var i=a("8ac4"),n=a.n(i);n.a},e237:function(t,e,a){"use strict";a.r(e);var i=a("365a"),n=a.n(i);for(var o in i)["default"].indexOf(o)<0&&function(t){a.d(e,t,(function(){return i[t]}))}(o);e["default"]=n.a},e247:function(t,e,a){var i=a("24fb");e=i(!1),e.push([t.i,".tab.active[data-v-469015b5]{height:auto}.tab.inactive[data-v-469015b5]{height:0;overflow:visible}",""]),t.exports=e},e54e:function(t,e,a){var i=a("3646");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var n=a("4f06").default;n("632fece0",i,!0,{sourceMap:!1,shadowMode:!1})},e5fc:function(t,e,a){var i=a("e247");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var n=a("4f06").default;n("576c1ece",i,!0,{sourceMap:!1,shadowMode:!1})},e648:function(t,e,a){var i=a("f630");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var n=a("4f06").default;n("4dada416",i,!0,{sourceMap:!1,shadowMode:!1})},e826:function(t,e,a){"use strict";a.r(e);var i=a("7f23"),n=a("e237");for(var o in n)["default"].indexOf(o)<0&&function(t){a.d(e,t,(function(){return n[t]}))}(o);a("8a11");var s=a("f0c5"),r=Object(s["a"])(n["default"],i["b"],i["c"],!1,null,"6cfd186a",null,!1,i["a"],void 0);e["default"]=r.exports},e9a8:function(t,e,a){"use strict";a.r(e);var i=a("649e7"),n=a("6ff3");for(var o in n)["default"].indexOf(o)<0&&function(t){a.d(e,t,(function(){return n[t]}))}(o);a("40e2");var s=a("f0c5"),r=Object(s["a"])(n["default"],i["b"],i["c"],!1,null,"6dc30303",null,!1,i["a"],void 0);e["default"]=r.exports},ea6b:function(t,e,a){"use strict";a("7a82"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,a("a9e3"),a("acd8");var i={data:function(){return{priceSlice:{}}},components:{},props:{firstSize:{type:[String,Number],default:28},secondSize:{type:[String,Number],default:28},color:{type:String},weight:{type:[String,Number],default:400},price:{type:[String,Number],default:""},showSubscript:{type:Boolean,default:!0},subscriptSize:{type:[String,Number],default:28},lineThrough:{type:Boolean,default:!1}},created:function(){this.priceFormat()},watch:{price:function(t){this.priceFormat()}},methods:{priceFormat:function(){var t=this.price,e={};null!==t&&""!==t&&void 0!==t&&(t=parseFloat(t),t=String(t).split("."),e.first=t[0],e.second=t[1],this.priceSlice=e)}}};e.default=i},ea8a:function(t,e,a){"use strict";a.r(e);var i=a("0a8e"),n=a("6ca73");for(var o in n)["default"].indexOf(o)<0&&function(t){a.d(e,t,(function(){return n[t]}))}(o);a("d593");var s=a("f0c5"),r=Object(s["a"])(n["default"],i["b"],i["c"],!1,null,"45244480",null,!1,i["a"],void 0);e["default"]=r.exports},eba8:function(t,e,a){"use strict";var i=a("e5fc"),n=a.n(i);n.a},eea4:function(t,e,a){"use strict";a("7a82"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i={props:{src:{type:String},round:Boolean,width:{type:null},height:{type:null},radius:null,lazyLoad:{type:Boolean,default:!0},useErrorSlot:Boolean,useLoadingSlot:Boolean,showMenuByLongpress:Boolean,mode:{type:String,default:"scaleToFill"},showError:{type:Boolean,default:!0},showLoading:{type:Boolean,default:!0},customStyle:{type:Object,default:function(){}}},data:function(){return{error:!1,loading:!0,viewStyle:{}}},created:function(){this.setStyle()},methods:{setStyle:function(){var t=this.width,e=this.height,a=this.radius,i={};t&&(i.width=t),e&&(i.height=e),a&&(i["overflow"]="hidden",i["border-radius"]=a),this.viewStyle=i,this.customStyle&&(this.viewStyle=Object.assign(this.viewStyle,this.customStyle))},onLoaded:function(t){this.loading=!1,this.$emit("load",t.detail)},onErrored:function(t){this.error=!1,this.loading=!0,this.$emit("error",t.detail)},onClick:function(t){this.$emit("click",t.detail)}},watch:{src:function(){this.error=!1,this.loading=!0},width:function(){this.setStyle()},height:function(){this.setStyle()}}};e.default=i},f630:function(t,e,a){var i=a("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/* 行为相关颜色 */.custom-image[data-v-07bfc4b2]{position:relative;display:block;width:100%;height:100%}.custom-image.image-round[data-v-07bfc4b2]{overflow:hidden;border-radius:50%}.custom-image .image[data-v-07bfc4b2]{display:block;width:100%;height:100%}.custom-image .loading-wrap[data-v-07bfc4b2],\n.custom-image .error-wrap[data-v-07bfc4b2]{position:absolute;top:0;left:0;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#969799;font-size:%?28?%;background-color:#f7f8fa}',""]),t.exports=e},fca0:function(t,e,a){"use strict";a.r(e);var i=a("6a2a"),n=a("0a7c");for(var o in n)["default"].indexOf(o)<0&&function(t){a.d(e,t,(function(){return n[t]}))}(o);a("6d68");var s=a("f0c5"),r=Object(s["a"])(n["default"],i["b"],i["c"],!1,null,"cf5a70de",null,!1,i["a"],void 0);e["default"]=r.exports}}]);