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
92cff72f
authored
2026-06-25 16:33:16 +0800
by
zhangmeng
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
日期和logo替换
1 parent
55717226
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
37 additions
and
37 deletions
public/img/logoArr.png
src/viewsPc/booking/ticket/index.vue
src/viewsPc/components/masterClass.vue
src/viewsPc/components/pickup.vue
src/viewsPc/index.vue
src/viewsPc/index_en.vue
vite.config.js
public/img/logoArr.png
View file @
92cff72
16 KB
|
W:
|
H:
20.1 KB
|
W:
|
H:
2-up
Swipe
Onion skin
src/viewsPc/booking/ticket/index.vue
View file @
92cff72
...
...
@@ -340,7 +340,7 @@ async function getDetail() {
timeData
.
value
=
dayjs
(
res
.
data
.
ticketStart
).
diff
(
today
,
'millisecond'
)
endTime
.
value
=
dayjs
(
res
.
data
.
ticketEnd
).
diff
(
today
,
'millisecond'
)
// if (timeData.value <= nowData.value) countDown.value = true
// timeData.value = dayjs('202
5
-08-10 00:00:00').diff(today, 'millisecond')
// timeData.value = dayjs('202
6
-08-10 00:00:00').diff(today, 'millisecond')
}
// 根据赛事ID获取票档
...
...
src/viewsPc/components/masterClass.vue
View file @
92cff72
...
...
@@ -19,22 +19,22 @@
报到时间:2024年7月14日13:30 -17:00
<br>
联系人:蒋璐
<br>
联系电话:15961580050
<br>
报名截止日期:
<span
style=
"text-decoration: underline"
>
202
5
-06-30
</span><br>
报名截止日期:
<span
style=
"text-decoration: underline"
>
202
6
-06-30
</span><br>
</div>
<div
v-else
style=
"width: 400px;margin: auto;text-transform: capitalize"
><br>
<!-- The age limit for Youth Session: Born between 1st Jan, 2006 and 31st Dec., 2009.
<br/>
-->
<!-- The age limit for Juvenile Session: Born after 1 Jan., 2010.
<br/>
-->
Training Camp Venue:Worldhotel Grand Juna Wuxi
<br>
Address:No.111 Hefeng Road, Binhu District, Wuxi, Jiangsu
<br>
Check-in:From 13:30 to 17:00 on July 14, 202
5
.
<br>
Check-in:From 13:30 to 17:00 on July 14, 202
6
.
<br>
Contact Person:Dean Ding
<br>
Tel:+86 19951486130
<br>
Registration Deadline:
<span
style=
"text-decoration: underline"
>
202
5
-06-30
</span><br>
Registration Deadline:
<span
style=
"text-decoration: underline"
>
202
6
-06-30
</span><br>
</div>
</div>
<div
v-loading=
"loading"
class=
"text-center"
>
<el-button
v-if=
"courseList.length>0"
class=
"btn-lineG"
round
type=
"primary"
@
click=
"setActive(1)"
>
<span
v-if=
"dayjs().format('YYYY-MM-DD')>'202
5
-06-30'"
>
<span
v-if=
"dayjs().format('YYYY-MM-DD')>'202
6
-06-30'"
>
{{
language
==
0
?
'报名已结束'
:
'Registration has ended'
}}
</span>
<span
v-else
>
{{
language
==
0
?
'下一步'
:
'NEXT'
}}
</span>
...
...
@@ -254,7 +254,7 @@ function getCourse() {
}
function
setActive
(
n
)
{
if
(
n
==
1
&&
dayjs
().
format
(
'YYYY-MM-DD'
)
>
'202
5
-06-30'
)
{
if
(
n
==
1
&&
dayjs
().
format
(
'YYYY-MM-DD'
)
>
'202
6
-06-30'
)
{
ElMessage
.
error
(
language
.
value
==
0
?
'报名已结束'
:
'The application has ended'
)
return
}
...
...
src/viewsPc/components/pickup.vue
View file @
92cff72
...
...
@@ -72,7 +72,7 @@
<div
style=
"padding: 1px"
>
<el-date-picker
v-model=
"form.pickUpBo.arrivalDate"
:disabled-date=
"disabledDateRZ"
default-value=
"'202
5
-09-27'"
format=
"YYYY-MM-DD"
default-value=
"'202
6
-09-27'"
format=
"YYYY-MM-DD"
placeholder=
"YYYY-MM-DD"
style=
"width: 100%;"
type=
"date"
value-format=
"YYYY-MM-DD"
/>
...
...
@@ -173,7 +173,7 @@
<div
style=
"padding: 1px"
>
<el-date-picker
v-model=
"form.downOffBo.arrivalDate"
:disabled-date=
"disabledDateDP"
default-value=
"'202
5
-09-30'"
format=
"YYYY-MM-DD"
default-value=
"'202
6
-09-30'"
format=
"YYYY-MM-DD"
placeholder=
"YYYY-MM-DD"
style=
"width: 100%;"
type=
"date"
value-format=
"YYYY-MM-DD"
/>
...
...
@@ -401,11 +401,11 @@ const open = (params) => {
form
.
value
=
{
pickUpBo
:
{
serviceType
:
1
,
arrivalDate
:
'202
5
-09-27'
arrivalDate
:
'202
6
-09-27'
},
downOffBo
:
{
serviceType
:
2
,
arrivalDate
:
'202
5
-09-30'
arrivalDate
:
'202
6
-09-30'
},
type
:
[
'1'
]
}
...
...
@@ -522,32 +522,32 @@ function getCountryList() {
// function initdateRZ() {
// const today = dayjs().format('YYYY-MM-DD')
// form.value.pickUpBo.arrivalDate ='202
5
-07'
// form.value.pickUpBo.arrivalDate ='202
6
-07'
// }
// function initdateDP() {
// const today = dayjs().format('YYYY-MM-DD')
// form.value.downOffBo.arrivalDate ='202
5
-07'
// form.value.downOffBo.arrivalDate ='202
6
-07'
// }
function
disabledDateRZ
(
date
)
{
// 16-20
// 判读今天大与2024-07-16
const
today
=
dayjs
().
format
(
'YYYY-MM-DD'
)
// if ('202
5
-07-16' < today) {
// return !((date.getTime() >= dayjs(today).valueOf()) && (date.getTime() <= dayjs('202
5
-09-27').valueOf()))
// if ('202
6
-07-16' < today) {
// return !((date.getTime() >= dayjs(today).valueOf()) && (date.getTime() <= dayjs('202
6
-09-27').valueOf()))
// } else {
// return !((date.getTime() >= dayjs('202
5-07-16').valueOf()) && (date.getTime() <= dayjs('2025
-07-20').valueOf()))
// return !((date.getTime() >= dayjs('202
6-07-16').valueOf()) && (date.getTime() <= dayjs('2026
-07-20').valueOf()))
// }
return
!
(
date
.
getTime
()
==
dayjs
(
'202
5
-09-27'
).
valueOf
())
return
!
(
date
.
getTime
()
==
dayjs
(
'202
6
-09-27'
).
valueOf
())
}
function
disabledDateDP
(
date
)
{
const
today
=
dayjs
().
format
(
'YYYY-MM-DD'
)
// if ('202
5
-07-18' < today) {
// return !((date.getTime() >= dayjs(today).valueOf()) && (date.getTime() <= dayjs('202
5
-07-22').valueOf()))
// if ('202
6
-07-18' < today) {
// return !((date.getTime() >= dayjs(today).valueOf()) && (date.getTime() <= dayjs('202
6
-07-22').valueOf()))
// } else {
// return !((date.getTime() >= dayjs('202
5-07-18').valueOf()) && (date.getTime() <= dayjs('2025
-07-22').valueOf()))
// return !((date.getTime() >= dayjs('202
6-07-18').valueOf()) && (date.getTime() <= dayjs('2026
-07-22').valueOf()))
// }
return
!
(
date
.
getTime
()
==
dayjs
(
'202
5
-09-30'
).
valueOf
())
return
!
(
date
.
getTime
()
==
dayjs
(
'202
6
-09-30'
).
valueOf
())
}
</
script
>
...
...
src/viewsPc/index.vue
View file @
92cff72
...
...
@@ -277,7 +277,7 @@
<img
v-else
:src=
"fillImgUrl_webSite(livelist[0]?.picUrl)"
>
</div>
<h3
v-if=
"time > 0"
class=
"esp"
>
202
5
WDSF亚洲体育舞蹈节
202
6
WDSF亚洲体育舞蹈节
</h3>
<h3
v-else
class=
"esp"
>
{{ livelist[0]?.name }}
...
...
@@ -502,8 +502,8 @@ function handleRowClick(row) {
const
init
=
()
=>
{
var
today
=
dayjs
().
format
(
'YYYY-MM-DD HH:mm:ss'
)
time
.
value
=
dayjs
(
'202
5
-07-17 07:00:00'
).
diff
(
today
,
'millisecond'
)
etime
.
value
=
dayjs
(
'202
5
-07-20 24:00:00'
).
diff
(
today
,
'millisecond'
)
time
.
value
=
dayjs
(
'202
6
-07-17 07:00:00'
).
diff
(
today
,
'millisecond'
)
etime
.
value
=
dayjs
(
'202
6
-07-20 24:00:00'
).
diff
(
today
,
'millisecond'
)
getRank
().
then
(
res
=>
{
rank
.
value
=
res
.
data
console
.
log
(
rank
.
value
)
...
...
src/viewsPc/index_en.vue
View file @
92cff72
...
...
@@ -292,7 +292,7 @@
<!-- <i class="livetimecount" v-if="etime<=0">End</i>-->
<div
class=
"imgBox"
><img
src=
"/img/111.jpg"
></div>
<h3
class=
"esp"
>
WDSF ASIAN DANCESPORT FESTIVAL 202
5
.WUXI
WDSF ASIAN DANCESPORT FESTIVAL 202
6
.WUXI
</h3>
</a>
</el-col>
...
...
@@ -491,7 +491,7 @@ const nowscores = ref([])
const
livelist
=
ref
([])
const
maList
=
ref
([])
const
picList
=
ref
([])
const
calendarValue
=
ref
(
'202
5
-07-22'
)
const
calendarValue
=
ref
(
'202
6
-07-22'
)
const
aboutUsContent
=
ref
(
''
)
const
partners
=
ref
([])
...
...
@@ -521,8 +521,8 @@ function handleRowClick(row) {
const
init
=
()
=>
{
var
today
=
dayjs
().
format
(
'YYYY-MM-DD HH:mm:ss'
)
etime
.
value
=
dayjs
(
'202
5
-07-20 24:00:00'
).
diff
(
today
,
'millisecond'
)
time
.
value
=
dayjs
(
'202
5
-07-17 07:00:00'
).
diff
(
today
,
'millisecond'
)
etime
.
value
=
dayjs
(
'202
6
-07-20 24:00:00'
).
diff
(
today
,
'millisecond'
)
time
.
value
=
dayjs
(
'202
6
-07-17 07:00:00'
).
diff
(
today
,
'millisecond'
)
getRank
().
then
(
res
=>
{
rank
.
value
=
res
.
data
})
...
...
vite.config.js
View file @
92cff72
...
...
@@ -64,39 +64,39 @@ export default defineConfig(({ mode, command }) => {
proxy
:
{
// https://cn.vitejs.dev/config/#server-proxy
'/dev-api/ztx-train'
:
{
target
:
'http://192.168.1.115:8081'
,
//
target: 'http://192.168.1.115:8081',
// target: 'https://wdsfwuxicenter.com/stage-api',
//
target: 'https://jijin.wtwuxicenter.com/stage-api',
target
:
'https://jijin.wtwuxicenter.com/stage-api'
,
changeOrigin
:
true
,
rewrite
:
(
p
)
=>
p
.
replace
(
/^
\/
dev-api
\/
ztx-train/
,
''
)
},
'/dev-api/ztx-match'
:
{
target
:
'http://192.168.1.115:8081'
,
//
target: 'https://jijin.wtwuxicenter.com/stage-api',
//
target: 'http://192.168.1.115:8081',
target
:
'https://jijin.wtwuxicenter.com/stage-api'
,
// target: 'https://wdsfwuxicenter.com/stage-api',
// target: 'https://wdsfwuxicenter.com/stage-api/',
changeOrigin
:
true
,
rewrite
:
(
p
)
=>
p
.
replace
(
/^
\/
dev-api
\/
ztx-match/
,
''
)
},
'/dev-api/ztx-webSite'
:
{
target
:
'http://192.168.1.115:8081'
,
//
target: 'http://192.168.1.115:8081',
// target: 'https://wdsfwuxicenter.com/stage-api',
//
target: 'https://jijin.wtwuxicenter.com/stage-api',
target
:
'https://jijin.wtwuxicenter.com/stage-api'
,
changeOrigin
:
true
,
rewrite
:
(
p
)
=>
p
.
replace
(
/^
\/
dev-api
\/
ztx-webSite/
,
''
)
},
'/dev-api'
:
{
target
:
'http://192.168.1.115:8081'
,
//
target: 'http://192.168.1.115:8081',
// target: 'http://192.168.1.169:8081',
// target: 'https://jijin.wtwuxicenter.com/stage-api',
// target: 'https://wdsfwuxicenter.com/stage-api/',
//
target: 'https://jijin.wtwuxicenter.com/stage-api',
target
:
'https://jijin.wtwuxicenter.com/stage-api'
,
changeOrigin
:
true
,
rewrite
:
(
p
)
=>
p
.
replace
(
/^
\/
dev-api/
,
''
)
},
'/ticket'
:
{
//
target: 'https://jijin.wtwuxicenter.com/stage-api',
target
:
'http://192.168.1.115:8081'
,
target
:
'https://jijin.wtwuxicenter.com/stage-api'
,
//
target: 'http://192.168.1.115:8081',
// target: 'https://wdsfwuxicenter.com/h5/',
// target: 'https://ticketh5.wdsfwuxicenter.com/h5/',
changeOrigin
:
true
,
...
...
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