提交 22d5663f 编写于 作者: DCloud-WZF's avatar DCloud-WZF 💬

refactor: 调整部分示例页面路径

上级 213988d9
......@@ -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-events"
}
},
{
......
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()
......
......@@ -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);
});
......
const PAGE_PATH = '/pages/component/general-attribute/general-attribute'
const PAGE_PATH = '/pages/component/public-properties/public-properties'
describe('general attribute', () => {
let page
......
......@@ -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',
......
......@@ -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.
先完成此消息的编辑!
想要评论请 注册