Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Xts Acts
提交
28a623d8
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看板
未验证
提交
28a623d8
编写于
4月 06, 2023
作者:
O
openharmony_ci
提交者:
Gitee
4月 06, 2023
浏览文件
操作
浏览文件
下载
差异文件
!8371 修改player列表背景颜色问题
Merge pull request !8371 from youngshady/OpenHarmony-3.2-Release
上级
a7c2e036
867d15c8
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
4 addition
and
18 deletion
+4
-18
validator/acts_validator/src/main/ets/pages/Player/PlayAudioList.ets
...cts_validator/src/main/ets/pages/Player/PlayAudioList.ets
+1
-8
validator/acts_validator/src/main/ets/pages/Player/PlayVideo.ets
...or/acts_validator/src/main/ets/pages/Player/PlayVideo.ets
+1
-1
validator/acts_validator/src/main/ets/pages/Player/PlayVideoList.ets
...cts_validator/src/main/ets/pages/Player/PlayVideoList.ets
+2
-9
未找到文件。
validator/acts_validator/src/main/ets/pages/Player/PlayAudioList.ets
浏览文件 @
28a623d8
...
@@ -43,14 +43,6 @@ struct audioNew {
...
@@ -43,14 +43,6 @@ struct audioNew {
@State TestCaseList: Array<mediaLibrary.FileAsset> = [];
@State TestCaseList: Array<mediaLibrary.FileAsset> = [];
@State ColorObject: string[] = VarColor;
@State ColorObject: string[] = VarColor;
async aboutToAppear() {
this.getAudioData();
}
async getAudioData() {
this.TestCaseList = await this.MediaLib.getFileAssetsAlbum('Audios/ValidatorData/');
}
async onPageShow() {
async onPageShow() {
let Test = null;
let Test = null;
let context = null;
let context = null;
...
@@ -66,6 +58,7 @@ struct audioNew {
...
@@ -66,6 +58,7 @@ struct audioNew {
Test = data;
Test = data;
console.info("Succeeded in getting value of 'PlayerAudio'. Data: " + data);
console.info("Succeeded in getting value of 'PlayerAudio'. Data: " + data);
});
});
this.TestCaseList = await this.MediaLib.getFileAssetsAlbum('Audios/ValidatorData/');
if (Test != 1) {
if (Test != 1) {
let fd = fileio.openSync(ColorBackPath, 0o102, 0o666);
let fd = fileio.openSync(ColorBackPath, 0o102, 0o666);
...
...
validator/acts_validator/src/main/ets/pages/Player/PlayVideo.ets
浏览文件 @
28a623d8
...
@@ -26,7 +26,7 @@ struct playVideo {
...
@@ -26,7 +26,7 @@ struct playVideo {
@State StepTips: string = '测试目的:用于测试视频播放暂停seek\n预期结果:视频播放暂停seek功能正常';
@State StepTips: string = '测试目的:用于测试视频播放暂停seek\n预期结果:视频播放暂停seek功能正常';
private tag: string = 'qlw';
private tag: string = 'qlw';
@State Vue: boolean = false;
@State Vue: boolean = false;
@State videoSrc:
Resource = $rawfile('H264_AAC.mkv')
;
@State videoSrc:
string = router.getParams()['audioUrl']
;
@State isAutoPlay: boolean = true;
@State isAutoPlay: boolean = true;
@State showControls: boolean = true;
@State showControls: boolean = true;
controller: VideoController = new VideoController();
controller: VideoController = new VideoController();
...
...
validator/acts_validator/src/main/ets/pages/Player/PlayVideoList.ets
浏览文件 @
28a623d8
...
@@ -43,14 +43,6 @@ struct videoNew {
...
@@ -43,14 +43,6 @@ struct videoNew {
@State TestCaseList: Array<mediaLibrary.FileAsset> = [];
@State TestCaseList: Array<mediaLibrary.FileAsset> = [];
@State ColorObject: string[] = VarColor;
@State ColorObject: string[] = VarColor;
async aboutToAppear() {
this.getVideoData();
}
async getVideoData() {
this.TestCaseList = await this.MediaLib.getFileAssetsAlbum('Videos/ValidatorData/');
}
async onPageShow() {
async onPageShow() {
let Test = null;
let Test = null;
let context = null;
let context = null;
...
@@ -66,6 +58,7 @@ struct videoNew {
...
@@ -66,6 +58,7 @@ struct videoNew {
Test = data;
Test = data;
console.info("Succeeded in getting value of 'PlayerVideo'. Data: " + data);
console.info("Succeeded in getting value of 'PlayerVideo'. Data: " + data);
});
});
this.TestCaseList = await this.MediaLib.getFileAssetsAlbum('Videos/ValidatorData/');
if (Test != 1) {
if (Test != 1) {
let fd = fileio.openSync(ColorBackPath, 0o102, 0o666);
let fd = fileio.openSync(ColorBackPath, 0o102, 0o666);
...
@@ -116,7 +109,7 @@ struct videoNew {
...
@@ -116,7 +109,7 @@ struct videoNew {
fileio.closeSync(FD);
fileio.closeSync(FD);
let Fd = fileio.openSync(ColorBackPath, 0o102, 0o666);
let Fd = fileio.openSync(ColorBackPath, 0o102, 0o666);
fileio.writeSync(Fd, Report);
fileio.writeSync(Fd, Report);
filewrite(name1, results, titles)
filewrite(name1, results, titles)
;
}
}
else if (this.result === 'false') {
else if (this.result === 'false') {
this.ColorObject[this.current] = '#ffff0000';
this.ColorObject[this.current] = '#ffff0000';
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录