qingnianyexiao2.0/unpackage/dist/build/web/static/js/pages-afterSales-list.b97f0396.js
2025-04-01 09:03:51 +08:00

1 line
14 KiB
JavaScript
Raw 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([["pages-afterSales-list"],{"001c":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADQAAAA0CAYAAADFeBvrAAAAAXNSR0IArs4c6QAABDBJREFUaEPtmE1oXFUUx38nTSClqRS02EKKdWWhWXSh4KIFxYUBlba4sAvBLiy0WDHtvOkHBhwhUmXe6IAVs+iiggsFRQWL6aK00C4EBQVb0JURFUeMENsJDSSd49w3ifPmdT7unfdmkPDu9p2v//mfe949R1hjR9YYHlJA/3dGU4ZShvqcgbTk+pxwZ3cpQx1TltNBNvAUwjgwBuwA7lvRK6H8xgBfU2GGBS6Rk8WONh0EkmMop5vYyCsoE8AmyxjmgWmG8Tkqf1vqtBVLBpCvL1RBFB2ARIMqIUyQkY/jgooHyJTXCO8DL8YNZEV/mjLH4pRh94ByOsxGPkODuxI98yjnEWYY4Do3+TMQuIf7qTAW6AjPh+5WXd/o3OIZcrLcTZK6B+SrYeZwg1PFXPApFih0zLJJyAgvoUwhDEeCP4cnh/oHqKDPoXwUcTjLHcY5KT85BVLUh1hmBtge0TuIJx842YIuxgdfTQv+odqdtoSczQKP4ckvrgEE8r4+UNW/EgE1T5kHyYnphNbHveR8PQOc+s+DKbMKu5yZiYZomFri+4byE3Jk5HVrNM4M1er+j0h79vCk4OK0pWxeX0WYCn03LG12aRBuDOXVvAC+DDmco8y2jg3AFm2zhCn7yMoXtibcABX0XZSjoXIrkpVjts6s5PL6TvCTrZ9pPDlipetccnn9psrQwyHj43hy0daZlZyvT0LQ9VbPNTzZY6XrDMhXc3/q3W2AUY7L77bOrOTe0lHW8WuoCubIymYr3S4AaYPhMkMuF9YqqNpzaqlB1hPrq2EtGDjwdc0B+qvh/dWfkiuRla1W7HZRcleB3X1tCsq3ZOWRXgFqfJAqvW/bwlky8nJvAOV1L8LnkT/51oR/rKbDrY7soDxdZehCbwDVOpC5R/URW5kkK2/YOmwr52vGtJ44CXPrcsZTQV9DyYX+E4sMsYsJx7EhiszXHSjfRWajN/HktEuy3AGZZcgIP0ceqLMs8TinxYwR7ueMbmeIyw3jg1JiPWOuyxN3QLX/kVmKnI9EPssg485MGWbgq7sGvAoHOOG+NOkOUEGfRfnkLirMbCRMVp/873VsFLWdRIYKk01GcKcHaTgOd0A1MGb8HmxTW3MIH6LMcIcb3KYUyK5nC+vYGSwhlYNN115GZ4H9HRPSwrkboGZglOXqUNYOnMudOkeZI3Heh/aAWoFRDgRsCUWkYc/gAsTsDSa6WYpEndgBagfmhHwaGD2r97KIt7Lasl8Fm0QsUeSU/OOSgVaynQHVupDZ8tTLypSZYWYVTNi6uewbeAKCBeSjCKOhGWoO+BG4HtyvBS7EKa9moDoDiv5M24FJIsUxbdgBWgVlWmwrZmIGkpS6PSDj8W3dyXG5kZTzXthxA9SLCBK2mQJKOKGJm0sZSjylCRtMGUo4oYmbSxlKPKUJG/wXoYxURAZG4esAAAAASUVORK5CYII="},"191f":function(t,e,a){var i=a("c86c");e=i(!1),e.push([t.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/* 图片尺寸 */\r\n/* Border Radius */\r\n/* 水平间距 */\r\n/* 垂直间距 */\r\n/* 透明度 */\r\n/* 文章场景相关 */.box[data-v-bce79f0e]{background:linear-gradient(180deg,#f1f2f8 0,#fff 5%,#fff)}.box .con-center[data-v-bce79f0e]{width:%?690?%}.box .con-center .centerBack[data-v-bce79f0e]{position:fixed;width:100%;height:100%;top:%?25?%;left:0;z-index:-1}.box .con-center .header[data-v-bce79f0e]{height:%?50?%;margin-top:%?37?%}.box .con-center .header .s-header[data-v-bce79f0e]{width:%?104?%;height:%?50?%;font-family:PingFang SC;font-weight:400;font-size:%?28?%;color:#9e9e9e;line-height:%?26?%}.box .con-center .header .s-header.selected[data-v-bce79f0e]{width:%?104?%;height:%?50?%;background:#008cff;border-radius:%?12?% %?12?% %?12?% %?12?%;font-family:PingFang SC;font-weight:800;font-size:%?28?%;color:#fff;line-height:%?26?%}.w-100[data-v-bce79f0e]{width:100%}.flex[data-v-bce79f0e]{display:flex}.flex-start[data-v-bce79f0e]{align-items:flex-start}.justify-center[data-v-bce79f0e]{justify-content:center}.align-items[data-v-bce79f0e]{align-items:center}.flex-column[data-v-bce79f0e]{flex-flow:column}.justify-start[data-v-bce79f0e]{justify-content:start}.line[data-v-bce79f0e]{margin-top:%?12?%;width:%?690?%;height:%?1?%;background:#008cff;border-radius:%?0?% %?0?% %?0?% %?0?%}.centerBox[data-v-bce79f0e]{width:%?690?%}.centerBox .error[data-v-bce79f0e]{width:100%;word-break:break-all}.centerBox .box-line[data-v-bce79f0e]{width:%?400?%;height:%?1?%;background:#d9d9d9;border-radius:%?0?% %?0?% %?0?% %?0?%;margin-top:%?24?%}.centerBox .center[data-v-bce79f0e]{margin:%?32?% 0 %?32?% 0}.centerBox .rightBox[data-v-bce79f0e]{margin-left:%?24?%;width:%?378?%}.centerBox .rightBox .line-row[data-v-bce79f0e]{width:%?382?%;height:%?1?%;background:#d9d9d9;box-shadow:%?1?% %?1?% %?0?% %?0?% hsla(0,0%,40%,.25);margin:%?14?% 0 %?6?% 0}.centerBox .rightBox .name[data-v-bce79f0e]{font-weight:800;font-size:%?36?%;color:#343434;margin-bottom:%?24?%;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1;\r\n /* 设置行数 */overflow:hidden;text-overflow:ellipsis;word-break:break-all\r\n /* 防止单词被截断 */}.centerBox .rightBox .minge[data-v-bce79f0e]{font-weight:500;font-size:%?24?%;color:#7a7a7a;margin-bottom:%?14?%}.centerBox .rightBox .pass[data-v-bce79f0e]{font-family:PingFang SC;font-weight:500;font-size:%?26?%;color:#34dc12}.centerBox .rightBox .full[data-v-bce79f0e]{font-family:PingFang SC;font-weight:500;font-size:%?24?%;color:#ff2323}.centerBox .rightBox .money[data-v-bce79f0e]{font-weight:800;font-size:%?24?%;color:#ff2323}.centerBox .rightBox .money span[data-v-bce79f0e]{font-weight:500;font-size:%?24?%;color:#7a7a7a}.centerBox .rightBox .Cancel[data-v-bce79f0e]{width:%?138?%;height:%?48?%;border-radius:%?12?% %?12?% %?12?% %?12?%;background:#008cff;font-family:PingFang SC;font-weight:800;font-size:%?24?%;color:#fff;line-height:%?32?%;letter-spacing:4px;display:flex;align-items:center;justify-content:center;align-self:flex-end;margin-top:%?12?%}.centerBox .rightBox .make[data-v-bce79f0e]{width:%?138?%;height:%?48?%;background:#008cff;border-radius:%?12?% %?12?% %?12?% %?12?%;font-family:PingFang SC;font-weight:800;font-size:%?24?%;color:#fff;line-height:%?32?%;letter-spacing:4px;display:flex;align-items:center;justify-content:center;align-self:flex-end;margin-left:%?16?%}.centerBox .rightBox .QR[data-v-bce79f0e]{width:%?138?%;height:%?48?%;background:#4974ff;box-shadow:%?2?% %?2?% %?0?% %?0?% rgba(0,0,0,.4);border-radius:%?8?% %?8?% %?8?% %?8?%;font-weight:400;font-size:%?26?%;color:#eaeaea;display:flex;align-items:center;justify-content:center;align-self:flex-end;margin-top:%?50?%}.charge[data-v-bce79f0e]{font-family:PingFang SC;font-weight:800;font-size:%?28?%;color:#ff2323;line-height:%?32?%}.search[data-v-bce79f0e]{margin-top:%?24?%;width:%?690?%;height:%?64?%;background:#fff;box-shadow:%?2?% %?2?% %?0?% %?0?% rgba(0,0,0,.4);border-radius:%?8?% %?8?% %?8?% %?8?%;border:%?2?% solid #008cff}.search .dashed uni-image[data-v-bce79f0e]{width:%?52?%;height:%?52?%}.search .line-search[data-v-bce79f0e]{width:%?2?%;height:%?42?%;background:#008cff;border-radius:%?0?% %?0?% %?0?% %?0?%}.search .input[data-v-bce79f0e]{padding-left:%?12?%;height:100%;width:100%}.search[data-v-bce79f0e] .input-placeholder{font-family:PingFang SC;font-weight:500;font-size:%?32?%;color:silver;line-height:%?32?%;text-align:left;font-style:normal;text-transform:none}.popup .header[data-v-bce79f0e]{margin-left:%?24?%;font-family:PingFang SC;font-weight:800;font-size:%?42?%;color:#008cff;margin-top:%?34?%;width:%?690?%}.popup .line-row[data-v-bce79f0e]{width:%?690?%;height:%?1?%;background:#d9d9d9;margin:%?11?% 0 %?31?% 0}.popup .pop-center .right[data-v-bce79f0e]{margin-left:%?30?%}.popup .pop-center .right .title[data-v-bce79f0e]{width:%?340?%;font-family:PingFang SC;font-weight:800;font-size:%?34?%;color:#343434}.popup .line-short[data-v-bce79f0e]{width:%?400?%;height:%?1?%;background:#d9d9d9}.popup .popList[data-v-bce79f0e]{justify-content:space-between;width:%?600?%;margin-top:%?32?%}.popup .popList .hei[data-v-bce79f0e]{font-family:PingFang SC;font-weight:500;font-size:%?26?%;color:#343434}.popup .pop-btn[data-v-bce79f0e]{width:%?690?%;margin-top:%?62?%;justify-content:space-around}.popup .pop-btn .Cancel[data-v-bce79f0e]{width:%?306?%;height:%?80?%;border-radius:%?401?% %?401?% %?401?% %?401?%;border:%?2?% solid #008cff;font-family:PingFang SC;font-weight:800;font-size:%?34?%;color:#008cff}.popup .pop-btn .Confirm[data-v-bce79f0e]{width:%?306?%;height:%?80?%;background:#008cff;border-radius:%?401?% %?401?% %?401?% %?401?%;font-family:PingFang SC;font-weight:800;font-size:%?34?%;color:#fff}.hui[data-v-bce79f0e]{font-family:PingFang SC;font-weight:500;font-size:%?24?%;color:#7a7a7a}.white-space[data-v-bce79f0e]{overflow:hidden;\r\n /* 确保超出容器的文本被隐藏 */white-space:nowrap;\r\n /* 确保文本在一行内显示 */text-overflow:ellipsis\r\n /* 使用省略号表示被截断的文本 */}',""]),t.exports=e},2433:function(t,e,a){"use strict";a.r(e);var i=a("d096"),n=a.n(i);for(var s in i)["default"].indexOf(s)<0&&function(t){a.d(e,t,(function(){return i[t]}))}(s);e["default"]=n.a},"33f2":function(t,e,a){"use strict";a.d(e,"b",(function(){return n})),a.d(e,"c",(function(){return s})),a.d(e,"a",(function(){return i}));var i={uLoadmore:a("ad59").default},n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{staticClass:"box flex justify-center align-items flex-column"},[i("v-uni-view",{staticClass:"con-center flex flex-column justify-center align-items"},[i("v-uni-view",{staticClass:"search flex align-items",staticStyle:{width:"99%"}},[i("span",{staticClass:"dashed flex align-items justify-center"},[i("v-uni-image",{attrs:{src:a("001c"),mode:""}})],1),i("span",{staticClass:"line-search"}),i("v-uni-input",{staticClass:"input",attrs:{type:"text",placeholder:"搜索您的售后课程","placeholder-class":"plasty"},model:{value:t.keywords,callback:function(e){t.keywords=e},expression:"keywords"}})],1),i("v-uni-view",{staticClass:"header flex align-items w-100",staticStyle:{"justify-content":"space-between"}},t._l(t.headers,(function(e,a){return i("span",{key:a,staticClass:"s-header flex justify-center align-items",class:{selected:t.headerSelected(e.status)},on:{click:function(a){arguments[0]=a=t.$handleEvent(a),t.selectheader(e.status)}}},[t._v(t._s(e.text))])})),0),i("span",{staticClass:"line"}),i("v-uni-view",{staticClass:"centerBox flex justify-start align-items flex-column"},t._l(t.list,(function(e,a){return i("v-uni-view",{key:a,staticClass:"flex w-100 center flex-column",staticStyle:{"align-items":"center"},on:{click:function(a){a.stopPropagation(),arguments[0]=a=t.$handleEvent(a),t.openUrl("/pages/afterSales/info?id="+e.id)}}},[i("v-uni-view",{staticClass:"flex",staticStyle:{width:"690rpx"}},[i("v-uni-image",{staticStyle:{width:"280rpx",height:"200rpx"},attrs:{src:e.detail.headimage,mode:""}}),i("v-uni-view",{staticClass:"flex flex-column rightBox"},[i("span",{staticClass:"name"},[t._v(t._s(e.detail.title))]),"1"==e.service_stauts&&"-3"!=e.status?i("span",{staticClass:"full"},[t._v("待机构处理")]):t._e(),"4"==e.service_stauts&&"-3"!=e.status?i("span",{staticClass:"full"},[t._v("待用户确认")]):t._e(),"7"==e.service_stauts&&"-3"!=e.status?i("span",{staticClass:"full"},[t._v("售后通过结单中")]):t._e(),"10"==e.service_stauts&&"-3"!=e.status?i("span",{staticClass:"full"},[t._v("售后结单完成")]):t._e(),"-3"==e.service_stauts&&"-3"!=e.status?i("span",{staticClass:"full"},[t._v("售后驳回结单")]):t._e(),"-3"==e.status?i("span",{staticClass:"full"},[t._v("已取消")]):t._e(),i("v-uni-view",{staticClass:"full",staticStyle:{"font-size":"26rpx","margin-top":"20rpx",color:"#7A7A7A"}},[t._v("订单价格:¥"+t._s(e.detail.price))]),i("v-uni-view",{staticStyle:{"font-size":"26rpx","margin-top":"20rpx"}},[t._v(t._s(t.formatTimestamp(e.createtime)))]),"-3"==e.service_stauts&&"-3"!=e.status&&0==e.detail.feel?i("span",{staticClass:"Cancel",on:{click:function(a){a.stopPropagation(),arguments[0]=a=t.$handleEvent(a),t.service(e.classes_order_id)}}},[t._v("重新售后")]):t._e()],1)],1),i("span",{staticClass:"box-line"})],1)})),1)],1),i("u-loadmore",{attrs:{status:t.loadStatus}})],1)},s=[]},"9e53":function(t,e,a){var i=a("191f");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var n=a("967d").default;n("d26c9d20",i,!0,{sourceMap:!1,shadowMode:!1})},a8db:function(t,e,a){"use strict";var i=a("9e53"),n=a.n(i);n.a},d096:function(t,e,a){"use strict";a("6a54");var i=a("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=i(a("b7c7"));a("795c"),a("c223");var s={data:function(){return{size:13,sortStyle:["#ff557f","#3f3f3f"],headers:[{status:"1,4,7,-3",text:"全部"},{status:"1",text:"待处理"},{status:"4",text:"处理中"},{status:"7",text:"已结单"},{status:"-3",text:"已取消"}],selected:"1,4,7,-3",page:1,limit:10,loadStatus:"loading",keywords:"",list:[],show:!1,qrcode:{},order_no:"",count:0}},onShow:function(){this.page=1,this.list=[],this.getList(this.selected)},onReachBottom:function(){this.list.length<this.count&&(this.page++,this.getList(this.selected))},methods:{formatTimestamp:function(t){var e=new Date(1e3*t),a=e.getFullYear(),i=String(e.getMonth()+1).padStart(2,"0"),n=String(e.getDate()).padStart(2,"0"),s=String(e.getHours()).padStart(2,"0"),o=String(e.getMinutes()).padStart(2,"0"),r=String(e.getSeconds()).padStart(2,"0");return"".concat(a,"-").concat(i,"-").concat(n," ").concat(s,":").concat(o,":").concat(r)},openUrl:function(t){uni.navigateTo({url:t})},service:function(t){uni.navigateTo({url:"/pages/afterSales/index?id="+t})},getList:function(t){var e=this;uni.$u.http.get("/api/school.service_order/order_list",{params:{keywords:this.keywords,page:this.page,limit:this.limit,status:t}}).then((function(t){1==t.code?(e.count=t.data.count,e.list=[].concat((0,n.default)(e.list),(0,n.default)(t.data.list)),e.list.length>=t.data.count?e.loadStatus="nomore":e.loadStatus="loading"):(uni.showToast({title:t.msg,icon:"none",duration:2e3}),e.loadStatus="loading")})).catch((function(t){console.error("请求失败",t),e.loadStatus="loading"}))},selectheader:function(t){this.selected=t,console.log(t,""),this.page=1,this.list=[],this.getList(t)},headerSelected:function(t){return this.selected===t}}};e.default=s},f8c4:function(t,e,a){"use strict";a.r(e);var i=a("33f2"),n=a("2433");for(var s in n)["default"].indexOf(s)<0&&function(t){a.d(e,t,(function(){return n[t]}))}(s);a("a8db");var o=a("828b"),r=Object(o["a"])(n["default"],i["b"],i["c"],!1,null,"bce79f0e",null,!1,i["a"],void 0);e["default"]=r.exports}}]);