From fbcb67440b54ce0756a5e54f39edf883a6cd3ece Mon Sep 17 00:00:00 2001
From: gyq <875626088@qq.com>
Date: Wed, 19 Nov 2025 10:23:17 +0800
Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E9=99=90=E6=97=B6=E6=8A=98?=
=?UTF-8?q?=E6=89=A3=E5=B9=B6=E5=A2=9E=E5=8A=A0=E5=A4=B4=E9=83=A8=E5=BA=95?=
=?UTF-8?q?=E9=83=A8=E6=8C=89=E9=92=AE=E5=85=AC=E5=85=B1=E7=BB=84=E4=BB=B6?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
components/my-components/my-footer-btn.vue | 55 +++++
components/my-components/my-header-card.vue | 98 ++++++++
components/my-components/my-shop-select-w.vue | 134 +++++++++++
components/my-components/my-shop-select.vue | 223 ++++++++----------
components/my-components/my-shop-types.vue | 22 ++
pageMarket/components/FooterBtn.vue | 63 +++--
pageMarket/limitDiscount/add.vue | 85 +++++++
pageMarket/limitDiscount/index.vue | 11 +-
pages.json | 7 +
9 files changed, 529 insertions(+), 169 deletions(-)
create mode 100644 components/my-components/my-footer-btn.vue
create mode 100644 components/my-components/my-header-card.vue
create mode 100644 components/my-components/my-shop-select-w.vue
create mode 100644 components/my-components/my-shop-types.vue
create mode 100644 pageMarket/limitDiscount/add.vue
diff --git a/components/my-components/my-footer-btn.vue b/components/my-components/my-footer-btn.vue
new file mode 100644
index 0000000..259f291
--- /dev/null
+++ b/components/my-components/my-footer-btn.vue
@@ -0,0 +1,55 @@
+
+
+
+
+ {{ confirmText }}
+
+
+ 取消
+
+
+
+
+
+
+
+
diff --git a/components/my-components/my-header-card.vue b/components/my-components/my-header-card.vue
new file mode 100644
index 0000000..c90ed12
--- /dev/null
+++ b/components/my-components/my-header-card.vue
@@ -0,0 +1,98 @@
+
+
+
+
+
+
+
+ {{ options.name }}
+
+
+ {{ options.intro }}
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/components/my-components/my-shop-select-w.vue b/components/my-components/my-shop-select-w.vue
new file mode 100644
index 0000000..c8a50c5
--- /dev/null
+++ b/components/my-components/my-shop-select-w.vue
@@ -0,0 +1,134 @@
+
+
+
+
+
+
+ 请选择
+
+ {{ returnShopName(item) }}
+
+
+
+
+
+
+
+
+
+
+ 选择门店
+
+
+
+
+
+
+
+ 取消
+
+
+ 确定
+
+
+
+
+
+
+
+
diff --git a/components/my-components/my-shop-select.vue b/components/my-components/my-shop-select.vue
index 58bf012..a2334d0 100644
--- a/components/my-components/my-shop-select.vue
+++ b/components/my-components/my-shop-select.vue
@@ -1,157 +1,130 @@
-
-
-
-
-
- 请选择
-
- {{ returnShopName(item) }}
-
-
-
-
-
-
-
-
-
-
-
- 选择门店
-
-
-
-
-
-
-
- 取消
-
-
- 确定
-
-
-
-
-
+
+
+
+
+
+ 请选择
+
+ {{ returnShopName(item) }}
+
+
+
+
+
+
+
+
+
+
+ 选择门店
+
+
+
+
+
+
+
+ 取消
+
+
+ 确定
+
+
+
+
+
\ No newline at end of file
+
diff --git a/components/my-components/my-shop-types.vue b/components/my-components/my-shop-types.vue
new file mode 100644
index 0000000..2865011
--- /dev/null
+++ b/components/my-components/my-shop-types.vue
@@ -0,0 +1,22 @@
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pageMarket/components/FooterBtn.vue b/pageMarket/components/FooterBtn.vue
index 14a4d9f..259f291 100644
--- a/pageMarket/components/FooterBtn.vue
+++ b/pageMarket/components/FooterBtn.vue
@@ -1,16 +1,18 @@
-
-
- 添加
-
-
- 取消
-
+
+
+
+ {{ confirmText }}
+
+
+ 取消
+
+
diff --git a/pageMarket/limitDiscount/add.vue b/pageMarket/limitDiscount/add.vue
new file mode 100644
index 0000000..d675498
--- /dev/null
+++ b/pageMarket/limitDiscount/add.vue
@@ -0,0 +1,85 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pageMarket/limitDiscount/index.vue b/pageMarket/limitDiscount/index.vue
index 6487eac..4b5df29 100644
--- a/pageMarket/limitDiscount/index.vue
+++ b/pageMarket/limitDiscount/index.vue
@@ -1,6 +1,6 @@
-
+
@@ -32,7 +32,7 @@
-
+
@@ -42,12 +42,7 @@ import { onLoad, onReachBottom } from '@dcloudio/uni-app';
import HeaderCard from '../components/HeaderCard.vue';
import FooterBtn from '../components/FooterBtn.vue';
import { limitTimeDiscountPage } from '@/http/api/market/index.js';
-
-// 标题的高度
-const headHeight = ref(0);
-function headLoad(e) {
- headHeight.value = e.height;
-}
+import go from '@/commons/utils/go.js';
// 删除限时折扣
function delHandle(item) {
diff --git a/pages.json b/pages.json
index f475cfc..79f9eea 100644
--- a/pages.json
+++ b/pages.json
@@ -631,6 +631,13 @@
"style": {
"navigationBarTitleText": "限时折扣"
}
+ },
+ {
+ "pageId": "PAGES_LIMIT_DISCOUNT_ADD",
+ "path": "limitDiscount/add",
+ "style": {
+ "navigationBarTitleText": "添加限时折扣"
+ }
}
]
},