code check

Signed-off-by: dongwei <dongwei@kaihong.com>
This commit is contained in:
dongwei 2023-07-13 20:06:13 +08:00
parent 104414c0e9
commit 9101501e2a
7 changed files with 13 additions and 24 deletions

View File

@ -57,7 +57,7 @@ Note:If the text contains special characters, please escape them according to th
<policylist>
<policy name="projectPolicy" desc="">
<policyitem type="copyright" name="iSoftStone Information Technology (Group) Co.,Ltd." path=".*" desc=""/>
<policyitem type="copyright" name="Copyright (c) 2022 Shenzhen Kaihong Digital" path=".*" rule="may" group="defaultGroup" filefilter="copyrightPolicyFilter" desc=""/>
<policyitem type="copyright" name="Copyright (c) 2023 Shenzhen Kaihong Digital" path=".*" rule="may" group="defaultGroup" filefilter="copyrightPolicyFilter" desc=""/>
</policy>
</policylist>
<filefilterlist>

View File

@ -85,7 +85,6 @@ struct FocusPage013 {
}
.width('100%')
.height('100%')
}
}
}

View File

@ -126,10 +126,9 @@ struct ClipPage001 {
}
@Styles commonStyle(){
.width(350)
.height(260)
.width(200)
.height(150)
.border({width:2})
// .clip(this._generalAttr)
.key(this.componentKey)
}

View File

@ -126,8 +126,8 @@ struct ClipPage002 {
}
@Styles commonStyle(){
.width(350)
.height(260)
.width(200)
.height(150)
.border({width:2})
.clip(this._generalAttr)
.key(this.componentKey)
@ -171,7 +171,6 @@ struct ClipPage002 {
}
build() {
Row() {
Column() {
if (this.targetView == 'AlphabetIndexer') {
AlphabetIndexer({ arrayValue: ['A', 'B', 'C'], selected: 0 })
@ -872,7 +871,6 @@ struct ClipPage002 {
}
.width('100%')
.height('100%')
}
.defaultFocus(true)
.defaultFocus(true)
}
}

View File

@ -126,8 +126,8 @@ struct MaskPage001 {
}
@Styles commonStyle(){
.width(350)
.height(260)
.width(200)
.height(150)
.border({width:2})
.mask(this._generalAttr.fill(Color.Green))
.key(this.componentKey)
@ -169,9 +169,8 @@ struct MaskPage001 {
console.info('FocusPage onPageShow');
AttrsManager.registerDataChange(value => this._generalAttr = value)
}
// @ts-nocheck
build() {
Row() {
Column() {
if (this.targetView == 'AlphabetIndexer') {
AlphabetIndexer({ arrayValue: ['A', 'B', 'C'], selected: 0 })
@ -872,8 +871,6 @@ struct MaskPage001 {
}
.width('100%')
.height('100%')
}
.defaultFocus(true)
.defaultFocus(true)
}
}

View File

@ -189,9 +189,9 @@ export default function testsuite() {
ScaleTest02()
TranslateTest02()
// ClipTest01()
// ClipTest02()
// MaskTest01()
ClipTest01()
ClipTest02()
MaskTest01()
OverlayTest01()
OverlayTest02()

View File

@ -49,10 +49,6 @@ export default function MaskTest01() {
describe: 'SUB_ACE_TS_COMPONENT_028', //截图命名的一部分
setValue: new Circle({width:"400px",height:"280px"}), //要测试的属性值
},
// {
// describe: 'SUB_ACE_TS_COMPONENT_029', //截图命名的一部分
// setValue: new Circle({width:"400px",height:"280px"}).fill(), //要测试的属性值
// },
{
describe: 'SUB_ACE_TS_COMPONENT_030', //截图命名的一部分
setValue: new Circle(), //要测试的属性值