From 3e54b76123ff42f229f7d8a93f975c468341af80 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=82=93=E5=B9=B3=E8=89=BA?= <52643018@qq.com> Date: Wed, 29 Sep 2021 19:18:51 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E5=95=86=E5=AE=B6=E4=B8=AD?= =?UTF-8?q?=E5=BF=83=E6=B4=BB=E5=8A=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- common/js/config.js | 2 +- pages.json | 14 + pages/business/activity/add.vue | 522 +++++++++++++++++++++++++++++++ pages/business/activity/list.vue | 302 ++++++++++++++++++ pages/business/center/center.vue | 15 + 5 files changed, 854 insertions(+), 1 deletion(-) create mode 100644 pages/business/activity/add.vue create mode 100644 pages/business/activity/list.vue diff --git a/common/js/config.js b/common/js/config.js index 0d601a8..4279dca 100644 --- a/common/js/config.js +++ b/common/js/config.js @@ -16,7 +16,7 @@ export default { //https://demo-guojiang-ec-api.guojiang.club/ baseUrl: process.env.NODE_ENV === 'development' ? - 'http://192.168.3.165/' : 'https://v3-ec-admin-dev.guojiang.club/', // 运行时自动替换变量 + 'http://192.168.3.81/' : 'https://v3-ec-admin-dev.guojiang.club/', // 运行时自动替换变量 }, PACKAGES: { activity: false, diff --git a/pages.json b/pages.json index 7be0500..cb8ff74 100644 --- a/pages.json +++ b/pages.json @@ -503,6 +503,20 @@ "navigationBarTitleText": "商家登录" , "navigationStyle":"custom" } + }, + { + "path": "pages/business/activity/add", + "style": { + "navigationBarTitleText": "新增活动" , + "navigationStyle":"custom" + } + }, + { + "path": "pages/business/activity/list", + "style": { + "navigationBarTitleText": "活动列表" , + "navigationStyle":"custom" + } } ], "globalStyle": { diff --git a/pages/business/activity/add.vue b/pages/business/activity/add.vue new file mode 100644 index 0000000..f1d529a --- /dev/null +++ b/pages/business/activity/add.vue @@ -0,0 +1,522 @@ + + + + + diff --git a/pages/business/activity/list.vue b/pages/business/activity/list.vue new file mode 100644 index 0000000..350bd08 --- /dev/null +++ b/pages/business/activity/list.vue @@ -0,0 +1,302 @@ + + + + + diff --git a/pages/business/center/center.vue b/pages/business/center/center.vue index 08391fe..b05c7f1 100644 --- a/pages/business/center/center.vue +++ b/pages/business/center/center.vue @@ -96,6 +96,21 @@ + + + 我的活动 + + + + + 新增活动 + + + + 活动列表 + + +