import { j as s } from "../../node_modules/react/jsx-runtime.mjs";
import a from "../../assets/iconfont/index.mjs";
import "./index.less.mjs";
const p = ({
  children: e,
  title: i = "律智荟",
  backIcon: c = "fanhui",
  mainIcon: o = "zhuye",
  onClickBack: n = () => {
  },
  onClickMain: r = () => {
  }
}) => /* @__PURE__ */ s.jsxs("div", { className: "bitzAppPage", children: [
  /* @__PURE__ */ s.jsxs("div", { className: "pageNavBar", children: [
    /* @__PURE__ */ s.jsx("div", { className: "barLeft", onClick: n, children: /* @__PURE__ */ s.jsx(a, { className: "icon", color: "#333", size: 24, name: c }) }),
    i,
    /* @__PURE__ */ s.jsx("div", { className: "barRight", onClick: r, children: /* @__PURE__ */ s.jsx(a, { className: "icon", color: "#333", size: 24, name: o }) })
  ] }),
  /* @__PURE__ */ s.jsx("div", { className: "pageContent", children: e })
] });
export {
  p as default
};
