Merge branch 'dev' of https://code.itechtop.cn/yangyang/dance-pc into dev
Showing
3 changed files
with
56 additions
and
2 deletions
| ... | @@ -412,6 +412,14 @@ | ... | @@ -412,6 +412,14 @@ |
| 412 | </el-col> | 412 | </el-col> |
| 413 | </el-row> | 413 | </el-row> |
| 414 | </div> | 414 | </div> |
| 415 | |||
| 416 | <!-- 邀请函--> | ||
| 417 | <div v-if="matchData.leagueId==0" class="fixed_gg_l yaoQing" @click="applyInvitation"> | ||
| 418 | <img v-if="language==0" src="@/assets/logo/Invitation_c.png"> | ||
| 419 | <img v-else src="@/assets/logo/Invitation_e.png"> | ||
| 420 | </div> | ||
| 421 | |||
| 422 | <affix-invitation ref="dialogInvitationRef" /> | ||
| 415 | </div> | 423 | </div> |
| 416 | </template> | 424 | </template> |
| 417 | <script setup> | 425 | <script setup> |
| ... | @@ -430,6 +438,11 @@ import { dayjs } from 'element-plus' | ... | @@ -430,6 +438,11 @@ import { dayjs } from 'element-plus' |
| 430 | import * as match from '@/apiPc/match' | 438 | import * as match from '@/apiPc/match' |
| 431 | import { getAboutUs, getppInfo, getZNList } from '@/apiPc/match' | 439 | import { getAboutUs, getppInfo, getZNList } from '@/apiPc/match' |
| 432 | 440 | ||
| 441 | import AffixInvitation from '/@/viewsPc/match/components/affix-invitation.vue' | ||
| 442 | import { useStorage } from '@vueuse/core/index' | ||
| 443 | |||
| 444 | const language = useStorage('language', 0) | ||
| 445 | |||
| 433 | const modules = [Autoplay, Navigation] | 446 | const modules = [Autoplay, Navigation] |
| 434 | const navigationPic = ref({ | 447 | const navigationPic = ref({ |
| 435 | nextEl: '.picnext', | 448 | nextEl: '.picnext', |
| ... | @@ -605,6 +618,15 @@ const handlePickup = () => { | ... | @@ -605,6 +618,15 @@ const handlePickup = () => { |
| 605 | emit('pickup', params) | 618 | emit('pickup', params) |
| 606 | } | 619 | } |
| 607 | 620 | ||
| 621 | function applyInvitation() { | ||
| 622 | var obj = { | ||
| 623 | title: language.value == 0 ? '邀请函申请' : 'Visa Invitation Letter ', | ||
| 624 | cptId: matchData.value.id | ||
| 625 | } | ||
| 626 | console.log(matchData.value.id) | ||
| 627 | proxy.$refs['dialogInvitationRef'].open(obj) | ||
| 628 | } | ||
| 629 | |||
| 608 | </script> | 630 | </script> |
| 609 | 631 | ||
| 610 | <style lang="scss" scoped> | 632 | <style lang="scss" scoped> |
| ... | @@ -1195,4 +1217,11 @@ const handlePickup = () => { | ... | @@ -1195,4 +1217,11 @@ const handlePickup = () => { |
| 1195 | width: 192px; | 1217 | width: 192px; |
| 1196 | text-align: center; | 1218 | text-align: center; |
| 1197 | } | 1219 | } |
| 1220 | |||
| 1221 | .yaoQing { | ||
| 1222 | width: 160px; | ||
| 1223 | left: 5px; | ||
| 1224 | top: 40%; | ||
| 1225 | |||
| 1226 | } | ||
| 1198 | </style> | 1227 | </style> | ... | ... |
| ... | @@ -392,7 +392,13 @@ | ... | @@ -392,7 +392,13 @@ |
| 392 | </el-row> | 392 | </el-row> |
| 393 | </div> | 393 | </div> |
| 394 | 394 | ||
| 395 | <!-- 邀请函--> | ||
| 396 | <div v-if="matchData.leagueId==0" class="fixed_gg_l yaoQing" @click="applyInvitation"> | ||
| 397 | <img v-if="language==0" src="@/assets/logo/Invitation_c.png"> | ||
| 398 | <img v-else src="@/assets/logo/Invitation_e.png"> | ||
| 399 | </div> | ||
| 395 | 400 | ||
| 401 | <affix-invitation ref="dialogInvitationRef" /> | ||
| 396 | </div> | 402 | </div> |
| 397 | </template> | 403 | </template> |
| 398 | <script setup> | 404 | <script setup> |
| ... | @@ -409,7 +415,10 @@ import 'swiper/css' | ... | @@ -409,7 +415,10 @@ import 'swiper/css' |
| 409 | import { dayjs, ElMessage } from 'element-plus' | 415 | import { dayjs, ElMessage } from 'element-plus' |
| 410 | import * as match from '@/apiPc/match' | 416 | import * as match from '@/apiPc/match' |
| 411 | import { rankList } from '@/assets/js/data' | 417 | import { rankList } from '@/assets/js/data' |
| 418 | import AffixInvitation from '/@/viewsPc/match/components/affix-invitation.vue' | ||
| 419 | import { useStorage } from '@vueuse/core/index' | ||
| 412 | 420 | ||
| 421 | const language = useStorage('language', 0) | ||
| 413 | const modules = [Autoplay, Navigation] | 422 | const modules = [Autoplay, Navigation] |
| 414 | const navigationPic = ref({ | 423 | const navigationPic = ref({ |
| 415 | nextEl: '.picnext', | 424 | nextEl: '.picnext', |
| ... | @@ -580,6 +589,15 @@ const handlePickup = () => { | ... | @@ -580,6 +589,15 @@ const handlePickup = () => { |
| 580 | } | 589 | } |
| 581 | emit('pickup', params) | 590 | emit('pickup', params) |
| 582 | } | 591 | } |
| 592 | |||
| 593 | function applyInvitation() { | ||
| 594 | var obj = { | ||
| 595 | title: language.value == 0 ? '邀请函申请' : 'Visa Invitation Letter ', | ||
| 596 | cptId: matchData.value.id | ||
| 597 | } | ||
| 598 | console.log(matchData.value.id) | ||
| 599 | proxy.$refs['dialogInvitationRef'].open(obj) | ||
| 600 | } | ||
| 583 | </script> | 601 | </script> |
| 584 | 602 | ||
| 585 | <style lang="scss" scoped> | 603 | <style lang="scss" scoped> |
| ... | @@ -1321,4 +1339,11 @@ const handlePickup = () => { | ... | @@ -1321,4 +1339,11 @@ const handlePickup = () => { |
| 1321 | height: 60px; | 1339 | height: 60px; |
| 1322 | } | 1340 | } |
| 1323 | } | 1341 | } |
| 1342 | |||
| 1343 | .yaoQing { | ||
| 1344 | width: 160px; | ||
| 1345 | left: 5px; | ||
| 1346 | top: 40%; | ||
| 1347 | |||
| 1348 | } | ||
| 1324 | </style> | 1349 | </style> | ... | ... |
| ... | @@ -81,8 +81,8 @@ export default defineConfig(({ mode, command }) => { | ... | @@ -81,8 +81,8 @@ export default defineConfig(({ mode, command }) => { |
| 81 | rewrite: (p) => p.replace(/^\/dev-api\/ztx-webSite/, '') | 81 | rewrite: (p) => p.replace(/^\/dev-api\/ztx-webSite/, '') |
| 82 | }, | 82 | }, |
| 83 | '/dev-api': { | 83 | '/dev-api': { |
| 84 | // target: 'http://192.168.1.118:8081/', | 84 | target: 'http://192.168.1.118:8081/', |
| 85 | target: 'http://192.168.1.242:8081', | 85 | // target: 'http://192.168.1.242:8081', |
| 86 | // target: 'https://jijin.wtwuxicenter.com/stage-api', | 86 | // target: 'https://jijin.wtwuxicenter.com/stage-api', |
| 87 | // target: 'https://wdsfwuxicenter.com/stage-api/', | 87 | // target: 'https://wdsfwuxicenter.com/stage-api/', |
| 88 | changeOrigin: true, | 88 | changeOrigin: true, | ... | ... |
-
Please register or sign in to post a comment