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
83accaa0
authored
2024-06-23 19:38:54 +0800
by
杨炀
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
no message
1 parent
1081a406
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
35 additions
and
16 deletions
src/viewsPc/booking/hotelDetail.vue
src/viewsPc/components/homeQuick.vue
src/viewsPc/components/orderRemark.vue
src/viewsPc/index.vue
src/viewsPc/index_en.vue
src/viewsPc/match/components/addCoach.vue
src/viewsPc/match/components/quick-row.vue
vite.config.js
src/viewsPc/booking/hotelDetail.vue
View file @
83accaa
...
...
@@ -124,7 +124,10 @@
<div>
{{
language
==
0
?
'在线付'
:
'Online'
}}
</div>
</el-button>
<el-button
v-else
style=
"color: #fff"
:disabled=
"!r.useCount && !hotTime"
:class=
"(r.useCount
<
=0
&&
hotTime)?'forbid btn-lineG w100':'btn-lineG w100'" round type="pri mary" @click="goOrder(r)">Select
:class=
"
{'forbid':!(!hotTime[0] || r.useCount>0)}"
class="btn-lineG w100" round
type="primary" @click="goOrder(r)">
Select
</el-button>
<div
v-if=
"r.useCount>0"
>
<div
class=
"text-center text-primary mt10 fontsize14 pointer"
v-if=
"language == 0"
>
...
...
src/viewsPc/components/homeQuick.vue
View file @
83accaa
...
...
@@ -78,6 +78,11 @@ const props = defineProps({
type
:
String
,
required
:
true
,
default
:
'0'
},
cptName
:
{
type
:
String
,
required
:
true
,
default
:
''
}
})
const
language
=
useStorage
(
'language'
,
0
)
...
...
@@ -122,7 +127,8 @@ function popRemark(type) {
const
params
=
{
matchId
:
props
.
matchId
,
title
:
language
.
value
==
0
?
'预订说明'
:
'Booking Instructions'
,
type
:
type
type
:
type
,
cptName
:
props
.
cptName
}
proxy
.
$refs
[
'orderRemarkRef'
].
open
(
params
)
}
...
...
src/viewsPc/components/orderRemark.vue
View file @
83accaa
<
template
>
<el-dialog
:title=
"title"
v-model=
"show"
width=
"30%"
@
close=
"close"
>
<div>
<div
v-if=
"type==1"
class=
"pd20"
v-html=
"form.reserveDes"
></div>
<div
v-if=
"type==2"
class=
"pd20"
v-html=
"form.reserveDesCar"
></div>
<div
v-if=
"type==3"
class=
"pd20"
v-html=
"form.reserveDesFood"
></div>
<div
v-if=
"type==4"
class=
"pd20"
v-html=
"form.reserveDesMeal"
></div>
<div
v-if=
"type==5"
class=
"pd20"
v-html=
"form.reserveDesPhoto"
></div>
<div
v-if=
"type==0"
class=
"pd20"
v-html=
"form.reserveDesTitck"
></div>
<h2
class=
"text-warning text-center"
v-if=
"cptName"
>
{{
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==0"
class=
"plr20"
v-html=
"form.reserveDesTitck"
></div>
</div>
<template
#
footer
>
<div
class=
"dialog-footer text-center"
>
...
...
@@ -26,12 +28,14 @@ const language= useStorage('language',0)
import
useUserStore
from
"@/store/modules/user"
;
const
user
=
useUserStore
().
user
const
title
=
ref
(
''
)
const
cptName
=
ref
(
''
)
const
show
=
ref
(
false
)
const
form
=
ref
({})
let
matchId
=
''
let
type
=
''
const
open
=
(
params
)
=>
{
title
.
value
=
params
.
title
cptName
.
value
=
params
.
cptName
matchId
=
params
.
matchId
type
=
params
.
type
show
.
value
=
true
...
...
src/viewsPc/index.vue
View file @
83accaa
...
...
@@ -102,7 +102,7 @@
</div>
</el-col>
<el-col
:sm=
"24"
:lg=
"14"
>
<HomeQuick
:match-id=
"matchData?.id"
/>
<HomeQuick
:match-id=
"matchData?.id"
:cpt-name=
"matchData?.name"
/>
</el-col>
</el-row>
</div>
...
...
src/viewsPc/index_en.vue
View file @
83accaa
...
...
@@ -103,7 +103,7 @@
</div>
</el-col>
<el-col
:sm=
"24"
:lg=
"14"
>
<HomeQuick
:match-id=
"matchData?.id"
/>
<HomeQuick
:match-id=
"matchData?.id"
:cpt-name=
"matchData?.name"
/>
</el-col>
</el-row>
</div>
...
...
src/viewsPc/match/components/addCoach.vue
View file @
83accaa
...
...
@@ -19,7 +19,7 @@
<el-input
v-else
v-model=
"form.wdsfMin"
type=
"text"
/>
</el-form-item>
<el-form-item
:label=
"language==0?'姓名':'Name'"
prop=
"realName"
required
>
<el-input
v-model=
"form.realName"
:disabled=
"editgay"
/>
<el-input
v-model=
"form.realName"
:disabled=
"editgay
&&form.labelArr.indexOf('0')>-1
"
/>
</el-form-item>
<el-form-item
:label=
"language==0?'证件类型':'ID type'"
prop=
"idcType"
required
>
<el-select
v-model=
"form.idcType"
style=
"width: 100%;"
:disabled=
"editgay"
>
...
...
@@ -39,7 +39,7 @@
<span
class=
"tip"
>
*请上传有效证件扫描件
</span>
</el-form-item>
<el-form-item
:label=
"language==0?'性别':'Gender'"
prop=
"sex"
>
<el-radio-group
v-model=
"form.sex"
:disabled=
"editgay"
>
<el-radio-group
v-model=
"form.sex"
:disabled=
"editgay
&&form.labelArr.indexOf('0')>-1
"
>
<el-radio
value=
"0"
>
{{
language
==
0
?
'女'
:
'female'
}}
</el-radio>
<el-radio
value=
"1"
>
{{
language
==
0
?
'男'
:
'male'
}}
</el-radio>
</el-radio-group>
...
...
@@ -48,7 +48,7 @@
<el-col
:lg=
"12"
>
<el-form-item
:label=
"language==0?'出生日期':'Date of Birth'"
prop=
"birth"
required
>
<el-date-picker
v-model=
"form.birth"
:disabled=
"editgay"
v-model=
"form.birth"
:disabled=
"editgay
&&form.labelArr.indexOf('0')>-1
"
style=
"width: 100%;"
type=
"date"
format=
"YYYY-MM-DD"
value-format=
"YYYY-MM-DD"
/>
...
...
src/viewsPc/match/components/quick-row.vue
View file @
83accaa
...
...
@@ -98,6 +98,11 @@ const props = defineProps({
type
:
String
,
required
:
true
,
default
:
'0'
},
cptName
:
{
type
:
String
,
required
:
true
,
default
:
''
}
})
const
form
=
ref
()
...
...
@@ -136,7 +141,8 @@ function popRemark(type) {
const
params
=
{
matchId
:
props
.
matchId
,
title
:
language
.
value
==
0
?
'预订说明'
:
'Booking Instructions'
,
type
:
type
type
:
type
,
cptName
:
props
.
cptName
}
proxy
.
$refs
[
'orderRemarkRef'
].
open
(
params
)
...
...
vite.config.js
View file @
83accaa
...
...
@@ -84,8 +84,8 @@ export default defineConfig(({ mode, command }) => {
'/dev-api'
:
{
// target: 'http://192.168.1.118:8081/',
// target: 'http://192.168.1.131:8081/',
target
:
'https://jijin.wtwuxicenter.com/stage-api'
,
//
target: 'https://wdsfwuxicenter.com/stage-api/',
//
target: 'https://jijin.wtwuxicenter.com/stage-api',
target
:
'https://wdsfwuxicenter.com/stage-api/'
,
changeOrigin
:
true
,
rewrite
:
(
p
)
=>
p
.
replace
(
/^
\/
dev-api/
,
''
)
},
...
...
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