From 2215204170b01ecc0c2d0e090144b7dd8fc0ef14 Mon Sep 17 00:00:00 2001
From: 26947 <12@1>
Date: Wed, 5 Jun 2024 22:34:08 +0800
Subject: [PATCH] =?UTF-8?q?=E6=B4=BB=E5=8A=A8=E7=AE=A1=E7=90=86=E5=AE=8C?=
=?UTF-8?q?=E6=88=90=E5=88=97=E8=A1=A8=E9=A1=B5=E9=9D=A2=E7=AE=80=E5=8D=95?=
=?UTF-8?q?=E8=81=94=E8=B0=83?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
api/activityInfo/activityTakeInfo.js | 51 ++++++++++++
pages.json | 20 ++---
pages/activity/info.vue | 111 ++++++++++++++++++---------
3 files changed, 138 insertions(+), 44 deletions(-)
create mode 100644 api/activityInfo/activityTakeInfo.js
diff --git a/api/activityInfo/activityTakeInfo.js b/api/activityInfo/activityTakeInfo.js
new file mode 100644
index 0000000..b4e7f90
--- /dev/null
+++ b/api/activityInfo/activityTakeInfo.js
@@ -0,0 +1,51 @@
+import request from '@/utils/request'
+
+// 查询活动参与表列表
+export function listActivityTakeInfo(query) {
+ return request({
+ url: '/activityInfo/activityTakeInfo/list',
+ method: 'get',
+ params: query
+ })
+}
+
+// 查询活动参与表详细
+export function getActivityTakeInfo(id) {
+ return request({
+ url: '/activityInfo/activityTakeInfo/' + id,
+ method: 'get'
+ })
+}
+
+// 查询活动参与表详细
+export function getTakePartsInfoByacId(id) {
+ return request({
+ url: '/activityInfo/activityTakeInfo/ByacId/' + id,
+ method: 'get'
+ })
+}
+// 新增活动参与表
+export function addActivityTakeInfo(data) {
+ return request({
+ url: '/activityInfo/activityTakeInfo',
+ method: 'post',
+ data: data
+ })
+}
+
+// 修改活动参与表
+export function updateActivityTakeInfo(data) {
+ return request({
+ url: '/activityInfo/activityTakeInfo',
+ method: 'put',
+ data: data
+ })
+}
+
+// 删除活动参与表
+export function delActivityTakeInfo(id) {
+ return request({
+ url: '/activityInfo/activityTakeInfo/' + id,
+ method: 'delete'
+ })
+}
diff --git a/pages.json b/pages.json
index 3af74f0..aeb2db8 100644
--- a/pages.json
+++ b/pages.json
@@ -7,7 +7,16 @@
"^u-([^-].*)": "uview-plus/components/u-$1/u-$1.vue"
}
},
- "pages": [{
+ "pages": [
+ {
+ "path": "pages/index",
+ "style": {
+ "navigationBarTitleText": "若依移动端框架",
+ "navigationStyle": "custom",
+ "navigationBarTextStyle": "white"
+ }
+ },
+ {
"path": "pages/signln/harvestaddress",
"style": {
"navigationBarTitleText": "收货地址",
@@ -28,14 +37,7 @@
"navigationStyle": "custom"
}
},
- {
- "path": "pages/index",
- "style": {
- "navigationBarTitleText": "若依移动端框架",
- "navigationStyle": "custom",
- "navigationBarTextStyle": "white"
- }
- },
+
{
"path": "pages/signln/signid",
"style": {
diff --git a/pages/activity/info.vue b/pages/activity/info.vue
index 7dec614..2e38850 100644
--- a/pages/activity/info.vue
+++ b/pages/activity/info.vue
@@ -19,26 +19,48 @@
-
+
-
-
- 立即报名
+
+
+ 未参加
+
+
+ 已参加
+
+
+
+
+ 立即报名
+
+
+ 扫码签到
+
+
+ 已签到
+
+
+
+
+ 立即报名
+
+
+ 取消报名
+
-
+
- {{ actiInfoList.nickName }}
- {{ actiInfoList.infoSchool }}
-
+ {{ actiInfoList.nickName }}
+ {{ actiInfoList.infoSchool }}
+
已报名:{{ actiInfoList.elroll }}人
@@ -50,11 +72,15 @@