2 lines
1.3 KiB
JavaScript
2 lines
1.3 KiB
JavaScript
import{c as v,_ as y}from"./index-CeIwrh_6.js";import m from"./decoration-img-D5MvESYj.js";import{o as g,q as e,r as t,s as c,T as r,P as l,F as x,G as u,v as i,u as _,p as b}from"./.pnpm-BGZW0UGg.js";const k={class:"my-service"},w={key:0,class:"title px-[15px] py-[10px]"},B={key:1,class:"flex flex-wrap pt-[20px] pb-[10px]"},N={class:"mt-[7px]"},V={key:2},j={class:"ml-[10px] flex-1"},C=g({__name:"content",props:{content:{type:Object,default:()=>({})},styles:{type:Object,default:()=>({})}},setup(s){const f=s,d=b(()=>{var o;return((o=f.content.data)==null?void 0:o.filter(p=>p.is_show=="1"))||[]});return(o,p)=>{const h=v;return e(),t("div",k,[s.content.title?(e(),t("div",w,[c("div",null,r(s.content.title),1)])):l("",!0),s.content.style==1?(e(),t("div",B,[(e(!0),t(x,null,u(_(d),(n,a)=>(e(),t("div",{key:a,class:"flex flex-col items-center w-1/4 mb-[15px]"},[i(m,{width:"26px",height:"26px",src:n.image,alt:""},null,8,["src"]),c("div",N,r(n.name),1)]))),128))])):l("",!0),s.content.style==2?(e(),t("div",V,[(e(!0),t(x,null,u(_(d),(n,a)=>(e(),t("div",{key:a,class:"flex items-center border-b border-[#e5e5e5] h-[50px] px-[12px]"},[i(m,{width:"24px",height:"24px",src:n.image,alt:""},null,8,["src"]),c("div",j,r(n.name),1),c("div",null,[i(h,{name:"el-icon-ArrowRight"})])]))),128))])):l("",!0)])}}}),L=y(C,[["__scopeId","data-v-e6ec8456"]]);export{L as default};
|