接机
Showing
5 changed files
with
43 additions
and
4 deletions
| ... | @@ -105,5 +105,14 @@ export function delByCard(card) { | ... | @@ -105,5 +105,14 @@ export function delByCard(card) { |
| 105 | method: 'delete' | 105 | method: 'delete' |
| 106 | }) | 106 | }) |
| 107 | } | 107 | } |
| 108 | export function addPickup(data) { | ||
| 109 | return request({ | ||
| 110 | url: `/league/pickup`, | ||
| 111 | method: 'post', | ||
| 112 | data | ||
| 113 | }) | ||
| 114 | } | ||
| 115 | |||
| 116 | |||
| 108 | 117 | ||
| 109 | 118 | ... | ... |
src/viewsPc/components/pickup.vue
0 → 100644
This diff is collapsed.
Click to expand it.
| 1 | <template> | 1 | <template> |
| 2 | <div> | 2 | <div> |
| 3 | <index-Ch v-if="language ==0" @pop="openMaster"/> | 3 | <index-Ch v-if="language ==0" @pop="openMaster" @pickup="openPickup"/> |
| 4 | <index-En v-else @pop="openMaster"/> | 4 | <index-En v-else @pop="openMaster" @pickup="openPickup"/> |
| 5 | <div v-if="showgg" class="fixed_gg"> | 5 | <div v-if="showgg" class="fixed_gg"> |
| 6 | <!--天气--> | 6 | <!--天气--> |
| 7 | <el-icon class="cclose" @click.stop="showgg=false"><circle-close /></el-icon> | 7 | <el-icon class="cclose" @click.stop="showgg=false"><circle-close /></el-icon> |
| ... | @@ -61,6 +61,7 @@ | ... | @@ -61,6 +61,7 @@ |
| 61 | </div> | 61 | </div> |
| 62 | 62 | ||
| 63 | <dialog-master-class ref="masterClassRef"/> | 63 | <dialog-master-class ref="masterClassRef"/> |
| 64 | <pickup ref="pickupRef"></pickup> | ||
| 64 | </div> | 65 | </div> |
| 65 | 66 | ||
| 66 | </template> | 67 | </template> |
| ... | @@ -70,6 +71,7 @@ import IndexCh from '/src/viewsPc/index' | ... | @@ -70,6 +71,7 @@ import IndexCh from '/src/viewsPc/index' |
| 70 | import IndexEn from '/src/viewsPc/index_en' | 71 | import IndexEn from '/src/viewsPc/index_en' |
| 71 | import WeatherIcon from '@/viewsPc/components/weatherIcon' | 72 | import WeatherIcon from '@/viewsPc/components/weatherIcon' |
| 72 | import DialogMasterClass from '@/viewsPc/components/masterClass' | 73 | import DialogMasterClass from '@/viewsPc/components/masterClass' |
| 74 | import pickup from '@/viewsPc/components/pickup' | ||
| 73 | import {useStorage} from "@vueuse/core/index"; | 75 | import {useStorage} from "@vueuse/core/index"; |
| 74 | import {ref} from "vue"; | 76 | import {ref} from "vue"; |
| 75 | import {getWeather} from "@/apiPc/webSite"; | 77 | import {getWeather} from "@/apiPc/webSite"; |
| ... | @@ -103,6 +105,15 @@ const openMaster = (params) => { | ... | @@ -103,6 +105,15 @@ const openMaster = (params) => { |
| 103 | } | 105 | } |
| 104 | proxy.$refs['masterClassRef'].open(obj) | 106 | proxy.$refs['masterClassRef'].open(obj) |
| 105 | } | 107 | } |
| 108 | |||
| 109 | const openPickup= (params) => { | ||
| 110 | console.log(params) | ||
| 111 | const obj = { | ||
| 112 | title:'接送机服务', | ||
| 113 | cptId:params.cptId | ||
| 114 | } | ||
| 115 | proxy.$refs['pickupRef'].open(obj) | ||
| 116 | } | ||
| 106 | </script> | 117 | </script> |
| 107 | 118 | ||
| 108 | <style scoped lang="scss"> | 119 | <style scoped lang="scss"> | ... | ... |
| ... | @@ -95,6 +95,8 @@ | ... | @@ -95,6 +95,8 @@ |
| 95 | </a> | 95 | </a> |
| 96 | <!-- <el-button type="primary" @click="popMaster">青少年公益课</el-button>--> | 96 | <!-- <el-button type="primary" @click="popMaster">青少年公益课</el-button>--> |
| 97 | <a class="zn-btn ml20 btn-q" @click="popMaster">青少年公益课报名</a> | 97 | <a class="zn-btn ml20 btn-q" @click="popMaster">青少年公益课报名</a> |
| 98 | |||
| 99 | <a class="zn-btn ml20 btn-q" @click="handlePickup">接/送机服务</a> | ||
| 98 | </div> | 100 | </div> |
| 99 | </el-col> | 101 | </el-col> |
| 100 | <el-col :sm="24" :lg="14"> | 102 | <el-col :sm="24" :lg="14"> |
| ... | @@ -377,7 +379,7 @@ const navigationPic = ref({ | ... | @@ -377,7 +379,7 @@ const navigationPic = ref({ |
| 377 | }) | 379 | }) |
| 378 | const router = useRouter() | 380 | const router = useRouter() |
| 379 | const {proxy} = getCurrentInstance() | 381 | const {proxy} = getCurrentInstance() |
| 380 | const emit = defineEmits(['pop']) | 382 | const emit = defineEmits(['pop','pickup']) |
| 381 | const time = ref(0) | 383 | const time = ref(0) |
| 382 | const personList = ref([ | 384 | const personList = ref([ |
| 383 | { name: 'Wolfgang Eliasch', pp: '拉丁舞裁判长 奥地利', src: '/img/1.png' }, | 385 | { name: 'Wolfgang Eliasch', pp: '拉丁舞裁判长 奥地利', src: '/img/1.png' }, |
| ... | @@ -500,6 +502,13 @@ const popMaster = () => { | ... | @@ -500,6 +502,13 @@ const popMaster = () => { |
| 500 | emit('pop',params) | 502 | emit('pop',params) |
| 501 | } | 503 | } |
| 502 | 504 | ||
| 505 | const handlePickup=()=>{ | ||
| 506 | const params={ | ||
| 507 | cptId :matchData.value.id | ||
| 508 | } | ||
| 509 | emit('pickup',params) | ||
| 510 | } | ||
| 511 | |||
| 503 | </script> | 512 | </script> |
| 504 | 513 | ||
| 505 | <style scoped lang="scss"> | 514 | <style scoped lang="scss"> | ... | ... |
| ... | @@ -88,7 +88,10 @@ | ... | @@ -88,7 +88,10 @@ |
| 88 | <div style="margin-bottom: 30px"> | 88 | <div style="margin-bottom: 30px"> |
| 89 | <a class="zn-btn" style="font-size: 15px" @click="goGuide">GUIDELINE<el-icon><download /></el-icon> | 89 | <a class="zn-btn" style="font-size: 15px" @click="goGuide">GUIDELINE<el-icon><download /></el-icon> |
| 90 | </a> | 90 | </a> |
| 91 | <a class="zn-btn ml20 btn-q" style="font-size: 15px" @click="popMaster">Junior &Youth Camp REGISTER<el-icon><Edit /></el-icon> | 91 | <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> |
| 92 | </a> | ||
| 93 | |||
| 94 | <a class="zn-btn btn-q" style="font-size: 15px;margin-top: 10px" @click="handlePickup">Pick-up/drop-off service | ||
| 92 | </a> | 95 | </a> |
| 93 | </div> | 96 | </div> |
| 94 | 97 | ||
| ... | @@ -508,6 +511,13 @@ const popMaster = () => { | ... | @@ -508,6 +511,13 @@ const popMaster = () => { |
| 508 | } | 511 | } |
| 509 | emit('pop',params) | 512 | emit('pop',params) |
| 510 | } | 513 | } |
| 514 | |||
| 515 | const handlePickup=()=>{ | ||
| 516 | const params={ | ||
| 517 | cptId :matchData.value.id | ||
| 518 | } | ||
| 519 | emit('pickup',params) | ||
| 520 | } | ||
| 511 | </script> | 521 | </script> |
| 512 | 522 | ||
| 513 | <style scoped lang="scss"> | 523 | <style scoped lang="scss"> | ... | ... |
-
Please register or sign in to post a comment