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
65525f5b
authored
2025-09-08 15:27:26 +0800
by
zrj
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
9.8 lptbug修改
1 parent
82993f54
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
27 additions
and
31 deletions
src/viewsPc/contest/index.vue
src/viewsPc/index.vue
src/viewsPc/contest/index.vue
View file @
65525f5
...
...
@@ -115,6 +115,7 @@ const searchParam = ref({
pageNum
:
1
,
pageSize
:
9999
,
enrollStatus
:
''
,
releaseStatus
:
1
,
})
const
newest2
=
ref
([])
...
...
src/viewsPc/index.vue
View file @
65525f5
...
...
@@ -123,42 +123,37 @@
<a
class=
"more"
@
click=
"goVideo"
>
{{
languageLibrary
[
language
].
b
}}
</a>
</div>
<el-card
style=
"background: transparent; border: none"
>
<el-row>
<div
v-if=
"livelist.length>4"
>
<el-col
:lg=
"12"
>
<a
class=
"liveImgbox"
@
click=
"goDetail(livelist[0])"
>
<div
class=
"imgBox"
style=
"min-height: 200px"
>
<img
v-if=
"livelist[0]"
style=
"aspect-ratio: 1/1"
:src=
"fillImgUrl(livelist[0].picUrl)"
>
</div>
<h3
class=
"esp"
>
{{
livelist
[
0
]?.
name
}}
</h3>
</a>
</el-col>
<el-col
:lg=
"12"
>
<el-row
class=
"news-l-r"
>
<el-col
v-for=
"(n,index) in livelist.slice(0,5)"
v-show=
"index>0"
:lg=
"12"
>
<div
class=
"item"
style=
"padding: 0;margin:0 0 20px"
@
click=
"goDetail(n)"
>
<div
class=
"imgbox"
>
<i
class=
"playIcon"
></i>
<img
v-if=
"n"
style=
"aspect-ratio: 1/1;height: auto"
:src=
"fillImgUrl(n.picUrl)"
></div>
</div>
</el-col>
</el-row>
</el-col>
</div>
<div
v-else
>
<el-row>
<el-col
v-for=
"(n,index) in livelist"
:lg=
"6"
>
<div
class=
"item"
style=
"padding: 0;margin:0 20px 20px"
@
click=
"goDetail(n)"
>
<el-row
v-if=
"livelist.length>4"
>
<el-col
:lg=
"12"
>
<a
class=
"liveImgbox"
@
click=
"goDetail(livelist[0])"
>
<div
class=
"imgBox"
style=
"min-height: 200px"
>
<img
v-if=
"livelist[0]"
style=
"aspect-ratio: 1/1"
:src=
"fillImgUrl(livelist[0].picUrl)"
>
</div>
<h3
class=
"esp"
>
{{
livelist
[
0
]?.
name
}}
</h3>
</a>
</el-col>
<el-col
:lg=
"12"
>
<el-row
class=
"news-l-r"
>
<el-col
v-for=
"(n,index) in livelist.slice(0,5)"
v-show=
"index>0"
:lg=
"12"
>
<div
class=
"item"
style=
"padding: 0;margin:0 0 20px"
@
click=
"goDetail(n)"
>
<div
class=
"imgbox"
>
<i
class=
"playIcon"
></i>
<img
v-if=
"n"
style=
"aspect-ratio:
3/2
;height: auto"
:src=
"fillImgUrl(n.picUrl)"
></div>
<img
v-if=
"n"
style=
"aspect-ratio:
1/1
;height: auto"
:src=
"fillImgUrl(n.picUrl)"
></div>
</div>
</el-col>
</el-row>
</div>
</el-col>
</el-row>
<el-row
v-else
>
<el-col
v-for=
"(n,index) in livelist"
:lg=
"6"
>
<div
class=
"item"
style=
"padding: 0;margin:0 20px 20px"
@
click=
"goDetail(n)"
>
<div
class=
"imgbox"
>
<i
class=
"playIcon"
></i>
<img
v-if=
"n"
style=
"aspect-ratio: 3/2;height: auto"
:src=
"fillImgUrl(n.picUrl)"
></div>
</div>
</el-col>
</el-row>
</el-card>
</div>
...
...
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