You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
virtual-patient/docker/nginx/html/dist/static/js/leftHandDetails-a96af8b8.js

2 lines
966 B
JavaScript

import{l as r}from"./left_hand_detail-ccdeb4b0.js";import{d,N as f,r as m,g as t,c as a,e as p,j as u,F as k,k as y,P as v,_ as H}from"./index-93dfb385.js";const g={class:"leftHand_detail"},h=["src"],x=["onClick"],D=d({name:"leftHandDetails",__name:"leftHandDetails",emits:["selectPostion"],setup(C,{emit:l}){const n=f(()=>e=>({top:`${e.top}px`,left:`${e.left}px`})),o=m([{key:"left_elbow",name:"左肘",top:65,left:330},{key:"left_arm",name:"左臂",top:235,left:64},{key:"left_wrist",name:"左腕",top:243,left:610},{key:"left_forearm",name:"左前臂",top:576,left:112},{key:"left_hand",name:"左手",top:593,left:603}]),_=l,c=e=>{_("selectPostion",e.key)};return(e,P)=>(t(),a("div",g,[p("img",{class:"leftHand_detail_img",src:u(r),alt:""},null,8,h),(t(!0),a(k,null,y(o.value,(s,i)=>(t(),a("div",{class:"leftHand_detail_item",style:v(n.value(s)),onClick:B=>c(s),key:i},null,12,x))),128))]))}});const w=H(D,[["__scopeId","data-v-d04c079a"]]);export{w as default};