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
89b68d6c
Commit
89b68d6c
authored
Oct 31, 2025
by
王炽
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev' of
http://gitlab2.dui88.com/fh/20250528_FHQ1
into dev
parents
2790ceea
745715a7
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
15 deletions
+7
-15
webview.vue
pages/gameWebview/webview.vue
+3
-11
index.vue
v3/more/index.vue
+4
-4
No files found.
pages/gameWebview/webview.vue
View file @
89b68d6c
...
...
@@ -17,7 +17,7 @@ import md from '../../md';
// 响应式数据
const
statusBarHeight
=
ref
(
0
)
const
webviewUrl
=
ref
(
''
)
const
webviewUrl
=
ref
(
'
https://momclub-test.feihe.com/h5/game/index.html
'
)
const
share
=
ref
(
null
)
// 分享数据
const
pageOptions
=
ref
({})
const
registered
=
ref
(
undefined
)
...
...
@@ -86,17 +86,9 @@ const getMessage = (e) => {
// 初始化 webview URL
const
initWebviewUrl
=
async
()
=>
{
const
res
=
await
fetchSyWebviewJSON
()
console
.
log
(
'res'
,
res
)
if
(
!
res
.
data
.
url
)
{
uni
.
redirectTo
({
url
:
'/pages/index/index'
})
return
}
let
baseUrl
=
res
.
data
.
url
let
baseUrl
=
webviewUrl
.
value
const
cuk
=
globalStore
.
cuk
const
openId
=
globalStore
.
openId
const
unionId
=
globalStore
.
unionId
...
...
@@ -147,7 +139,7 @@ const initWebviewUrl = async () => {
?
baseUrl
+
(
baseUrl
.
includes
(
'?'
)
?
'&'
:
'?'
)
+
paramStr
:
baseUrl
console
.
log
(
'Webview页面加载,URL:'
,
webviewUrl
.
value
,
paramStr
,
cuk
,
openId
,
unionId
)
console
.
log
(
'Webview页面加载,URL:'
,
webviewUrl
.
value
,
paramStr
)
}
// 监听注册状态变化,初始化 webview URL
...
...
v3/more/index.vue
View file @
89b68d6c
...
...
@@ -14,7 +14,7 @@
<text
class=
"arrow"
>
›
</text>
</view>
-->
<view
class=
"menu-item"
@
tap=
"handleItemTap('partnership')"
>
<
!--
<
view
class=
"menu-item"
@
tap=
"handleItemTap('partnership')"
>
<view
class=
"menu-left"
>
<view
class=
"menu-icon"
>
<image
:src=
"$baseUrl + 'homepage/Q3Res/icon_yyhz.png'"
mode=
"aspectFit"
...
...
@@ -23,9 +23,9 @@
<text
class=
"menu-text"
>
异业合作
</text>
</view>
<image
class=
"arrow"
:src=
"$baseUrl + 'homepage/Q3Res/rightArrowBtn.png'"
mode=
"aspectFit"
/>
</view>
</view>
-->
<view
class=
"menu-item"
@
tap=
"handleItemTap('feedback')"
>
<
!--
<
view
class=
"menu-item"
@
tap=
"handleItemTap('feedback')"
>
<view
class=
"menu-left"
>
<view
class=
"menu-icon"
>
<image
:src=
"$baseUrl + 'homepage/Q3Res/icon_sug.png'"
mode=
"aspectFit"
...
...
@@ -34,7 +34,7 @@
<text
class=
"menu-text"
>
意见反馈
</text>
</view>
<image
class=
"arrow"
:src=
"$baseUrl + 'homepage/Q3Res/rightArrowBtn.png'"
mode=
"aspectFit"
/>
</view>
</view>
-->
<view
class=
"menu-item"
@
tap=
"handleItemTap('userPolicy')"
>
<view
class=
"menu-left"
>
...
...
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