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
23f6e78a
Commit
23f6e78a
authored
Jun 13, 2025
by
张九刚
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 在品牌和首页中添加视频 URL 处理逻辑,确保视频链接正确拼接
parent
cacfb599
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
0 deletions
+6
-0
Brand.vue
views/Brand.vue
+3
-0
Home.vue
views/Home.vue
+3
-0
No files found.
views/Brand.vue
View file @
23f6e78a
...
...
@@ -183,6 +183,9 @@ export default {
this
.
ipDesc
=
data
.
ipDesc
;
this
.
swiperIconList
=
data
.
swiperIconList
;
this
.
testVideoUrl
=
data
.
videoUrl
;
if
(
data
.
videoUrl
.
indexOf
(
'http'
)
===
-
1
){
data
.
videoUrl
=
this
.
$baseUrl
+
data
.
videoUrl
;
}
this
.
currentVideoUrl
=
data
.
videoUrl
;
this
.
channel
=
data
.
channel
;
}
...
...
views/Home.vue
View file @
23f6e78a
...
...
@@ -276,6 +276,9 @@ export default {
},
jumpLink
(
link
,
videoUrl
)
{
if
(
videoUrl
)
{
if
(
videoUrl
.
indexOf
(
'http'
)
===
-
1
){
videoUrl
=
this
.
$baseUrl
+
videoUrl
;
}
// 弹出视频
this
.
currentVideoUrl
=
videoUrl
;
this
.
showVideo
=
true
;
...
...
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