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-22 18:44:17 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
1d2f84db5f1a510aef667d591950a94601d99214
1d2f84db
1 parent
972a30b5
fix
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
components.d.ts
src/views/booking.vue
components.d.ts
View file @
1d2f84d
...
...
@@ -14,6 +14,7 @@ declare module '@vue/runtime-core' {
VanCheckboxGroup
:
typeof
import
(
'vant/es'
)[
'CheckboxGroup'
]
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'
]
VanSwipe
:
typeof
import
(
'vant/es'
)[
'Swipe'
]
...
...
src/views/booking.vue
View file @
1d2f84d
<!--
* @Date: 2024-01-15 13:35:51
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2024-01-22 1
6:48:55
* @LastEditTime: 2024-01-22 1
8:43:26
* @FilePath: /xysBooking/src/views/booking.vue
* @Description: 预约页面
-->
...
...
@@ -48,7 +48,7 @@
{{ item.begin_time }}-{{ item.end_time }}
</div>
<div class="right">
<span v-if="item.rest_qty > 0">余量:{{ item.
price
}}</span>
<span v-if="item.rest_qty > 0">余量:{{ item.
rest_qty
}}</span>
<span v-else-if="item.rest_qty === -1">可约</span>
<span v-else>已约满</span>
</div>
...
...
Please
register
or
login
to post a comment