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
d9e0d64e
authored
2024-06-07 15:22:36 +0800
by
zhangmeng
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
接机
1 parent
e39c62c3
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
43 additions
and
4 deletions
src/apiPc/common.js
src/viewsPc/components/pickup.vue
src/viewsPc/home.vue
src/viewsPc/index.vue
src/viewsPc/index_en.vue
src/apiPc/common.js
View file @
d9e0d64
...
...
@@ -105,5 +105,14 @@ export function delByCard(card) {
method
:
'delete'
})
}
export
function
addPickup
(
data
)
{
return
request
({
url
:
`/league/pickup`
,
method
:
'post'
,
data
})
}
...
...
src/viewsPc/components/pickup.vue
0 → 100644
View file @
d9e0d64
This diff is collapsed.
Click to expand it.
src/viewsPc/home.vue
View file @
d9e0d64
<
template
>
<div>
<index-Ch
v-if=
"language ==0"
@
pop=
"openMaster"
/>
<index-En
v-else
@
pop=
"openMaster"
/>
<index-Ch
v-if=
"language ==0"
@
pop=
"openMaster"
@
pickup=
"openPickup"
/>
<index-En
v-else
@
pop=
"openMaster"
@
pickup=
"openPickup"
/>
<div
v-if=
"showgg"
class=
"fixed_gg"
>
<!--天气-->
<el-icon
class=
"cclose"
@
click
.
stop=
"showgg=false"
><circle-close
/></el-icon>
...
...
@@ -61,6 +61,7 @@
</div>
<dialog-master-class
ref=
"masterClassRef"
/>
<pickup
ref=
"pickupRef"
></pickup>
</div>
</
template
>
...
...
@@ -70,6 +71,7 @@ import IndexCh from '/src/viewsPc/index'
import
IndexEn
from
'/src/viewsPc/index_en'
import
WeatherIcon
from
'@/viewsPc/components/weatherIcon'
import
DialogMasterClass
from
'@/viewsPc/components/masterClass'
import
pickup
from
'@/viewsPc/components/pickup'
import
{
useStorage
}
from
"@vueuse/core/index"
;
import
{
ref
}
from
"vue"
;
import
{
getWeather
}
from
"@/apiPc/webSite"
;
...
...
@@ -103,6 +105,15 @@ const openMaster = (params) => {
}
proxy
.
$refs
[
'masterClassRef'
].
open
(
obj
)
}
const
openPickup
=
(
params
)
=>
{
console
.
log
(
params
)
const
obj
=
{
title
:
'接送机服务'
,
cptId
:
params
.
cptId
}
proxy
.
$refs
[
'pickupRef'
].
open
(
obj
)
}
</
script
>
<
style
scoped
lang=
"scss"
>
...
...
src/viewsPc/index.vue
View file @
d9e0d64
...
...
@@ -95,6 +95,8 @@
</a>
<!-- <el-button type="primary" @click="popMaster">青少年公益课</el-button>-->
<a
class=
"zn-btn ml20 btn-q"
@
click=
"popMaster"
>
青少年公益课报名
</a>
<a
class=
"zn-btn ml20 btn-q"
@
click=
"handlePickup"
>
接/送机服务
</a>
</div>
</el-col>
<el-col
:sm=
"24"
:lg=
"14"
>
...
...
@@ -377,7 +379,7 @@ const navigationPic = ref({
})
const
router
=
useRouter
()
const
{
proxy
}
=
getCurrentInstance
()
const
emit
=
defineEmits
([
'pop'
])
const
emit
=
defineEmits
([
'pop'
,
'pickup'
])
const
time
=
ref
(
0
)
const
personList
=
ref
([
{
name
:
'Wolfgang Eliasch'
,
pp
:
'拉丁舞裁判长 奥地利'
,
src
:
'/img/1.png'
},
...
...
@@ -500,6 +502,13 @@ const popMaster = () => {
emit
(
'pop'
,
params
)
}
const
handlePickup
=
()
=>
{
const
params
=
{
cptId
:
matchData
.
value
.
id
}
emit
(
'pickup'
,
params
)
}
</
script
>
<
style
scoped
lang=
"scss"
>
...
...
src/viewsPc/index_en.vue
View file @
d9e0d64
...
...
@@ -88,7 +88,10 @@
<div
style=
"margin-bottom: 30px"
>
<a
class=
"zn-btn"
style=
"font-size: 15px"
@
click=
"goGuide"
>
GUIDELINE
<el-icon><download
/></el-icon>
</a>
<a
class=
"zn-btn ml20 btn-q"
style=
"font-size: 15px"
@
click=
"popMaster"
>
Junior
&
Youth Camp REGISTER
<el-icon><Edit
/></el-icon>
<a
class=
"zn-btn ml20 btn-q"
style=
"font-size: 15px;margin-right: 20px"
@
click=
"popMaster"
>
Junior
&
Youth Camp REGISTER
<el-icon><Edit
/></el-icon>
</a>
<a
class=
"zn-btn btn-q"
style=
"font-size: 15px;margin-top: 10px"
@
click=
"handlePickup"
>
Pick-up/drop-off service
</a>
</div>
...
...
@@ -508,6 +511,13 @@ const popMaster = () => {
}
emit
(
'pop'
,
params
)
}
const
handlePickup
=
()
=>
{
const
params
=
{
cptId
:
matchData
.
value
.
id
}
emit
(
'pickup'
,
params
)
}
</
script
>
<
style
scoped
lang=
"scss"
>
...
...
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