Browse Source

恢复router配置

pull/95/head
zq 1 month ago
parent
commit
2fc7ce9329
  1. 2
      src/main.js
  2. 32
      src/router/index.js
  3. 2
      src/style/theme/common.scss

2
src/main.js

@ -23,7 +23,7 @@ Vue.prototype.$loadingFn = LoadingService;
Vue.config.productionTip = false; Vue.config.productionTip = false;
// 请求 // 请求
Vue.prototype.$http = request; Vue.prototype.$http = request;
Vue.prototype.$token = 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpYXQiOjE3NTAwNTM3MjQsIm5iZiI6MTc1MDA1MzcyNCwiZXhwIjoxNzUyNjQ1NzI0LCJ1c2VyIjoic3VidXNlciIsImxvZ2luX3R5cGUiOjAsImFpZCI6IjEifQ.xyIqBLelB-k6jCifgRevBJTyg_Qrm6m1e4OcHhOpepU', Vue.prototype.$token = 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpYXQiOjE3NTI2NDY1NDUsIm5iZiI6MTc1MjY0NjU0NSwiZXhwIjoxNzU1MjM4NTQ1LCJ1c2VyIjoic3VidXNlciIsImxvZ2luX3R5cGUiOjAsImFpZCI6IjEifQ.G-Is-x9qPMiV_urOlDPQVRjfAIozySxL5EK2k82d46k',
Vue.use(ElementUI); Vue.use(ElementUI);
Vue.use(GuipMessage) Vue.use(GuipMessage)
Vue.use(clipboard); Vue.use(clipboard);

32
src/router/index.js

@ -188,7 +188,7 @@ const routes = [{
name: '站点基本设置', name: '站点基本设置',
component: () => import( /* webpackChunkName: "siteList" */ '../views/agent/siteBaseSetting.vue'), component: () => import( /* webpackChunkName: "siteList" */ '../views/agent/siteBaseSetting.vue'),
meta: { meta: {
// title: '站点设置', title: '站点设置',
breadcrumbParent: '站点列表' // 手动指定父级 breadcrumbParent: '站点列表' // 手动指定父级
// 如果想隐藏中间层级 // 如果想隐藏中间层级
// breadcrumbParent: '首页', // 跳过医生信息 // breadcrumbParent: '首页', // 跳过医生信息
@ -200,7 +200,7 @@ const routes = [{
name: '移动端设置', name: '移动端设置',
component: () => import( /* webpackChunkName: "siteList" */ '../views/agent/siteMobileSetting.vue'), component: () => import( /* webpackChunkName: "siteList" */ '../views/agent/siteMobileSetting.vue'),
meta: { meta: {
// title: '站点设置', title: '站点设置',
breadcrumbParent: '站点列表' // 手动指定父级 breadcrumbParent: '站点列表' // 手动指定父级
// 如果想隐藏中间层级 // 如果想隐藏中间层级
// breadcrumbParent: '首页', // 跳过医生信息 // breadcrumbParent: '首页', // 跳过医生信息
@ -212,7 +212,7 @@ const routes = [{
name: '营销推广', name: '营销推广',
component: () => import( /* webpackChunkName: "siteList" */ '../views/agent/siteSemSetting.vue'), component: () => import( /* webpackChunkName: "siteList" */ '../views/agent/siteSemSetting.vue'),
meta: { meta: {
// title: '站点设置', title: '站点设置',
breadcrumbParent: '站点列表' // 手动指定父级 breadcrumbParent: '站点列表' // 手动指定父级
} }
}, },
@ -221,18 +221,18 @@ const routes = [{
name: '个性化设置', name: '个性化设置',
component: () => import( /* webpackChunkName: "siteList" */ '../views/agent/sitePersonalization.vue'), component: () => import( /* webpackChunkName: "siteList" */ '../views/agent/sitePersonalization.vue'),
meta: { meta: {
// title: '站点设置', title: '站点设置',
breadcrumbParent: '站点列表' // 手动指定父级 breadcrumbParent: '站点列表' // 手动指定父级
} }
}, },
{ {
path: '/agent/siteTemplate', path: '/agent/siteTemplate',
name: '网页模板', name: '个性化设置',
component: () => import( /* webpackChunkName: "siteList" */ '../views/agent/siteTemplate.vue'), component: () => import( /* webpackChunkName: "siteList" */ '../views/agent/siteTemplate.vue'),
meta: { // meta: {
title: '网页模板', // title: '站点设置',
breadcrumbParent: '个性化设置' // 手动指定父级 // breadcrumbParent: '站点列表' // 手动指定父级
} // }
}, },
{ {
path: '/agent/payList', path: '/agent/payList',
@ -337,15 +337,11 @@ const routes = [{
// }, // },
// ] // ]
// }, // },
// { {
// path: '/pageTemplete', path: '/pageTemplete',
// name: '网页模板', name: '网页模板',
// component: () => import( /* webpackChunkName: "pageTemplete" */ '../views/PageTemplete.vue'), component: () => import( /* webpackChunkName: "pageTemplete" */ '../views/PageTemplete.vue')
// meta: { },
// title: '网页模板',
// breadcrumbParent: '站点设置' // 手动指定父级
// }
// },
// -----------------分隔符----------- // -----------------分隔符-----------

2
src/style/theme/common.scss

@ -631,7 +631,7 @@ body {
// textarea start // textarea start
.el-textarea__inner { .el-textarea__inner {
padding: 10px 12px 30px; padding: 10px 12px;
border-radius: 2px; border-radius: 2px;
height: 100% !important; height: 100% !important;
font-family: Microsoft YaHei UI; font-family: Microsoft YaHei UI;

Loading…
Cancel
Save