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
979 B
JavaScript
2 lines
979 B
JavaScript
import{r as c}from"./right_leg_detail-fa445e10.js";import{d as g,N as p,r as m,g as t,c as s,e as h,j as f,F as d,k as u,P as k,_ as y}from"./index-93dfb385.js";const v={class:"right_leg_detail"},L=["src"],x=["onClick"],D=g({name:"RightLegDetail",__name:"rightLegDetails",emits:["selectPostion"],setup(C,{emit:i}){const l=p(()=>e=>({top:`${e.top}px`,left:`${e.left}px`})),o=m([{key:"right_thigh",name:"右大腿",top:135,left:540},{key:"right_calf",name:"右小腿",top:223,left:94},{key:"right_knee",name:"右膝",top:287,left:603},{key:"right_ankle",name:"右踝",top:473,left:87},{key:"right_foot",name:"右足",top:499,left:569}]),n=i,r=e=>{n("selectPostion",e.key)};return(e,P)=>(t(),s("div",v,[h("img",{class:"right_leg_detail_img",src:f(c),alt:""},null,8,L),(t(!0),s(d,null,u(o.value,(a,_)=>(t(),s("div",{class:"right_leg_detail_item",onClick:B=>r(a),style:k(l.value(a)),key:_},null,12,x))),128))]))}});const I=y(D,[["__scopeId","data-v-1ec38a0f"]]);export{I as default};
|