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
126485c3
authored
2025-05-16 15:24:56 +0800
by
杨炀
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
no message
1 parent
cdc810f0
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
46 additions
and
49 deletions
src/viewsPc/booking/car.vue
src/viewsPc/register/personal.vue
vite.config.js
src/viewsPc/booking/car.vue
View file @
126485c
...
...
@@ -14,37 +14,38 @@
</div>
</div>
<div
v-loading=
"loading"
class=
"box"
>
<div
v-for=
"(h,index) in list"
:key=
"index"
>
<el-row
:gutter=
"20"
align=
"middle"
class=
"w100"
>
<el-col
:span=
"4"
>
<div
class=
"index"
>
{{
language
==
0
?
'路线'
:
'Route'
}}{{
index
+
1
}}
</div>
</el-col>
<el-col
:span=
"6"
>
<p
class=
"esp"
>
{{
h
.
checkIn
}}
</p>
</el-col>
<el-col
:span=
"4"
class=
"text-center"
>
<img
class=
"mauto w40px"
src=
"@/assets/booking/wf.png"
/>
</el-col>
<el-col
:span=
"6"
>
<p
class=
"esp "
>
{{
h
.
checkOut
}}
</p>
</el-col>
<el-col
:span=
"2"
>
<div
v-if=
"language==0"
class=
"price"
>
¥
<span>
{{
h
.
upPrice
}}
</span>
</div>
<div
v-else
class=
"price"
>
€
<span>
{{
h
.
upPriceEn
}}
</span>
</div>
</el-col>
<el-col
:span=
"2"
>
<el-button
class=
"btn-lineG w100"
round
type=
"primary"
@
click=
"goOrder(h)"
>
{{
language
==
0
?
'我要预订'
:
'Select'
}}
</el-button>
</el-col>
</el-row>
<div
v-for=
"(h,index) in list"
:key=
"index"
class=
"routeItem"
>
<el-row
:gutter=
"20"
align=
"middle"
class=
"w100"
>
<el-col
:lg=
"2"
:sm=
"6"
>
<div
class=
"index"
>
{{
language
==
0
?
'路线'
:
'Route'
}}{{
index
+
1
}}
</div>
</el-col>
<el-col
:lg=
"6"
>
<p
class=
"esp text-center"
>
{{
h
.
checkIn
}}
</p>
</el-col>
<el-col
:lg=
"4"
:sm=
"6"
class=
"text-center"
>
<img
class=
"mauto w40px"
src=
"@/assets/booking/wf.png"
/>
</el-col>
<el-col
:lg=
"6"
>
<p
class=
"esp text-center"
>
{{
h
.
checkOut
}}
</p>
</el-col>
<el-col
:lg=
"3"
:sm=
"12"
>
<div
v-if=
"language==0"
class=
"price"
>
¥
<span>
{{
h
.
upPrice
}}
</span>
</div>
<div
v-else
class=
"price"
>
€
<span>
{{
h
.
upPriceEn
}}
</span>
</div>
</el-col>
<el-col
:lg=
"3"
:sm=
"12"
>
<el-button
class=
"btn-lineG w100"
round
type=
"primary"
@
click=
"goOrder(h)"
>
{{
language
==
0
?
'我要预订'
:
'Select'
}}
</el-button>
</el-col>
</el-row>
</div>
<el-empty
v-show=
"!loading&&list.length==0"
:image=
"`/img/order_no.png`"
:image-size=
"228"
description=
""
/>
...
...
@@ -275,15 +276,7 @@ function goOrder(item, car) {
}
}
.price
{
color
:
#FF8124
;
font-size
:
24px
;
span
{
font-size
:
36px
;
font-family
:
"DIN Alternate"
}
}
.bg-lineg
{
margin
:
auto
;
...
...
@@ -304,5 +297,15 @@ function goOrder(item, car) {
}
}
}
.routeItem
{
background
:
#fff
;
border-radius
:
10px
;
margin
:
0
0
20px
;
padding
:
10px
20px
;
box-shadow
:
0
0
6px
#eee
;
.price
{
color
:
#FF8124
;
font-size
:
24px
;
span
{
font-size
:
36px
;
font-family
:
"DIN Alternate"
}
}
}
</
style
>
...
...
src/viewsPc/register/personal.vue
View file @
126485c
...
...
@@ -275,9 +275,7 @@ function verifyCode() {
function
codeSuccess
(
msg
)
{
isShow
.
value
=
false
console
.
log
(
'old'
,
isCodeTrue
.
value
)
isCodeTrue
.
value
+=
1
console
.
log
(
'new'
,
isCodeTrue
.
value
)
if
(
isCodeTrue
.
value
==
1
)
{
checkWdsf
({
card
:
form
.
value
.
card
}).
then
(
res
=>
{
wdsfData
.
value
=
res
.
data
...
...
@@ -397,8 +395,6 @@ function next() {
}
registerSingle
(
obj
).
then
(
res
=>
{
setToken
(
res
.
data
.
token
)
console
.
log
(
matchId
.
value
)
afterR
()
})
}
...
...
@@ -423,7 +419,6 @@ function next() {
}
loginSingle
(
obj
).
then
(
res
=>
{
setToken
(
res
.
data
.
token
)
console
.
log
(
matchId
.
value
)
afterR
()
}).
catch
(
err
=>
{
...
...
@@ -460,13 +455,12 @@ function forgetPassword(account) {
useUserStore
().
setReLogin
({
account
:
account
,
active
:
2
})
}
const
ocrSuccess
=
(
res
)
=>
{
wdsfData
.
value
.
passportUrl
=
res
.
data
.
url
if
(
res
.
code
==
200
){
if
(
res
.
code
==
200
)
{
wdsfData
.
value
.
passportUrl
=
res
.
data
.
url
wdsfData
.
value
.
passportNumber
=
res
.
data
.
code
wdsfData
.
value
.
birthday
=
res
.
data
.
birth
?.
slice
(
0
,
10
)
wdsfData
.
value
.
sex
=
res
.
data
.
sex
}
else
if
(
res
.
code
==
500
)
{
}
else
if
(
res
.
code
==
500
)
{
ElMessage
.
warning
(
res
.
msg
)
}
}
...
...
vite.config.js
View file @
126485c
...
...
@@ -81,8 +81,8 @@ export default defineConfig(({ mode, command }) => {
rewrite
:
(
p
)
=>
p
.
replace
(
/^
\/
dev-api
\/
ztx-webSite/
,
''
)
},
'/dev-api'
:
{
target
:
'http://192.168.1.118:8081/'
,
//
target: 'http://192.168.1.253:8081',
//
target: 'http://192.168.1.118:8081/',
target
:
'http://192.168.1.253:8081'
,
// target: 'https://jijin.wtwuxicenter.com/stage-api',
// target: 'https://wdsfwuxicenter.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