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
fa5134a4
authored
2025-10-29 10:28:53 +0800
by
zrj
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
10.27 世锦赛直播功能以及按钮样式修改
1 parent
b4d86fc7
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
18 deletions
src/viewsPc/index.vue
src/viewsPc/index_en.vue
src/viewsPc/index.vue
View file @
fa5134a
...
...
@@ -525,18 +525,16 @@ const handlePickup = () => {
}
const
goliveUrl
=
()
=>
{
ElMessage
.
warning
(
'暂未开放'
)
// if (liveData.value.videoStatus == "1") {
// window.open(liveData.value.videoUrlCn)
// } else {
// ElMessage.warning('暂无直播')
// }
// ElMessage.warning('暂未开放')
if
(
liveData
.
value
.
videoStatus
==
"1"
)
{
window
.
open
(
liveData
.
value
.
videoUrlCn
)
}
else
{
ElMessage
.
warning
(
'暂无直播'
)
}
}
const
gopicliveUrl
=
()
=>
{
proxy
.
$modal
.
msgWarning
(
'暂未开放'
)
return
// proxy.$modal.msgWarning('暂未开放')
// return
if
(
liveData
.
value
.
picStatus
==
"1"
)
{
window
.
open
(
liveData
.
value
.
picUrlCn
)
}
else
{
...
...
src/viewsPc/index_en.vue
View file @
fa5134a
...
...
@@ -40,10 +40,10 @@
<div
v-if=
"liveData&& liveData.videoStatus==1&&form.isLivePic==1"
@
click
.
stop=
"goliveUrl"
>
<div
v-if=
"(currentDateTime>liveData.videoStart)&&(currentDateTime<liveData.videoEnd)"
class=
"banner-count"
>
class=
"banner-count
bb
"
>
Live Now
</div>
<div
v-if=
"currentDateTime > liveData.videoEnd"
class=
"banner-count"
>
<div
v-if=
"currentDateTime > liveData.videoEnd"
class=
"banner-count
bb
"
>
Live End
</div>
</div>
...
...
@@ -517,12 +517,12 @@ const handlePickup = () => {
}
const
goliveUrl
=
()
=>
{
ElMessage
.
warning
(
'This function is temporarily closed.'
)
//
if (liveData.value.videoStatus=="1") {
//
window.open(liveData.value.videoUrlCn)
//
} else {
//
ElMessage.warning('No live' )
//
}
//
ElMessage.warning('This function is temporarily closed.')
if
(
liveData
.
value
.
videoStatus
==
"1"
)
{
window
.
open
(
liveData
.
value
.
videoUrlCn
)
}
else
{
ElMessage
.
warning
(
'No live'
)
}
}
const
gopicliveUrl
=
()
=>
{
if
(
liveData
.
value
.
picStatus
==
"1"
)
{
...
...
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