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-26 15:37:38 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
5c8699a6823761ec6750bc66e72761c6864cbfb8
5c8699a6
1 parent
d00860ad
日历显示调整
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
8 deletions
.env.development
src/views/booking.vue
.env.development
View file @
5c8699a
...
...
@@ -2,11 +2,11 @@
VITE_BASE = /
# 测试open-id
VITE_OPENID = api-test-openid
#
VITE_OPENID = api-test-openid
# VITE_OPENID = o8BRf1gLDWieH3Y3JvbrI_4IjaME
# VITE_OPENID = oJLZq5t9PIKLW9tm1oSUNAuPwssA
# VITE_OPENID = oJLZq5uT_6GwIh2tQWh1F9IoHZ3U
#
VITE_OPENID = o5CsxuF5AfUirRn4VUwaCSNZrUoM
VITE_OPENID = o5CsxuF5AfUirRn4VUwaCSNZrUoM
# VITE_OPENID =
# B端账号
...
...
@@ -16,8 +16,8 @@ VITE_ID = 13761653761
VITE_PIN =
# 反向代理服务器地址
VITE_PROXY_TARGET = https://oa-dev.onwall.cn
#
VITE_PROXY_TARGET = http://oa.onwall.cn
#
VITE_PROXY_TARGET = https://oa-dev.onwall.cn
VITE_PROXY_TARGET = http://oa.onwall.cn
# PC端地址
VITE_MOBILE_URL = http://localhost:5173/
...
...
src/views/booking.vue
View file @
5c8699a
<!--
* @Date: 2024-01-15 13:35:51
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2024-01-2
5 09:49:41
* @LastEditTime: 2024-01-2
6 15:35:52
* @FilePath: /xysBooking/src/views/booking.vue
* @Description: 预约页面
-->
...
...
@@ -28,8 +28,8 @@
<div v-if="findDatesInfo(date).date">
<p class="day-lunar">{{ findDatesInfo(date).lunar_date.IDayCn }}</p>
<p class="day-text">{{ findDatesInfo(date).text }}</p>
<
p v-if="findDatesInfo(date).reserve_full === ReserveStatus.AVAILABLE" class="day-price">¥{{ findDatesInfo(date).price }}</p
>
<p v-
else-
if="findDatesInfo(date).reserve_full === ReserveStatus.INFINITY || findDatesInfo(date).reserve_full === ReserveStatus.OVERDUE" class="day-price"></p>
<
!-- <p v-if="findDatesInfo(date).reserve_full === ReserveStatus.AVAILABLE" class="day-price">¥{{ findDatesInfo(date).price }}</p> --
>
<p v-if="findDatesInfo(date).reserve_full === ReserveStatus.INFINITY || findDatesInfo(date).reserve_full === ReserveStatus.OVERDUE" class="day-price"></p>
<p v-else-if="findDatesInfo(date).reserve_full === ReserveStatus.FULL" class="day-no-booking">约满</p>
<!-- <p v-else class="day-no-booking">¥{{ findDatesInfo(date).price }}</p> -->
</div>
...
...
@@ -54,7 +54,7 @@
{{ item.begin_time }}-{{ item.end_time }}
</div>
<div class="right">
<span v-if="item.rest_qty">余量:{{ item.rest_qty }}</span>
<span v-if="item.rest_qty">
<span style="color: red;">¥{{ item.price }}</span>
余量:{{ item.rest_qty }}</span>
<span v-else-if="item.rest_qty === QtyStatus.INFINITY">可约</span>
<span v-else>已约满</span>
</div>
...
...
Please
register
or
login
to post a comment