From 241facfbf6f4c0f8e4b9f2e12a654edb7362db08 Mon Sep 17 00:00:00 2001
From: dzc <2388224167@qq.com>
Date: Fri, 15 Nov 2024 23:22:54 +0800
Subject: [PATCH] 11
---
src/pages/boxes/apply.vue | 168 +++++++++++++++++-
src/pages/boxes/detail.vue | 5 +-
src/sheep/api/boxes.ts | 9 +
.../crud/crud-layout/crud-layout.vue | 4 +-
.../tm-picker-date/tm-picker-date.vue | 4 +-
5 files changed, 175 insertions(+), 15 deletions(-)
diff --git a/src/pages/boxes/apply.vue b/src/pages/boxes/apply.vue
index f80ddd7..8ff1f90 100644
--- a/src/pages/boxes/apply.vue
+++ b/src/pages/boxes/apply.vue
@@ -1,33 +1,183 @@
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 时间段
+
+
+ {{ v.bxDate }}
+ {{ v.hour }}
+
+
+
+
+ 提交
+
+
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/src/pages/boxes/detail.vue b/src/pages/boxes/detail.vue
index 7d335a5..27cca19 100644
--- a/src/pages/boxes/detail.vue
+++ b/src/pages/boxes/detail.vue
@@ -41,7 +41,7 @@ const doSubmit = () => {
-
+
@@ -66,11 +66,10 @@ const doSubmit = () => {
-
预定
-
diff --git a/src/sheep/api/boxes.ts b/src/sheep/api/boxes.ts
index c221676..606f141 100644
--- a/src/sheep/api/boxes.ts
+++ b/src/sheep/api/boxes.ts
@@ -37,6 +37,15 @@ export default {
showLoading: false,
},
}),
+ get: (data: any) =>
+ request({
+ url: "boxes/info/api/get",
+ method: "GET",
+ data,
+ custom: {
+ showLoading: false,
+ },
+ }),
MyBookingPage: (data: any) =>
request({
url: "boxes/info/api/getMyBookingPage",
diff --git a/src/sheep/components/crud/crud-layout/crud-layout.vue b/src/sheep/components/crud/crud-layout/crud-layout.vue
index 68d9a90..ce46af3 100644
--- a/src/sheep/components/crud/crud-layout/crud-layout.vue
+++ b/src/sheep/components/crud/crud-layout/crud-layout.vue
@@ -155,7 +155,9 @@ page {
// background: #ecf4f9;
}
- &_bottom {}
+ &_bottom {
+ box-shadow: 0 8rpx 40rpx rgba(0, 0, 0, 0.1);
+ }
}
&_foot {}
diff --git a/src/uni_modules/tm-ui/components/tm-picker-date/tm-picker-date.vue b/src/uni_modules/tm-ui/components/tm-picker-date/tm-picker-date.vue
index b4dfce0..b4e923d 100644
--- a/src/uni_modules/tm-ui/components/tm-picker-date/tm-picker-date.vue
+++ b/src/uni_modules/tm-ui/components/tm-picker-date/tm-picker-date.vue
@@ -1,5 +1,5 @@