Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
杨炀
/
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
92f2ea86
authored
2025-03-28 11:17:25 +0800
by
杨炀
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
no message
1 parent
22d7edab
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
32 additions
and
11 deletions
src/viewsPc/about/wudao.vue
src/viewsPc/components/homeQuick.vue
src/viewsPc/index.vue
src/viewsPc/index_en.vue
src/viewsPc/meta/index.vue
src/viewsPc/about/wudao.vue
View file @
92f2ea8
...
...
@@ -25,6 +25,13 @@
<div
v-html=
"con2"
></div>
</div>
</div>
<div
class=
"infoPart pd20"
v-if=
"activeIndex==2"
>
<h3
class=
"leftboderTT"
>
{{
language
==
0
?
menu
[
activeIndex
].
name
:
menu
[
activeIndex
].
ename
}}
</h3>
<div
class=
"content"
>
<div
v-html=
"con3"
></div>
</div>
</div>
</el-col>
</el-row>
</el-card>
...
...
@@ -50,16 +57,19 @@
import
{
useStorage
}
from
"@vueuse/core"
;
import
{
onMounted
}
from
"vue"
;
import
{
getppInfo
}
from
"@/apiPc/match"
;
import
{
useRoute
}
from
"vue-router"
;
const
route
=
useRoute
()
const
language
=
useStorage
(
'language'
,
0
)
const
activeIndex
=
ref
(
0
)
const
con1
=
ref
(
''
)
const
con2
=
ref
(
''
)
const
con3
=
ref
(
''
)
const
menu
=
ref
([
{
name
:
'组织机构'
,
ename
:
'Organizer'
},
{
name
:
'无锡WDSF亚洲体育舞蹈节'
,
ename
:
'WUXI WDSF ASIAN DANCESPORT FESTIVAL'
},
{
name
:
'周边活动'
,
ename
:
'Around Activity'
},
// {name:'体育舞蹈项目',ename:''},
])
...
...
@@ -71,6 +81,9 @@ const contact = ref([
])
onMounted
(()
=>
{
if
(
route
.
query
.
activeIndex
){
activeIndex
.
value
=
route
.
query
.
activeIndex
}
getMenuList
()
})
const
getMenuList
=
()
=>
{
...
...
@@ -90,6 +103,14 @@ const getMenuList = ()=>{
con2
.
value
=
res
.
data
.
contextEn
}
})
getppInfo
(
'10000004'
).
then
(
res
=>
{
if
(
language
.
value
==
0
){
con3
.
value
=
res
.
data
.
contextZh
}
else
{
con3
.
value
=
res
.
data
.
contextEn
}
})
}
//根据菜单id获取详情
const
getDetail
=
(
item
,
index
)
=>
{
...
...
@@ -104,7 +125,7 @@ const getDetail = (item,index)=>{
ul{
border-right
:
2px
solid
#E5E5E5
;
padding
:
0
20px
0
0
;}
li
{
margin
:
30px
0
;
padding
:
10px
;
text-align
:
right
;
border-radius
:
2px
;
position
:
relative
;
font-weight
:
600
;
font-weight
:
600
;
text-transform
:
uppercase
;
font-size
:
18px
;
cursor
:
pointer
;
background
:
linear-gradient
(
90deg
,
rgba
(
134
,
35
,
252
,
0.1
),
rgba
(
69
,
61
,
234
,
0.1
));}
li
::after
{
content
:
''
;
position
:
absolute
;
background
:
#898989
;
width
:
8px
;
height
:
8px
;
...
...
src/viewsPc/components/homeQuick.vue
View file @
92f2ea8
...
...
@@ -123,7 +123,7 @@ const goAbout = () => {
}
const
goAround
=
()
=>
{
//周边活动
router
.
push
({
path
:
`/a
round/wuDao`
})
router
.
push
({
path
:
`/a
bout/wuDao`
,
query
:
{
activeIndex
:
'2'
}
})
}
onMounted
(()
=>
{
...
...
src/viewsPc/index.vue
View file @
92f2ea8
...
...
@@ -356,7 +356,7 @@ const init = () => {
getNewsListById
({
pageSize
:
time
.
value
>
0
?
3
:
4
,
pageNum
:
1
,
sortId
:
'
1
0000006'
sortId
:
'
3
0000006'
}
).
then
(
res
=>
{
livelist
.
value
=
res
.
rows
...
...
@@ -364,7 +364,7 @@ const init = () => {
getNewsListById
({
pageSize
:
5
,
pageNum
:
1
,
sortId
:
'
1
0000007'
sortId
:
'
3
0000007'
}
).
then
(
res
=>
{
picList
.
value
=
res
.
rows
...
...
src/viewsPc/index_en.vue
View file @
92f2ea8
...
...
@@ -366,13 +366,13 @@ const init = () => {
getNewsListById
(
{
pageSize
:
4
,
pageNum
:
1
,
sortId
:
'
1
0000008'
}
sortId
:
'
3
0000008'
}
).
then
(
res
=>
{
livelist
.
value
=
res
.
rows
})
getNewsListById
({
pageSize
:
5
,
pageNum
:
1
,
sortId
:
'
1
0000009'
}
sortId
:
'
3
0000009'
}
).
then
(
res
=>
{
picList
.
value
=
res
.
rows
})
...
...
src/viewsPc/meta/index.vue
View file @
92f2ea8
...
...
@@ -91,12 +91,12 @@ const newsList2 = ref([])
const
query1
=
ref
({
pageSize
:
5
,
pageNum
:
1
,
sortId
:
'
1
0000006'
sortId
:
'
3
0000006'
})
const
query2
=
ref
({
pageSize
:
7
,
pageNum
:
1
,
sortId
:
'
1
0000007'
sortId
:
'
3
0000007'
})
onMounted
(()
=>
{
...
...
@@ -106,7 +106,7 @@ onMounted(() => {
const
getList
=
(
obj
)
=>
{
if
(
language
.
value
==
1
){
obj
.
sortId
=
'
1
0000008'
obj
.
sortId
=
'
3
0000008'
}
getNewsListById
(
obj
).
then
(
res
=>
{
newsList
.
value
=
res
.
rows
...
...
@@ -114,7 +114,7 @@ const getList = (obj) => {
}
const
getList2
=
(
obj
)
=>
{
if
(
language
.
value
==
1
){
obj
.
sortId
=
'
1
0000009'
obj
.
sortId
=
'
3
0000009'
}
getNewsListById
(
obj
).
then
(
res
=>
{
newsList2
.
value
=
res
.
rows
...
...
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