51 lines
1.3 KiB
Plaintext
51 lines
1.3 KiB
Plaintext
import { hilog } from '@kit.PerformanceAnalysisKit';
|
|
import { edgeColors,display } from '@kit.ArkUI';
|
|
import {TitleTab} from './TitleLayout/TitleTab'
|
|
import {LeftSideTab} from './LeftSideTab'
|
|
import {ModelViewTab} from './modelViewTab'
|
|
import {TitleColumnSub} from './TitleLayout/TitleColumnSub'
|
|
const DOMAIN = 0x0000;
|
|
|
|
@Entry
|
|
@Component
|
|
struct Index {
|
|
|
|
build() {
|
|
//OpenCAX主界面整体布局,采用多行布局
|
|
Column({space:0}) {
|
|
//头部导航功能区
|
|
TitleTab()
|
|
.height('auto')
|
|
.borderWidth(2)
|
|
.borderRadius(5)
|
|
//工具栏
|
|
Row() {
|
|
TitleColumnSub();
|
|
}.height('4%')
|
|
.width('100%')
|
|
.borderWidth(2)
|
|
.borderRadius(5)
|
|
.align(Alignment.Start)
|
|
.margin({ top: -2,left:0,bottom:0,right:0})
|
|
Row() {
|
|
//左侧边导航区
|
|
LeftSideTab().width("15%");
|
|
//中间操作区域
|
|
Row() {
|
|
ModelViewTab()
|
|
}.width('90%')
|
|
.height('100%')
|
|
.borderWidth(1)
|
|
.align(Alignment.Center)
|
|
}.height('80%')
|
|
.borderWidth(2)
|
|
.borderRadius(5)
|
|
.margin({ top: -2,left:0,bottom:0,right:0})
|
|
Column(){
|
|
Text('状态栏').height('100%').width('100%')
|
|
}.height('5%').borderWidth(1)
|
|
}.width('100%')
|
|
.height('100%')
|
|
}
|
|
}
|