"use strict";const common_vendor=require("../../common/vendor.js");const common_assets=require("../../common/assets.js");const _sfc_main={__name:"orderList",props:{Image:{type:Boolean,default:false},toNav:{type:Boolean,default:false},info:{type:Object,default:{}},list:{type:Array,default:[]},type:{type:String,default:"list"}},setup(__props){const data=__props;let toPath=()=>{if(!data.toNav)return true;common_vendor.index.navigateTo({url:`/pages/home/detail?id=${data.info.id}&distance=${data.info.distance}`})};return(_ctx,_cache)=>common_vendor.e({a:__props.Image&&__props.list.length!=0},__props.Image&&__props.list.length!=0?common_vendor.e({b:common_vendor.f(__props.list,((i,n,i0)=>({a:n,b:i}))),c:__props.list.length==2},__props.list.length==2?{}:{}):{},{d:common_assets._imports_0$8,e:common_vendor.t(__props.info.stationName),f:common_vendor.t(__props.info.priceAmount),g:common_vendor.t(__props.info.gunUseCount||0),h:common_vendor.t(__props.info.gunCount||0),i:common_vendor.t(__props.info.distance),j:common_assets._imports_1$4,k:common_assets._imports_2$2,l:common_vendor.t(__props.info.parkCostInfo),m:common_vendor.n(__props.type=="list"?"nowrapText":""),n:common_vendor.o(((...args)=>common_vendor.unref(toPath)&&common_vendor.unref(toPath)(...args)))})}};const Component=common_vendor._export_sfc(_sfc_main,[["__scopeId","data-v-28b22784"]]);my.createComponent(Component);
