Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
jijin
/
dance-pc
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
fecca556
authored
2025-06-11 15:51:28 +0800
by
zhangmeng
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
车辆
1 parent
2c5c2b59
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
13 deletions
src/viewsPc/guide/index.vue
src/viewsPc/guide/index.vue
View file @
fecca55
...
...
@@ -34,7 +34,7 @@
<label>
{{ language === 0 ? '点击下载' : 'DownLoad' }}:
</label>
<div
v-if=
"fileList.length>0"
>
<div
v-for=
"f in fileList"
:key=
"f"
>
<a
:href=
"fillImgUrl(f.
u
rl) "
class=
"text-primary"
target=
"_blank"
>
<a
:href=
"fillImgUrl(f.
fileU
rl) "
class=
"text-primary"
target=
"_blank"
>
<el-icon
style=
"position: relative;top: 2px"
>
<download
/>
</el-icon>
...
...
@@ -108,11 +108,13 @@ onMounted(() => {
getKindList
()
}
if
(
route
.
query
.
cptId
)
getMatch
()
//
if (route.query.cptId) getMatch()
})
const
getKindList
=
()
=>
{
changeTab
(
0
)
}
const
changeTab
=
(
n
)
=>
{
n
=
Number
(
n
)
if
(
language
.
value
===
0
)
{
...
...
@@ -123,16 +125,18 @@ const changeTab = (n) => {
activeName
.
value
=
n
if
(
n
==
8
)
{
var
obj
=
{
sortId
:
30000009
,
language
:
1
}
if
(
language
.
value
==
1
)
{
obj
.
language
=
2
}
getZNList
(
obj
).
then
(
res
=>
{
fileList
.
value
=
res
.
rows
for
(
const
f
of
fileList
.
value
)
{
f
.
fileUrl
=
JSON
.
parse
(
f
.
picUrl
)[
0
].
url
}
})
getMatch
()
// var obj = { sortId: 30000009, language: 1 }
// if (language.value == 1) {
// obj.language = 2
// }
// getZNList(obj).then(res => {
// fileList.value = res.rows
// for (const f of fileList.value) {
// f.fileUrl = JSON.parse(f.picUrl)[0].url
// }
// console.log(fileList.value)
// })
}
else
{
loading
.
value
=
true
getppInfo
(
list
.
value
[
n
].
code
).
then
(
res
=>
{
...
...
@@ -188,7 +192,6 @@ async function getMatch() {
}
else
{
fileList
.
value
=
[]
}
console
.
log
(
res
)
}
</
script
>
<
style
lang=
"scss"
scoped
>
...
...
Write
Preview
Styling with
Markdown
is supported
Attach a file
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 post a comment