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 @@