diff --git a/admin-ui/src/router/index.js b/admin-ui/src/router/index.js index 7dd09c2..1ffc172 100644 --- a/admin-ui/src/router/index.js +++ b/admin-ui/src/router/index.js @@ -290,6 +290,37 @@ export const asyncRouterMap = [ icon: 'chart' }, children: [ + { + path: 'articleList', + component: () => import('@/views/promotion/articleList'), + name: 'articleList', + meta: { + perms: ['GET /admin/article/list', 'POST /admin/article/delete'], + title: '公告列表', + noCache: true + } + }, + { + path: 'articleCreate', + component: () => import('@/views/promotion/articleCreate'), + name: 'articleCreate', + meta: { + perms: ['POST /admin/article/create'], + title: '发布公告', + noCache: true + } + }, + { + path: 'articleEdit', + component: () => import('@/views/promotion/articleEdit'), + name: 'articleEdit', + meta: { + perms: ['GET /admin/article/detail', 'POST /admin/article/update'], + title: '广告管理', + noCache: true + }, + hidden: true + }, { path: 'ad', component: () => import('@/views/promotion/ad'), @@ -441,6 +472,47 @@ export const asyncRouterMap = [ } ] }, + { + path: 'external-link', + component: Layout, + redirect: 'noredirect', + alwaysShow: true, + name: 'externalLink', + meta: { + title: '外链', + icon: 'link' + }, + children: [ + { + path: 'https://cloud.tencent.com/product/cos', + meta: { title: '腾讯云存储', icon: 'link' } + }, + { + path: 'https://cloud.tencent.com/product/sms', + meta: { title: '腾讯云短信', icon: 'link' } + }, + { + path: 'https://pay.weixin.qq.com/index.php/core/home/login', + meta: { title: '微信支付', icon: 'link' } + }, + { + path: 'https://mpkf.weixin.qq.com/', + meta: { title: '小程序客服', icon: 'link' } + }, + { + path: 'https://www.alibabacloud.com/zh/product/oss', + meta: { title: '阿里云存储', icon: 'link' } + }, + { + path: 'https://www.qiniu.com/products/kodo', + meta: { title: '七牛云存储', icon: 'link' } + }, + { + path: 'http://www.kdniao.com/api-track', + meta: { title: '快递鸟', icon: 'link' } + } + ] + }, { path: '/profile', component: Layout, diff --git a/admin-ui/src/views/errorPage/401.vue b/admin-ui/src/views/errorPage/401.vue index 3ff25bd..2442012 100644 --- a/admin-ui/src/views/errorPage/401.vue +++ b/admin-ui/src/views/errorPage/401.vue @@ -12,7 +12,7 @@ - +
  • 点我看图
  • diff --git a/admin-ui/src/views/errorPage/404.vue b/admin-ui/src/views/errorPage/404.vue index 1757eff..c3eafea 100644 --- a/admin-ui/src/views/errorPage/404.vue +++ b/admin-ui/src/views/errorPage/404.vue @@ -10,7 +10,7 @@
    OOPS!
    版权所有 - 源码地址 + 华尔街见闻
    {{ message }}
    请检查您输入的网址是否正确,请点击以下按钮返回主页或者发送错误报告
    diff --git a/admin-ui/src/views/goods/create.vue b/admin-ui/src/views/goods/create.vue index 74b7dca..be94c6f 100644 --- a/admin-ui/src/views/goods/create.vue +++ b/admin-ui/src/views/goods/create.vue @@ -405,7 +405,7 @@ export default { this.goods.categoryId = value[value.length - 1] }, handleCancel: function() { - this.$router.push({ path: '/goods/goods' }) + this.$router.push({ path: '/goods/list' }) }, handlePublish: function() { const finalGoods = { diff --git a/admin-ui/src/views/layout/components/Navbar.vue b/admin-ui/src/views/layout/components/Navbar.vue index 55a2d6e..17c7354 100644 --- a/admin-ui/src/views/layout/components/Navbar.vue +++ b/admin-ui/src/views/layout/components/Navbar.vue @@ -34,12 +34,12 @@ - + GitHub - + 码云 diff --git a/admin-ui/src/views/layout/components/Sidebar/FixiOSBug.js b/admin-ui/src/views/layout/components/Sidebar/FixiOSBug.js index c992cb6..5e0a926 100644 --- a/admin-ui/src/views/layout/components/Sidebar/FixiOSBug.js +++ b/admin-ui/src/views/layout/components/Sidebar/FixiOSBug.js @@ -6,6 +6,7 @@ export default { }, mounted() { // In order to fix the click on menu on the ios device will trigger the mouseeleave bug + // https://github.com/PanJiaChen/vue-element-admin/issues/1135 this.fixBugIniOS() }, methods: { diff --git a/admin-ui/src/views/user/user.vue b/admin-ui/src/views/user/user.vue index dbadbdd..7f42e8f 100644 --- a/admin-ui/src/views/user/user.vue +++ b/admin-ui/src/views/user/user.vue @@ -36,16 +36,47 @@ {{ statusDic[scope.row.status] }} + + + + + + + + {{ agencyDetail.settlementRate }} + + + + + + + + + + + + + + + +