Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Xts Acts
提交
616ec961
X
Xts Acts
项目概览
OpenHarmony
/
Xts Acts
1 年多 前同步成功
通知
9
Star
22
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
X
Xts Acts
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
616ec961
编写于
3月 27, 2023
作者:
C
chensi10
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Modify the values of the Swiper component FontWeight and FontColor
Signed-off-by:
N
chensi10
<
chensi52@huawei.com
>
上级
692f5cb0
变更
1
隐藏空白更改
内联
并排
Showing
1 changed file
with
10 addition
and
10 deletion
+10
-10
arkui/ace_ets_components_ux/ace_ets_component_swiper/src/main/ets/test/swiper.ets
..._ux/ace_ets_component_swiper/src/main/ets/test/swiper.ets
+10
-10
未找到文件。
arkui/ace_ets_components_ux/ace_ets_component_swiper/src/main/ets/test/swiper.ets
浏览文件 @
616ec961
...
...
@@ -1669,7 +1669,7 @@ export default function swiperTest() {
let obj2 = JSON.parse(obj.$attrs.indicator);
console.info("ArkUX_Stage_Swiper_SelectedDigitFont_0100 component obj2 is: " + JSON.stringify(obj2));
expect(obj2.selectedFontSize).assertEqual("34.00fp");
expect(obj2.selectedFontWeight).assertEqual("
FontWeight.
800");
expect(obj2.selectedFontWeight).assertEqual("800");
console.info('ArkUX_Stage_Swiper_SelectedDigitFont_0100 END ');
done();
} catch (err) {
...
...
@@ -1700,7 +1700,7 @@ export default function swiperTest() {
let obj2 = JSON.parse(obj.$attrs.indicator);
console.info("ArkUX_Stage_Swiper_SelectedDigitFont_0200 component obj2 is: " + JSON.stringify(obj2));
expect(obj2.selectedFontSize).assertEqual("20.00px");
expect(obj2.selectedFontWeight).assertEqual("
FontWeight.
200");
expect(obj2.selectedFontWeight).assertEqual("200");
console.info('ArkUX_Stage_Swiper_SelectedDigitFont_0200 END ');
done();
} catch (err) {
...
...
@@ -1731,7 +1731,7 @@ export default function swiperTest() {
let obj2 = JSON.parse(obj.$attrs.indicator);
console.info("ArkUX_Stage_Swiper_SelectedDigitFont_0300 component obj2 is: " + JSON.stringify(obj2));
expect(obj2.selectedFontSize).assertEqual("48.00%");
expect(obj2.selectedFontWeight).assertEqual("
FontWeight.
900");
expect(obj2.selectedFontWeight).assertEqual("900");
console.info('ArkUX_Stage_Swiper_SelectedDigitFont_0300 END ');
done();
} catch (err) {
...
...
@@ -1918,7 +1918,7 @@ export default function swiperTest() {
let obj2 = JSON.parse(obj.$attrs.indicator);
console.info("ArkUX_Stage_Swiper_SelectedDigitFont_0900 component obj2 is: " + JSON.stringify(obj2));
expect(obj2.selectedFontSize).assertEqual("40.00lpx");
expect(obj2.selectedFontWeight).assertEqual("
FontWeight.
500");
expect(obj2.selectedFontWeight).assertEqual("500");
console.info('ArkUX_Stage_Swiper_SelectedDigitFont_0900 END ');
done();
} catch (err) {
...
...
@@ -1982,7 +1982,7 @@ export default function swiperTest() {
let obj2 = JSON.parse(obj.$attrs.indicator);
console.info("ArkUX_Stage_Swiper_SelectedDigitFont_1100 component obj2 is: " + JSON.stringify(obj2));
expect(obj2.selectedFontSize).assertEqual("10.00fp");
expect(obj2.selectedFontWeight).assertEqual("
FontWeight.
600");
expect(obj2.selectedFontWeight).assertEqual("600");
console.info('ArkUX_Stage_Swiper_SelectedDigitFont_1100 END ');
done();
} catch (err) {
...
...
@@ -2013,7 +2013,7 @@ export default function swiperTest() {
let obj2 = JSON.parse(obj.$attrs.indicator);
console.info("ArkUX_Stage_Swiper_DigitFont_0100 component obj2 is: " + JSON.stringify(obj2));
expect(obj2.fontSize).assertEqual("34.00fp");
expect(obj2.fontWeight).assertEqual("
FontWeight.
800");
expect(obj2.fontWeight).assertEqual("800");
console.info('ArkUX_Stage_Swiper_DigitFont_0100 END ');
done();
} catch (err) {
...
...
@@ -2044,7 +2044,7 @@ export default function swiperTest() {
let obj2 = JSON.parse(obj.$attrs.indicator);
console.info("ArkUX_Stage_Swiper_DigitFont_0200 component obj2 is: " + JSON.stringify(obj2));
expect(obj2.fontSize).assertEqual("20.00px");
expect(obj2.fontWeight).assertEqual("
FontWeight.
200");
expect(obj2.fontWeight).assertEqual("200");
console.info('ArkUX_Stage_Swiper_DigitFont_0200 END ');
done();
} catch (err) {
...
...
@@ -2075,7 +2075,7 @@ export default function swiperTest() {
let obj2 = JSON.parse(obj.$attrs.indicator);
console.info("ArkUX_Stage_Swiper_DigitFont_0300 component obj2 is: " + JSON.stringify(obj2));
expect(obj2.fontSize).assertEqual("48.00%");
expect(obj2.fontWeight).assertEqual("
FontWeight.
900");
expect(obj2.fontWeight).assertEqual("900");
console.info('ArkUX_Stage_Swiper_DigitFont_0300 END ');
done();
} catch (err) {
...
...
@@ -2262,7 +2262,7 @@ export default function swiperTest() {
let obj2 = JSON.parse(obj.$attrs.indicator);
console.info("ArkUX_Stage_Swiper_DigitFont_0900 component obj2 is: " + JSON.stringify(obj2));
expect(obj2.fontSize).assertEqual("40.00lpx");
expect(obj2.fontWeight).assertEqual("
FontWeight.
500");
expect(obj2.fontWeight).assertEqual("500");
console.info('ArkUX_Stage_Swiper_DigitFont_0900 END ');
done();
} catch (err) {
...
...
@@ -2326,7 +2326,7 @@ export default function swiperTest() {
let obj2 = JSON.parse(obj.$attrs.indicator);
console.info("ArkUX_Stage_Swiper_DigitFont_1100 component obj2 is: " + JSON.stringify(obj2));
expect(obj2.fontSize).assertEqual("10.00fp");
expect(obj2.fontWeight).assertEqual("
FontWeight.
600");
expect(obj2.fontWeight).assertEqual("600");
console.info('ArkUX_Stage_Swiper_DigitFont_1100 END ');
done();
} catch (err) {
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录