diff --git a/activitylink/src/api/manage/activity.js b/activitylink/src/api/manage/activity.js index 364800b..c2823c8 100644 --- a/activitylink/src/api/manage/activity.js +++ b/activitylink/src/api/manage/activity.js @@ -34,7 +34,67 @@ export function getDetailList() { return request({ url: '/admin/funding/getActivityDetail', method: 'post', - + + }) + +} + +export function getDetailListbyActivityId(data) { + return request({ + url: '/admin/funding/getActivityDetail', + method: 'post', + data + }) +} + + +export function getDetailMessage(activityId){ + return request({ + url: '/admin/funding/getActivityDate', + method: 'post', + params: { activityId } + }) +} + + +export function showsetDetail(activityId){ + return request({ + url: '/admin/funding/getDate', + method: 'post', + params: { activityId } + }) +} + +export function showaddDetail(activityId,stock,addTotal){ + return request({ + url: '/admin/funding/addDateVirtual', + method: 'post', + params: { activityId,stock,addTotal } + }) +} + +export function setTime(activityId,time){ + return request({ + url: '/admin/funding/setActivityTime', + method: 'post', + params: { activityId,time } + }) +} + +export function getMarket(){ + return request({ + url: '/admin/funding/getMarketList', + method: 'get', + }) +} + + +export function deleteActivityById(activityId) +{ + return request({ + url: 'activityId/admin/funding/deleteActivity', + method: 'post', + params: { activityId } }) } \ No newline at end of file diff --git a/activitylink/src/api/manage/win.js b/activitylink/src/api/manage/win.js index 4fa404e..d8afdc0 100644 --- a/activitylink/src/api/manage/win.js +++ b/activitylink/src/api/manage/win.js @@ -1,9 +1,9 @@ import request from '@/utils/request' -export function deleteUser(id) { +export function getWinList(data) { return request({ - url: '/admin/user/delete', + url: '/admin/win/list', method: 'post', - params: { id } + data }) } \ No newline at end of file diff --git a/activitylink/src/views/zhongchou/activity/detail/index.vue b/activitylink/src/views/zhongchou/activity/detail/index.vue index 2d9d981..328644e 100644 --- a/activitylink/src/views/zhongchou/activity/detail/index.vue +++ b/activitylink/src/views/zhongchou/activity/detail/index.vue @@ -1,63 +1,58 @@ - - @@ -260,11 +243,11 @@ const handleJingwangIdInput = (value) => { } .gray-container { - width: 100%; /* 宽度自适应 */ - background-color: #ffffff; /* 浅灰色背景 */ - padding: 20px; /* 内边距 */ - box-sizing: border-box; /* 包含内边距在总宽度内 */ - min-height: 80vh; /* 设置最小高度 */ + width: 100%; + background-color: #ffffff; + padding: 20px; + box-sizing: border-box; + min-height: 80vh; overflow-x: hidden; } @@ -273,15 +256,15 @@ const handleJingwangIdInput = (value) => { } .market-item { - width: 200px; /* 根据需要调整宽度 */ + width: 200px; } .market-select { - width: 100%; /* 确保 select 宽度与 form-item 一致 */ + width: 100%; } .table-container { - height: 600px; /* 根据需要调整高度 */ - overflow-y: auto; /* 启用垂直滚动条 */ + height: 600px; + overflow-y: auto; } \ No newline at end of file diff --git a/activitylink/src/views/zhongchou/activity/index.vue b/activitylink/src/views/zhongchou/activity/index.vue index 127fb79..381781e 100644 --- a/activitylink/src/views/zhongchou/activity/index.vue +++ b/activitylink/src/views/zhongchou/activity/index.vue @@ -12,10 +12,11 @@
- +
+ - - + + @@ -28,8 +29,8 @@ - + + + + + +
+ + + + + 您确定删除该活动吗? + + + + - + + + + - + + + @@ -125,8 +163,8 @@ @@ -275,7 +369,8 @@ onMounted(() => { padding: 20px; /* 内边距 */ box-sizing: border-box; /* 包含内边距在总宽度内 */ min-height: 80vh; /* 设置最小高度 */ - overflow-x: hidden; + /* overflow-x: hidden; */ + overflow-y: auto; } .activity-header { @@ -319,4 +414,9 @@ th { margin-top: 20px; text-align: center; } + +.table-container { + height: 650px; /* 根据需要调整高度 */ + overflow-y: auto; /* 启用垂直滚动条 */ +} \ No newline at end of file diff --git a/activitylink/src/views/zhongchou/activity/set/index.vue b/activitylink/src/views/zhongchou/activity/set/index.vue index 979214a..38c626d 100644 --- a/activitylink/src/views/zhongchou/activity/set/index.vue +++ b/activitylink/src/views/zhongchou/activity/set/index.vue @@ -1,93 +1,140 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/activitylink/src/views/zhongchou/winning/index.vue b/activitylink/src/views/zhongchou/winning/index.vue index 3bdaf0e..0087ba8 100644 --- a/activitylink/src/views/zhongchou/winning/index.vue +++ b/activitylink/src/views/zhongchou/winning/index.vue @@ -78,7 +78,7 @@