未验证 提交 9c1c3fbb 编写于 作者: O openharmony_ci 提交者: Gitee

!8533 修复某些横屏状态下validator的experience模块界面显示不全的问题

Merge pull request !8533 from 田文哲/OpenHarmony-3.2-Release
...@@ -35,6 +35,7 @@ struct CustomContainerUser { ...@@ -35,6 +35,7 @@ struct CustomContainerUser {
@State mmsNum: number = 0; @State mmsNum: number = 0;
@State cameraNum: number = 0; @State cameraNum: number = 0;
@State contactsNum: number = 0; @State contactsNum: number = 0;
scroller: Scroller = new Scroller();
async aboutToAppear(){ async aboutToAppear(){
await FirstDialog.ChooseDialog(this.StepTips,this.name); await FirstDialog.ChooseDialog(this.StepTips,this.name);
this.Vue = false; this.Vue = false;
...@@ -43,6 +44,7 @@ struct CustomContainerUser { ...@@ -43,6 +44,7 @@ struct CustomContainerUser {
@Builder specificNoParam() { @Builder specificNoParam() {
Column() { Column() {
Flex({direction:FlexDirection.Column,alignItems: ItemAlign.Center, justifyContent: FlexAlign.SpaceBetween }) { Flex({direction:FlexDirection.Column,alignItems: ItemAlign.Center, justifyContent: FlexAlign.SpaceBetween }) {
Scroll(this.scroller) {
Column(){ Column(){
Row(){ Row(){
Text(`根据以下操作步骤完成测试`+ '\n' + '\n' ) Text(`根据以下操作步骤完成测试`+ '\n' + '\n' )
...@@ -110,7 +112,7 @@ struct CustomContainerUser { ...@@ -110,7 +112,7 @@ struct CustomContainerUser {
.fontColor(Color.White).fontSize('24fp') .fontColor(Color.White).fontSize('24fp')
} }
} }
}
} }
}.width('100%').height('80%').backgroundColor(Color.Black) }.width('100%').height('80%').backgroundColor(Color.Black)
.justifyContent(FlexAlign.SpaceEvenly) .justifyContent(FlexAlign.SpaceEvenly)
......
...@@ -35,6 +35,7 @@ struct CustomContainerUser { ...@@ -35,6 +35,7 @@ struct CustomContainerUser {
@State mmsNum: number = 0; @State mmsNum: number = 0;
@State cameraNum: number = 0; @State cameraNum: number = 0;
@State contactsNum: number = 0; @State contactsNum: number = 0;
scroller: Scroller = new Scroller();
async aboutToAppear(){ async aboutToAppear(){
await FirstDialog.ChooseDialog(this.StepTips,this.name); await FirstDialog.ChooseDialog(this.StepTips,this.name);
this.Vue = false; this.Vue = false;
...@@ -43,6 +44,7 @@ struct CustomContainerUser { ...@@ -43,6 +44,7 @@ struct CustomContainerUser {
@Builder specificNoParam() { @Builder specificNoParam() {
Column() { Column() {
Flex({direction:FlexDirection.Column,alignItems: ItemAlign.Center, justifyContent: FlexAlign.SpaceBetween }) { Flex({direction:FlexDirection.Column,alignItems: ItemAlign.Center, justifyContent: FlexAlign.SpaceBetween }) {
Scroll(this.scroller) {
Column(){ Column(){
Row(){ Row(){
Text(`根据以下操作步骤完成测试`+ '\n' + '\n' ) Text(`根据以下操作步骤完成测试`+ '\n' + '\n' )
...@@ -110,7 +112,7 @@ struct CustomContainerUser { ...@@ -110,7 +112,7 @@ struct CustomContainerUser {
.fontColor(Color.White).fontSize('24fp') .fontColor(Color.White).fontSize('24fp')
} }
} }
}
} }
}.width('100%').height('80%').backgroundColor(Color.Black) }.width('100%').height('80%').backgroundColor(Color.Black)
.justifyContent(FlexAlign.SpaceEvenly) .justifyContent(FlexAlign.SpaceEvenly)
......
...@@ -35,6 +35,7 @@ struct CustomContainerUser { ...@@ -35,6 +35,7 @@ struct CustomContainerUser {
@State mmsNum: number = 0; @State mmsNum: number = 0;
@State cameraNum: number = 0; @State cameraNum: number = 0;
@State contactsNum: number = 0; @State contactsNum: number = 0;
scroller: Scroller = new Scroller();
async aboutToAppear(){ async aboutToAppear(){
await FirstDialog.ChooseDialog(this.StepTips,this.name); await FirstDialog.ChooseDialog(this.StepTips,this.name);
this.Vue = false; this.Vue = false;
...@@ -43,6 +44,7 @@ struct CustomContainerUser { ...@@ -43,6 +44,7 @@ struct CustomContainerUser {
@Builder specificNoParam() { @Builder specificNoParam() {
Column() { Column() {
Flex({direction:FlexDirection.Column,alignItems: ItemAlign.Center, justifyContent: FlexAlign.SpaceBetween }) { Flex({direction:FlexDirection.Column,alignItems: ItemAlign.Center, justifyContent: FlexAlign.SpaceBetween }) {
Scroll(this.scroller) {
Column(){ Column(){
Row(){ Row(){
Text(`根据以下操作步骤完成测试`+ '\n' + '\n' ) Text(`根据以下操作步骤完成测试`+ '\n' + '\n' )
...@@ -110,7 +112,7 @@ struct CustomContainerUser { ...@@ -110,7 +112,7 @@ struct CustomContainerUser {
.fontColor(Color.White).fontSize('24fp') .fontColor(Color.White).fontSize('24fp')
} }
} }
}
} }
}.width('100%').height('80%').backgroundColor(Color.Black) }.width('100%').height('80%').backgroundColor(Color.Black)
.justifyContent(FlexAlign.SpaceEvenly) .justifyContent(FlexAlign.SpaceEvenly)
......
...@@ -31,6 +31,7 @@ struct CustomContainerUser { ...@@ -31,6 +31,7 @@ struct CustomContainerUser {
@State Vue: boolean = false; @State Vue: boolean = false;
@State StartEnable: boolean = true; @State StartEnable: boolean = true;
@State Fps: string = '0'; @State Fps: string = '0';
scroller: Scroller = new Scroller();
async aboutToAppear(){ async aboutToAppear(){
await FirstDialog.ChooseDialog(this.StepTips,this.name); await FirstDialog.ChooseDialog(this.StepTips,this.name);
this.Vue = false; this.Vue = false;
...@@ -39,6 +40,7 @@ struct CustomContainerUser { ...@@ -39,6 +40,7 @@ struct CustomContainerUser {
@Builder specificNoParam() { @Builder specificNoParam() {
Column() { Column() {
Flex({direction:FlexDirection.Column,alignItems: ItemAlign.Center, justifyContent: FlexAlign.SpaceBetween }) { Flex({direction:FlexDirection.Column,alignItems: ItemAlign.Center, justifyContent: FlexAlign.SpaceBetween }) {
Scroll(this.scroller) {
Column(){ Column(){
Row(){ Row(){
Text(`根据以下操作步骤完成测试`+ '\n' + '\n' + '\n' + '\n'+ '\n' + '\n' + '\n' + '\n') Text(`根据以下操作步骤完成测试`+ '\n' + '\n' + '\n' + '\n'+ '\n' + '\n' + '\n' + '\n')
...@@ -115,7 +117,7 @@ struct CustomContainerUser { ...@@ -115,7 +117,7 @@ struct CustomContainerUser {
.fontColor(Color.White).fontSize('24fp') .fontColor(Color.White).fontSize('24fp')
} }
} }
}
} }
}.width('100%').height('80%').backgroundColor(Color.Black) }.width('100%').height('80%').backgroundColor(Color.Black)
.justifyContent(FlexAlign.SpaceEvenly) .justifyContent(FlexAlign.SpaceEvenly)
......
...@@ -29,6 +29,7 @@ struct CustomContainerUser { ...@@ -29,6 +29,7 @@ struct CustomContainerUser {
@State Vue: boolean = false; @State Vue: boolean = false;
@State StartEnable: boolean = true; @State StartEnable: boolean = true;
@State time: string = '0'; @State time: string = '0';
scroller: Scroller = new Scroller();
async aboutToAppear(){ async aboutToAppear(){
await FirstDialog.ChooseDialog(this.StepTips,this.name); await FirstDialog.ChooseDialog(this.StepTips,this.name);
this.Vue = false; this.Vue = false;
...@@ -37,6 +38,7 @@ struct CustomContainerUser { ...@@ -37,6 +38,7 @@ struct CustomContainerUser {
@Builder specificNoParam() { @Builder specificNoParam() {
Column() { Column() {
Flex({direction:FlexDirection.Column,alignItems: ItemAlign.Center, justifyContent: FlexAlign.SpaceBetween }) { Flex({direction:FlexDirection.Column,alignItems: ItemAlign.Center, justifyContent: FlexAlign.SpaceBetween }) {
Scroll(this.scroller) {
Column(){ Column(){
Row(){ Row(){
Text(`根据以下操作步骤完成测试`+ '\n' + '\n' + '\n' + '\n'+ '\n' + '\n' + '\n' + '\n') Text(`根据以下操作步骤完成测试`+ '\n' + '\n' + '\n' + '\n'+ '\n' + '\n' + '\n' + '\n')
...@@ -100,7 +102,7 @@ struct CustomContainerUser { ...@@ -100,7 +102,7 @@ struct CustomContainerUser {
.fontColor(Color.White).fontSize('24fp') .fontColor(Color.White).fontSize('24fp')
} }
} }
}
} }
}.width('100%').height('80%').backgroundColor(Color.Black) }.width('100%').height('80%').backgroundColor(Color.Black)
.justifyContent(FlexAlign.SpaceEvenly) .justifyContent(FlexAlign.SpaceEvenly)
......
...@@ -29,6 +29,7 @@ struct CustomContainerUser { ...@@ -29,6 +29,7 @@ struct CustomContainerUser {
@State Vue: boolean = false; @State Vue: boolean = false;
@State StartEnable: boolean = true; @State StartEnable: boolean = true;
@State time: string = '0'; @State time: string = '0';
scroller: Scroller = new Scroller();
async aboutToAppear(){ async aboutToAppear(){
await FirstDialog.ChooseDialog(this.StepTips,this.name); await FirstDialog.ChooseDialog(this.StepTips,this.name);
this.Vue = false; this.Vue = false;
...@@ -37,6 +38,7 @@ struct CustomContainerUser { ...@@ -37,6 +38,7 @@ struct CustomContainerUser {
@Builder specificNoParam() { @Builder specificNoParam() {
Column() { Column() {
Flex({direction:FlexDirection.Column,alignItems: ItemAlign.Center, justifyContent: FlexAlign.SpaceBetween }) { Flex({direction:FlexDirection.Column,alignItems: ItemAlign.Center, justifyContent: FlexAlign.SpaceBetween }) {
Scroll(this.scroller) {
Column(){ Column(){
Row(){ Row(){
Text(`根据以下操作步骤完成测试`+ '\n' + '\n' + '\n' + '\n'+ '\n' + '\n' + '\n' + '\n') Text(`根据以下操作步骤完成测试`+ '\n' + '\n' + '\n' + '\n'+ '\n' + '\n' + '\n' + '\n')
...@@ -100,7 +102,7 @@ struct CustomContainerUser { ...@@ -100,7 +102,7 @@ struct CustomContainerUser {
.fontColor(Color.White).fontSize('24fp') .fontColor(Color.White).fontSize('24fp')
} }
} }
}
} }
}.width('100%').height('80%').backgroundColor(Color.Black) }.width('100%').height('80%').backgroundColor(Color.Black)
.justifyContent(FlexAlign.SpaceEvenly) .justifyContent(FlexAlign.SpaceEvenly)
......
...@@ -35,6 +35,7 @@ struct CustomContainerUser { ...@@ -35,6 +35,7 @@ struct CustomContainerUser {
@State mmsNum: number = 0; @State mmsNum: number = 0;
@State cameraNum: number = 0; @State cameraNum: number = 0;
@State contactsNum: number = 0; @State contactsNum: number = 0;
scroller: Scroller = new Scroller();
async aboutToAppear(){ async aboutToAppear(){
await FirstDialog.ChooseDialog(this.StepTips,this.name); await FirstDialog.ChooseDialog(this.StepTips,this.name);
this.Vue = false; this.Vue = false;
...@@ -43,6 +44,7 @@ struct CustomContainerUser { ...@@ -43,6 +44,7 @@ struct CustomContainerUser {
@Builder specificNoParam() { @Builder specificNoParam() {
Column() { Column() {
Flex({direction:FlexDirection.Column,alignItems: ItemAlign.Center, justifyContent: FlexAlign.SpaceBetween }) { Flex({direction:FlexDirection.Column,alignItems: ItemAlign.Center, justifyContent: FlexAlign.SpaceBetween }) {
Scroll(this.scroller) {
Column(){ Column(){
Row(){ Row(){
Text(`根据以下操作步骤完成测试`+ '\n' + '\n' ) Text(`根据以下操作步骤完成测试`+ '\n' + '\n' )
...@@ -110,7 +112,7 @@ struct CustomContainerUser { ...@@ -110,7 +112,7 @@ struct CustomContainerUser {
.fontColor(Color.White).fontSize('24fp') .fontColor(Color.White).fontSize('24fp')
} }
} }
}
} }
}.width('100%').height('80%').backgroundColor(Color.Black) }.width('100%').height('80%').backgroundColor(Color.Black)
.justifyContent(FlexAlign.SpaceEvenly) .justifyContent(FlexAlign.SpaceEvenly)
......
...@@ -35,6 +35,7 @@ struct CustomContainerUser { ...@@ -35,6 +35,7 @@ struct CustomContainerUser {
@State mmsNum: number = 0; @State mmsNum: number = 0;
@State cameraNum: number = 0; @State cameraNum: number = 0;
@State contactsNum: number = 0; @State contactsNum: number = 0;
scroller: Scroller = new Scroller();
async aboutToAppear(){ async aboutToAppear(){
await FirstDialog.ChooseDialog(this.StepTips,this.name); await FirstDialog.ChooseDialog(this.StepTips,this.name);
this.Vue = false; this.Vue = false;
...@@ -43,6 +44,7 @@ struct CustomContainerUser { ...@@ -43,6 +44,7 @@ struct CustomContainerUser {
@Builder specificNoParam() { @Builder specificNoParam() {
Column() { Column() {
Flex({direction:FlexDirection.Column,alignItems: ItemAlign.Center, justifyContent: FlexAlign.SpaceBetween }) { Flex({direction:FlexDirection.Column,alignItems: ItemAlign.Center, justifyContent: FlexAlign.SpaceBetween }) {
Scroll(this.scroller) {
Column(){ Column(){
Row(){ Row(){
Text(`根据以下操作步骤完成测试`+ '\n' + '\n' ) Text(`根据以下操作步骤完成测试`+ '\n' + '\n' )
...@@ -110,7 +112,7 @@ struct CustomContainerUser { ...@@ -110,7 +112,7 @@ struct CustomContainerUser {
.fontColor(Color.White).fontSize('24fp') .fontColor(Color.White).fontSize('24fp')
} }
} }
}
} }
}.width('100%').height('80%').backgroundColor(Color.Black) }.width('100%').height('80%').backgroundColor(Color.Black)
.justifyContent(FlexAlign.SpaceEvenly) .justifyContent(FlexAlign.SpaceEvenly)
......
...@@ -29,6 +29,7 @@ struct CustomContainerUser { ...@@ -29,6 +29,7 @@ struct CustomContainerUser {
@State Vue: boolean = false; @State Vue: boolean = false;
@State StartEnable: boolean = true; @State StartEnable: boolean = true;
@State Fps: string = '0'; @State Fps: string = '0';
scroller: Scroller = new Scroller();
async aboutToAppear(){ async aboutToAppear(){
await FirstDialog.ChooseDialog(this.StepTips,this.name); await FirstDialog.ChooseDialog(this.StepTips,this.name);
this.Vue = false; this.Vue = false;
...@@ -37,6 +38,7 @@ struct CustomContainerUser { ...@@ -37,6 +38,7 @@ struct CustomContainerUser {
@Builder specificNoParam() { @Builder specificNoParam() {
Column() { Column() {
Flex({direction:FlexDirection.Column,alignItems: ItemAlign.Center, justifyContent: FlexAlign.SpaceBetween }) { Flex({direction:FlexDirection.Column,alignItems: ItemAlign.Center, justifyContent: FlexAlign.SpaceBetween }) {
Scroll(this.scroller) {
Column(){ Column(){
Row(){ Row(){
Text(`根据以下操作步骤完成测试`+ '\n' + '\n' + '\n' + '\n'+ '\n' + '\n' + '\n' + '\n') Text(`根据以下操作步骤完成测试`+ '\n' + '\n' + '\n' + '\n'+ '\n' + '\n' + '\n' + '\n')
...@@ -116,7 +118,7 @@ struct CustomContainerUser { ...@@ -116,7 +118,7 @@ struct CustomContainerUser {
.fontColor(Color.White).fontSize('24fp') .fontColor(Color.White).fontSize('24fp')
} }
} }
}
} }
}.width('100%').height('80%').backgroundColor(Color.Black) }.width('100%').height('80%').backgroundColor(Color.Black)
.justifyContent(FlexAlign.SpaceEvenly) .justifyContent(FlexAlign.SpaceEvenly)
......
...@@ -35,6 +35,7 @@ struct CustomContainerUser { ...@@ -35,6 +35,7 @@ struct CustomContainerUser {
@State mmsNum: number = 0; @State mmsNum: number = 0;
@State cameraNum: number = 0; @State cameraNum: number = 0;
@State contactsNum: number = 0; @State contactsNum: number = 0;
scroller: Scroller = new Scroller();
async aboutToAppear(){ async aboutToAppear(){
await FirstDialog.ChooseDialog(this.StepTips,this.name); await FirstDialog.ChooseDialog(this.StepTips,this.name);
this.Vue = false; this.Vue = false;
...@@ -43,6 +44,7 @@ struct CustomContainerUser { ...@@ -43,6 +44,7 @@ struct CustomContainerUser {
@Builder specificNoParam() { @Builder specificNoParam() {
Column() { Column() {
Flex({direction:FlexDirection.Column,alignItems: ItemAlign.Center, justifyContent: FlexAlign.SpaceBetween }) { Flex({direction:FlexDirection.Column,alignItems: ItemAlign.Center, justifyContent: FlexAlign.SpaceBetween }) {
Scroll(this.scroller) {
Column(){ Column(){
Row(){ Row(){
Text(`根据以下操作步骤完成测试`+ '\n' + '\n' ) Text(`根据以下操作步骤完成测试`+ '\n' + '\n' )
...@@ -110,7 +112,7 @@ struct CustomContainerUser { ...@@ -110,7 +112,7 @@ struct CustomContainerUser {
.fontColor(Color.White).fontSize('24fp') .fontColor(Color.White).fontSize('24fp')
} }
} }
}
} }
}.width('100%').height('80%').backgroundColor(Color.Black) }.width('100%').height('80%').backgroundColor(Color.Black)
.justifyContent(FlexAlign.SpaceEvenly) .justifyContent(FlexAlign.SpaceEvenly)
......
...@@ -35,6 +35,7 @@ struct CustomContainerUser { ...@@ -35,6 +35,7 @@ struct CustomContainerUser {
@State mmsNum: number = 0; @State mmsNum: number = 0;
@State cameraNum: number = 0; @State cameraNum: number = 0;
@State contactsNum: number = 0; @State contactsNum: number = 0;
scroller: Scroller = new Scroller();
async aboutToAppear(){ async aboutToAppear(){
await FirstDialog.ChooseDialog(this.StepTips,this.name); await FirstDialog.ChooseDialog(this.StepTips,this.name);
this.Vue = false; this.Vue = false;
...@@ -43,6 +44,7 @@ struct CustomContainerUser { ...@@ -43,6 +44,7 @@ struct CustomContainerUser {
@Builder specificNoParam() { @Builder specificNoParam() {
Column() { Column() {
Flex({direction:FlexDirection.Column,alignItems: ItemAlign.Center, justifyContent: FlexAlign.SpaceBetween }) { Flex({direction:FlexDirection.Column,alignItems: ItemAlign.Center, justifyContent: FlexAlign.SpaceBetween }) {
Scroll(this.scroller) {
Column(){ Column(){
Row(){ Row(){
Text(`根据以下操作步骤完成测试`+ '\n' + '\n' ) Text(`根据以下操作步骤完成测试`+ '\n' + '\n' )
...@@ -110,7 +112,7 @@ struct CustomContainerUser { ...@@ -110,7 +112,7 @@ struct CustomContainerUser {
.fontColor(Color.White).fontSize('24fp') .fontColor(Color.White).fontSize('24fp')
} }
} }
}
} }
}.width('100%').height('80%').backgroundColor(Color.Black) }.width('100%').height('80%').backgroundColor(Color.Black)
.justifyContent(FlexAlign.SpaceEvenly) .justifyContent(FlexAlign.SpaceEvenly)
......
...@@ -29,6 +29,7 @@ struct CustomContainerUser { ...@@ -29,6 +29,7 @@ struct CustomContainerUser {
@State Vue: boolean = false; @State Vue: boolean = false;
@State StartEnable: boolean = true; @State StartEnable: boolean = true;
@State time: string = '0'; @State time: string = '0';
scroller: Scroller = new Scroller();
async aboutToAppear(){ async aboutToAppear(){
await FirstDialog.ChooseDialog(this.StepTips,this.name); await FirstDialog.ChooseDialog(this.StepTips,this.name);
this.Vue = false; this.Vue = false;
...@@ -37,6 +38,7 @@ struct CustomContainerUser { ...@@ -37,6 +38,7 @@ struct CustomContainerUser {
@Builder specificNoParam() { @Builder specificNoParam() {
Column() { Column() {
Flex({direction:FlexDirection.Column,alignItems: ItemAlign.Center, justifyContent: FlexAlign.SpaceBetween }) { Flex({direction:FlexDirection.Column,alignItems: ItemAlign.Center, justifyContent: FlexAlign.SpaceBetween }) {
Scroll(this.scroller) {
Column(){ Column(){
Row(){ Row(){
Text(`根据以下操作步骤完成测试`+ '\n' + '\n' + '\n' + '\n'+ '\n' + '\n' + '\n' + '\n') Text(`根据以下操作步骤完成测试`+ '\n' + '\n' + '\n' + '\n'+ '\n' + '\n' + '\n' + '\n')
...@@ -100,7 +102,7 @@ struct CustomContainerUser { ...@@ -100,7 +102,7 @@ struct CustomContainerUser {
.fontColor(Color.White).fontSize('24fp') .fontColor(Color.White).fontSize('24fp')
} }
} }
}
} }
}.width('100%').height('80%').backgroundColor(Color.Black) }.width('100%').height('80%').backgroundColor(Color.Black)
.justifyContent(FlexAlign.SpaceEvenly) .justifyContent(FlexAlign.SpaceEvenly)
......
...@@ -35,6 +35,7 @@ struct CustomContainerUser { ...@@ -35,6 +35,7 @@ struct CustomContainerUser {
@State mmsNum: number = 0; @State mmsNum: number = 0;
@State cameraNum: number = 0; @State cameraNum: number = 0;
@State contactsNum: number = 0; @State contactsNum: number = 0;
scroller: Scroller = new Scroller();
async aboutToAppear(){ async aboutToAppear(){
await FirstDialog.ChooseDialog(this.StepTips,this.name); await FirstDialog.ChooseDialog(this.StepTips,this.name);
this.Vue = false; this.Vue = false;
...@@ -43,6 +44,7 @@ struct CustomContainerUser { ...@@ -43,6 +44,7 @@ struct CustomContainerUser {
@Builder specificNoParam() { @Builder specificNoParam() {
Column() { Column() {
Flex({direction:FlexDirection.Column,alignItems: ItemAlign.Center, justifyContent: FlexAlign.SpaceBetween }) { Flex({direction:FlexDirection.Column,alignItems: ItemAlign.Center, justifyContent: FlexAlign.SpaceBetween }) {
Scroll(this.scroller) {
Column(){ Column(){
Row(){ Row(){
Text(`根据以下操作步骤完成测试`+ '\n' + '\n' ) Text(`根据以下操作步骤完成测试`+ '\n' + '\n' )
...@@ -110,7 +112,7 @@ struct CustomContainerUser { ...@@ -110,7 +112,7 @@ struct CustomContainerUser {
.fontColor(Color.White).fontSize('24fp') .fontColor(Color.White).fontSize('24fp')
} }
} }
}
} }
}.width('100%').height('80%').backgroundColor(Color.Black) }.width('100%').height('80%').backgroundColor(Color.Black)
.justifyContent(FlexAlign.SpaceEvenly) .justifyContent(FlexAlign.SpaceEvenly)
......
...@@ -35,6 +35,7 @@ struct CustomContainerUser { ...@@ -35,6 +35,7 @@ struct CustomContainerUser {
@State mmsNum: number = 0; @State mmsNum: number = 0;
@State cameraNum: number = 0; @State cameraNum: number = 0;
@State contactsNum: number = 0; @State contactsNum: number = 0;
scroller: Scroller = new Scroller();
async aboutToAppear(){ async aboutToAppear(){
await FirstDialog.ChooseDialog(this.StepTips,this.name); await FirstDialog.ChooseDialog(this.StepTips,this.name);
this.Vue = false; this.Vue = false;
...@@ -43,6 +44,7 @@ struct CustomContainerUser { ...@@ -43,6 +44,7 @@ struct CustomContainerUser {
@Builder specificNoParam() { @Builder specificNoParam() {
Column() { Column() {
Flex({direction:FlexDirection.Column,alignItems: ItemAlign.Center, justifyContent: FlexAlign.SpaceBetween }) { Flex({direction:FlexDirection.Column,alignItems: ItemAlign.Center, justifyContent: FlexAlign.SpaceBetween }) {
Scroll(this.scroller) {
Column(){ Column(){
Row(){ Row(){
Text(`根据以下操作步骤完成测试`+ '\n' + '\n' ) Text(`根据以下操作步骤完成测试`+ '\n' + '\n' )
...@@ -110,7 +112,7 @@ struct CustomContainerUser { ...@@ -110,7 +112,7 @@ struct CustomContainerUser {
.fontColor(Color.White).fontSize('24fp') .fontColor(Color.White).fontSize('24fp')
} }
} }
}
} }
}.width('100%').height('80%').backgroundColor(Color.Black) }.width('100%').height('80%').backgroundColor(Color.Black)
.justifyContent(FlexAlign.SpaceEvenly) .justifyContent(FlexAlign.SpaceEvenly)
......
...@@ -31,6 +31,7 @@ struct CustomContainerUser { ...@@ -31,6 +31,7 @@ struct CustomContainerUser {
@State Vue: boolean = false; @State Vue: boolean = false;
@State StartEnable: boolean = true; @State StartEnable: boolean = true;
@State time: string = '0'; @State time: string = '0';
scroller: Scroller = new Scroller();
async aboutToAppear(){ async aboutToAppear(){
await FirstDialog.ChooseDialog(this.StepTips,this.name); await FirstDialog.ChooseDialog(this.StepTips,this.name);
this.Vue = false; this.Vue = false;
...@@ -39,6 +40,7 @@ struct CustomContainerUser { ...@@ -39,6 +40,7 @@ struct CustomContainerUser {
@Builder specificNoParam() { @Builder specificNoParam() {
Column() { Column() {
Flex({direction:FlexDirection.Column,alignItems: ItemAlign.Center, justifyContent: FlexAlign.SpaceBetween }) { Flex({direction:FlexDirection.Column,alignItems: ItemAlign.Center, justifyContent: FlexAlign.SpaceBetween }) {
Scroll(this.scroller) {
Column(){ Column(){
Row(){ Row(){
Text(`根据以下操作步骤完成测试`+ '\n' + '\n' + '\n' + '\n'+ '\n' + '\n' + '\n' + '\n') Text(`根据以下操作步骤完成测试`+ '\n' + '\n' + '\n' + '\n'+ '\n' + '\n' + '\n' + '\n')
...@@ -99,7 +101,7 @@ struct CustomContainerUser { ...@@ -99,7 +101,7 @@ struct CustomContainerUser {
.fontColor(Color.White).fontSize('24fp') .fontColor(Color.White).fontSize('24fp')
} }
} }
}
} }
}.width('100%').height('80%').backgroundColor(Color.Black) }.width('100%').height('80%').backgroundColor(Color.Black)
.justifyContent(FlexAlign.SpaceEvenly) .justifyContent(FlexAlign.SpaceEvenly)
......
...@@ -31,6 +31,7 @@ struct CustomContainerUser { ...@@ -31,6 +31,7 @@ struct CustomContainerUser {
@State Vue: boolean = false; @State Vue: boolean = false;
@State StartEnable: boolean = true; @State StartEnable: boolean = true;
@State time: string = '0'; @State time: string = '0';
scroller: Scroller = new Scroller();
async aboutToAppear(){ async aboutToAppear(){
await FirstDialog.ChooseDialog(this.StepTips,this.name); await FirstDialog.ChooseDialog(this.StepTips,this.name);
this.Vue = false; this.Vue = false;
...@@ -39,6 +40,7 @@ struct CustomContainerUser { ...@@ -39,6 +40,7 @@ struct CustomContainerUser {
@Builder specificNoParam() { @Builder specificNoParam() {
Column() { Column() {
Flex({direction:FlexDirection.Column,alignItems: ItemAlign.Center, justifyContent: FlexAlign.SpaceBetween }) { Flex({direction:FlexDirection.Column,alignItems: ItemAlign.Center, justifyContent: FlexAlign.SpaceBetween }) {
Scroll(this.scroller) {
Column(){ Column(){
Row(){ Row(){
Text(`根据以下操作步骤完成测试`+ '\n' + '\n' + '\n' + '\n'+ '\n' + '\n' + '\n' + '\n') Text(`根据以下操作步骤完成测试`+ '\n' + '\n' + '\n' + '\n'+ '\n' + '\n' + '\n' + '\n')
...@@ -99,7 +101,7 @@ struct CustomContainerUser { ...@@ -99,7 +101,7 @@ struct CustomContainerUser {
.fontColor(Color.White).fontSize('24fp') .fontColor(Color.White).fontSize('24fp')
} }
} }
}
} }
}.width('100%').height('80%').backgroundColor(Color.Black) }.width('100%').height('80%').backgroundColor(Color.Black)
.justifyContent(FlexAlign.SpaceEvenly) .justifyContent(FlexAlign.SpaceEvenly)
......
...@@ -31,6 +31,7 @@ struct CustomContainerUser { ...@@ -31,6 +31,7 @@ struct CustomContainerUser {
@State Vue: boolean = false; @State Vue: boolean = false;
@State StartEnable: boolean = true; @State StartEnable: boolean = true;
@State time: string = '0'; @State time: string = '0';
scroller: Scroller = new Scroller();
async aboutToAppear(){ async aboutToAppear(){
await FirstDialog.ChooseDialog(this.StepTips,this.name); await FirstDialog.ChooseDialog(this.StepTips,this.name);
this.Vue = false; this.Vue = false;
...@@ -39,6 +40,7 @@ struct CustomContainerUser { ...@@ -39,6 +40,7 @@ struct CustomContainerUser {
@Builder specificNoParam() { @Builder specificNoParam() {
Column() { Column() {
Flex({direction:FlexDirection.Column,alignItems: ItemAlign.Center, justifyContent: FlexAlign.SpaceBetween }) { Flex({direction:FlexDirection.Column,alignItems: ItemAlign.Center, justifyContent: FlexAlign.SpaceBetween }) {
Scroll(this.scroller) {
Column(){ Column(){
Row(){ Row(){
Text(`根据以下操作步骤完成测试`+ '\n' + '\n' + '\n' + '\n'+ '\n' + '\n' + '\n' + '\n') Text(`根据以下操作步骤完成测试`+ '\n' + '\n' + '\n' + '\n'+ '\n' + '\n' + '\n' + '\n')
...@@ -99,7 +101,7 @@ struct CustomContainerUser { ...@@ -99,7 +101,7 @@ struct CustomContainerUser {
.fontColor(Color.White).fontSize('24fp') .fontColor(Color.White).fontSize('24fp')
} }
} }
}
} }
}.width('100%').height('80%').backgroundColor(Color.Black) }.width('100%').height('80%').backgroundColor(Color.Black)
.justifyContent(FlexAlign.SpaceEvenly) .justifyContent(FlexAlign.SpaceEvenly)
......
...@@ -29,6 +29,7 @@ struct CustomContainerUser { ...@@ -29,6 +29,7 @@ struct CustomContainerUser {
@State Vue: boolean = false; @State Vue: boolean = false;
@State StartEnable: boolean = true; @State StartEnable: boolean = true;
@State time: string = '0'; @State time: string = '0';
scroller: Scroller = new Scroller();
async aboutToAppear(){ async aboutToAppear(){
await FirstDialog.ChooseDialog(this.StepTips,this.name); await FirstDialog.ChooseDialog(this.StepTips,this.name);
this.Vue = false; this.Vue = false;
...@@ -37,6 +38,7 @@ struct CustomContainerUser { ...@@ -37,6 +38,7 @@ struct CustomContainerUser {
@Builder specificNoParam() { @Builder specificNoParam() {
Column() { Column() {
Flex({direction:FlexDirection.Column,alignItems: ItemAlign.Center, justifyContent: FlexAlign.SpaceBetween }) { Flex({direction:FlexDirection.Column,alignItems: ItemAlign.Center, justifyContent: FlexAlign.SpaceBetween }) {
Scroll(this.scroller) {
Column(){ Column(){
Row(){ Row(){
Text(`根据以下操作步骤完成测试`+ '\n' + '\n' + '\n' + '\n'+ '\n' + '\n' + '\n' + '\n') Text(`根据以下操作步骤完成测试`+ '\n' + '\n' + '\n' + '\n'+ '\n' + '\n' + '\n' + '\n')
...@@ -100,7 +102,7 @@ struct CustomContainerUser { ...@@ -100,7 +102,7 @@ struct CustomContainerUser {
.fontColor(Color.White).fontSize('24fp') .fontColor(Color.White).fontSize('24fp')
} }
} }
}
} }
}.width('100%').height('80%').backgroundColor(Color.Black) }.width('100%').height('80%').backgroundColor(Color.Black)
.justifyContent(FlexAlign.SpaceEvenly) .justifyContent(FlexAlign.SpaceEvenly)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册