"use strict";const t=require("../../common/vendor.js"),e=require("../../common/assets.js"),n={__name:"orderList",props:{Image:{type:Boolean,default:!1},toNav:{type:Boolean,default:!1},info:{type:Object,default:{}},list:{type:Array,default:[]},type:{type:String,default:"list"}},setup(n){const o=n;let i=()=>{if(!o.toNav)return!0;t.index.navigateTo({url:`/pages/home/detail?id=${o.info.id}&distance=${o.info.distance}`})},s=()=>{t.index.openLocation({name:o.info.stationName,latitude:o.info.location.lat,longitude:o.info.location.lng,success:function(){console.log("success")}})};return(o,a)=>t.e({a:n.Image&&0!=n.list.length},n.Image&&0!=n.list.length?t.e({b:t.f(n.list,((t,e,n)=>({a:e,b:t}))),c:2==n.list.length},(n.list.length,{})):{},{d:e._imports_0$8,e:t.t(n.info.stationName),f:t.t(n.info.priceAmount),g:t.t(n.info.gunUseCount||0),h:t.t(n.info.gunCount||0),i:t.t(n.info.distance),j:e._imports_1$4,k:t.o(((...e)=>t.unref(s)&&t.unref(s)(...e))),l:e._imports_2$2,m:t.t(n.info.parkCostInfo),n:t.n("list"==n.type?"nowrapText":""),o:t.o(((...e)=>t.unref(i)&&t.unref(i)(...e)))})}},o=t._export_sfc(n,[["__scopeId","data-v-6853530d"]]);wx.createComponent(o);
