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 3774302..e8f070e 100644 --- a/pages.json +++ b/pages.json @@ -37,7 +37,14 @@ "navigationStyle": "custom" } }, - + { + "path": "pages/index", + "style": { + "navigationBarTitleText": "若依移动端框架", + "navigationStyle": "custom", + "navigationBarTextStyle": "white" + } + }, { "path": "pages/signln/signid", "style": { @@ -228,20 +235,6 @@ "style": { "navigationBarTitleText": "" } - }, - { - "path" : "pages/post/postInfo/postInfo", - "style" : - { - "navigationBarTitleText" : "话题详情" - } - }, - { - "path" : "pages/post/postPublish/postPublish", - "style" : - { - "navigationBarTitleText" : "发布话题" - } } ], "tabBar": { 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 @@