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
b6c1d2ed
authored
2025-08-29 17:26:26 +0800
by
zrj
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
8.29 lpt 赛事数据动态加载
1 parent
17f7128e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
50 deletions
src/viewsPc/index.vue
vite.config.js
src/viewsPc/index.vue
View file @
b6c1d2e
...
...
@@ -33,7 +33,7 @@
<el-row>
<el-col
:lg=
"8"
:xs=
"24"
>
<div
class=
"imgbox"
>
<img
style=
"aspect-ratio: 16/8"
:src=
"fillImgUrl(n.
pic
Url)"
>
<img
style=
"aspect-ratio: 16/8"
:src=
"fillImgUrl(n.
cover
Url)"
>
</div>
</el-col>
<el-col
:lg=
"16"
:xs=
"24"
>
...
...
@@ -44,9 +44,9 @@
<span
style=
"font-size: 16px;"
>
<div
style=
"background: #3194FA;border-radius:6px 0 6px 0;padding: 0 4px"
>
未开始
</div>
</span>
<span
style=
"font-size: 26px"
>
Long Poker
</span>
<span
style=
"font-size: 18px"
><img
style=
"margin-right: 2%"
src=
"@/assets/v1/tag01.png"
/>
2020.1.1
</span>
<span
style=
"font-size: 18px"
><img
style=
"margin-right: 2%"
src=
"@/assets/v1/tag02.png"
/>
123sw23
</span>
<span
style=
"font-size: 26px"
>
{{
n
.
name
}}
</span>
<span
style=
"font-size: 18px"
><img
style=
"margin-right: 2%"
src=
"@/assets/v1/tag01.png"
/>
{{
n
.
beginTime
+
'~'
+
n
.
endTime
}}
</span>
<span
style=
"font-size: 18px"
><img
style=
"margin-right: 2%"
src=
"@/assets/v1/tag02.png"
/>
{{
n
.
address
}}
</span>
</div>
</div>
</el-col>
...
...
@@ -159,6 +159,7 @@ import {Autoplay, Navigation} from 'swiper'
import
'swiper/css'
import
{
dayjs
,
ElMessage
}
from
'element-plus'
import
{
useStorage
}
from
"@vueuse/core"
;
import
*
as
match
from
"@/apiPc/match"
;
const
router
=
useRouter
()
const
{
proxy
}
=
getCurrentInstance
()
...
...
@@ -214,51 +215,12 @@ onMounted(() => {
})
const
init
=
()
=>
{
newest2
.
value
=
[{
attacthJson
:
''
,
belongTime
:
"2025-01-14"
,
isOut
:
'0'
,
isTop
:
'1'
,
name
:
'2025跆拳道世锦赛筹备快报,牵手巨无霸综合体,献给世界的欢乐'
,
noteId
:
'1907041686198497281'
,
picUrl
:
'/fs/20250729/image/8638425535731875840.png'
,
publishType
:
''
,
sortId
:
'10000000'
,
sortName
:
'官方发布'
,
},{
attacthJson
:
''
,
belongTime
:
"2025-01-14"
,
isOut
:
'0'
,
isTop
:
'1'
,
name
:
'2025跆拳道世锦赛筹备快报,牵手巨无霸综合体,献给世界的欢乐1'
,
noteId
:
'1907041686198497281'
,
picUrl
:
'/fs/20250729/image/8638425535731875840.png'
,
publishType
:
''
,
sortId
:
'10000001'
,
sortName
:
'官方发布'
,
},{
attacthJson
:
''
,
belongTime
:
"2025-01-14"
,
isOut
:
'0'
,
isTop
:
'1'
,
name
:
'2025跆拳道世锦赛筹备快报,牵手巨无霸综合体,献给世界的欢乐2'
,
noteId
:
'1907041686198497281'
,
picUrl
:
'/fs/20250729/image/8638425535731875840.png'
,
publishType
:
''
,
sortId
:
'10000002'
,
sortName
:
'官方发布'
,
},{
attacthJson
:
''
,
belongTime
:
"2025-01-14"
,
isOut
:
'0'
,
isTop
:
'1'
,
name
:
'2025跆拳道世锦赛筹备快报,牵手巨无霸综合体,献给世界的欢乐3'
,
noteId
:
'1907041686198497281'
,
picUrl
:
'/fs/20250729/image/8638425535731875840.png'
,
publishType
:
''
,
sortId
:
'10000003'
,
sortName
:
'官方发布'
,
}]
match
.
getMaList
({}).
then
((
res
)
=>
{
newest2
.
value
=
res
.
rows
.
map
(({
languageSourceStr
,
coverUrl
,
name
,
beginTime
,
endTime
,
address
})
=>
({
languageSourceStr
,
coverUrl
,
name
,
beginTime
,
endTime
,
address
}))
console
.
log
(
newest2
.
value
)
})
}
...
...
vite.config.js
View file @
b6c1d2e
...
...
@@ -84,7 +84,7 @@ export default defineConfig(({mode, command}) => {
},
'/dev-api'
:
{
// target: 'http://192.168.1.118:8082/',
target
:
'http://192.168.1.
83
:8082'
,
target
:
'http://192.168.1.
194
:8082'
,
// target: 'https://tk005.wxjylt.com/stage-api',
// target: 'http://124.70.181.90:1880/stage-api',
// target: 'https://sys.2025wtcwuxi.com/stage-api/',
...
...
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