diff --git a/src/api/market/active.js b/src/api/market/active.js
new file mode 100644
index 0000000..f27bac7
--- /dev/null
+++ b/src/api/market/active.js
@@ -0,0 +1,114 @@
+import { axios } from '@/utils/request'
+
+// api接口列表
+const api = {
+ list: '/market.active/list',
+ detail: '/market.active/detail',
+ add: '/market.active/add',
+ edit: '/market.active/edit',
+ delete: '/market.active/delete',
+ colList: '/market.active/colList',
+ colAdd: '/market.active/colAdd',
+ colEdit: '/market.active/colEdit',
+ colDelete: '/market.active/colDelete',
+ goodsList: '/market.active/goodsList'
+}
+
+// 列表记录
+export function list (params) {
+ return axios({
+ url: api.list,
+ method: 'get',
+ params
+ })
+}
+
+/**
+ * 新增记录
+ * @param {*} data
+ */
+export function add (data) {
+ return axios({
+ url: api.add,
+ method: 'post',
+ data
+ })
+}
+
+/**
+ * 编辑记录
+ * @param {*} data
+ */
+export function edit (data) {
+ return axios({
+ url: api.edit,
+ method: 'post',
+ data
+ })
+}
+
+/**
+ * 删除记录
+ * @param {*} data
+ */
+export function deleted (data) {
+ return axios({
+ url: api.delete,
+ method: 'post',
+ data: data
+ })
+}
+
+// 模块列表记录
+export function colList (params) {
+ return axios({
+ url: api.colList,
+ method: 'get',
+ params
+ })
+}
+
+/**
+ * 新增模块记录
+ * @param {*} data
+ */
+export function colAdd (data) {
+ return axios({
+ url: api.colAdd,
+ method: 'post',
+ data
+ })
+}
+
+/**
+ * 编辑模块记录
+ * @param {*} data
+ */
+export function colEdit (data) {
+ return axios({
+ url: api.colEdit,
+ method: 'post',
+ data
+ })
+}
+
+/**
+ * 删除模块记录
+ * @param {*} data
+ */
+export function colDelete (data) {
+ return axios({
+ url: api.colDelete,
+ method: 'post',
+ data: data
+ })
+}
+
+// 商品列表记录
+export function goodsList (params) {
+ return axios({
+ url: api.goodsList,
+ method: 'get',
+ params
+ })
+}
diff --git a/src/config/router.config.js b/src/config/router.config.js
index e9cf0a1..b1f2711 100644
--- a/src/config/router.config.js
+++ b/src/config/router.config.js
@@ -600,6 +600,11 @@ export const asyncRouterMap = [
meta: { title: '满额包邮', keepAlive: false, permission: ['/market/full-free'] },
moduleKey: 'market-fullFree',
},
+ {
+ path: '/market/active',
+ component: () => import(/* webpackChunkName: "market" */ '@/views/market/active/Index'),
+ meta: { title: '活动管理', keepAlive: false },
+ },
],
},
diff --git a/src/views/content/banner/modules/EditForm.vue b/src/views/content/banner/modules/EditForm.vue
index 1f5b11e..b9917ae 100644
--- a/src/views/content/banner/modules/EditForm.vue
+++ b/src/views/content/banner/modules/EditForm.vue
@@ -24,7 +24,7 @@
-
+
显示
隐藏
diff --git a/src/views/market/active/Index.vue b/src/views/market/active/Index.vue
new file mode 100644
index 0000000..57ffc3c
--- /dev/null
+++ b/src/views/market/active/Index.vue
@@ -0,0 +1,176 @@
+
+
+ {{ $route.meta.title }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ text ? '开启' : '关闭' }}
+
+
+
+
+ 配置栏目
+ 编辑
+ 删除
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/market/active/modules/AddForm.vue b/src/views/market/active/modules/AddForm.vue
new file mode 100644
index 0000000..d0c5daf
--- /dev/null
+++ b/src/views/market/active/modules/AddForm.vue
@@ -0,0 +1,111 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 显示
+ 隐藏
+
+
+
+
+
+
+
+
diff --git a/src/views/market/active/modules/ColAddForm.vue b/src/views/market/active/modules/ColAddForm.vue
new file mode 100644
index 0000000..80ce45e
--- /dev/null
+++ b/src/views/market/active/modules/ColAddForm.vue
@@ -0,0 +1,118 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 显示
+ 隐藏
+
+
+
+
+
+
+
+
diff --git a/src/views/market/active/modules/ColEditForm.vue b/src/views/market/active/modules/ColEditForm.vue
new file mode 100644
index 0000000..edf87bc
--- /dev/null
+++ b/src/views/market/active/modules/ColEditForm.vue
@@ -0,0 +1,146 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 显示
+ 隐藏
+
+
+
+
+
+
+
+
diff --git a/src/views/market/active/modules/ColList.vue b/src/views/market/active/modules/ColList.vue
new file mode 100644
index 0000000..db6ea01
--- /dev/null
+++ b/src/views/market/active/modules/ColList.vue
@@ -0,0 +1,186 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ text ? '开启' : '关闭' }}
+
+
+
+
+ 编辑
+ 删除
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/market/active/modules/EditForm.vue b/src/views/market/active/modules/EditForm.vue
new file mode 100644
index 0000000..c68f2aa
--- /dev/null
+++ b/src/views/market/active/modules/EditForm.vue
@@ -0,0 +1,127 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 显示
+ 隐藏
+
+
+
+
+
+
+
+
diff --git a/src/views/market/active/modules/index.js b/src/views/market/active/modules/index.js
new file mode 100644
index 0000000..7b4f16a
--- /dev/null
+++ b/src/views/market/active/modules/index.js
@@ -0,0 +1,5 @@
+import AddForm from './AddForm'
+import EditForm from './EditForm'
+import ColList from './ColList'
+
+export { AddForm, EditForm, ColList }