diff --git a/src/assets/timesNum.png b/src/assets/timesNum.png new file mode 100644 index 0000000..6e9f0ea Binary files /dev/null and b/src/assets/timesNum.png differ diff --git a/src/router/index.js b/src/router/index.js index 7c90cd6..a2492a1 100755 --- a/src/router/index.js +++ b/src/router/index.js @@ -383,7 +383,17 @@ const routes = [{ breadcrumbParent: '代收款结算' // 一级页面不显示面包屑 } }, - + // 运营工具 start + { + path: '/agent/checkCardList', + name: '卡券管理', + isFirst:true, + component: () => import( /* webpackChunkName: "checkCardList" */ '../views/agent/checkCardList.vue'), + meta: { + hideBreadcrumb: true // 一级页面不显示面包屑 + } + }, + // 运营工具 end // -----------------分隔符----------- // 管理员start @@ -641,9 +651,11 @@ router.beforeEach((to, from, next) => { store.commit('SET_CUSTOMIZE', true); store.commit('SET_SLIDER_MENU', 'rankMenuData'); } - + if (to.path.includes('/super/paiban/')) { //匹配包含此路径的 侧边栏数据 store.commit('SET_SIDEBAR', false); + store.commit('SET_CUSTOMIZE', true); + store.commit('SET_SLIDER_MENU', 'lunyiData'); } } if (blackFooterList.includes(to.path)) { diff --git a/src/store/index.js b/src/store/index.js index d7beab7..225cc16 100755 --- a/src/store/index.js +++ b/src/store/index.js @@ -229,18 +229,26 @@ export default new Vuex.Store({ title: '运营工具', icon: 'operatingTools', children: [ + { index: '6-1', - title: '检测卡', - path: '/card/check_card_list', - external: true,//是否跳转外部链接 - }, - { - index: '6-2', - title: '微信代金券', - path: '/service/coupon_stocks', - external: true,//是否跳转外部链接 + title: '卡券管理', + path: '/agent/checkCardList', + external: false,//是否跳转外部链接 }, + + // { + // index: '6-1', + // title: '检测卡', + // path: '/card/check_card_list', + // external: true,//是否跳转外部链接 + // }, + // { + // index: '6-2', + // title: '微信代金券', + // path: '/service/coupon_stocks', + // external: true,//是否跳转外部链接 + // }, { index: '6-3', title: '公众号发券', diff --git a/src/style/theme/common.scss b/src/style/theme/common.scss index e7805c9..5dc4bd9 100644 --- a/src/style/theme/common.scss +++ b/src/style/theme/common.scss @@ -100,6 +100,14 @@ body { display: flex; gap: 12px; } +.gap20{ + display: flex; + gap: 20px; +} +.gap24{ + display: flex; + gap: 24px; +} .mt16 { margin-top: 16px; @@ -142,6 +150,7 @@ body { margin-top: 10px; } + .ceshi { transition: all .5s; box-sizing: border-box; diff --git a/src/views/agent/checkCardList.vue b/src/views/agent/checkCardList.vue new file mode 100644 index 0000000..925d6e0 --- /dev/null +++ b/src/views/agent/checkCardList.vue @@ -0,0 +1,382 @@ + + + \ No newline at end of file