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
499405d5
authored
2024-07-15 22:11:02 +0800
by
杨炀
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
no message
1 parent
0ed93485
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
349 additions
and
43 deletions
src/viewsPc/booking/pay.vue
src/viewsPc/center/index.vue
src/viewsPc/center/myCanKP.vue
src/viewsPc/guide/index.vue
src/viewsPc/index.vue
src/viewsPc/index_en.vue
src/viewsPc/match/detail_en.vue
src/viewsPc/booking/pay.vue
View file @
499405d
...
...
@@ -245,9 +245,14 @@
</div>
</el-col>
<el-col
:lg=
"24"
>
<el-link
class=
"mt20"
v-if=
"form.viewStatus=='1'||form.viewStatus=='5'"
type=
"primary"
@
click=
"exportPdf"
><el-icon><Upload
/></el-icon>
<el-button
round
class=
"mt20 btn-lineG"
size=
"large"
v-if=
"form.viewStatus=='1'||form.viewStatus=='5'"
type=
"primary"
@
click=
"exportPdf"
>
<el-icon><Upload
/></el-icon>
{{
language
==
0
?
'导出酒店预订单'
:
'Export PDF'
}}
</el-link>
</el-button>
<el-button
round
class=
"mt20 btn-lineG"
size=
"large"
v-if=
"form.viewStatus=='1'||form.viewStatus=='5'"
type=
"primary"
@
click=
"exportPdf"
>
{{
language
==
0
?
'下载收据'
:
'Upload Invoice'
}}
</el-button>
</el-col>
</el-row>
</div>
...
...
src/viewsPc/center/index.vue
View file @
499405d
...
...
@@ -5,7 +5,7 @@
<el-col
:lg=
"5"
:md=
"5"
:xl=
"6"
:sm=
"8"
:xs=
"8"
>
<el-card
class=
"mb20"
>
<div
:class=
"language==0?'center-menu':'center-menu en-menu'"
>
<ul
v-if=
"user.utype=='2'"
>
<ul
v-if=
"user.utype=='2'
&&language==0
"
>
<li
v-for=
"(m, i) in menus"
:key=
"i"
:class=
"
{ active: m.isActive }"
...
...
@@ -16,7 +16,18 @@
</a>
</li>
</ul>
<ul
v-if=
"user.utype=='1'"
>
<ul
v-if=
"user.utype=='2'&&language==1"
>
<li
v-for=
"(m, i) in menusEn"
:key=
"i"
:class=
"
{ active: m.isActive }"
>
<a
href=
"javascript:void(0)"
@
click=
"toInfo(m,menus)"
>
<img
:src=
"m.isActive ? m.picUrl2 : m.picUrl1"
>
{{
m
.
name
}}
</a>
</li>
</ul>
<ul
v-if=
"user.utype=='1'&&language==0"
>
<li
v-for=
"(m, i) in menusPersonal"
:key=
"i"
...
...
@@ -28,7 +39,19 @@
</a>
</li>
</ul>
<ul
v-if=
"user.utype=='3'"
>
<ul
v-if=
"user.utype=='1'&&language==1"
>
<li
v-for=
"(m, i) in menusPersonalEn"
:key=
"i"
:class=
"
{ active: m.isActive }"
>
<a
href=
"javascript:void(0)"
@
click=
"toInfo(m,menusPersonal)"
>
<img
:src=
"m.isActive ? m.picUrl2 : m.picUrl1"
>
{{
m
.
name
}}
</a>
</li>
</ul>
<ul
v-if=
"user.utype=='3'&&language==0"
>
<li
v-for=
"(m, i) in menus3"
:key=
"i"
...
...
@@ -40,6 +63,18 @@
</a>
</li>
</ul>
<ul
v-if=
"user.utype=='3'&&language==1"
>
<li
v-for=
"(m, i) in menus3En"
:key=
"i"
:class=
"
{ active: m.isActive }"
>
<a
href=
"javascript:void(0)"
@
click=
"toInfo(m,menus3)"
>
<img
:src=
"m.isActive ? m.picUrl2 : m.picUrl1"
>
{{
m
.
name
}}
</a>
</li>
</ul>
</div>
</el-card>
</el-col>
...
...
@@ -129,6 +164,64 @@ const menus = ref([
isActive
:
false
}
])
const
menusEn
=
ref
([
{
name
:
language
.
value
==
0
?
'基础信息'
:
'Basic Information'
,
routeName
:
'myInfo'
,
picUrl1
:
'/img/nav_26.png'
,
picUrl2
:
'/img/nav_26_dwn.png'
,
isActive
:
false
},
{
name
:
language
.
value
==
0
?
'修改密码'
:
'Change Password'
,
routeName
:
'myPassword'
,
picUrl1
:
'/img/nav_27.png'
,
picUrl2
:
'/img/nav_27_dwn.png'
,
isActive
:
false
},
{
name
:
language
.
value
==
0
?
'团队认证'
:
'Organization Recognition'
,
routeName
:
'myCertification'
,
picUrl1
:
'/img/nav_32.png'
,
picUrl2
:
'/img/nav_32_dwn.png'
,
isActive
:
false
},
{
name
:
language
.
value
==
0
?
'选手管理'
:
'Athlete Management'
,
routeName
:
'myMember'
,
picUrl1
:
'/img/nav_31.png'
,
picUrl2
:
'/img/nav_31_dwn.png'
,
isActive
:
false
},
{
name
:
language
.
value
==
0
?
'我的报名'
:
'My Registration'
,
routeName
:
'myMatch'
,
picUrl1
:
'/img/nav_28.png'
,
picUrl2
:
'/img/nav_28_dwn.png'
,
isActive
:
false
},
{
name
:
language
.
value
==
0
?
'我的预订'
:
'My Reservation'
,
routeName
:
'myReservation'
,
picUrl1
:
'/img/nav_29.png'
,
picUrl2
:
'/img/nav_29_dwn.png'
,
isActive
:
false
},
{
name
:
language
.
value
==
0
?
'票务预订'
:
'Ticket Reservation'
,
routeName
:
'seat_order'
,
picUrl1
:
'/img/c7.png'
,
picUrl2
:
'/img/c7.png'
,
isActive
:
false
},
{
name
:
language
.
value
==
0
?
'系统消息'
:
'System messages'
,
routeName
:
'mySms'
,
picUrl1
:
'/img/nav_30.png'
,
picUrl2
:
'/img/nav_30_dwn.png'
,
isActive
:
false
}
])
const
menus3
=
ref
([
{
name
:
language
.
value
==
0
?
'基础信息'
:
'Basic Information'
,
...
...
@@ -166,6 +259,36 @@ const menus3 = ref([
isActive
:
false
}
])
const
menus3En
=
ref
([
{
name
:
language
.
value
==
0
?
'基础信息'
:
'Basic Information'
,
routeName
:
'myInfo'
,
picUrl1
:
'/img/nav_26.png'
,
picUrl2
:
'/img/nav_26_dwn.png'
,
isActive
:
false
},
{
name
:
language
.
value
==
0
?
'修改密码'
:
'Change Password'
,
routeName
:
'myPassword'
,
picUrl1
:
'/img/nav_27.png'
,
picUrl2
:
'/img/nav_27_dwn.png'
,
isActive
:
false
},
{
name
:
language
.
value
==
0
?
'我的预订'
:
'My Reservation'
,
routeName
:
'myReservation'
,
picUrl1
:
'/img/nav_29.png'
,
picUrl2
:
'/img/nav_29_dwn.png'
,
isActive
:
false
},
{
name
:
language
.
value
==
0
?
'票务预订'
:
'Ticket Reservation'
,
routeName
:
'seat_order'
,
picUrl1
:
'/img/c7.png'
,
picUrl2
:
'/img/c7.png'
,
isActive
:
false
}
])
const
menusPersonal
=
ref
([
{
name
:
language
.
value
==
0
?
'基础信息'
:
'Basic Information'
,
...
...
@@ -217,6 +340,50 @@ const menusPersonal = ref([
isActive
:
false
}
])
const
menusPersonalEn
=
ref
([
{
name
:
language
.
value
==
0
?
'基础信息'
:
'Basic Information'
,
routeName
:
'myInfo'
,
picUrl1
:
'/img/nav_26.png'
,
picUrl2
:
'/img/nav_26_dwn.png'
,
isActive
:
false
},
{
name
:
language
.
value
==
0
?
'修改密码'
:
'Change Password'
,
routeName
:
'myPassword'
,
picUrl1
:
'/img/nav_27.png'
,
picUrl2
:
'/img/nav_27_dwn.png'
,
isActive
:
false
},
{
name
:
language
.
value
==
0
?
'我的报名'
:
'My Registration'
,
routeName
:
'myMatch'
,
picUrl1
:
'/img/nav_28.png'
,
picUrl2
:
'/img/nav_28_dwn.png'
,
isActive
:
false
},
{
name
:
language
.
value
==
0
?
'我的预订'
:
'My Reservation'
,
routeName
:
'myReservation'
,
picUrl1
:
'/img/nav_29.png'
,
picUrl2
:
'/img/nav_29_dwn.png'
,
isActive
:
false
},
{
name
:
language
.
value
==
0
?
'票务预订'
:
'Ticket Reservation'
,
routeName
:
'seat_order'
,
picUrl1
:
'/img/c7.png'
,
picUrl2
:
'/img/c7.png'
,
isActive
:
false
},
{
name
:
language
.
value
==
0
?
'系统消息'
:
'System messages'
,
routeName
:
'mySms'
,
picUrl1
:
'/img/nav_30.png'
,
picUrl2
:
'/img/nav_30_dwn.png'
,
isActive
:
false
}
])
let
currMenu
onMounted
(()
=>
{
if
(
!
user
.
utype
){
...
...
src/viewsPc/center/myCanKP.vue
View file @
499405d
...
...
@@ -16,7 +16,42 @@
</el-tabs>
<el-empty
:image=
"`/img/order_no.png`"
:image-size=
"228"
v-if=
"list?.length == 0"
/>
<div
v-if=
"activeName=='6'"
class=
"pd20"
>
<div
v-for=
"b in list"
class=
"item"
v-loading=
"loading"
>
<div
class=
"title"
>
<label
class=
"orangeTag"
>
{{
language
==
0
?
'票务'
:
'Ticket'
}}
</label>
<span>
{{
b
.
orderSn
}}
</span>
</div>
<el-row
class=
"pd20 mt10"
justify=
"space-between"
align=
"middle"
>
<el-col
:lg=
"9"
:md=
"12"
:sm=
"12"
:xs=
"24"
>
<h3
class=
"m0"
>
{{
b
.
name
}}
</h3>
<p>
{{
language
==
0
?
"时间"
:
"Event Date & Time"
}}
:
{{
b
.
dateStr
}}
</p>
<p
class=
"common"
>
{{
language
==
0
?
"张数"
:
"Location"
}}
:
{{
b
.
ticketNum
}}{{
language
==
0
?
"张"
:
"tickets"
}}
</p>
</el-col>
<el-col
:lg=
"3"
:md=
"6"
:sm=
"6"
:xs=
"6"
class=
"text-center"
>
<span
class=
"text-warning"
>
{{
b
.
payType
==
'2'
?
'€'
:
'¥'
}}
<span
class=
"bigMoney"
>
{{
b
.
payAmount
}}
</span>
</span>
</el-col>
<el-col
:lg=
"6"
:md=
"16"
:sm=
"16"
:xs=
"16"
>
<div
class=
"text-right"
>
<el-button
type=
"primary"
plain
round
v-if=
"b.isInvoice == '0'&&!b.invoiceId&&b.payType!='2'"
@
click
.
stop=
"gokp(b)"
>
{{
language
==
0
?
'开发票'
:
'Invoice'
}}
</el-button>
<el-button
type=
"primary"
plain
round
v-if=
"b.isInvoice == '0'&&b.invoiceId&&b.payType!='2'"
@
click
.
stop=
"editkp(b)"
>
{{
language
==
0
?
'重开发票'
:
'Rebilling'
}}
</el-button>
<el-button
type=
"primary"
plain
round
v-if=
"b.invoiceId&&b.paymentType!='3'"
@
click
.
stop=
"showDetail(b)"
>
{{
language
==
0
?
'查看发票'
:
'Detail'
}}
</el-button>
</div>
</el-col>
</el-row>
</div>
</div>
<div
v-else-if=
"activeName=='5'"
class=
"pd20"
>
<div
v-for=
"b in list"
class=
"item"
v-loading=
"loading"
>
...
...
@@ -118,12 +153,12 @@
<el-button
type=
"primary"
plain
round
v-if=
"b.invoiceId&&b.paymentType!='3'"
@
click
.
stop=
"showDetail(b)"
>
{{
language
==
0
?
'查看发票'
:
'Detail'
}}
</el-button>
<el-button
type=
"primary"
v-if=
"b.isInvoice == '0'&&!b.invoiceId&&b.paymentType=='3'"
plain
round
@
click
.
stop=
"goSj(b)"
>
{{
language
==
0
?
'开收据'
:
'Receipt'
}}
</el-button
>
<el-button
type=
"primary"
plain
round
v-if=
"b.invoiceId&&b.paymentType=='3'"
@
click
.
stop=
"showSJ(b)"
>
{{
language
==
0
?
'查看收据'
:
'Detail'
}}
</el-button
>
<!--
<el-button
type=
"primary"
v-if=
"b.isInvoice == '0'&&!b.invoiceId&&b.paymentType=='3'"
plain
round
@
click
.
stop=
"goSj(b)"
>
--
>
<!--
{{
language
==
0
?
'开收据'
:
'Receipt'
}}
-->
<!--
</el-button>
--
>
<!--
<el-button
type=
"primary"
plain
round
v-if=
"b.invoiceId&&b.paymentType=='3'"
--
>
<!-- @click.stop="showSJ(b)">
{{
language
==
0
?
'查看收据'
:
'Detail'
}}
-->
<!--
</el-button>
--
>
</div>
</el-col>
</el-row>
...
...
@@ -199,7 +234,6 @@ const getList = () => {
})
}
else
if
(
query
.
value
.
orderType
==
'6'
){
login
()
// 用户免登录
}
else
{
query
.
value
.
invoiced
=
1
getCanInvoiceBills
(
query
.
value
).
then
(
res
=>
{
...
...
@@ -221,7 +255,8 @@ const login = async () => {
}).
then
((
res
)
=>
{
setToken
(
res
.
data
.
token
);
getCanInvoiceTicket
().
then
(
res
=>
{
list
.
value
=
res
.
lists
loading
.
value
=
false
list
.
value
=
res
.
data
.
lists
})
})
}
...
...
src/viewsPc/guide/index.vue
View file @
499405d
...
...
@@ -294,7 +294,7 @@
</div>
<div
class=
"content flex"
v-if=
"activeName==8"
>
<label>
Download:
</label>
<div>
<div
style=
"word-break: break-all;text-indent: 0"
>
<div>
<a
target=
"_blank"
class=
"text-primary"
href=
"/file/2024%20WDSF%20ASIAN%20DANCESPORT%20FESTIVAL%20ENTRY%20GUIDE.pdf"
>
<el-icon
style=
"position: relative;top: 2px"
>
...
...
@@ -319,7 +319,6 @@
</el-icon>
Schedule-WDSF ASIAN DANCESPORT FESTIVAL 2024.WUXI
</a>
</div>
<div>
<a
target=
"_blank"
class=
"text-primary"
href=
"/file/COMPETITION%20GUIDE%200520V1.pdf"
>
<!-- <a @click="showBuilding" class="text-primary">-->
...
...
src/viewsPc/index.vue
View file @
499405d
...
...
@@ -4,7 +4,7 @@
<el-carousel
class=
"forPc"
autoplay
:interval=
"2000"
height=
"450px"
:autoplay=
"false"
arrow=
"hover"
@
change=
"carouselChange"
>
<el-carousel-item
style=
"height: 450px;"
v-for=
"n in maList"
:key=
"n.id"
>
<div
class=
"bannerItem"
>
<div
class=
"h100"
>
<div
class=
"h100"
@
click
.
stop=
"goMatch(n)"
>
<img
v-if=
"n.bgImgUrl"
class=
"bannerImg"
:src=
"fillImgUrl(n.bgImgUrl)"
>
<img
v-else
class=
"bannerImg"
src=
"@/assets/dance/banner.png"
>
<div
class=
"box forPc"
style=
"position: absolute;top: 0;left: 0;right: 0;margin: auto;"
>
...
...
@@ -30,10 +30,34 @@
</
template
>
</van-count-down>
</div>
<div
class=
"banner-count bb"
v-if=
"n.timeEnd<0"
@
click=
"goMatch(n)"
>
报名已结束
<div
v-if=
"n.timeEnd<0"
>
<a
target=
"_blank"
href=
"https://wx.vzan.com/live/page/1151815649?v=1720589464698"
class=
"banner-count"
v-if=
"time>0&&n.id=='1778253367748993026'"
@
click=
"goMatch(n)"
>
<van-count-down
:time=
"time"
format=
"DD 天 HH 时 mm 分 ss 秒"
>
<
template
#
default=
"timeData"
>
<div
class=
"block"
>
{{
timeData
.
days
}}
<span
class=
"colon"
>
天
</span>
</div>
:
<div
class=
"block"
>
{{
timeData
.
hours
}}
<span
class=
"colon"
>
时
</span>
</div>
:
<div
class=
"block"
>
{{
timeData
.
minutes
}}
<span
class=
"colon"
>
分
</span>
</div>
:
<div
class=
"block"
>
{{
timeData
.
seconds
}}
<span
class=
"colon"
>
秒
</span>
</div>
</
template
>
</van-count-down>
开始直播
</a>
<div
class=
"banner-count bb"
v-else-if=
"n.timeEnd<0"
@
click=
"goMatch(n)"
>
报名已结束
</div>
</div>
<div
class=
"banner-count bb"
v-if=
"n.time<=0
&&
n.timeEnd>=0"
@
click=
"goMatch(n)"
>
<div
class=
"banner-count bb"
v-if=
"n.time<=0
&&
n.timeEnd>=0"
@
click=
"goMatch(n)"
>
开始报名
</div>
</div>
...
...
@@ -48,7 +72,6 @@
<img
v-if=
"n.bgImgUrl"
class=
"bannerImg"
:src=
"fillImgUrl(n.bgImgUrl)"
>
<img
v-else
class=
"bannerImg"
src=
"@/assets/dance/banner.png"
>
<div
style=
"position: absolute;left: 0;right: 0;bottom: 0;margin: auto;"
>
<div
class=
"banner-count"
v-if=
"n.time>0"
@
click=
"goMatch(n)"
>
距离开始还有
<van-count-down
:time=
"n.time"
format=
"DD 天 HH 时 mm 分 ss 秒"
>
...
...
@@ -71,9 +94,35 @@
</
template
>
</van-count-down>
</div>
<div
class=
"banner-count bb"
v-else
@
click=
"goMatch(n)"
>
<div
v-if=
"n.timeEnd<0"
>
<a
target=
"_blank"
href=
"https://wx.vzan.com/live/page/1151815649?v=1720589464698"
class=
"banner-count"
v-if=
"time>0&&n.id=='1778253367748993026'"
@
click=
"goMatch(n)"
>
<van-count-down
:time=
"time"
format=
"DD 天 HH 时 mm 分 ss 秒"
>
<
template
#
default=
"timeData"
>
<div
class=
"block"
>
{{
timeData
.
days
}}
<span
class=
"colon"
>
天
</span>
</div>
:
<div
class=
"block"
>
{{
timeData
.
hours
}}
<span
class=
"colon"
>
时
</span>
</div>
:
<div
class=
"block"
>
{{
timeData
.
minutes
}}
<span
class=
"colon"
>
分
</span>
</div>
:
<div
class=
"block"
>
{{
timeData
.
seconds
}}
<span
class=
"colon"
>
秒
</span>
</div>
</
template
>
</van-count-down>
开始直播
</a>
<div
class=
"banner-count bb"
v-else-if=
"n.timeEnd<0"
@
click=
"goMatch(n)"
>
报名已结束
</div>
</div>
<div
class=
"banner-count bb"
v-if=
"n.time<=0 && n.timeEnd>=0"
@
click=
"goMatch(n)"
>
开始报名
<!-- <el-button class="btn-lineG" style="font-size: 17px;height: 40px" round type="primary">开始报名</el-button>-->
</div>
</div>
</div>
...
...
@@ -427,7 +476,7 @@ onMounted(() => {
const
init
=
()
=>
{
var
today
=
dayjs
().
format
(
'YYYY-MM-DD HH:mm:ss'
)
time
.
value
=
dayjs
(
'2024-07-17 0
9
:00:00'
).
diff
(
today
,
'millisecond'
)
time
.
value
=
dayjs
(
'2024-07-17 0
7
:00:00'
).
diff
(
today
,
'millisecond'
)
etime
.
value
=
dayjs
(
'2024-07-22 12:00:00'
).
diff
(
today
,
'millisecond'
)
getNewsListById
(
{
...
...
src/viewsPc/index_en.vue
View file @
499405d
...
...
@@ -4,12 +4,12 @@
<el-carousel
height=
"450px"
autoplay
:interval=
"2000"
class=
"forPc"
:autoplay=
"false"
arrow=
"hover"
@
change=
"carouselChange"
>
<el-carousel-item
style=
"height: 450px;"
v-for=
"n in maList"
:key=
"n.id"
>
<div
class=
"bannerItem"
>
<div
class=
"h100"
>
<div
class=
"h100"
@
click
.
stop=
"goMatch(n)"
>
<img
v-if=
"n.bgImgUrl"
class=
"bannerImg"
:src=
"fillImgUrl(n.bgImgUrl)"
>
<img
v-else
class=
"bannerImg"
src=
"@/assets/dance/banner.png"
>
<div
class=
"box"
style=
"position: absolute;top: 0;left: 0;right: 0;margin: auto;"
>
<div
class=
"banner-count"
v-if=
"n.time>0"
@
click=
"goMatch(n)"
>
<div
class=
"banner-count"
v-if=
"n.time>0"
>
Countdown
<van-count-down
:time=
"n.time"
format=
"DD 天 HH 时 mm 分 ss 秒"
>
<template
#
default=
"timeData"
>
...
...
@@ -28,8 +28,32 @@
</
template
>
</van-count-down>
</div>
<div
class=
"banner-count bb"
v-if=
"n.timeEnd<0"
@
click=
"goMatch(n)"
>
Registration has ended
<div
v-if=
"n.timeEnd<0"
>
<a
target=
"_blank"
href=
"https://wx.vzan.com/live/page/1151815649?v=1720589464698"
class=
"banner-count"
v-if=
"time>0&&n.id=='1778253367748993026'"
@
click=
"goMatch(n)"
>
<van-count-down
:time=
"time"
format=
"DD 天 HH 时 mm 分 ss 秒"
>
<
template
#
default=
"timeData"
>
<div
class=
"block"
>
{{
timeData
.
days
}}
<span
class=
"colon"
>
day
</span>
</div>
:
<div
class=
"block"
>
{{
timeData
.
hours
}}
<span
class=
"colon"
>
H
</span>
</div>
:
<div
class=
"block"
>
{{
timeData
.
minutes
}}
<span
class=
"colon"
>
M
</span>
</div>
:
<div
class=
"block"
>
{{
timeData
.
seconds
}}
<span
class=
"colon"
>
S
</span>
</div>
</
template
>
</van-count-down>
Living start
</a>
<div
class=
"banner-count bb"
v-else-if=
"n.timeEnd<0"
@
click=
"goMatch(n)"
>
Registration has ended
</div>
</div>
<div
class=
"banner-count bb"
v-if=
"n.time<=0&&n.timeEnd>=0"
@
click=
"goMatch(n)"
>
REGISTER NOW
...
...
@@ -46,33 +70,56 @@
<img
v-if=
"n.bgImgUrl"
class=
"bannerImg"
:src=
"fillImgUrl(n.bgImgUrl)"
>
<img
v-else
class=
"bannerImg"
src=
"@/assets/dance/banner.png"
>
<div
style=
"position: absolute;left: 0;right: 0;bottom: 0;margin: auto;"
>
<div
class=
"banner-count"
v-if=
"n.time>0"
@
click=
"goMatch(n)"
>
距离开始还有
<div
class=
"banner-count"
v-if=
"n.time>0"
>
Countdown
<van-count-down
:time=
"n.time"
format=
"DD 天 HH 时 mm 分 ss 秒"
>
<
template
#
default=
"timeData"
>
<div
class=
"block"
>
{{
timeData
.
days
}}
<span
class=
"colon"
>
天
</span>
</div>
:
<span
class=
"colon"
>
Days
</span>
</div>
:
<div
class=
"block"
>
{{
timeData
.
hours
}}
<span
class=
"colon"
>
时
</span>
</div>
:
<span
class=
"colon"
>
Hrs
</span>
</div>
:
<div
class=
"block"
>
{{
timeData
.
minutes
}}
<span
class=
"colon"
>
分
</span>
</div>
:
<span
class=
"colon"
>
Min
</span>
</div>
:
<div
class=
"block"
>
{{
timeData
.
seconds
}}
<span
class=
"colon"
>
秒
</span>
<span
class=
"colon"
>
Sec
</span>
</div>
</
template
>
</van-count-down>
</div>
<div
class=
"banner-count bb"
v-else
@
click=
"goMatch(n)"
>
<div
v-if=
"n.timeEnd<0"
>
<a
target=
"_blank"
href=
"https://wx.vzan.com/live/page/1151815649?v=1720589464698"
class=
"banner-count"
v-if=
"time>0&&n.id=='1778253367748993026'"
@
click=
"goMatch(n)"
>
<van-count-down
:time=
"time"
format=
"DD 天 HH 时 mm 分 ss 秒"
>
<
template
#
default=
"timeData"
>
<div
class=
"block"
>
{{
timeData
.
days
}}
<span
class=
"colon"
>
day
</span>
</div>
:
<div
class=
"block"
>
{{
timeData
.
hours
}}
<span
class=
"colon"
>
H
</span>
</div>
:
<div
class=
"block"
>
{{
timeData
.
minutes
}}
<span
class=
"colon"
>
M
</span>
</div>
:
<div
class=
"block"
>
{{
timeData
.
seconds
}}
<span
class=
"colon"
>
S
</span>
</div>
</
template
>
</van-count-down>
Living start
</a>
<div
class=
"banner-count bb"
v-else-if=
"n.timeEnd<0"
@
click=
"goMatch(n)"
>
Registration has ended
</div>
</div>
<div
class=
"banner-count bb"
v-if=
"n.time<=0&&n.timeEnd>=0"
@
click=
"goMatch(n)"
>
REGISTER NOW
<!-- <el-button class="btn-lineG" style="font-size: 17px;height: 40px" round type="primary">开始报名</el-button>-->
</div>
</div>
</div>
</div>
...
...
@@ -455,7 +502,7 @@ onMounted(() => {
const
init
=
()
=>
{
var
today
=
dayjs
().
format
(
'YYYY-MM-DD HH:mm:ss'
)
etime
.
value
=
dayjs
(
'2024-07-22 12:00:00'
).
diff
(
today
,
'millisecond'
)
time
.
value
=
dayjs
(
'2024-07-17 0
9
:00:00'
).
diff
(
today
,
'millisecond'
)
time
.
value
=
dayjs
(
'2024-07-17 0
7
:00:00'
).
diff
(
today
,
'millisecond'
)
getNewsListById
(
{
pageSize
:
4
,
pageNum
:
1
,
...
...
src/viewsPc/match/detail_en.vue
View file @
499405d
...
...
@@ -440,6 +440,10 @@ function getGroupListByCptId() {
}
function
changeMenu
(
menu
,
l
)
{
console
.
log
(
matchData
.
value
.
leagueId
,
l
.
name
)
if
(
matchData
.
value
.
leagueId
==
'1778253367748993026'
&&
(
l
.
name
==
'成绩'
||
l
.
name
==
'Achievement'
)){
window
.
open
(
'http://www.cdsf.org.cn/h5/sscj.index?matchID=526'
)
}
for
(
const
n
of
menu
)
{
if
(
n
==
l
)
{
n
.
active
=
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