Files
2026-04-14 17:38:46 +08:00

1 line
9.0 KiB
JavaScript
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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([[8,19],{476:function(t,e,r){"use strict";var n=r(14),o=r(4),l=r(5),c=r(141),f=r(24),d=r(18),_=r(293),m=r(54),v=r(104),h=r(292),y=r(3),x=r(105).f,S=r(45).f,N=r(23).f,w=r(477),I=r(478).trim,C="Number",E=o.Number,A=E.prototype,M=o.TypeError,F=l("".slice),O=l("".charCodeAt),k=function(t){var e=h(t,"number");return"bigint"==typeof e?e:T(e)},T=function(t){var e,r,n,o,l,c,f,code,d=h(t,"number");if(v(d))throw M("Cannot convert a Symbol value to a number");if("string"==typeof d&&d.length>2)if(d=I(d),43===(e=O(d,0))||45===e){if(88===(r=O(d,2))||120===r)return NaN}else if(48===e){switch(O(d,1)){case 66:case 98:n=2,o=49;break;case 79:case 111:n=8,o=55;break;default:return+d}for(c=(l=F(d,2)).length,f=0;f<c;f++)if((code=O(l,f))<48||code>o)return NaN;return parseInt(l,n)}return+d};if(c(C,!E(" 0o1")||!E("0b1")||E("+0x1"))){for(var z,L=function(t){var e=arguments.length<1?0:E(k(t)),r=this;return m(A,r)&&y((function(){w(r)}))?_(Object(e),r,L):e},R=n?x(E):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,fromString,range".split(","),D=0;R.length>D;D++)d(E,z=R[D])&&!d(L,z)&&N(L,z,S(E,z));L.prototype=A,A.constructor=L,f(o,C,L,{constructor:!0})}},477:function(t,e,r){var n=r(5);t.exports=n(1..valueOf)},478:function(t,e,r){var n=r(5),o=r(36),l=r(19),c=r(479),f=n("".replace),d="["+c+"]",_=RegExp("^"+d+d+"*"),m=RegExp(d+d+"*$"),v=function(t){return function(e){var r=l(o(e));return 1&t&&(r=f(r,_,"")),2&t&&(r=f(r,m,"")),r}};t.exports={start:v(1),end:v(2),trim:v(3)}},479:function(t,e){t.exports="\t\n\v\f\r    \u2028\u2029\ufeff"},480:function(t,e,r){var content=r(483);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,r(17).default)("7c52e05d",content,!0,{sourceMap:!1})},481:function(t,e,r){"use strict";r.r(e);r(476);var n={data:function(){return{priceSlice:{}}},components:{},props:{firstSize:{type:Number,default:14},secondSize:{type:Number,default:14},color:{type:String},weight:{type:[String,Number],default:400},price:{type:[String,Number],default:""},showSubscript:{type:Boolean,default:!0},subscriptSize:{type:Number,default:14},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=String(t).split("."),e.first=t[0],e.second=t[1],this.priceSlice=e)}}},o=(r(482),r(8)),component=Object(o.a)(n,(function(){var t=this,e=t._self._c;return e("span",{class:(t.lineThrough?"line-through":"")+"price-format",style:{color:t.color,"font-weight":t.weight}},[t.showSubscript?e("span",{style:{"font-size":t.subscriptSize+"px","margin-right":"1px"}},[t._v("¥")]):t._e(),t._v(" "),e("span",{style:{"font-size":t.firstSize+"px","margin-right":"1px"}},[t._v(t._s(t.priceSlice.first))]),t._v(" "),t.priceSlice.second?e("span",{style:{"font-size":t.secondSize+"px"}},[t._v("."+t._s(t.priceSlice.second))]):t._e()])}),[],!1,null,null,null);e.default=component.exports},482:function(t,e,r){"use strict";r(480)},483:function(t,e,r){var n=r(16)(!1);n.push([t.i,".price-format{display:flex;align-items:baseline}",""]),t.exports=n},496:function(t,e,r){"use strict";r.d(e,"d",(function(){return n})),r.d(e,"e",(function(){return o})),r.d(e,"c",(function(){return l})),r.d(e,"b",(function(){return c})),r.d(e,"a",(function(){return f}));var n=5,o={SMS:0,ACCOUNT:1},l={REGISTER:"ZCYZ",FINDPWD:"ZHMM",LOGIN:"YZMDL",SJSQYZ:"SJSQYZ",CHANGE_MOBILE:"BGSJHM",BIND:"BDSJHM"},c={NONE:"",SEX:"sex",NICKNAME:"nickname",AVATAR:"avatar",MOBILE:"mobile"},f={NORMAL:"normal",HANDLING:"apply",FINISH:"finish"}},525:function(t,e,r){var content=r(550);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,r(17).default)("30c84880",content,!0,{sourceMap:!1})},549:function(t,e,r){"use strict";r(525)},550:function(t,e,r){var n=r(16)(!1);n.push([t.i,".after-sales-list .after-sales-header[data-v-d2a05846]{border:1px solid #e5e5e5;background-color:#f2f2f2;padding:13px 16px}.after-sales-list .after-sales-content .goods-item[data-v-d2a05846]{padding:10px 20px}.after-sales-list .after-sales-content .goods-item .goods-info[data-v-d2a05846]{margin-left:10px;width:500px}.after-sales-list .after-sales-content .goods-item .apply-btn[data-v-d2a05846]{border:1px solid #ccc;border-radius:2px;width:100px;height:32px;align-self:flex-start}.after-sales-list .after-sales-content .goods-item .apply-btn[data-v-d2a05846]:nth-of-type(2n),.after-sales-list .after-sales-content .goods-item .apply-btn[data-v-d2a05846]:nth-of-type(3){margin-left:10px}.after-sales-list .shadow[data-v-d2a05846]{box-shadow:0 3px 4px rgba(0,0,0,.08)}.after-sales-list .border[data-v-d2a05846]{border-bottom:1px solid #e5e5e5}",""]),t.exports=n},605:function(t,e,r){"use strict";r.r(e);var n=r(9),o=(r(53),r(496)),l={props:{type:{type:String,default:o.a.NORMAL},lists:{type:Array,default:function(){return[]}}},data:function(){return{}},methods:{goToDetail:function(t){switch(this.type){case o.a.NORMAL:this.$router.push("/goods_details/"+t);break;case o.a.HANDLING:case o.a.FINISH:this.$router.push("/user/after_sales/after_sale_details?afterSaleId="+t)}},goPage:function(t,e){this.$router.push("/user/after_sales/apply_sale?order_id="+t+"&item_id="+e)},showInput:function(t){this.$emit("show",t)},cancelApply:function(t){var e=this;return Object(n.a)(regeneratorRuntime.mark((function r(){var n;return regeneratorRuntime.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,e.$post("after_sale/cancel",{id:t});case 2:1==(n=r.sent).code&&(e.$message({message:n.msg,type:"success"}),e.$emit("refresh"));case 4:case"end":return r.stop()}}),r)})))()}}},c=(r(549),r(8)),component=Object(c.a)(l,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"after-sales-list"},t._l(t.lists,(function(r){return e("div",{key:r.order_id,staticClass:"m-b-20"},[e("div",{staticClass:"after-sales-header m-t-30 flex row-between",staticStyle:{border:"0"}},[e("div",{staticClass:"flex row-around"},[e("div",{staticClass:"lighter sm flex",staticStyle:{"margin-right":"100px"}},[e("img",{staticClass:"m-r-5",staticStyle:{width:"20px",height:"20px"},attrs:{src:r.shop_logo,alt:""}}),t._v("\n "+t._s(r.shop_name)+"\n ")]),t._v(" "),"normal"==t.type?e("div",{staticClass:"lighter sm"},[t._v("\n 申请时间:"+t._s(r.create_time)+"\n ")]):e("div",{staticClass:"lighter sm",staticStyle:{"margin-left":"110px"}},[t._v("\n 下单时间:"+t._s(r.after_sale.status_text)+"\n ")]),t._v(" "),"normal"==t.type?e("div",{staticClass:"lighter sm",staticStyle:{"margin-left":"110px"}},[t._v("\n 订单编号:"+t._s(r.order_sn)+"\n ")]):e("div",{staticClass:"lighter sm",staticStyle:{"margin-left":"110px"}},[t._v("\n 退款编号:"+t._s(r.after_sale.sn)+"\n ")])]),t._v(" "),e("div",{staticClass:"primary sm",staticStyle:{"margin-right":"12px"}},[t._v("\n "+t._s(r.after_sale.type_text)+"\n ")])]),t._v(" "),e("div",{staticClass:"after-sales-content",class:{shadow:"normal"!=t.type,border:"normal"==t.type}},t._l(r.order_goods,(function(n,o){return e("div",{key:o,staticClass:"goods-item flex row-between"},[e("div",{staticClass:"flex"},[e("el-image",{staticStyle:{width:"72px",height:"72px"},attrs:{src:n.image}}),t._v(" "),e("div",{staticClass:"goods-info"},[e("div",{staticClass:"goods-name noraml line1"},[t._v("\n "+t._s(n.goods_name)+"\n ")]),t._v(" "),e("div",{staticClass:"muted sm m-t-8 m-b-8"},[t._v("\n "+t._s(n.spec_value_str)+"\n ")]),t._v(" "),e("price-formate",{attrs:{price:n.goods_price,showSubscript:"",color:"#FF2C3C"}})],1)],1),t._v(" "),e("div",{staticClass:"flex row-right",style:{width:"apply"!=t.type?null:"340px"}},["normal"==t.type?e("el-button",{staticClass:"apply-btn row-center mr20 sm",attrs:{size:"small"},on:{click:function(e){return e.stopPropagation(),t.goPage(r.order_id,n.item_id)}}},[t._v("申请售后\n ")]):t._e(),t._v(" "),"normal"!=t.type?e("el-button",{staticClass:"apply-btn row-center mr20 sm",attrs:{size:"small"},on:{click:function(e){return t.goToDetail(r.after_sale.after_sale_id)}}},[t._v("查看详情")]):t._e(),t._v(" "),"apply"==t.type?e("el-button",{staticClass:"apply-btn row-center mr20 sm",attrs:{size:"small"},on:{click:function(e){return e.stopPropagation(),t.cancelApply(r.after_sale.after_sale_id)}}},[t._v("撤销申请")]):t._e(),t._v(" "),2==r.after_sale.status?e("el-button",{staticClass:"apply-btn row-center mr20 sm",attrs:{size:"small"},on:{click:function(e){return e.stopPropagation(),t.showInput(r.after_sale.after_sale_id)}}},[t._v("填写快递单号")]):t._e()],1)])})),0)])})),0)}),[],!1,null,"d2a05846",null);e.default=component.exports;installComponents(component,{PriceFormate:r(481).default})}}]);