jiuyiUniapp/jiuyi/unpackage/dist/build/web/assets/apex.Dr-edeq9.js

2 lines
1.4 KiB
JavaScript

import{p as s,o as t,a,b as e,w as l,G as o,N as r,F as p,i as c,e as i,y as n,aI as u,A as f,aE as _,x as d}from"./index-CH9-aFWw.js";import{_ as g}from"./uni-icons.DST64Pwo.js";import{r as m}from"./uni-app.es.DPi2kvld.js";import{s as x}from"./statusBar.N83grA_6.js";/* empty css */import{_ as y}from"./_plugin-vue_export-helper.BCo6x5W8.js";const h=y({__name:"apex",props:{title:{type:String},bgColor:{type:String,default:"#fff"},color:{type:String,default:"#333"}},setup(y){function h(){u().length>1?f():_({url:"/pages/index/index"})}return(u,f)=>{const _=m(s("uni-icons"),g),j=c,b=d;return t(),a(p,null,[e(j,{class:"apex pf t0 l0 r0",style:r({background:y.bgColor})},{default:l((()=>[e(x),e(j,{class:"head rows plr10"},{default:l((()=>[e(j,{class:"left col w180"},{default:l((()=>[o(u.$slots,"left",{},(()=>[e(_,{type:"left",color:y.color,size:"48rpx",onClick:h},null,8,["color"])]),!0)])),_:3}),e(j,{class:"tac"},{default:l((()=>[o(u.$slots,"content",{},(()=>[e(b,{class:"f32",style:r({color:y.color})},{default:l((()=>[i(n(y.title),1)])),_:1},8,["style"])]),!0)])),_:3}),e(j,{class:"right col df jcr w180"},{default:l((()=>[o(u.$slots,"right",{},void 0,!0)])),_:3})])),_:3})])),_:3},8,["style"]),e(j,{class:"ghost"},{default:l((()=>[e(x),e(j,{class:"head"})])),_:1})],64)}}},[["__scopeId","data-v-974891ee"]]);export{h as a};