|
|
|
|
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["user-pages-order-bell-list"],{"44f0":function(t,e,a){"use strict";a.r(e);var n=a("a2de"),i=a.n(n);for(var r in n)["default"].indexOf(r)<0&&function(t){a.d(e,t,(function(){return n[t]}))}(r);e["default"]=i.a},6110:function(t,e,a){"use strict";a.d(e,"b",(function(){return n})),a.d(e,"c",(function(){return i})),a.d(e,"a",(function(){}));var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-uni-view",{staticClass:"order-pages"},[t._l(t.list.data,(function(e,n){return a("v-uni-view",{key:n,staticClass:"item-child mt-md ml-md mr-md pd-lg fill-base radius-16 rel",on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.goDetail(n,"detail")}}},[e.is_add?a("v-uni-view",[a("v-uni-view",{staticClass:"bell-tag flex-center f-icontext c-base abs",style:{background:t.primaryColor}},[t._v("加钟服务")]),a("v-uni-view",{staticClass:"space-md"})],1):t._e(),a("v-uni-view",{staticClass:"flex-between pb-lg b-1px-b"},[a("v-uni-view",{staticClass:"f-paragraph c-title max-500 ellipsis",on:{click:function(a){a.stopPropagation(),arguments[0]=a=t.$handleEvent(a),t.$util.goUrl({openType:"copy",url:e.order_code})}}},[t._v("订单号:"+t._s(e.order_code))]),a("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(n,i){return a("v-uni-view",{key:i,staticClass:"flex-center mt-lg"},[a("v-uni-view",{staticClass:"cover radius-16"},[a("v-uni-view",{staticClass:"h5-image cover radius-16",style:{backgroundImage:"url('"+n.goods_cover+"')"}})],1),a("v-uni-view",{staticClass:"flex-1 ml-md"},[a("v-uni-view",{staticClass:"flex-between"},[a("v-uni-view",{staticClass:"f-mini-title c-title text-bold max-400 ellipsis"},[t._v(t._s(n.goods_name))]),a("v-uni-view",{staticClass:"f-desc c-desc"},[t._v("x"+t._s(n.num))])],1),a("v-uni-view",{staticClass:"flex-center",staticStyle:{"margin-top":"6rpx"}},[a("v-uni-view",{staticClass:"flex-1 flex-y-center f-caption c-caption"},[t._v("服务"+t._s(t.$t("action.attendantName"))),a("v-uni-view",{staticClass:"ml-md max-280 ellipsis"},[t._v(t._s(e.coach_info.coach_name))])],1),n.refund_num>0?a("v-uni-view",{staticClass:"f-caption c-warning"},[t._v("已退x"+t._s(n.refund_num))]):t._e()],1),a("v-uni-view",{staticClass:"flex-y-center f-caption c-caption"},[t._v("预约时间"),a("v-uni-view",{staticClass:"ml-md"},[t._v(t._s(e.start_time))])],1),a("v-uni-view",{staticClass:"flex-y-center f-caption c-caption"},[t._v("总计:"),a("v-uni-view",{staticClass:"flex-y-baseline c-warning text-bold"},[t._v("¥"),a("v-uni-view",{staticClass:"f-title"},[t._v(t._s(e.pay_price))])],1)],1)],1)],1)})),a("v-uni-view",{staticClass:"flex-between pt-lg"},[a("v-uni-view"),a("v-uni-view",{staticClass:"flex-warp"},[1==e.pay_type?[a("v-uni-button",{staticClass:"clear-btn order",on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.toCancel(n)}}},[t._v("取消订单")]),a("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(n)}}},[t._v("去支付")])]:t._e(),-1==e.pay_type||7==e.pay_type?[a("v-uni-button",{staticClass:"clear-btn order",on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.toCancel(n)}}},[t._v("删除")])]:t._e(),e.can_refund>0?a("v-uni-button",{staticClass:"clear-btn order",on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.goDetail(n,"refund")}}},[t._v("申请退款")]):t._e(),6==e.pay_type&&(e.is_add||!e.is_add&&e.can_add_order)?[a("v-uni-button",{staticClass:"clear-btn order",style:{color:"#fff",background:t.primaryColor,borderColor:t.primaryColor},on:{click:function(a){a.stopPropagation(),arguments[0]=a=t.$handleEvent(a),t.$util.goUrl({url:"/user/pages/bell/list?id="+e.id+"&coach_id="+e.coach_id})}}},[t._v(t._s(e.is_add?"升级项<EFBFBD><EFBFBD>
|