glhcp/server/public/mobile/static/js/bundle-pages-apply_refund-a...

1 line
33 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["bundle-pages-apply_refund-apply_refund"],{"06bd":function(t,e,n){"use strict";n.r(e);var i=n("0aa5"),a=n("8c27");for(var o in a)"default"!==o&&function(t){n.d(e,t,(function(){return a[t]}))}(o);n("0771");var r,s=n("f0c5"),l=Object(s["a"])(a["default"],i["b"],i["c"],!1,null,"2c5580d0",null,!1,i["a"],r);e["default"]=l.exports},"0771":function(t,e,n){"use strict";var i=n("1c84"),a=n.n(i);a.a},"0aa5":function(t,e,n){"use strict";n.d(e,"b",(function(){return a})),n.d(e,"c",(function(){return o})),n.d(e,"a",(function(){return i}));var i={uImage:n("7171").default,uIcon:n("4569").default,priceFormat:n("8312").default,uInput:n("5cb0").default,uUpload:n("48b9").default,uSelect:n("1f2b").default},a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("v-uni-view",{staticClass:"apply-refund"},[n("v-uni-view",{staticClass:"goods bg-white m-t-20"},[n("v-uni-view",{staticClass:"flex"},[n("u-image",{attrs:{width:"160rpx",height:"160rpx","border-radius":"6rpx","lazy-load":!0,src:t.goods.image}}),n("v-uni-view",{staticClass:"goods-info"},[n("v-uni-view",{staticClass:"line-2"},[t._v(t._s(t.goods.goods_name))]),n("v-uni-view",{staticClass:"xs muted m-t-10"},[t._v(t._s(t.goods.spec_value))])],1)],1)],1),n("v-uni-view",{staticClass:"opt-box m-t-20 bg-white"},[n("v-uni-view",{directives:[{name:"show",rawName:"v-show",value:!t.hiddenOpt,expression:"!hiddenOpt"}]},[n("v-uni-view",{staticClass:"opt-item flex row-between border-line",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.onlyRefund.apply(void 0,arguments)}}},[n("v-uni-view",[n("v-uni-view",{staticClass:"lg"},[t._v("仅退款")]),n("v-uni-view",{staticClass:"muted xs m-t-10"},[t._v("未收到货,与卖家协商同意无需退货只需退款")])],1),n("u-icon",{staticClass:"m-l-10",attrs:{name:"arrow-right",size:"28"}})],1),n("v-uni-view",{staticClass:"opt-item flex row-between",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.allRefunds.apply(void 0,arguments)}}},[n("v-uni-view",[n("v-uni-view",{staticClass:"lg"},[t._v("退货退款")]),n("v-uni-view",{staticClass:"muted xs m-t-10"},[t._v("已收到货,需退还收到的实物")])],1),n("u-icon",{staticClass:"m-l-10",attrs:{name:"arrow-right",size:"28"}})],1)],1),n("v-uni-view",{directives:[{name:"show",rawName:"v-show",value:t.hiddenOpt,expression:"hiddenOpt"}]},[n("v-uni-view",{staticClass:"refund-info flex row-between m-t-20"},[n("v-uni-view",{staticClass:"lable"},[t._v("数量")]),n("v-uni-view",[t._v(t._s(t.goods.goods_num))])],1),n("v-uni-view",{staticClass:"refund-info flex row-between"},[n("v-uni-view",{staticClass:"lable"},[t._v("退款金额")]),n("price-format",{attrs:{color:t.colorConfig.primary,price:t.goods.goods_price}})],1),n("v-uni-view",{staticClass:"refund-info flex row-between",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.showPop=!0}}},[n("v-uni-view",{staticClass:"lable"},[t._v("退款原因")]),n("v-uni-view",{staticClass:"flex"},[n("v-uni-text",{class:{muted:!t.reasonString}},[t._v(t._s(t.reasonString?t.reasonString:"请选择"))]),n("u-icon",{staticClass:"m-l-10",attrs:{name:"arrow-right",size:"28"}})],1)],1),n("v-uni-view",{staticClass:"refund-info flex col-top"},[n("v-uni-view",{staticClass:"label"},[t._v("备注说明")]),n("v-uni-view",{staticClass:"flex-1",staticStyle:{"background-color":"#F8F8F8"}},[n("u-input",{attrs:{type:"textarea",placeholder:"请描述申请售后的具体原因100字以内",border:!1,height:160},model:{value:t.remark,callback:function(e){t.remark=e},expression:"remark"}})],1)],1),n("v-uni-view",{staticClass:"upload bg-white"},[n("v-uni-view",{staticClass:"title flex row-between"},[n("v-uni-view",[t._v("上传凭证")]),n("v-uni-view",{staticClass:"muted"},[t._v("选填最多可上传1张")])],1),n("u-upload",{ref:"uUpload",attrs:{"show-progress":!1,header:{token:t.$store.getters.token},"max-count":1,width:"160",height:"160",action:t.action,"upload-text":"上传图片"},on:{"on-success":function(e){arguments[0]=e=t.$handleEvent(e),t.onSuccess.apply(void 0,arguments)},"on-remove":function(e){arguments[0]=e=t.$handleEvent(e),t.onRemove.apply(void 0,arguments)}}})],1)],1)],1),n("v-uni-button",{directives:[{name:"show",rawName:"v-show",value:t.hiddenOpt,expression:"hiddenOpt"}],staticClass:"btn br60",attrs:{type:"primary",size:"lg"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.onSubmit.apply(void 0,arguments)}}},[t._v("申请退款")]),n("u-select",{attrs:{mode:"single-column","value-name":"index","label-name":"name",list:t.reason},on:{confirm:function(e){arguments[0]=e=t.$handleEvent(e),t.confirmSelect.apply(void 0,arguments)}},model:{value:t.showPop,callback:function(e){t.showPop=e},expression:"showPop"}})],1)},o=[]},"0d00":function(t,e,n){"use strict";n.r(e);var i=n("aa0e"),a=n.n(i);for(var o in i)"default"!==o&&function(t){n.d(e,t,(function(){return i[t]}))}(o);e["default"]=a.a},"1c84":function(t,e,n){var i=n("88e9");"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var a=n("4f06").default;a("234d9b38",i,!0,{sourceMap:!1,shadowMode:!1})},"1f2b":function(t,e,n){"use strict";n.r(e);var i=n("e064"),a=n("8b89");for(var o in a)"default"!==o&&function(t){n.d(e,t,(function(){return a[t]}))}(o);n("f3fe");var r,s=n("f0c5"),l=Object(s["a"])(a["default"],i["b"],i["c"],!1,null,"2b996e3e",null,!1,i["a"],r);e["default"]=l.exports},"259e":function(t,e,n){"use strict";n("a9e3"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i={name:"u-image",props:{src:{type:String,default:""},mode:{type:String,default:"aspectFill"},width:{type:[String,Number],default:"100%"},height:{type:[String,Number],default:"auto"},shape:{type:String,default:"square"},borderRadius:{type:[String,Number],default:0},lazyLoad:{type:Boolean,default:!0},showMenuByLongpress:{type:Boolean,default:!0},loadingIcon:{type:String,default:"photo"},errorIcon:{type:String,default:"error-circle"},showLoading:{type:Boolean,default:!0},showError:{type:Boolean,default:!0},fade:{type:Boolean,default:!0},webp:{type:Boolean,default:!1},duration:{type:[String,Number],default:500},bgColor:{type:String,default:"#f3f4f6"}},data:function(){return{isError:!1,loading:!0,opacity:1,durationTime:this.duration,backgroundStyle:{}}},watch:{src:{immediate:!0,handler:function(t){t?this.isError=!1:(this.isError=!0,this.loading=!1)}}},computed:{wrapStyle:function(){var t={};return t.width=this.$u.addUnit(this.width),t.height=this.$u.addUnit(this.height),t.borderRadius="circle"==this.shape?"50%":this.$u.addUnit(this.borderRadius),t.overflow=this.borderRadius>0?"hidden":"visible",this.fade&&(t.opacity=this.opacity,t.transition="opacity ".concat(Number(this.durationTime)/1e3,"s ease-in-out")),t}},methods:{onClick:function(){this.$emit("click")},onErrorHandler:function(t){this.loading=!1,this.isError=!0,this.$emit("error",t)},onLoadHandler:function(){var t=this;if(this.loading=!1,this.isError=!1,this.$emit("load"),!this.fade)return this.removeBgColor();this.opacity=0,this.durationTime=0,setTimeout((function(){t.durationTime=t.duration,t.opacity=1,setTimeout((function(){t.removeBgColor()}),t.durationTime)}),50)},removeBgColor:function(){this.backgroundStyle={backgroundColor:"transparent"}}}};e.default=i},"37b6":function(t,e,n){"use strict";function i(t,e,n){this.$children.map((function(a){t===a.$options.name?a.$emit.apply(a,[e].concat(n)):i.apply(a,[t,e].concat(n))}))}n("99af"),n("d81d"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a={methods:{dispatch:function(t,e,n){var i=this.$parent||this.$root,a=i.$options.name;while(i&&(!a||a!==t))i=i.$parent,i&&(a=i.$options.name);i&&i.$emit.apply(i,[e].concat(n))},broadcast:function(t,e,n){i.call(this,t,e,n)}}};e.default=a},"55c1":function(t,e,n){"use strict";var i=n("4ea4");n("a9e3"),n("498a"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=i(n("37b6")),o={name:"u-input",mixins:[a.default],props:{value:{type:[String,Number],default:""},type:{type:String,default:"text"},inputAlign:{type:String,default:"left"},placeholder:{type:String,default:"请输入内容"},disabled:{type:Boolean,default:!1},maxlength:{type:[Number,String],default:140},placeholderStyle:{type:String,default:"color: #c0c4cc;"},confirmType:{type:String,default:"done"},customStyle:{type:Object,default:function(){return{}}},fixed:{type:Boolean,default:!1},focus:{type:Boolean,default:!1},passwordIcon:{type:Boolean,default:!0},border:{type:Boolean,default:!1},borderColor:{type:String,default:"#dcdfe6"},autoHeight:{type:Boolean,default:!0},selectOpen:{type:Boolean,default:!1},height:{type:[Number,String],default:""},clearable:{type:Boolean,default:!0},cursorSpacing:{type:[Number,String],default:0},selectionStart:{type:[Number,String],default:-1},selectionEnd:{type:[Number,String],default:-1},trim:{type:Boolean,default:!0},showConfirmbar:{type:Boolean,default:!0}},data:function(){return{defaultValue:this.value,inputHeight:70,textareaHeight:100,validateState:!1,focused:!1,showPassword:!1,lastValue:""}},watch:{value:function(t,e){this.defaultValue=t,t!=e&&"select"==this.type&&this.handleInput({detail:{value:t}})}},computed:{inputMaxlength:function(){return Number(this.maxlength)},getStyle:function(){var t={};return t.minHeight=this.height?this.height+"rpx":"textarea"==this.type?this.textareaHeight+"rpx":this.inputHeight+"rpx",t=Object.assign(t,this.customStyle),t},getCursorSpacing:function(){return Number(this.cursorSpacing)},uSelectionStart:function(){return String(this.selectionStart)},uSelectionEnd:function(){return String(this.selectionEnd)}},created:function(){this.$on("on-form-item-error",this.onFormItemError)},methods:{handleInput:function(t){var e=this,n=t.detail.value;this.trim&&(n=this.$u.trim(n)),this.$emit("input",n),this.defaultValue=n,setTimeout((function(){e.dispatch("u-form-item","on-form-change",n)}),40)},handleBlur:function(t){var e=this;setTimeout((function(){e.focused=!1}),100),this.$emit("blur",t.detail.value),setTimeout((function(){e.dispatch("u-form-item","on-form-blur",t.detail.value)}),40)},onFormItemError:function(t){this.validateState=t},onFocus:function(t){this.focused=!0,this.$emit("focus")},onConfirm:function(t){this.$emit("confirm",t.detail.value)},onClear:function(t){this.$emit("input","")},inputClick:function(){this.$emit("click")}}};e.default=o},"57a8":function(t,e,n){"use strict";n.r(e);var i=n("55c1"),a=n.n(i);for(var o in i)"default"!==o&&function(t){n.d(e,t,(function(){return i[t]}))}(o);e["default"]=a.a},"5a93":function(t,e,n){var i=n("24fb");e=i(!1),e.push([t.i,".price-format[data-v-0a5a34e0]{font-family:Avenir,SourceHanSansCN,PingFang SC,Arial,Hiragino Sans GB,Microsoft YaHei,sans-serif}",""]),t.exports=e},"5c2f":function(t,e,n){var i=n("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/* 行为相关颜色 */.u-image[data-v-5c6487b9]{position:relative;transition:opacity .5s ease-in-out}.u-image__image[data-v-5c6487b9]{width:100%;height:100%}.u-image__loading[data-v-5c6487b9], .u-image__error[data-v-5c6487b9]{position:absolute;top:0;left:0;width:100%;height:100%;display:flex;flex-direction:row;align-items:center;justify-content:center;background-color:#f3f4f6;color:#909399;font-size:%?46?%}',""]),t.exports=e},"5cb0":function(t,e,n){"use strict";n.r(e);var i=n("74f4"),a=n("57a8");for(var o in a)"default"!==o&&function(t){n.d(e,t,(function(){return a[t]}))}(o);n("7404");var r,s=n("f0c5"),l=Object(s["a"])(a["default"],i["b"],i["c"],!1,null,"1203163a",null,!1,i["a"],r);e["default"]=l.exports},"660b":function(t,e,n){"use strict";n.d(e,"b",(function(){return a})),n.d(e,"c",(function(){return o})),n.d(e,"a",(function(){return i}));var i={uIcon:n("4569").default},a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("v-uni-view",{staticClass:"u-image",style:[t.wrapStyle,t.backgroundStyle],on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.onClick.apply(void 0,arguments)}}},[t.isError?t._e():n("v-uni-image",{staticClass:"u-image__image",style:{borderRadius:"circle"==t.shape?"50%":t.$u.addUnit(t.borderRadius)},attrs:{src:t.src,mode:t.mode,"lazy-load":t.lazyLoad},on:{error:function(e){arguments[0]=e=t.$handleEvent(e),t.onErrorHandler.apply(void 0,arguments)},load:function(e){arguments[0]=e=t.$handleEvent(e),t.onLoadHandler.apply(void 0,arguments)}}}),t.showLoading&&t.loading?n("v-uni-view",{staticClass:"u-image__loading",style:{borderRadius:"circle"==t.shape?"50%":t.$u.addUnit(t.borderRadius),backgroundColor:this.bgColor}},[t.$slots.loading?t._t("loading"):n("u-icon",{attrs:{name:t.loadingIcon,width:t.width,height:t.height}})],2):t._e(),t.showError&&t.isError&&!t.loading?n("v-uni-view",{staticClass:"u-image__error",style:{borderRadius:"circle"==t.shape?"50%":t.$u.addUnit(t.borderRadius)}},[t.$slots.error?t._t("error"):n("u-icon",{attrs:{name:t.errorIcon,width:t.width,height:t.height}})],2):t._e()],1)},o=[]},7171:function(t,e,n){"use strict";n.r(e);var i=n("660b"),a=n("cb4c");for(var o in a)"default"!==o&&function(t){n.d(e,t,(function(){return a[t]}))}(o);n("7208");var r,s=n("f0c5"),l=Object(s["a"])(a["default"],i["b"],i["c"],!1,null,"5c6487b9",null,!1,i["a"],r);e["default"]=l.exports},7208:function(t,e,n){"use strict";var i=n("774a"),a=n.n(i);a.a},7404:function(t,e,n){"use strict";var i=n("c4f7"),a=n.n(i);a.a},"74f4":function(t,e,n){"use strict";n.d(e,"b",(function(){return a})),n.d(e,"c",(function(){return o})),n.d(e,"a",(function(){return i}));var i={uIcon:n("4569").default},a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("v-uni-view",{staticClass:"u-input",class:{"u-input--border":t.border,"u-input--error":t.validateState},style:{padding:"0 "+(t.border?20:0)+"rpx",borderColor:t.borderColor,textAlign:t.inputAlign},on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.inputClick.apply(void 0,arguments)}}},["textarea"==t.type?n("v-uni-textarea",{staticClass:"u-input__input u-input__textarea",style:[t.getStyle],attrs:{value:t.defaultValue,placeholder:t.placeholder,placeholderStyle:t.placeholderStyle,disabled:t.disabled,maxlength:t.inputMaxlength,fixed:t.fixed,focus:t.focus,autoHeight:t.autoHeight,"selection-end":t.uSelectionEnd,"selection-start":t.uSelectionStart,"cursor-spacing":t.getCursorSpacing,"show-confirm-bar":t.showConfirmbar},on:{input:function(e){arguments[0]=e=t.$handleEvent(e),t.handleInput.apply(void 0,arguments)},blur:function(e){arguments[0]=e=t.$handleEvent(e),t.handleBlur.apply(void 0,arguments)},focus:function(e){arguments[0]=e=t.$handleEvent(e),t.onFocus.apply(void 0,arguments)},confirm:function(e){arguments[0]=e=t.$handleEvent(e),t.onConfirm.apply(void 0,arguments)}}}):n("v-uni-input",{staticClass:"u-input__input",style:[t.getStyle],attrs:{type:"password"==t.type?"text":t.type,value:t.defaultValue,password:"password"==t.type&&!t.showPassword,placeholder:t.placeholder,placeholderStyle:t.placeholderStyle,disabled:t.disabled||"select"===t.type,maxlength:t.inputMaxlength,focus:t.focus,confirmType:t.confirmType,"cursor-spacing":t.getCursorSpacing,"selection-end":t.uSelectionEnd,"selection-start":t.uSelectionStart,"show-confirm-bar":t.showConfirmbar},on:{focus:function(e){arguments[0]=e=t.$handleEvent(e),t.onFocus.apply(void 0,arguments)},blur:function(e){arguments[0]=e=t.$handleEvent(e),t.handleBlur.apply(void 0,arguments)},input:function(e){arguments[0]=e=t.$handleEvent(e),t.handleInput.apply(void 0,arguments)},confirm:function(e){arguments[0]=e=t.$handleEvent(e),t.onConfirm.apply(void 0,arguments)}}}),n("v-uni-view",{staticClass:"u-input__right-icon u-flex"},[t.clearable&&""!=t.value&&t.focused?n("v-uni-view",{staticClass:"u-input__right-icon__clear u-input__right-icon__item",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.onClear.apply(void 0,arguments)}}},[n("u-icon",{attrs:{size:"32",name:"close-circle-fill",color:"#c0c4cc"}})],1):t._e(),t.passwordIcon&&"password"==t.type?n("v-uni-view",{staticClass:"u-input__right-icon__clear u-input__right-icon__item"},[n("u-icon",{attrs:{size:"32",name:t.showPassword?"eye-fill":"eye",color:"#c0c4cc"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.showPassword=!t.showPassword}}})],1):t._e(),"select"==t.type?n("v-uni-view",{staticClass:"u-input__right-icon--select u-input__right-icon__item",class:{"u-input__right-icon--select--reverse":t.selectOpen}},[n("u-icon",{attrs:{name:"arrow-down-fill",size:"26",color:"#c0c4cc"}})],1):t._e()],1)],1)},o=[]},"774a":function(t,e,n){var i=n("5c2f");"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var a=n("4f06").default;a("28f9c44e",i,!0,{sourceMap:!1,shadowMode:!1})},"7d37":function(t,e,n){var i=n("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/* 行为相关颜色 */.u-select__action[data-v-2b996e3e]{position:relative;line-height:%?70?%;height:%?70?%}.u-select__action__icon[data-v-2b996e3e]{position:absolute;right:%?20?%;top:50%;transition:-webkit-transform .4s;transition:transform .4s;transition:transform .4s,-webkit-transform .4s;-webkit-transform:translateY(-50%);transform:translateY(-50%);z-index:1}.u-select__action__icon--reverse[data-v-2b996e3e]{-webkit-transform:rotate(-180deg) translateY(50%);transform:rotate(-180deg) translateY(50%)}.u-select__hader__title[data-v-2b996e3e]{color:#606266}.u-select--border[data-v-2b996e3e]{border-radius:%?6?%;border-radius:4px;border:1px solid #dcdfe6}.u-select__header[data-v-2b996e3e]{display:flex;flex-direction:row;align-items:center;justify-content:space-between;height:%?80?%;padding:0 %?40?%}.u-select__body[data-v-2b996e3e]{width:100%;height:%?500?%;overflow:hidden;background-color:#fff}.u-select__body__picker-view[data-v-2b996e3e]{height:100%;box-sizing:border-box}.u-select__body__picker-view__item[data-v-2b996e3e]{display:flex;flex-direction:row;align-items:center;justify-content:center;font-size:%?32?%;color:#303133;padding:0 %?8?%}',""]),t.exports=e},"7eac":function(t,e,n){"use strict";var i=n("ab77"),a=n.n(i);a.a},8312:function(t,e,n){"use strict";n.r(e);var i=n("a126"),a=n("0d00");for(var o in a)"default"!==o&&function(t){n.d(e,t,(function(){return a[t]}))}(o);n("7eac");var r,s=n("f0c5"),l=Object(s["a"])(a["default"],i["b"],i["c"],!1,null,"0a5a34e0",null,!1,i["a"],r);e["default"]=l.exports},"88e9":function(t,e,n){var i=n("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/* 行为相关颜色 */.apply-refund[data-v-2c5580d0]{padding-bottom:%?50?%}.apply-refund .goods[data-v-2c5580d0]{padding:%?20?% %?24?%}.apply-refund .goods .goods-info[data-v-2c5580d0]{margin-left:%?24?%;flex:1}.opt-box .opt-item[data-v-2c5580d0]{padding:%?20?% %?20?% %?30?%}.apply-refund .refund-info[data-v-2c5580d0]{padding:%?24?% %?20?%;border-bottom:1px solid #e5e5e5}.apply-refund .refund-info .label[data-v-2c5580d0]{width:%?140?%;margin-top:%?19?%}.apply-refund .refund-info uni-textarea[data-v-2c5580d0]{flex:1;height:%?172?%;border-radius:%?10?%;padding:%?20?%;box-sizing:border-box}.apply-refund .upload[data-v-2c5580d0]{padding:0 %?20?% %?30?%}.apply-refund .upload .title[data-v-2c5580d0]{padding:%?24?% 0}.apply-refund .btn[data-v-2c5580d0]{margin:%?30?% %?26?%}',""]),t.exports=e},"8b89":function(t,e,n){"use strict";n.r(e);var i=n("cd6a"),a=n.n(i);for(var o in i)"default"!==o&&function(t){n.d(e,t,(function(){return i[t]}))}(o);e["default"]=a.a},"8c27":function(t,e,n){"use strict";n.r(e);var i=n("d2d6"),a=n.n(i);for(var o in i)"default"!==o&&function(t){n.d(e,t,(function(){return i[t]}))}(o);e["default"]=a.a},"9b09":function(t,e,n){var i=n("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/* 行为相关颜色 */.u-input[data-v-1203163a]{position:relative;flex:1;display:flex;flex-direction:row}.u-input__input[data-v-1203163a]{font-size:%?28?%;color:#303133;flex:1}.u-input__textarea[data-v-1203163a]{width:auto;font-size:%?28?%;color:#303133;padding:%?10?% 0;line-height:normal;flex:1}.u-input--border[data-v-1203163a]{border-radius:%?6?%;border-radius:4px;border:1px solid #dcdfe6}.u-input--error[data-v-1203163a]{border-color:#fa3534!important}.u-input__right-icon__item[data-v-1203163a]{margin-left:%?10?%}.u-input__right-icon--select[data-v-1203163a]{transition:-webkit-transform .4s;transition:transform .4s;transition:transform .4s,-webkit-transform .4s}.u-input__right-icon--select--reverse[data-v-1203163a]{-webkit-transform:rotate(-180deg);transform:rotate(-180deg)}',""]),t.exports=e},a084:function(t,e,n){var i=n("7d37");"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var a=n("4f06").default;a("bbeb1f2c",i,!0,{sourceMap:!1,shadowMode:!1})},a126:function(t,e,n){"use strict";var i;n.d(e,"b",(function(){return a})),n.d(e,"c",(function(){return o})),n.d(e,"a",(function(){return i}));var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("v-uni-text",{class:(t.lineThrough?"line-through":"")+" price-format",style:{color:t.color,"font-weight":t.weight}},[t.showSubscript?n("v-uni-text",{style:{"font-size":t.subscriptSize+"rpx","margin-right":"2rpx"}},[t._v("¥")]):t._e(),n("v-uni-text",{style:{"font-size":t.firstSize+"rpx","margin-right":"1rpx"}},[t._v(t._s(t.priceSlice.first))]),t.priceSlice.second?n("v-uni-text",{style:{"font-size":t.secondSize+"rpx"}},[t._v("."+t._s(t.priceSlice.second))]):t._e()],1)},o=[]},aa0e:function(t,e,n){"use strict";n("a9e3"),n("acd8"),n("ac1f"),n("1276"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;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):this.priceSlice={first:0}}}};e.default=i},ab77:function(t,e,n){var i=n("5a93");"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var a=n("4f06").default;a("0d47c85e",i,!0,{sourceMap:!1,shadowMode:!1})},c4f7:function(t,e,n){var i=n("9b09");"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var a=n("4f06").default;a("5682a912",i,!0,{sourceMap:!1,shadowMode:!1})},cb29:function(t,e,n){var i=n("23e7"),a=n("81d5"),o=n("44d2");i({target:"Array",proto:!0},{fill:a}),o("fill")},cb4c:function(t,e,n){"use strict";n.r(e);var i=n("259e"),a=n.n(i);for(var o in i)"default"!==o&&function(t){n.d(e,t,(function(){return i[t]}))}(o);e["default"]=a.a},cd6a:function(t,e,n){"use strict";n("cb29"),n("d81d"),n("a9e3"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i={props:{list:{type:Array,default:function(){return[]}},border:{type:Boolean,default:!0},value:{type:Boolean,default:!1},cancelColor:{type:String,default:"#606266"},confirmColor:{type:String,default:"#2979ff"},zIndex:{type:[String,Number],default:0},safeAreaInsetBottom:{type:Boolean,default:!1},maskCloseAble:{type:Boolean,default:!0},defaultValue:{type:Array,default:function(){return[0]}},mode:{type:String,default:"single-column"},valueName:{type:String,default:"value"},labelName:{type:String,default:"label"},childName:{type:String,default:"children"},title:{type:String,default:""},cancelText:{type:String,default:"取消"},confirmText:{type:String,default:"确认"}},data:function(){return{defaultSelector:[0],columnData:[],selectValue:[],lastSelectIndex:[],columnNum:0,moving:!1}},watch:{value:{immediate:!0,handler:function(t){var e=this;t&&setTimeout((function(){return e.init()}),10)}}},computed:{uZIndex:function(){return this.zIndex?this.zIndex:this.$u.zIndex.popup}},methods:{pickstart:function(){},pickend:function(){},init:function(){this.setColumnNum(),this.setDefaultSelector(),this.setColumnData(),this.setSelectValue()},setDefaultSelector:function(){this.defaultSelector=this.defaultValue.length==this.columnNum?this.defaultValue:Array(this.columnNum).fill(0),this.lastSelectIndex=this.$u.deepClone(this.defaultSelector)},setColumnNum:function(){if("single-column"==this.mode)this.columnNum=1;else if("mutil-column"==this.mode)this.columnNum=this.list.length;else if("mutil-column-auto"==this.mode){var t=1,e=this.list;while(e[0][this.childName])e=e[0]?e[0][this.childName]:{},t++;this.columnNum=t}},setColumnData:function(){var t=[];if(this.selectValue=[],"mutil-column-auto"==this.mode)for(var e=this.list[this.defaultSelector.length?this.defaultSelector[0]:0],n=0;n<this.columnNum;n++)0==n?(t[n]=this.list,e=e[this.childName]):(t[n]=e,e=e[this.defaultSelector[n]][this.childName]);else"single-column"==this.mode?t[0]=this.list:t=this.list;this.columnData=t},setSelectValue:function(){for(var t=null,e=0;e<this.columnNum;e++){t=this.columnData[e][this.defaultSelector[e]];var n={value:t?t[this.valueName]:null,label:t?t[this.labelName]:null};t&&t.extra&&(n.extra=t.extra),this.selectValue.push(n)}},columnChange:function(t){var e=this,n=null,i=t.detail.value;if(this.selectValue=[],"mutil-column-auto"==this.mode){this.lastSelectIndex.map((function(t,e){t!=i[e]&&(n=e)})),this.defaultSelector=i;for(var a=n+1;a<this.columnNum;a++)this.columnData[a]=this.columnData[a-1][a-1==n?i[n]:0][this.childName],this.defaultSelector[a]=0;i.map((function(t,n){var a=e.columnData[n][i[n]],o={value:a?a[e.valueName]:null,label:a?a[e.labelName]:null};a&&void 0!==a.extra&&(o.extra=a.extra),e.selectValue.push(o)})),this.lastSelectIndex=i}else if("single-column"==this.mode){var o=this.columnData[0][i[0]],r={value:o?o[this.valueName]:null,label:o?o[this.labelName]:null};o&&void 0!==o.extra&&(r.extra=o.extra),this.selectValue.push(r)}else"mutil-column"==this.mode&&i.map((function(t,n){var a=e.columnData[n][i[n]],o={value:a?a[e.valueName]:null,label:a?a[e.labelName]:null};a&&void 0!==a.extra&&(o.extra=a.extra),e.selectValue.push(o)}))},close:function(){this.$emit("input",!1)},getResult:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;t&&this.$emit(t,this.selectValue),this.close()},selectHandler:function(){this.$emit("click")}}};e.default=i},d2d6:function(t,e,n){"use strict";var i=n("4ea4");n("d81d"),n("a434"),n("ac1f"),n("5319"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,n("96cf");var a=i(n("1da1")),o=n("d429"),r=n("2075"),s=n("e9dc"),l=n("357b"),u={data:function(){return{action:r.baseURL+"/api/file/formimage",hiddenOpt:!1,optTyle:o.refundOptType.ONLY_REFUND,goods:{},reason:[],showPop:!1,reasonString:"",fileList:[],remark:""}},onLoad:function(t){var e=this.$Route.query,n=e.order_id,i=e.item_id,a=e.after_sale_id;this.orderId=n,this.itemId=i,this.afterSaleId=a,this.getGoodsInfoFun(),this.onSubmit=(0,l.trottle)(this.onSubmit,1e3,this)},methods:{confirmSelect:function(t){this.reasonString=t[0].label},onlyRefund:function(){this.optTyle=o.refundOptType.ONLY_REFUND,this.hiddenOpt=!0},allRefunds:function(){this.optTyle=o.refundOptType.REFUNDS,this.hiddenOpt=!0},onSuccess:function(t){this.fileList.push(t.data.base_uri)},onRemove:function(t){this.fileList.splice(t,1),console.log(t)},onSubmit:function(){var t=this;return(0,a.default)(regeneratorRuntime.mark((function e(){var n,i,a,o,r,l,u,c,d;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(t.reason,n=t.reasonString,i=t.optTyle,a=t.remark,o=t.fileList,n){e.next=3;break}return e.abrupt("return",t.$toast({title:"请选择退款原因"}));case 3:if(r={reason:n,refund_type:i,remark:a,img:o.length?o[0]:""},t.afterSaleId?r.id=t.afterSaleId:(r.item_id=t.itemId,r.order_id=t.orderId),!t.afterSaleId){e.next=11;break}return e.next=8,(0,s.applyAgain)(r);case 8:e.t0=e.sent,e.next=14;break;case 11:return e.next=13,(0,s.applyAfterSale)(r);case 13:e.t0=e.sent;case 14:l=e.t0,u=l.data,c=l.code,d=l.msg,1==c&&(t.$toast({title:d}),uni.$emit("refreshsale"),setTimeout((function(){t.$Router.replace({path:"/bundle/pages/after_sales_detail/after_sales_detail",query:{id:u.after_sale_id}})}),1e3));case 19:case"end":return e.stop()}}),e)})))()},getGoodsInfoFun:function(){var t=this,e=this.orderId,n=this.itemId;(0,s.getGoodsInfo)({order_id:e,item_id:n}).then((function(e){1==e.code&&(t.goods=e.data.goods,t.reason=e.data.reason.map((function(t,e){return{name:t,index:e}})))}))}}};e.default=u},e064:function(t,e,n){"use strict";n.d(e,"b",(function(){return a})),n.d(e,"c",(function(){return o})),n.d(e,"a",(function(){return i}));var i={uPopup:n("a821").default},a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("v-uni-view",{staticClass:"u-select"},[n("u-popup",{attrs:{maskCloseAble:t.maskCloseAble,mode:"bottom",popup:!1,length:"auto",safeAreaInsetBottom:t.safeAreaInsetBottom,"z-index":t.uZIndex},on:{close:function(e){arguments[0]=e=t.$handleEvent(e),t.close.apply(void 0,arguments)}},model:{value:t.value,callback:function(e){t.value=e},expression:"value"}},[n("v-uni-view",{staticClass:"u-select"},[n("v-uni-view",{staticClass:"u-select__header",on:{touchmove:function(e){e.stopPropagation(),e.preventDefault(),arguments[0]=e=t.$handleEvent(e)}}},[n("v-uni-view",{staticClass:"u-select__header__cancel u-select__header__btn",style:{color:t.cancelColor},attrs:{"hover-class":"u-hover-class","hover-stay-time":150},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.getResult("cancel")}}},[t._v(t._s(t.cancelText))]),n("v-uni-view",{staticClass:"u-select__header__title"},[t._v(t._s(t.title))]),n("v-uni-view",{staticClass:"u-select__header__confirm u-select__header__btn",style:{color:t.moving?t.cancelColor:t.confirmColor},attrs:{"hover-class":"u-hover-class","hover-stay-time":150},on:{touchmove:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e)},click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.getResult("confirm")}}},[t._v(t._s(t.confirmText))])],1),n("v-uni-view",{staticClass:"u-select__body"},[n("v-uni-picker-view",{staticClass:"u-select__body__picker-view",attrs:{value:t.defaultSelector},on:{change:function(e){arguments[0]=e=t.$handleEvent(e),t.columnChange.apply(void 0,arguments)},pickstart:function(e){arguments[0]=e=t.$handleEvent(e),t.pickstart.apply(void 0,arguments)},pickend:function(e){arguments[0]=e=t.$handleEvent(e),t.pickend.apply(void 0,arguments)}}},t._l(t.columnData,(function(e,i){return n("v-uni-picker-view-column",{key:i},t._l(e,(function(e,i){return n("v-uni-view",{key:i,staticClass:"u-select__body__picker-view__item"},[n("v-uni-view",{staticClass:"u-line-1"},[t._v(t._s(e[t.labelName]))])],1)})),1)})),1)],1)],1)],1)],1)},o=[]},f3fe:function(t,e,n){"use strict";var i=n("a084"),a=n.n(i);a.a}}]);