Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Hooke
/
xysBooking
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
hookehuyr
2024-01-24 17:58:28 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
8435e43214e1215f3c98cad5ac2781a518aa6528
8435e432
1 parent
db251728
fix
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
32 additions
and
22 deletions
components.d.ts
src/components/reserveCard.vue
src/views/bookingList.vue
components.d.ts
View file @
8435e43
...
...
@@ -14,13 +14,11 @@ declare module '@vue/runtime-core' {
VanButton
:
typeof
import
(
'vant/es'
)[
'Button'
]
VanCheckbox
:
typeof
import
(
'vant/es'
)[
'Checkbox'
]
VanCheckboxGroup
:
typeof
import
(
'vant/es'
)[
'CheckboxGroup'
]
VanCol
:
typeof
import
(
'vant/es'
)[
'Col'
]
VanDatePicker
:
typeof
import
(
'vant/es'
)[
'DatePicker'
]
VanIcon
:
typeof
import
(
'vant/es'
)[
'Icon'
]
VanList
:
typeof
import
(
'vant/es'
)[
'List'
]
VanPicker
:
typeof
import
(
'vant/es'
)[
'Picker'
]
VanPopup
:
typeof
import
(
'vant/es'
)[
'Popup'
]
VanRow
:
typeof
import
(
'vant/es'
)[
'Row'
]
VanSwipe
:
typeof
import
(
'vant/es'
)[
'Swipe'
]
VanSwipeItem
:
typeof
import
(
'vant/es'
)[
'SwipeItem'
]
VanToast
:
typeof
import
(
'vant/es'
)[
'Toast'
]
...
...
src/components/reserveCard.vue
View file @
8435e43
<!--
* @Date: 2024-01-24 16:38:13
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2024-01-24 17:
1
7:11
* @LastEditTime: 2024-01-24 17:
5
7:11
* @FilePath: /xysBooking/src/components/reserveCard.vue
* @Description: 文件描述
-->
...
...
@@ -157,10 +157,22 @@ const pay_show = computed(() => {
return flag;
});
watch(
() => props.data,
(val) => {
if (val) {
remain_time.value = val.rest_second;
}
},
{
deep: true,
immediate: true,
}
);
// 支付超时显示
const delay_pay_show = computed(() => {
// return props.data.status === CodeStatus.APPLY && !remain_time.value;
return props.data.status === CodeStatus.SUCCESS && !remain_time.value;
return props.data.status === CodeStatus.APPLY && !remain_time.value;
});
let timeId = null;
...
...
@@ -239,19 +251,5 @@ const payOrder = () => {
}
}
.no-qrcode {
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
img {
margin-top: 1rem;
margin-bottom: 1rem;
width: 10rem;
}
.no-qrcode-title {
color: #A67939;
font-size: 1.05rem;
}
}
</style>
...
...
src/views/bookingList.vue
View file @
8435e43
<!--
* @Date: 2024-01-16 11:37:10
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2024-01-24 1
6:49:34
* @LastEditTime: 2024-01-24 1
7:52:56
* @FilePath: /xysBooking/src/views/bookingList.vue
* @Description: 文件描述
-->
...
...
@@ -106,6 +106,20 @@ const onLoad = async () => {
<style lang="less" scoped>
.booking-list-page {
padding: 1rem;
.no-qrcode {
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
img {
margin-top: 1rem;
margin-bottom: 1rem;
width: 10rem;
}
.no-qrcode-title {
color: #A67939;
font-size: 1.05rem;
}
}
}
</style>
...
...
Please
register
or
login
to post a comment