"use strict";const e=require("../../common/vendor.js");if(!Array){e.resolveComponent("up-input")()}Math;const n={__name:"search",props:{Fixed:{type:Boolean,default:!1}},emits:["change","search"],setup(n,{emit:o}){let r=e.ref("");const t=e.index.getSystemInfoSync().statusBarHeight+"px",s=o;let a=e=>{s("change",e)},c=e=>{s("search",e)};return(o,s)=>({a:t,b:e.o(e.unref(a)),c:e.o(e.unref(c)),d:e.o((n=>e.isRef(r)?r.value=n:r=n)),e:e.p({placeholder:"查找地点、电站",confirmType:"search",suffixIcon:"/static/icon/search.png",border:"none",modelValue:e.unref(r)}),f:e.n(n.Fixed?"Fixed":"")})}};wx.createComponent(n);