Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
飞
飞鹤小程序
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
FH
飞鹤小程序
Commits
631c3089
Commit
631c3089
authored
Jul 25, 2025
by
wxf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 修改文件路径
parent
90439cec
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
26 additions
and
15 deletions
+26
-15
config.js
reservation/config.js
+1
-1
index.less
reservation/home/index.less
+2
-3
index.less
reservation/record/index.less
+2
-3
index.less
reservation/status/index.less
+2
-3
index.less
reservation/subscribe/index.less
+2
-3
index.vue
reservation/subscribe/index.vue
+17
-2
No files found.
reservation/config.js
View file @
631c3089
export
const
baseUrl
=
'https://
essence.jzvcode.com/feihe
'
export
const
baseUrl
=
'https://
feihe.jzvcode.com
'
reservation/home/index.less
View file @
631c3089
// 声明字体
@font-face {
font-family: 'fz';
src: url('https://
essence.jzvcode.com/feihe
/images/fz.ttf') format('truetype');
src: url('https://
feihe.jzvcode.com
/images/fz.ttf') format('truetype');
}
@font-face {
font-family: 'fz-bold';
src: url('https://essence.jzvcode.com/feihe/images/fz-bold.ttf')
format('truetype');
src: url('https://feihe.jzvcode.com/images/fz-bold.ttf') format('truetype');
}
.blur-bg {
...
...
reservation/record/index.less
View file @
631c3089
// 声明字体
@font-face {
font-family: 'fz';
src: url('https://
essence.jzvcode.com/feihe
/images/fz.ttf') format('truetype');
src: url('https://
feihe.jzvcode.com
/images/fz.ttf') format('truetype');
}
@font-face {
font-family: 'fz-bold';
src: url('https://essence.jzvcode.com/feihe/images/fz-bold.ttf')
format('truetype');
src: url('https://feihe.jzvcode.com/images/fz-bold.ttf') format('truetype');
}
.record {
...
...
reservation/status/index.less
View file @
631c3089
// 声明字体
@font-face {
font-family: 'fz';
src: url('https://
essence.jzvcode.com/feihe
/images/fz.ttf') format('truetype');
src: url('https://
feihe.jzvcode.com
/images/fz.ttf') format('truetype');
}
@font-face {
font-family: 'fz-bold';
src: url('https://essence.jzvcode.com/feihe/images/fz-bold.ttf')
format('truetype');
src: url('https://feihe.jzvcode.com/images/fz-bold.ttf') format('truetype');
}
.record {
...
...
reservation/subscribe/index.less
View file @
631c3089
// 声明字体
@font-face {
font-family: 'fz';
src: url('https://
essence.jzvcode.com/feihe
/images/fz.ttf') format('truetype');
src: url('https://
feihe.jzvcode.com
/images/fz.ttf') format('truetype');
}
@font-face {
font-family: 'fz-bold';
src: url('https://essence.jzvcode.com/feihe/images/fz-bold.ttf')
format('truetype');
src: url('https://feihe.jzvcode.com/images/fz-bold.ttf') format('truetype');
}
.subscribe {
...
...
reservation/subscribe/index.vue
View file @
631c3089
...
...
@@ -355,6 +355,12 @@ onMounted(async () => {
// 如果日期是今天,则设置为选中
is_selected
:
item
.
day
==
formatDateCompare
(),
}))
// 设置默认选中日期
dateList
.
value
.
forEach
((
item
)
=>
{
if
(
item
.
day
==
formatDateCompare
())
{
formData
.
value
.
reservation_date
=
item
.
day
}
})
// 如果dateList 有值,则默认查询第一条数据的timeList
if
(
dateList
.
value
.
length
>
0
)
{
getTimeList
(
dateList
.
value
[
0
].
day
)
...
...
@@ -570,6 +576,13 @@ const validateForm = () => {
if
(
!
formData
.
value
.
visitor_number
)
{
reject
(
'请填写访客人数'
)
}
// 判断访客人数是否为正整数
if
(
!
/^
\d
+$/
.
test
(
formData
.
value
.
visitor_number
)
||
formData
.
value
.
visitor_number
<=
0
)
{
reject
(
'访客人数请输入正整数'
)
}
if
(
!
formData
.
value
.
type
)
{
reject
(
'请选择访客类型'
)
}
...
...
@@ -580,10 +593,12 @@ const handleSubmit = () => {
// 校验表单
validateForm
()
.
then
(()
=>
{
reservation
(
{
let
o
=
{
...
formData
.
value
,
ground
:
currentGround
.
value
?.
ground
||
''
,
}).
then
((
res
)
=>
{
}
delete
o
.
typeStr
reservation
(
o
).
then
((
res
)
=>
{
console
.
log
(
res
,
'res'
)
if
(
res
.
code
==
0
)
{
uni
.
showToast
({
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment