Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
phsl
/
client
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
7f9b040f
authored
Sep 19, 2025
by
lijinqi
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/develop' into develop
parents
b4c0e8fd
be0697f1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
1 deletions
+14
-1
src/views/index.vue
+14
-1
No files found.
src/views/index.vue
View file @
7f9b040f
...
@@ -30,7 +30,9 @@
...
@@ -30,7 +30,9 @@
<p
class=
"info"
>
{{
i
.
information
}}
</p>
<p
class=
"info"
>
{{
i
.
information
}}
</p>
<div
class=
"btn-box"
>
<div
class=
"btn-box"
>
<button
aria-disabled=
"false"
type=
"button"
<button
aria-disabled=
"false"
type=
"button"
class=
"el-button el-button--default is-plain"
>
class=
"el-button el-button--default is-plain"
@
click=
"goToDetail(i)"
>
<span
class=
""
>
了解详情
</span>
<span
class=
""
>
了解详情
</span>
</button>
</button>
</div>
</div>
...
@@ -217,6 +219,17 @@ const infoList = ref([])
...
@@ -217,6 +219,17 @@ const infoList = ref([])
const
infoBottomList
=
ref
([])
const
infoBottomList
=
ref
([])
const
router
=
useRouter
()
const
router
=
useRouter
()
// 跳转处理函数
const
goToDetail
=
(
item
)
=>
{
if
(
!
item
.
url
)
{
console
.
warn
(
'当前资源没有跳转链接'
,
item
);
return
;
}
window
.
open
(
item
.
url
,
'_blank'
);
}
;
function
updateHeight
()
{
function
updateHeight
()
{
// 根据窗口宽度计算高度
// 根据窗口宽度计算高度
const
width
=
window
.
innerWidth
;
const
width
=
window
.
innerWidth
;
...
...
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