Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
杨炀
/
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
38d24180
authored
2025-08-28 10:37:30 +0800
by
zrj
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
8.28 世锦赛票务服务功能
1 parent
91c38661
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
48 additions
and
12 deletions
src/viewsPc/components/homeQuick.vue
src/viewsPc/components/orderRemark.vue
vite.config.js
src/viewsPc/components/homeQuick.vue
View file @
38d2418
...
...
@@ -239,7 +239,6 @@ function popRemark(type) {
||
(
form
.
value
.
isFoodView
==
0
&&
type
==
'3'
)
||
(
form
.
value
.
isMealView
==
0
&&
type
==
'4'
)
||
(
form
.
value
.
isPhotoView
==
0
&&
type
==
'5'
)
||
(
form
.
value
.
isTicketView
==
0
&&
type
==
'10'
)
)
{
building
()
return
...
...
@@ -266,6 +265,9 @@ function popRemark(type) {
type
:
type
,
cptName
:
props
.
cptName
}
if
(
type
==
'10'
)
{
params
.
title
=
'票务服务'
}
proxy
.
$refs
[
'orderRemarkRef'
].
open
(
params
)
// goBooking(type)
...
...
src/viewsPc/components/orderRemark.vue
View file @
38d2418
<
template
>
<el-dialog
v-model=
"show"
:title=
"title"
@
close=
"close"
>
<div>
<h2
v-if=
"cptName"
class=
"text-warning text-center"
>
{{
cptName
}}
</h2>
<h2
v-if=
"cptName
&& type!=10
"
class=
"text-warning text-center"
>
{{
cptName
}}
</h2>
<div
v-if=
"type==1"
class=
"plr20"
v-html=
"form.reserveDes"
></div>
<div
v-if=
"type==2"
class=
"plr20"
v-html=
"form.reserveDesCar"
></div>
<div
v-if=
"type==3"
class=
"plr20"
v-html=
"form.reserveDesFood"
></div>
<div
v-if=
"type==4"
class=
"plr20"
v-html=
"form.reserveDesMeal"
></div>
<div
v-if=
"type==5"
class=
"plr20"
v-html=
"form.reserveDesPhoto"
></div>
<div
v-if=
"type==10"
class=
"plr20"
v-html=
"form.reserveDesTitck"
></div>
<div
v-if=
"type==10"
class=
"plr20"
>
<el-link
v-for=
"v in fileList"
:href=
"fillImgUrl(v.url)"
:underline=
"false"
class=
"link"
target=
"_blank"
type=
"primary"
>
<span
style=
"border-bottom: 1px solid var(--el-color-primary)"
>
{{
v
.
name
}}
<el-icon
style=
"margin-left: 10px;position: relative;bottom: -2px"
>
<Download/>
</el-icon>
</span>
</el-link>
<div
v-if=
"content"
v-html=
"content"
/>
</div>
<el-row
v-if=
"type==1"
justify=
"center"
>
...
...
@@ -32,11 +44,13 @@
import
{
getBaseInfoByActiveId
}
from
"@/apiPc/booking"
;
import
{
getCurrentInstance
}
from
"@vue/runtime-core"
;
import
{
useStorage
}
from
"@vueuse/core/index"
;
import
{
getppInfo
}
from
"@/apiPc/match"
;
const
emit
=
defineEmits
([
'submit'
])
const
{
proxy
}
=
getCurrentInstance
()
const
language
=
useStorage
(
'language'
,
0
)
import
useUserStore
from
"@/store/modules/user"
;
import
{
ref
}
from
"vue"
;
const
user
=
useUserStore
().
user
const
title
=
ref
(
''
)
...
...
@@ -44,6 +58,8 @@ const cptName = ref('')
const
show
=
ref
(
false
)
const
form
=
ref
({})
const
hotelType
=
ref
(
''
)
const
content
=
ref
(
''
)
const
fileList
=
ref
([])
let
matchId
=
''
let
type
=
''
...
...
@@ -60,13 +76,31 @@ defineExpose({
})
function
getData
()
{
console
.
log
(
matchId
)
getBaseInfoByActiveId
(
matchId
).
then
(
res
=>
{
form
.
value
=
res
.
data
||
{}
console
.
log
(
form
.
value
)
}).
catch
(
err
=>
{
console
.
log
(
err
)
})
if
(
type
==
'10'
)
{
getppInfo
(
"10000005"
).
then
(
res
=>
{
if
(
res
.
data
)
{
console
.
log
(
res
.
data
)
if
(
language
.
value
==
0
)
{
content
.
value
=
res
.
data
.
contextZh
fileList
.
value
=
JSON
.
parse
(
res
.
data
.
fileZh
)
}
else
{
content
.
value
=
res
.
data
.
contextEn
fileList
.
value
=
JSON
.
parse
(
res
.
data
.
fileEn
)
}
}
else
{
content
.
value
=
''
fileList
.
value
=
[]
}
})
}
else
{
getBaseInfoByActiveId
(
matchId
).
then
(
res
=>
{
form
.
value
=
res
.
data
||
{}
console
.
log
(
form
.
value
)
}).
catch
(
err
=>
{
console
.
log
(
err
)
})
}
}
function
close
()
{
...
...
vite.config.js
View file @
38d2418
...
...
@@ -84,8 +84,8 @@ export default defineConfig(({mode, command}) => {
},
'/dev-api'
:
{
// target: 'http://192.168.1.118:8082/',
//
target: 'http://192.168.1.22:8082',
target
:
'https://tk005.wxjylt.com/stage-api'
,
target
:
'http://192.168.1.22:8082'
,
//
target: 'https://tk005.wxjylt.com/stage-api',
// target: 'http://124.70.181.90:1880/stage-api',
// target: 'https://sys.2025wtcwuxi.com/stage-api/',
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