import{d as n,r as p,o as r,b as c,e as t,c as a,t as u,I as x,f as y,u as _,j as f,s as m,_ as b}from"./index-ddf66cb5.js";import{B as g}from"./index-f37a4c38.js";import{I as h}from"./index-d713c94b.js";import"./use-route-0a2b7081.js";import"./index-e9453d64.js";import"./index-856231c7.js";const I={style:{height:"100vh",overflow:"hidden",display:"flex","flex-direction":"column","background-color":"#f0f3f9"}},k={style:{display:"flex","justify-content":"space-between",padding:"0px 20px"}},w={style:{display:"flex"}},B={style:{"margin-left":"10px",color:"#666"}},C={style:{padding:"0px 20px","margin-top":"30px"}},N=n({__name:"Index",setup(V){const d=_(),o=()=>{d.push("/device/detail/"+i.value)},s=()=>{d.push("/article")},i=p("");return r(()=>{i.value=d.currentRoute.value.params.deviceId}),(D,e)=>{const l=h,v=g;return f(),c("div",I,[t("div",null,[a(l,{width:"100%",src:"static/images/products/pump/1.png"})]),t("div",k,[t("div",w,[e[0]||(e[0]=t("div",{style:{"font-weight":"bold"}},"网络泵",-1)),t("div",B,u(i.value),1)]),t("div",null,[t("a",{style:{color:"blue","font-weight":"bold"},onClick:s},"使用教程")])]),e[2]||(e[2]=x('