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 @@ - @@ -17,7 +16,10 @@ 活动地点:{{ actiInfoList.addres }} - + + + + @@ -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 @@ + \ 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") }