连云港陪玩陪聊
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
chunwan/unpackage/dist/build/web/static/js/pages-users-order-index.dfb...

1 lines
23 KiB

(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-users-order-index"],{"2b6d":function(t,e,n){"use strict";n.r(e);var i=n("ae67"),a=n("a914");for(var o in a)["default"].indexOf(o)<0&&function(t){n.d(e,t,(function(){return a[t]}))}(o);n("e48c");var r=n("828b"),s=Object(r["a"])(a["default"],i["b"],i["c"],!1,null,"4547475b",null,!1,i["a"],void 0);e["default"]=s.exports},"57f8":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAYAAAA6/NlyAAAAAXNSR0IArs4c6QAACc5JREFUaEPtWn1wVNUV/5373iabmE12lwSUhlZINqGlfrRT+qFiVXCoBXVaplQrWD8qdHcRldJpnelHip0yjgo0yW7IoG2t4Fj+sIOt1taxIo61HbGCFkl4C2oFgUD2bUI0yWbfO+UFwWzydt/dj4hT3T/3nvM7v9+77557z7mP8BH70UdMLz4W/P8+4+M7w+3s8hmdnwYp5xCLOobZCKACDM/wu8XcByH6iFljw9CglLyid/V3oGlGcrwefPEFR3ZV+KnkCgYWEzATwJk5ku9i4N9smg+TS31MX1rXk6N/VvOiCa5o1mpcKu4AeCmB/EUi2QOm35Eovac7OOVAMTALFlwT2VUxBHUlkXIbgb3FIGWD0cdEUR5QVifumJooJEZBgr2tHVcLobQAmFIICSlfZkCIw8y8Ug8FNkr52BjlJ/i3r7t9/ea9BCOM07Oz3R8fOLIcKy7oz1V4zoJ97XurYPLjxHxhrsGKac+Mf6VUc/6xpY1Hc8HNSbCnvbNaNZSnCXxuLkHGz5b2EBmXdQcbpROatODquzs8hkd5joDzxk9APsjUacD1lZ7Qp3QZbznBzVqpT+WnCDRLBvSDtmGi5/Uhno3lgUGn2FKCfVEtSkDQCex0jjPQpocCIScOjoK9rZ3fEIIeLUo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AuC8G+rWeeTJhKJEM/z8xzHzY6NjTEtp/v7+xXDMFYRQou01P6WIswkgK7n1Wr1JgDEO9ZzmqkNhFCJEJKn6zkAvLVYLC9Z1/Mfelm2RWdW3sYAAAAASUVORK5CYII="},"7d86":function(t,e,n){t.exports=n.p+"static/empty.png"},"7ed3":function(t,e,n){var i=n("c032");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var a=n("967d").default;a("16f3d92f",i,!0,{sourceMap:!1,shadowMode:!1})},a914:function(t,e,n){"use strict";n.r(e);var i=n("bc51"),a=n.n(i);for(var o in i)["default"].indexOf(o)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(o);e["default"]=a.a},ae67: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={uTabs:n("f7c4").default,uPopup:n("9f5d").default},a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{staticClass:"order"},[i("v-uni-view",{staticClass:"order-tab"},[i("u-tabs",{attrs:{list:t.list,"is-scroll":!1,"active-color":"#222222","inactive-color":"#666666","font-size":"28","active-item-style":t.activeStyle,"bar-height":"6","bar-width":"60"},on:{change:function(e){arguments[0]=e=t.$handleEvent(e),t.changeTabs.apply(void 0,arguments)}},model:{value:t.current,callback:function(e){t.current=e},expression:"current"}})],1),i("v-uni-view",{staticClass:"order-list"},[t._l(t.orderList,(function(e,n){return i("v-uni-view",{key:n,staticClass:"item",on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.toDetail(e)}}},[i("v-uni-view",{staticClass:"a"},[t._v("订单号:"+t._s(e.orderno)),i("v-uni-text",[t._v(t._s(0==e.status?"待付款":1==e.status?"待接单":2==e.status?"已接单":3==e.status?"服务中":4==e.status?"已完成":5==e.status?"已取消":"已退款"))])],1),i("v-uni-view",{staticClass:"b"},[i("v-uni-image",{attrs:{src:e.img}}),i("v-uni-view",{staticClass:"info"},[i("v-uni-view",{staticClass:"name"},[t._v(t._s(e.nickname)+"陪玩师")]),i("v-uni-view",{staticClass:"desc"},[t._v("约玩项目:"+t._s(e.playConfigName))]),i("v-uni-view",{staticClass:"price"},[t._v("¥"+t._s(e.totalMoney-e.travelExpensesTotal)+"元/"+t._s(e.duration)+"小时")])],1)],1),i("v-uni-view",{staticClass:"c"},[0==e.status?i("v-uni-view",{staticClass:"btn",on:{click:function(n){n.stopPropagation(),arguments[0]=n=t.$handleEvent(n),t.toCancle(e)}}},[t._v("取消订单")]):t._e(),0==e.status?i("v-uni-view",{staticClass:"btn btn-01",on:{click:function(n){n.stopPropagation(),arguments[0]=n=t.$handleEvent(n),t.toZhifu(e)}}},[t._v("立即支付")]):t._e(),1==e.status?i("v-uni-view",{staticClass:"btn btn-01",on:{click:function(n){n.stopPropagation(),arguments[0]=n=t.$handleEvent(n),t.toShengqing(e)}}},[t._v("申请退款")]):t._e(),3==e.status?i("v-uni-view",{staticClass:"btn btn-01",on:{click:function(n){n.stopPropagation(),arguments[0]=n=t.$handleEvent(n),t.toFuwu(e)}}},[t._v("服务完成")]):t._e(),4==e.status?i("v-uni-view",{staticClass:"btn"},[t._v("服务完成")]):t._e(),5==e.status?i("v-uni-view",{staticClass:"btn btn-01",on:{click:function(n){n.stopPropagation(),arguments[0]=n=t.$handleEvent(n),t.toDel(e)}}},[t._v("删除订单")]):t._e(),5==e.status?i("v-uni-view",{staticClass:"btn"},[t._v("已取消")]):t._e(),6==e.status?i("v-uni-view",{staticClass:"btn"},[t._v("已退款")]):t._e()],1)],1)})),0==t.total?i("v-uni-view",{staticClass:"empty"},[i("v-uni-image",{attrs:{src:n("7d86")}}),i("v-uni-view",{staticClass:"txt"},[t._v("暂无数据")])],1):t._e()],2),i("u-popup",{attrs:{mode:"bottom"},model:{value:t.show,callback:function(e){t.show=e},expression:"show"}},[i("v-uni-view",{staticClass:"payPopup"},[i("v-uni-view",{staticClass:"title"},[t._v("选择支付方式")]),i("v-uni-view",{staticClass:"content"},[t._l(t.payInfo,(function(e,a){return["wx-1"==e||"ali-1"==e?i("v-uni-view",{key:a,staticClass:"item",class:t.payIndex==a?"item-on":"",on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.tabItem(a,e)}}},["wx-1"==e?i("v-uni-view",{staticClass:"a"},[i("v-uni-image",{attrs:{src:n("6630")}}),t._v("微信支付")],1):t._e(),"ali-1"==e?i("v-uni-view",{staticClass:"a"},[i("v-uni-image",{attrs:{src:n("57f8")}}),t._v("支付宝支付")],1):t._e(),i("v-uni-view",{staticClass:"b"},[i("v-uni-image",{staticClass:"img1",attrs:{src:n("7874")}}),i("v-uni-image",{staticClass:"img2",attrs:{src:n("ec66")}})],1)],1):t._e()]}))],2),i("v-uni-view",{staticClass:"fd"},[i("v-uni-view",{staticClass:"btn",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.toPay()}}},[t._v("立即支付")])],1)],1)],1)],1)},o=[]},bc51:function(t,e,n){"use strict";n("6a54");var i=n("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,n("d4b5"),n("473f"),n("bf0f"),n("aa9c"),n("64aa");var a=i(n("2634")),o=i(n("2fdc")),r={data:function(){return{show:!1,payIndex:0,current:0,list:[{name:"全部"},{name:"待付款"},{name:"待接单"},{name:"已接单"},{name:"服务中"},{name:"已完成"}],activeStyle:{fontSize:"30rpx"},orderList:[],page:1,total:1,payInfo:{},obj:{},payType:""}},onLoad:function(t){this.current=t.type,this.getList()},methods:{tabItem:function(t,e){this.payIndex=t,this.payType=e},toZhifu:function(t){this.obj=t,this.getConfigData()},getConfigData:function(){var t=this;return(0,o.default)((0,a.default)().mark((function e(){var n,i;return(0,a.default)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return n=t,e.next=3,n.$api.getConfigData({dictType:"CONFIG_PAY_STATUS"});case 3:i=e.sent,i.data.content&&(t.payInfo=i.data.content.split(","),t.show=!0);case 5:case"end":return e.stop()}}),e)})))()},toPay:function(){var t=this;return(0,o.default)((0,a.default)().mark((function e(){var n,i,o,r,s;return(0,a.default)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return n=t,e.next=3,n.$api.paymentOrder({payType:"wx-1"==n.payType?1:2,outTradeNo:n.obj.orderno});case 3:i=e.sent,o=i.code,r=i.data,s=i.msg,n.show=!1,200==o?(uni.hideLoading(),uni.requestPayment({provider:"ali-1"==n.payType?"alipay":"wxpay",orderInfo:"ali-1"==n.payType?r.orderInfo:JSON.parse(r.orderInfo),success:function(t){uni.showToast({title:"支付成功"}),setTimeout((function(){n.getList()}),2e3)},fail:function(t){console.log("fail:"+JSON.stringify(t)),uni.showToast({icon:"error",title:"支付失败"})}})):(uni.hideLoading(),uni.showToast({icon:"none",position:"bottom",title:s}));case 9:case"end":return e.stop()}}),e)})))()},toDetail:function(t){uni.navigateTo({url:"/pages/users/order/detail?type=1&id="+t.id})},toFuwu:function(t){var e=this;uni.showModal({title:"温馨提示",content:"是否要完成该订单服务?",success:function(n){return(0,o.default)((0,a.default)().mark((function i(){var o,r,s;return(0,a.default)().wrap((function(i){while(1)switch(i.prev=i.next){case 0:if(!n.confirm){i.next=8;break}return i.next=3,e.$api.serviceCompleteOrder({orderId:t.id,delType:1,userId:uni.getStorageSync("userInfo").id});case 3:o=i.sent,r=o.code,o.data,s=o.msg,200==r?(uni.showToast({title:"提交成功"}),setTimeout((function(){e.getList()}),2e3)):uni.showToast({title:s,icon:"none",position:"bottom"});case 8:case"end":return i.stop()}}),i)})))()}})},toShengqing:function(t){var e=this;uni.showModal({title:"温馨提示",content:"是否要申请退款?",success:function(n){return(0,o.default)((0,a.default)().mark((function i(){var o,r,s;return(0,a.default)().wrap((function(i){while(1)switch(i.prev=i.next){case 0:if(!n.confirm){i.next=8;break}return i.next=3,e.$api.refundOrder({orderId:t.id,delType:1,userId:uni.getStorageSync("userInfo").id});case 3:o=i.sent,r=o.code,o.data,s=o.msg,200==r?(uni.showToast({title:"申请成功"}),setTimeout((function(){e.getList()}),2e3)):uni.showToast({title:s,icon:"none",position:"bottom"});case 8:case"end":return i.stop()}}),i)})))()}})},toDel:function(t){var e=this;uni.showModal({title:"温馨提示",content:"是否要删除该订单?",success:function(n){return(0,o.default)((0,a.default)().mark((function i(){var o,r,s;return(0,a.default)().wrap((function(i){while(1)switch(i.prev=i.next){case 0:if(!n.confirm){i.next=8;break}return i.next=3,e.$api.deleteOrder({orderId:t.id,delType:1,userId:uni.getStorageSync("userInfo").id});case 3:o=i.sent,r=o.code,o.data,s=o.msg,200==r?(uni.showToast({title:"删除成功"}),setTimeout((function(){e.getList()}),2e3)):uni.showToast({title:s,icon:"none",position:"bottom"});case 8:case"end":return i.stop()}}),i)})))()}})},toCancle:function(t){var e=this;uni.showModal({title:"温馨提示",content:"是否要取消该订单?",success:function(n){return(0,o.default)((0,a.default)().mark((function i(){var o,r,s;return(0,a.default)().wrap((function(i){while(1)switch(i.prev=i.next){case 0:if(!n.confirm){i.next=8;break}return i.next=3,e.$api.cancelOrder({orderId:t.id,userId:uni.getStorageSync("userInfo").id});case 3:o=i.sent,r=o.code,o.data,s=o.msg,200==r?(uni.showToast({title:"取消成功"}),setTimeout((function(){e.getList()}),2e3)):uni.showToast({title:s,icon:"none",position:"bottom"});case 8:case"end":return i.stop()}}),i)})))()}})},arrayUnique:function(t,e){var n={};return t.reduce((function(t,i){return!n[i[e]]&&(n[i[e]]=t.push(i)),t}),[])},getList:function(t){var e=this;return(0,o.default)((0,a.default)().mark((function n(){var i,o,r;return(0,a.default)().wrap((function(n){while(1)switch(n.prev=n.next){case 0:return n.next=2,e.$api.orderList({userId:uni.getStorageSync("userInfo").id,status:Number(e.current)-1,limit:20,page:e.page,userType:1});case 2:i=n.sent,o=i.code,r=i.data,1==t&&uni.hideLoading(),200==o&&(e.total=0==r.length?0:1,e.orderList=r);case 7:case"end":return n.stop()}}),n)})))()},changeTabs:function(t){this.current=t,this.page=1,this.orderList=[],this.getList()}}};e.default=r},c032:function(t,e,n){var i=n("c86c");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/* 行为相关颜色 */\n/* 文字基本颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */.order .payPopup[data-v-4547475b]{padding:%?40?%;overflow:hidden}.order .payPopup .title[data-v-4547475b]{font-weight:500;font-size:%?36?%;color:#333;text-align:center}.order .payPopup .btn[data-v-4547475b]{width:100%;line-height:%?98?%;background:linear-gradient(0deg,#000,#3d3b38);box-shadow:0 %?4?% %?18?% 0 rgba(42,41,39,.34);border-radius:%?98?%;font-weight:400;text-align:center;font-size:%?30?%;color:#fff;margin-top:%?30?%}.order .payPopup .content[data-v-4547475b]{padding:0 %?30?%;background:#fff;border-radius:%?20?%;margin-top:%?20?%}.order .payPopup .content .item[data-v-4547475b]{padding:%?30?% 0;display:flex;align-items:center;justify-content:space-between;font-weight:400;font-size:%?28?%;color:#333;border-top:1px solid #eaeaea}.order .payPopup .content .item[data-v-4547475b]:first-child{border-top-color:#fff}.order .payPopup .content .item .a[data-v-4547475b]{flex:1;display:flex;align-items:center}.order .payPopup .content .item .a uni-image[data-v-4547475b]{width:%?60?%;height:%?60?%;margin-right:%?10?%}.order .payPopup .content .item .b[data-v-4547475b]{font-size:%?28?%;color:#ccc;display:flex;align-items:center}.order .payPopup .content .item .b uni-image[data-v-4547475b]{width:%?32?%;height:%?32?%;margin-left:%?20?%}.order .payPopup .content .item .b .img1[data-v-4547475b]{display:block}.order .payPopup .content .item .b .img2[data-v-4547475b]{display:none}.order .payPopup .content .item-on .b .img1[data-v-4547475b]{display:none}.order .payPopup .content .item-on .b .img2[data-v-4547475b]{display:block}.order .empty[data-v-4547475b]{padding:%?150?% 0;text-align:center;font-weight:500;font-size:%?28?%;color:#222}.order .empty uni-image[data-v-4547475b]{display:block;width:%?460?%;height:%?400?%;margin:0 auto}.order-tab[data-v-4547475b]{width:100%}.order-list[data-v-4547475b]{padding:0 %?25?% %?25?%;overflow:hidden}.order-list .item[data-v-4547475b]{width:100%;background:#fff;border-radius:%?20?%;margin-top:%?20?%;overflow:hidden}.order-list .item .a[data-v-4547475b]{height:%?84?%;padding:0 %?25?%;line-height:%?84?%;font-weight:500;font-size:%?28?%;color:#666;border-bottom:1px solid #eaeaea}.order-list .item .a uni-text[data-v-4547475b]{float:right;color:#222}.order-list .item .c[data-v-4547475b]{display:flex;align-items:center;justify-content:flex-end;padding:0 %?25?% %?25?%;overflow:hidden}.order-list .item .c .btn[data-v-4547475b]{width:%?161?%;line-height:%?61?%;background:#fff;border-radius:%?61?%;border:1px solid #999;margin-left:%?20?%;font-weight:500;font-size:%?24?%;color:#666;text-align:center}.order-list .item .c .btn-01[data-v-4547475b]{background:linear-gradient(0deg,#000,#3d3b38);box-shadow:0 %?4?% %?18?% 0 rgba(42,41,39,.34);color:#fff}.order-list .item .b[data-v-4547475b]{padding:%?30?% %?25?%;display:flex;align-items:center}.order-list .item .b uni-image[data-v-4547475b]{width:%?150?%;height:%?150?%;border-radius:%?10?%;margin-right:%?20?%}.order-list .item .b .info[data-v-4547475b]{flex:1}.order-list .item .b .info .name[data-v-4547475b]{font-weight:500;font-size:%?30?%;color:#333;line-height:%?46?%}.order-list .item .b .info .desc[data-v-4547475b]{font-weight:500;font-size:%?26?%;color:#999;margin-top:%?20?%}.order-list .item .b .info .price[data-v-4547475b]{font-weight:500;font-size:%?28?%;color:#222;margin-top:%?20?%}',""]),t.exports=e},e48c:function(t,e,n){"use strict";var i=n("7ed3"),a=n.n(i);a.a},ec66:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAABHhJREFUWEe9V1tPVFcU/tZxBhjuIzMgSgaYmTIU5BItVuiL7ZMvAjWxgPShtfjQmLZpetE3bUyr8OIPAOqFgtxCFYyXPlBCwiAZlatNTUR4a4BIKbfpeGbOas4ZoOAcmFM7sh/3/ta3vr32OmetRdC4Dh3KivZ6oo8QCe8xcQ4BNoDi/eY8x8A4MY0yS9268MWunp7fFrVQUzBQUVGRjUg6I4ArGBQVDC+fE3hJAl1nFi46nc7xrWw2FVBYWGgg8p0jpi9B0GtxHIBhiEx8KSws8mxPT8/fahyqAor277eRfkcHA7mv5PglIwJGWPQddT58GBCNAAEFBfn5OwTdXQBJoXC+jmPKJ3kPu1xDQ+t5NwgoKCiwCpCcr8H5qs8pCS+KXK7RZ6sbawLS0tIizAnG+yDkhfjmG+kYwzPP/zw4OTmp5MSagH378qoJ+Pa1Ol8hZ6Dm0aPh02sCsrOz7WF64TGAsO0QAOCF6OWssbGxcSUCubnZtQRUhdJ5Xl4+LlysQb+zD+fPf6fyhaJuZOTxSbLb7bGGiLA/AI4MlYC9e3NQ/+NlGAx+ytycrABqIriX3eIuys58owIkNIXK+ZtZWbh85Sqio2MUysafGnDhh+/V6ZkqyeGw1xIoJOF3ZGaioaERMTF+5zdv3sCZ05vnNYPrKSPD5gLjLTWJDocDR4pLcO3qFUxPT28ZpIyMDFxraITRaFRwXV2d+Obrr8DMm9sRHpDdZp0B2KSGuj/gQkJCAiYmnqG8rAyzs89Vyex2O5qammHcuVM5v3PnNr74/LOtnfuZZsiabhGZSafG3NzSggMH3laOnjz5HR8cO4aFhYUNUKvViuaWVphM/jv8cu8eTp36FD6fpCWtPGSxpIgEqAqIjYtDe3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