Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
飞
飞鹤小程序
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
FH
飞鹤小程序
Commits
8761576f
Commit
8761576f
authored
Sep 23, 2025
by
spc
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
middlepage
parent
0c67f3a9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
11 deletions
+13
-11
middlePage.vue
pages/middlePage/middlePage.vue
+13
-11
No files found.
pages/middlePage/middlePage.vue
View file @
8761576f
<
template
>
<view
class=
"third-jump-page"
@
click=
"retryJump"
>
<view
class=
"third-jump-page"
@
click=
"retryJump"
>
<image
class=
"bg-img"
:src=
"`$
{$baseUrl}${bgImg}`" mode="widthFix">
</image>
</view>
</
template
>
...
...
@@ -16,7 +16,7 @@ const $baseUrl = proxy.$baseUrl
const
jumpFailed
=
ref
(
false
)
const
errorMessage
=
ref
(
''
)
const
jumpParams
=
ref
({})
const
bgImg
=
ref
(
''
)
const
bgImg
=
ref
(
'
middlePage/middleBg.png
'
)
// const bgImgObj = {
// 'sy': 'thirdJumpMiddlePage/v1/syJumpPageBg.jpg'
...
...
@@ -39,15 +39,17 @@ onMounted(() => {
type
:
options
.
type
,
embedded
:
options
.
embedded
,
}
setTimeout
(()
=>
{
// 执行跳转
executeJump
()
},
30
)
// 执行跳转
executeJump
()
})
// 执行跳转
const
executeJump
=
()
=>
{
const
jumpData
=
{
type
:
jumpParams
.
value
.
type
*
1
,
type
:
jumpParams
.
value
.
type
*
1
,
url
:
jumpParams
.
value
.
path
,
extra
:
{
appId
:
jumpParams
.
value
.
appId
,
...
...
@@ -70,20 +72,20 @@ const retryJump = () => {
<
style
lang=
"less"
scoped
>
.third-jump-page {
background: white;
display: flex;
align-items: center;
justify-content: center;
width: 100vw;
height: 100vh;
padding: 40rpx;
overflow: hidden;
position: absolute;
}
.bg-img {
width: 100%;
width: 750rpx;
height: 1624rpx;
position: absolute;
top: 0;
bottom: 0;
left: 0;
margin: auto;
z-index: 1;
}
</
style
>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment