From f2cc6c66303c54e424b5accf052904040a568e2a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E6=88=90=E8=8B=B1=E6=9D=B0?= <3427731738@qq.com>
Date: Fri, 29 Nov 2024 22:37:12 +0800
Subject: [PATCH] =?UTF-8?q?=E5=8D=A1=E7=89=87=EF=BC=88=E7=8A=B6=E6=80=81?=
=?UTF-8?q?=E7=A6=81=E5=80=BC=E7=82=B9=E5=87=BB=EF=BC=89?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
api/marketing/marketing.js | 8 ++
pages.json | 5 +
pages/marketing/addTeam.vue | 13 +++
pages/marketing/index.vue | 95 ++++++++++++++++---
.../uni-pagination/uni-pagination.vue | 2 +-
5 files changed, 110 insertions(+), 13 deletions(-)
create mode 100644 pages/marketing/addTeam.vue
diff --git a/api/marketing/marketing.js b/api/marketing/marketing.js
index e4fec9a..66ee325 100644
--- a/api/marketing/marketing.js
+++ b/api/marketing/marketing.js
@@ -8,3 +8,11 @@ export function getList(data) {
'data': data
})
}
+//跳转 拼团
+export function jumpTeamInfo(data) {
+ return request({
+ 'url': '/marketing/team/getTeamInfo',
+ 'method': 'get',
+ 'data': data
+ })
+}
diff --git a/pages.json b/pages.json
index 53bc653..504bfc9 100644
--- a/pages.json
+++ b/pages.json
@@ -75,6 +75,11 @@
"style": {
"navigationBarTitleText": "营销活动"
}
+ }, {
+ "path": "pages/marketing/addTeam",
+ "style": {
+ "navigationBarTitleText": "加团"
+ }
}],
"tabBar": {
"color": "#000000",
diff --git a/pages/marketing/addTeam.vue b/pages/marketing/addTeam.vue
new file mode 100644
index 0000000..db78651
--- /dev/null
+++ b/pages/marketing/addTeam.vue
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
diff --git a/pages/marketing/index.vue b/pages/marketing/index.vue
index ef8e0e3..a2d0bd5 100644
--- a/pages/marketing/index.vue
+++ b/pages/marketing/index.vue
@@ -1,23 +1,24 @@
-
-
-
+
-
+
+
- 拼团
+ {{item.content+"..."}}
+ 该活动已结束
+ 点击我参加
-
@@ -36,22 +37,38 @@
-
-
-
+
+
+
+
+ 当前页:{{ this.current }},数据总量:{{ this.total }}条,每页数据:{{ pageSize }}
+
+
+
+
diff --git a/uni_modules/uni-pagination/components/uni-pagination/uni-pagination.vue b/uni_modules/uni-pagination/components/uni-pagination/uni-pagination.vue
index 5305b5f..49e479a 100644
--- a/uni_modules/uni-pagination/components/uni-pagination/uni-pagination.vue
+++ b/uni_modules/uni-pagination/components/uni-pagination/uni-pagination.vue
@@ -109,7 +109,7 @@
pageSize: {
// 每页数据量
type: [Number, String],
- default: 10
+ default: 1
},
showIcon: {
// 是否以 icon 形式展示按钮