1.0.7 • Published 2 years ago
@lcsf/layout v1.0.7
公用顶部导航和底部布局文案
初始化配置
// config.ts
// 子系统跳转路径
export const SYSTEMMAP = {
xxx: xxx
}
// 一账通api地址
export const API_HOST_ACCOUNT = xxx;
// base.componnent.ts
import { SYSTEMMAP, API_HOST_ACCOUNT } from '@app/core/_base/config';
this.lcLayoutService.set({
systemMap: SYSTEMMAP,
accountApiPrefix: API_HOST_ACCOUNT
})
使用方法
// header.component.html
<app-lc-nav currentSystem="payment"></app-lc-nav>
// header-mobile.component.html
<app-lc-nav currentSystem="payment" [mobile]="true"></app-lc-nav>
// base.component.html
<app-lc-footer [containerColor]="containerColor"></app-lc-footer>