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.
2 lines
980 B
JavaScript
2 lines
980 B
JavaScript
1 year ago
|
import{r as c}from"./right_hand_detail-6ebd7315.js";import{d,N as m,r as p,g as t,c as s,e as h,j as g,F as f,k as u,P as k,_ as y}from"./index-93dfb385.js";const v={class:"right_hand_detail"},x=["src"],D=["onClick"],H=d({name:"RightHandDetails",__name:"rightHandDetails",emits:["selectPostion"],setup(C,{emit:n}){const i=m(()=>e=>({top:`${e.top}px`,left:`${e.left}px`})),o=p([{key:"right_elbow",name:"右肘",top:65,left:330},{key:"right_arm",name:"右臂",top:235,left:64},{key:"right_wrist",name:"右腕",top:243,left:610},{key:"right_forearm",name:"右前臂",top:576,left:112},{key:"right_hand",name:"右手",top:593,left:603}]),r=n,l=e=>{r("selectPostion",e.key)};return(e,P)=>(t(),s("div",v,[h("img",{class:"right_hand_detail_img",src:g(c),alt:""},null,8,x),(t(!0),s(f,null,u(o.value,(a,_)=>(t(),s("div",{class:"right_hand_detail_item",onClick:B=>l(a),style:k(i.value(a)),key:_},null,12,D))),128))]))}});const F=y(H,[["__scopeId","data-v-e83133fd"]]);export{F as default};
|