王总上门按摩后台代码
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.
shangmenanmo/public/h5/static/js/pages-order.b37c1588.js

1 line
11 KiB

5 months ago
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-order"],{"6b6b":function(t,e,n){"use strict";n.r(e);var a=n("bada"),i=n("9f55");for(var r in i)["default"].indexOf(r)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(r);var o=n("828b"),s=Object(o["a"])(i["default"],a["b"],a["c"],!1,null,"6dee8e7d",null,!1,a["a"],void 0);e["default"]=s.exports},"9f55":function(t,e,n){"use strict";n.r(e);var a=n("d68b"),i=n.n(a);for(var r in a)["default"].indexOf(r)<0&&function(t){n.d(e,t,(function(){return a[t]}))}(r);e["default"]=i.a},bada:function(t,e,n){"use strict";n.d(e,"b",(function(){return a})),n.d(e,"c",(function(){return i})),n.d(e,"a",(function(){}));var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("v-uni-view",{staticClass:"order-pages"},[n("fixed",[n("tab",{attrs:{list:t.tabList,activeIndex:1*t.activeIndex,activeColor:t.primaryColor,width:100/t.tabList.length+"%",height:"100rpx"},on:{change:function(e){arguments[0]=e=t.$handleEvent(e),t.handerTabChange.apply(void 0,arguments)}}}),n("v-uni-view",{staticClass:"b-1px-b"})],1),t._l(t.list.data,(function(e,a){return n("v-uni-view",{key:a,staticClass:"item-child mt-md ml-md mr-md pd-lg fill-base radius-16",on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.goDetail(a,"detail")}}},[n("v-uni-view",{staticClass:"flex-between pb-lg b-1px-b",on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.goShop(a)}}},[n("v-uni-view",{staticClass:"f-paragraph c-title max-500 ellipsis"},[t._v("订单号:"+t._s(e.order_code))]),n("v-uni-view",{staticClass:"f-caption text-bold",style:{color:1==e.pay_type?t.primaryColor:[2,3,4,5,6].includes(e.pay_type)?t.subColor:7==e.pay_type?"#11C95E":"#333"}},[t._v(t._s(t.statusType[e.pay_type]))])],1),t._l(e.order_goods,(function(a,i){return n("v-uni-view",{key:i,staticClass:"flex-center mt-lg"},[n("v-uni-image",{staticClass:"cover radius-16",attrs:{mode:"aspectFill",src:a.goods_cover}}),n("v-uni-view",{staticClass:"flex-1 ml-md"},[n("v-uni-view",{staticClass:"flex-between"},[n("v-uni-view",{staticClass:"f-title c-title text-bold max-400 ellipsis"},[t._v(t._s(a.goods_name))]),n("v-uni-view",{staticClass:"f-desc c-desc"},[t._v("x"+t._s(a.num))])],1),n("v-uni-view",{staticClass:"flex-center",staticStyle:{"margin-bottom":"5rpx"}},[n("v-uni-view",{staticClass:"flex-1 flex-y-center f-caption c-caption mt-md"},[t._v("服务技师"),n("v-uni-view",{staticClass:"ml-md"},[t._v(t._s(e.coach_info.coach_name))])],1),a.refund_num>0?n("v-uni-view",{staticClass:"f-caption c-warning"},[t._v("已退x"+t._s(a.refund_num))]):t._e()],1),n("v-uni-view",{staticClass:"flex-y-center f-caption c-caption"},[t._v("预约时间"),n("v-uni-view",{staticClass:"ml-md"},[t._v(t._s(e.start_time))])],1)],1)],1)})),n("v-uni-view",{staticClass:"flex-between pt-lg"},[n("v-uni-view",{staticClass:"flex-y-center f-desc c-title"},[t._v("总计:"),n("v-uni-view",{staticClass:"f-paragraph c-title text-bold"},[t._v("¥"+t._s(e.pay_price))])],1),n("v-uni-view",{staticClass:"flex-warp"},[1==e.pay_type?[n("v-uni-button",{staticClass:"clear-btn order",on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.toCancel(a)}}},[t._v("取消订单")]),n("v-uni-button",{staticClass:"clear-btn order",style:{color:"#fff",background:t.primaryColor,borderColor:t.primaryColor},on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.toPay(a)}}},[t._v("去支付")])]:t._e(),-1==e.pay_type?[n("v-uni-button",{staticClass:"clear-btn order",on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.toCancel(a)}}},[t._v("删除")])]:t._e(),e.can_refund>0?n("v-uni-button",{staticClass:"clear-btn order",on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.goDetail(a,"refund")}}},[t._v("申请退款")]):t._e(),7==e.pay_type?[n("v-uni-button",{staticClass:"clear-btn order",style:{color:"#fff",background:t.primaryColor,borderColor:t.primaryColor},on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.toAgain(a)}}},[t._v("再来一单")])]