王总上门按摩后台代码
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/user-pages-bell-order.3ea9f...

1 line
15 KiB

5 months ago
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["user-pages-bell-order"],{"24a4":function(e,t,a){"use strict";a.d(t,"b",(function(){return i})),a.d(t,"c",(function(){return n})),a.d(t,"a",(function(){}));var i=function(){var e=this,t=e.$createElement,a=e._self._c||t;return e.isLoad?a("v-uni-view",{staticClass:"order-pages"},[e.orderInfo.order_goods&&e.orderInfo.order_goods.length>0?a("v-uni-view",[a("v-uni-view",{staticClass:"mt-md ml-lg mr-lg fill-base radius-16"},e._l(e.orderInfo.order_goods,(function(t,i){return a("v-uni-view",{key:i,staticClass:"list-item flex-center pd-lg",class:[{"b-1px-t":0!=i}]},[a("v-uni-view",{staticClass:"item-img radius-16"},[a("v-uni-view",{staticClass:"h5-image item-img radius-16",style:{backgroundImage:"url('"+t.cover+"')"}})],1),a("v-uni-view",{staticClass:"flex-1 ml-md"},[a("v-uni-view",{class:[{"flex-between":0==e.bellOrderParams.order_type}]},[a("v-uni-view",{staticClass:"f-title c-title text-bold ellipsis",class:[{"max-400":0==e.bellOrderParams.order_type},{"max-470":1==e.bellOrderParams.order_type}]},[e._v(e._s(t.title))]),0==e.bellOrderParams.order_type?a("v-uni-view",{staticClass:"f-caption c-caption"},[e._v("x"+e._s(t.num))]):e._e()],1),a("v-uni-view",{staticClass:"flex-between"},[a("v-uni-view",{staticClass:"flex-y-center f-desc c-caption"},[a("v-uni-view",{staticClass:"f-title c-warning mr-sm"},[e._v("¥"+e._s(0==e.bellOrderParams.order_type?t.pay_price:t.price))]),0==e.bellOrderParams.order_type?a("v-uni-view",{staticClass:"text-delete mr-sm"},[e._v("¥"+e._s(t.price))]):e._e(),e._v(e._s("/ "+t.time_long)+"分钟")],1),a("v-uni-view",[1*t.material_price>0?a("v-uni-view",{staticClass:"f-caption c-caption"},[e._v("物料费:¥"+e._s(t.material_price))]):e._e()],1)],1),a("v-uni-view",{staticClass:"flex-between"},[a("v-uni-view",{staticClass:"f-caption c-caption mt-sm mb-sm ellipsis",staticStyle:{"max-width":"300rpx"}},[e._v("服务"+e._s(e.$t("action.attendantName"))+":"+e._s(e.orderInfo.coach_info?e.orderInfo.coach_info.coach_name:"-"))]),a("v-uni-view",[1==e.bellOrderParams.order_type?a("v-uni-view",{staticClass:"flex-warp"},[a("v-uni-button",{staticClass:"reduce",style:{borderColor:e.primaryColor,color:e.primaryColor},on:{click:function(t){t.stopPropagation(),arguments[0]=t=e.$handleEvent(t),e.changeNum(-1,i)}}},[a("i",{staticClass:"iconfont icon-jian-bold"})]),a("v-uni-button",{staticClass:"addreduce clear-btn"},[e._v(e._s(t.num||0))]),a("v-uni-button",{staticClass:"add",style:{background:e.primaryColor,borderColor:e.primaryColor},on:{click:function(t){t.stopPropagation(),arguments[0]=t=e.$handleEvent(t),e.changeNum(1,i)}}},[a("i",{staticClass:"iconfont icon-jia-bold"})])],1):e._e()],1)],1)],1)],1)})),1),a("v-uni-view",{staticClass:"mt-md ml-lg mr-lg fill-base radius-16"},[a("v-uni-view",{staticClass:"flex-between pd-lg b-1px-b"},[a("v-uni-view",{staticClass:"f-title c-title text-bold"},[e._v("服务开始时间")]),a("v-uni-view",{staticClass:"f-paragraph c-caption"},[e._v(e._s(e.orderInfo.order_start_time))])],1),a("v-uni-view",{staticClass:"flex-between pd-lg"},[a("v-uni-view",{staticClass:"f-title c-title text-bold"},[e._v("服务结束时间")]),a("v-uni-view",{staticClass:"f-paragraph c-caption"},[e._v(e._s(e.orderInfo.order_end_time))])],1)],1),a("v-uni-view",{staticClass:"mt-md ml-lg mr-lg fill-base radius-16"},[e._l(e.payList,(function(t,i){return[0==e.bellOrderParams.order_type&&e.orderInfo.pay_model==t.id||1==e.bellOrderParams.order_type?a("v-uni-view",{key:i+"_0",staticClass:"flex-between pt-lg pb-lg pl-lg pr-md b-1px-b",on:{click:function(t){t.stopPropagation(),arguments[0]=t=e.$handleEvent(t),e.toChangeItem(i,2)}}},[a("v-uni-view",{staticClass:"flex-y-center f-title c-title"},[a("i",{staticClass:"iconfont mr-md",class:t.icon,style:{color:1==t.id?e.primaryColor:"",fontSize:"50rpx"}}),e._v(e._s(t.title)),2==t.id?a("v-uni-view",{staticClass:"f-paragraph c-caption ml-md"},[e._v("余额"+e._s(e.balance||0)+"元")]):e._e()],1),a("v-uni-view",{staticClass:"flex-y-center",style:{color:e.payInd==i?e.primaryColor:""}},[a("i",{staticClass:"pay-icon iconfont