Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
DCloud
hello uni-app x
提交
22d5663f
H
hello uni-app x
项目概览
DCloud
/
hello uni-app x
通知
5995
Star
90
Fork
162
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
18
列表
看板
标记
里程碑
合并请求
1
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
H
hello uni-app x
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
18
Issue
18
列表
看板
标记
里程碑
合并请求
1
合并请求
1
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
提交
22d5663f
编写于
7月 01, 2024
作者:
DCloud-WZF
💬
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
refactor: 调整部分示例页面路径
上级
213988d9
变更
9
展开全部
隐藏空白更改
内联
并排
Showing
9 changed file
with
320 addition
and
262 deletion
+320
-262
pages.json
pages.json
+7
-7
pages/component/public-events/public-events.test.js
pages/component/public-events/public-events.test.js
+1
-1
pages/component/public-events/public-events.uvue
pages/component/public-events/public-events.uvue
+303
-245
pages/component/public-events/touch-events.uvue
pages/component/public-events/touch-events.uvue
+0
-0
pages/component/public-events/transition-events.test.js
pages/component/public-events/transition-events.test.js
+1
-1
pages/component/public-events/transition-events.uvue
pages/component/public-events/transition-events.uvue
+0
-0
pages/component/public-properties/public-properties.test.js
pages/component/public-properties/public-properties.test.js
+1
-1
pages/component/public-properties/public-properties.uvue
pages/component/public-properties/public-properties.uvue
+2
-2
pages/pages.test.js
pages/pages.test.js
+5
-5
未找到文件。
pages.json
浏览文件 @
22d5663f
...
...
@@ -314,27 +314,27 @@
}
},
{
"path"
:
"pages/component/
general-attribute/general-attribute
"
,
"path"
:
"pages/component/
public-properties/public-properties
"
,
"style"
:
{
"navigationBarTitleText"
:
"
general-attribute
"
"navigationBarTitleText"
:
"
public-properties
"
}
},
{
"path"
:
"pages/component/
general-event/general-event
"
,
"path"
:
"pages/component/
public-events/public-events
"
,
"style"
:
{
"navigationBarTitleText"
:
"
general-event
"
"navigationBarTitleText"
:
"
public-events
"
}
},
{
"path"
:
"pages/component/
general-event/transition-event
"
,
"path"
:
"pages/component/
public-events/transition-events
"
,
"style"
:
{
"navigationBarTitleText"
:
"transitionend事件"
}
},
{
"path"
:
"pages/component/
general-event/touch-event
"
,
"path"
:
"pages/component/
public-events/touch-events
"
,
"style"
:
{
"navigationBarTitleText"
:
"touch-event"
"navigationBarTitleText"
:
"touch-event
s
"
}
},
{
...
...
pages/component/
general-event/general-event
.test.js
→
pages/component/
public-events/public-events
.test.js
浏览文件 @
22d5663f
const
PAGE_PATH
=
'
/pages/component/
general-event/general-event
'
const
PAGE_PATH
=
'
/pages/component/
public-events/public-events
'
describe
(
'
event trigger
'
,
()
=>
{
const
platformInfo
=
process
.
env
.
uniTestPlatformInfo
.
toLocaleLowerCase
()
...
...
pages/component/
general-event/general-event
.uvue
→
pages/component/
public-events/public-events
.uvue
浏览文件 @
22d5663f
此差异已折叠。
点击以展开。
pages/component/
general-event/touch-event
.uvue
→
pages/component/
public-events/touch-events
.uvue
浏览文件 @
22d5663f
文件已移动
pages/component/
general-event/transition-event
.test.js
→
pages/component/
public-events/transition-events
.test.js
浏览文件 @
22d5663f
...
...
@@ -3,7 +3,7 @@
describe
(
'
transition event
'
,
()
=>
{
let
page
;
beforeAll
(
async
()
=>
{
page
=
await
program
.
reLaunch
(
'
/pages/component/
general-event/transition-event
'
)
page
=
await
program
.
reLaunch
(
'
/pages/component/
public-events/transition-events
'
)
await
page
.
waitFor
(
3000
);
});
...
...
pages/component/
general-event/transition-event
.uvue
→
pages/component/
public-events/transition-events
.uvue
浏览文件 @
22d5663f
文件已移动
pages/component/
general-attribute/general-attribute
.test.js
→
pages/component/
public-properties/public-properties
.test.js
浏览文件 @
22d5663f
const
PAGE_PATH
=
'
/pages/component/
general-attribute/general-attribute
'
const
PAGE_PATH
=
'
/pages/component/
public-properties/public-properties
'
describe
(
'
general attribute
'
,
()
=>
{
let
page
...
...
pages/component/
general-attribute/general-attribute
.uvue
→
pages/component/
public-properties/public-properties
.uvue
浏览文件 @
22d5663f
...
...
@@ -28,7 +28,7 @@
<text class="btn-inner">{{ validateGeneralAttrText }}</text>
</view>
<view class="btn btn-ref uni-common-mt" @click="changeHeight">
<text class="btn-inner">{{
changeHeightByRefText
}}</text>
<text class="btn-inner">{{
changeHeightByRefText
}}</text>
</view>
<view class="view-class" :hover-class="hoverClass" ref="view-target">
<text class="text">按下 50 ms 后背景变红</text>
...
...
@@ -55,7 +55,7 @@
export default {
data() {
return {
title: '
general-attribute
',
title: '
public-properties
',
generalId: 'general-id',
generalClass: 'general-class',
generalName: 'general-name',
...
...
pages/pages.test.js
浏览文件 @
22d5663f
...
...
@@ -83,10 +83,10 @@ const pages = [
// '/pages/component/unicloud-db/unicloud-db/contacts/detail',
'
/pages/component/unicloud-db/unicloud-db/mixin-datacom/mixin-datacom
'
,
// 单独测试例截图
// '/pages/component/
general-attribute/general-attribute
',
'
/pages/component/
general-event/general-event
'
,
'
/pages/component/
general-event/transition-event
'
,
'
/pages/component/
general-event/touch-event
'
,
// '/pages/component/
public-properties/public-properties
',
'
/pages/component/
public-events/public-events
'
,
'
/pages/component/
public-events/transition-events
'
,
'
/pages/component/
public-events/touch-events
'
,
// 单独测试例截图
// '/pages/component/nested-scroll-header/nested-scroll-header',
// 单独测试例截图
...
...
@@ -349,7 +349,7 @@ function getWaitForTagName(pagePath) {
return
'
video
'
}
if
(
pagePath
===
'
/pages/component/
general-event/transition-event
'
||
pagePath
===
'
/pages/component/
public-events/transition-events
'
||
pagePath
===
'
/pages/component/list-view/list-view-refresh
'
||
pagePath
===
'
/pages/API/env/env
'
)
{
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录