import{b as k,d as B,r as u,o as s,c,F as C,q as h,f as n,w as o,p as a,R as r,t,g as i,u as m}from"./index-67a30bc6.js";var R=[{CMYK:[62,0,21,16],RGB:[81,214,169],hex:"#51d6a9",name:"\u78A7\u7A7A\u7EFF",pinyin:"bikonlv"},{CMYK:[4,13,67,0],RGB:[248,223,114],hex:"#f8df72",name:"\u8309\u8389\u9EC4",pinyin:"molihuang"},{CMYK:[76,51,0,0],RGB:[60,126,255],hex:"#3c7eff",name:"\u6DF1\u6D77\u84DD",pinyin:"shenhailan"},{CMYK:[59,12,19,0],RGB:[138,188,209],hex:"#8abcd1",name:"\u79CB\u6CE2\u84DD",pinyin:"qiubolan"}];const b={class:"content-left"},G=["onClick"],$={class:"Pinyin-upper"},q=["onClick"],S={class:"Pinyin-upper"},K=B({__name:"ColorList",props:{designColor:{type:Object,required:!0}},emits:["colorSelectHandle"],setup(y,{emit:x}){const p=f=>{x("colorSelectHandle",f)};return(f,L)=>{const l=u("n-space"),d=u("n-divider"),v=u("n-text");return s(),c("div",b,[(s(!0),c(C,null,h(m(R),(e,_)=>(s(),c("div",{class:"content-left-item go-transition-quick go-mb-0",span:"12 1000:6 1400:4 1800:4 2200:2",key:_,onClick:g=>p(e)},[n(l,null,{default:o(()=>[a("div",{class:"content-left-item-color",style:r({backgroundColor:e.hex})},null,4),n(l,{vertical:""},{default:o(()=>[n(l,null,{default:o(()=>[a("span",{style:r({color:e.hex})},t(e.name),5),a("span",$,t(e.pinyin.toUpperCase()),1)]),_:2},1024),n(v,null,{default:o(()=>[i(t(e.hex)+" ",1),n(d,{vertical:""}),i(" "+t(`rgb(${e.RGB[0]}, ${e.RGB[1]}, ${e.RGB[2]})`),1)]),_:2},1024)]),_:2},1024)]),_:2},1024)],8,G))),128)),n(d),(s(!0),c(C,null,h(y.designColor,(e,_)=>(s(),c("div",{class:"content-left-item go-transition-quick",span:"12 1000:6 1400:4 1800:4 2200:2",key:_,onClick:g=>p(e)},[n(l,null,{default:o(()=>[a("div",{class:"content-left-item-color",style:r({backgroundColor:e.hex})},null,4),n(l,{vertical:""},{default:o(()=>[n(l,null,{default:o(()=>[a("span",{style:r({color:e.hex})},t(e.name),5),a("span",S,t(e.pinyin.toUpperCase()),1)]),_:2},1024),n(v,null,{default:o(()=>[i(t(e.hex)+" ",1),n(d,{vertical:""}),i(" "+t(`rgb(${e.RGB[0]}, ${e.RGB[1]}, ${e.RGB[2]})`),1)]),_:2},1024)]),_:2},1024)]),_:2},1024)],8,q))),128))])}}});var Y=k(K,[["__scopeId","data-v-6832a0d3"]]);export{Y as default};
