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
e0216c56
authored
2024-05-20 14:42:50 +0800
by
yyx
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
md5 32
1 parent
ad3439b1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
12 deletions
src/viewsPc/seat/seat-picker.vue
src/viewsPc/seat/ticket-detail.vue
src/viewsPc/seat/seat-picker.vue
View file @
e0216c5
...
...
@@ -38,7 +38,7 @@ const price = reactive({
// 座位禁用时图标地址
const
disabledIconUrl
=
"http
://114.55.227.212:8083
/images/20240511/unselect_default.png"
;
"http
s://radv4.gitliuyi.top
/images/20240511/unselect_default.png"
;
const
siteConfig
=
reactive
({
loading
:
false
,
...
...
@@ -78,18 +78,14 @@ watch(
sendMsg
(
"update-seat"
,
{
id
:
it
.
id
,
data
:
{
icon
:
it
.
state
==
1
&&
priceId
==
it
.
priceId
?
it
.
active
?
it
.
unSelectIcon
:
it
.
selectIcon
:
disabledIconUrl
,
...
getSeatRenderState
(
it
),
},
});
});
moveToPriceArea
(
priceId
)
console
.
log
(
"update完成"
);
},
{
immediate
:
true
}
//
{ immediate: true }
);
const
sendMsg
=
(
type
,
data
)
=>
...
...
@@ -263,7 +259,7 @@ price.fetchData();
:class=
"
{ tabActive: it.priceId == price.curPriceId }"
@click="price.onClickPrice(it)"
>
<img
class=
"seat"
:src=
"it.
s
electIcon"
/>
<img
class=
"seat"
:src=
"it.
unS
electIcon"
/>
<span
class=
"price"
>
{{
it
.
price
}}
¥
</span>
</div>
</div>
...
...
src/viewsPc/seat/ticket-detail.vue
View file @
e0216c5
...
...
@@ -22,13 +22,12 @@ const props = defineProps({
// 用户免登录
const
login
=
async
(
userId
)
=>
{
const
sign
=
md5
(
`uid=
${
userId
}
lgo1acfkw51jfo`
);
const
sign
=
md5
(
`uid=
${
userId
}
lgo1acfkw51jfo`
,
32
);
return
loginFree
({
userId
:
userId
,
sign
,
}).
then
((
res
)
=>
{
setToken
(
res
.
data
.
token
);
resolve
(
res
.
data
);
});
};
...
...
@@ -231,7 +230,12 @@ watch(
?
dayjs
(
detail
.
data
?.
startTime
).
format
(
"YYYY.MM.DD"
)
:
""
}}
{{
detail
.
data
?.
startTime
?
dayjs
(
detail
.
data
?.
startTime
).
format
(
"ddd"
)
:
""
}}
—
{{
detail
.
data
?.
startTime
?
dayjs
(
detail
.
data
?.
startTime
).
format
(
"ddd"
)
:
""
}}
—
{{
detail
.
data
?.
endTime
?
dayjs
(
detail
.
data
?.
endTime
).
format
(
"YYYY.MM.DD"
)
...
...
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