From a4ccdc6ad7007226051831656436e20beb439b59 Mon Sep 17 00:00:00 2001
From: 26947 <12@1>
Date: Thu, 6 Jun 2024 21:14:03 +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 | 23 +++
pages.json | 8 -
pages/activity/info.vue | 195 +++++++++++--------
pages/activity/publish.vue | 257 +++++++++++++++++--------
pages/common/file/fileUpload/index.vue | 4 +-
pages/common/talkState/publish.vue | 5 +-
6 files changed, 319 insertions(+), 173 deletions(-)
diff --git a/api/activityInfo/activityTakeInfo.js b/api/activityInfo/activityTakeInfo.js
index b4e7f90..2798ad7 100644
--- a/api/activityInfo/activityTakeInfo.js
+++ b/api/activityInfo/activityTakeInfo.js
@@ -49,3 +49,26 @@ export function delActivityTakeInfo(id) {
method: 'delete'
})
}
+
+// 报名
+export function gotoSing1(id) {
+ return request({
+ url: '/activityInfo/activityTakeInfo/goSing1/' + id,
+ method: 'get'
+ })
+}
+// 取消报名
+export function gotoSing2(id) {
+ return request({
+ url: '/activityInfo/activityTakeInfo/goSing2/' + id,
+ method: 'get'
+ })
+}
+// 签到
+export function gotoQrcode(data) {
+ return request({
+ url: '/activityInfo/activityTakeInfo/goQrcode',
+ method: 'put',
+ data: data
+ })
+}
diff --git a/pages.json b/pages.json
index e8f070e..a386342 100644
--- a/pages.json
+++ b/pages.json
@@ -37,14 +37,6 @@
"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 2e38850..00bd387 100644
--- a/pages/activity/info.vue
+++ b/pages/activity/info.vue
@@ -2,7 +2,6 @@
-
+
+
+
+
@@ -26,30 +28,35 @@
-
+
未参加
-
+
已参加
- 立即报名
+ 立即报名
- 扫码签到
+ 扫码签到
已签到
-
+
- 立即报名
+ 立即报名
- 取消报名
+ 取消报名
@@ -62,122 +69,148 @@
{{ actiInfoList.infoSchool }}
-
已报名:{{ actiInfoList.elroll }}人
-
+
\ No newline at end of file
diff --git a/pages/activity/publish.vue b/pages/activity/publish.vue
index ce439eb..7ce6fbd 100644
--- a/pages/activity/publish.vue
+++ b/pages/activity/publish.vue
@@ -1,82 +1,94 @@
-
-
发布活动
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
- 请选择活动开始时间
- {{parseTime(StartTime, '{y}-{m}-{d} {h}:{i}:{s}')}}
-
-
-
-
-
-
-
- 请选择活动结束时间
- {{parseTime(EndTime, '{y}-{m}-{d} {h}:{i}:{s}')}}
-
-
-
-
-
-
-
- 添加活动具体位置
-
-
-
-
+ placeholderStyle="color: #c0c0c0;font-size: 30rpx; background:none;">
+
+
+
+
+
+
+
-
- 发布
-
- 存草稿
-
+
+
+
+
+
+
+
+
+ 请选择活动开始时间
+
+
+
+
+
+
+
+
+
+ 请选择活动结束时间
+
+
+
+
+
+
+
+
+ 添加活动具体位置
+
+
+
+
+
+
+
+ 发布
+
+ 存草稿
+
+
+
\ No newline at end of file
+
diff --git a/pages/common/file/fileUpload/index.vue b/pages/common/file/fileUpload/index.vue
index cf0b6b0..72a9130 100644
--- a/pages/common/file/fileUpload/index.vue
+++ b/pages/common/file/fileUpload/index.vue
@@ -104,7 +104,7 @@ const afterRead = async (event) => {
url: store.state.user.QNDomain + result,
furl: result
});
- emit("update:modelValue", fileList1.value);
+ emit("update:modelValue", listToString(fileList1.value));
fileListLen++;
} catch (error) {
console.error("上传失败:", error);
@@ -219,7 +219,7 @@ const typeInfo = () => {
separator = separator || ",";
for (let i in list) {
if (list[i].url) {
- strs += list[i].url + separator;
+ strs += list[i].furl + separator;
}
}
return strs != '' ? strs.substr(0, strs.length - 1) : '';
diff --git a/pages/common/talkState/publish.vue b/pages/common/talkState/publish.vue
index 05c9713..703b150 100644
--- a/pages/common/talkState/publish.vue
+++ b/pages/common/talkState/publish.vue
@@ -39,7 +39,10 @@ const bgColor = ref('');
bgColor.value = 'rgba(170, 0, 0, 0)'
const leftClick = () => {
- proxy.$tab.navigateBack(1)
+ proxy.$tab.switchTab("/pages/index")
+}
+const publish = () => {
+ proxy.$tab.switchTab("/pages/index")
}