You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1 line
39 KiB

{"remainingRequest":"D:\\code\\vue\\front\\node_modules\\vue-loader\\lib\\index.js??vue-loader-options!D:\\code\\vue\\front\\src\\pages\\index.vue?vue&type=script&lang=js","dependencies":[{"path":"D:\\code\\vue\\front\\src\\pages\\index.vue","mtime":1749055175319},{"path":"D:\\code\\vue\\front\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\code\\vue\\front\\node_modules\\babel-loader\\lib\\index.js","mtime":456789000000},{"path":"D:\\code\\vue\\front\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\code\\vue\\front\\node_modules\\vue-loader\\lib\\index.js","mtime":499162500000}],"contextDependencies":[],"result":[{"type":"Buffer","data":"base64:DQppbXBvcnQgVnVlIGZyb20gJ3Z1ZScNCmltcG9ydCBTd2lwZXIgZnJvbSAic3dpcGVyIjsNCmltcG9ydCBheGlvcyBmcm9tICdheGlvcycNCg0KZXhwb3J0IGRlZmF1bHQgew0KICAgIGRhdGEoKSB7DQoJCXJldHVybiB7DQogICAgICAgICAgICBhY3RpdmVJbmRleDogJzAnLA0KCQkJcm9sZU1lbnVzOiBbeyJiYWNrTWVudSI6W3siY2hpbGQiOlt7ImFsbEJ1dHRvbnMiOlsi5paw5aKeIiwi5p+l55yLIiwi5L+u5pS5Iiwi5Yig6ZmkIl0sImFwcEZyb250SWNvbiI6ImN1SWNvbi1mbGFzaGxpZ2h0b3BlbiIsImJ1dHRvbnMiOlsi5paw5aKeIiwi5p+l55yLIiwi5L+u5pS5Iiwi5Yig6ZmkIl0sIm1lbnUiOiLnlKjmiLciLCJtZW51SnVtcCI6IuWIl+ihqCIsInRhYmxlTmFtZSI6InlvbmdodSJ9XSwibWVudSI6IueUqOaIt+euoeeQhiJ9LHsiY2hpbGQiOlt7ImFsbEJ1dHRvbnMiOlsi5paw5aKeIiwi5p+l55yLIiwi5L+u5pS5Iiwi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ci5wdXNoKHBhdGgpOw0KCQl9LA0KICAgIH0NCn0NCg=="},{"version":3,"sources":["index.vue"],"names":[],"mappings":";AA+DA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;AAIA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA","file":"index.vue","sourceRoot":"src/pages","sourcesContent":["<template>\r\n\t<div class=\"main-containers\">\r\n\t\t<div class=\"body-containers\" :style='{\"minHeight\":\"100vh\",\"padding\":\"64px 0 0\",\"margin\":\"0\",\"position\":\"relative\",\"background\":\"#fff\"}'>\r\n\t\t<div class=\"top-container\" :style='{\"boxShadow\":\"0 0px 0px rgba(64, 158, 255, .3)\",\"padding\":\"10px 7% 0\",\"borderColor\":\"#eee\",\"alignItems\":\"center\",\"color\":\"#666\",\"textAlign\":\"right\",\"display\":\"block\",\"overflow\":\"hidden\",\"top\":\"0\",\"left\":\"0\",\"background\":\"#ffffff\",\"borderWidth\":\"0 0 1px\",\"width\":\"100%\",\"fontSize\":\"14px\",\"position\":\"fixed\",\"borderStyle\":\"solid\",\"height\":\"64px\",\"zIndex\":\"1002\"}'>\r\n\t\t\t<!-- info -->\r\n\t\t\t<div :style='{\"float\":\"left\",\"display\":\"block\"}'>\r\n\t\t\t <span :style='{\"padding\":\"0 0 0 12px\",\"lineHeight\":\"44px\",\"fontSize\":\"22px\",\"color\":\"#F5BB00\",\"float\":\"left\"}'>启熹LearnLume</span>\r\n\t\t\t</div>\r\n\t\t\t\r\n\t\t\t<div v-if=\"false\" :style='{\"margin\":\"0 10px\",\"fontSize\":\"inherit\",\"color\":\"inherit\",\"display\":\"inline-block\"}'></div>\r\n\t\t\t\r\n\t\t\t<img v-if=\"headportrait&&Token\" :style='{\"width\":\"40px\",\"margin\":\"0 0px\",\"borderRadius\":\"50%\",\"height\":\"40px\"}' :src=\"headportrait?baseUrl + headportrait:require('@/assets/avator.png')\">\r\n\t\t\t<div v-if=\"Token\" :style='{\"padding\":\"0 12px\",\"fontSize\":\"inherit\",\"lineHeight\":\"32px\",\"color\":\"inherit\",\"display\":\"inline-block\",\"height\":\"32px\"}'>{{username}}</div>\r\n\t\t\t<div v-if=\"Token && notAdmin\" :style='{\"padding\":\"0 12px\",\"fontSize\":\"inherit\",\"lineHeight\":\"32px\",\"color\":\"inherit\",\"display\":\"inline-block\",\"height\":\"32px\"}' @click=\"goMenu('/index/center')\">个人中心</div>\r\n\t\t\t<el-button v-if=\"!Token\" @click=\"toLogin()\" :style='{\"border\":\"0\",\"padding\":\"0 12px\",\"margin\":\"0 10px\",\"color\":\"#f4f4f5\",\"borderRadius\":\"2px\",\"background\":\"#F5BB00\",\"display\":\"inline-block\",\"fontSize\":\"14px\",\"lineHeight\":\"32px\",\"height\":\"32px\"}'>登录/注册</el-button>\r\n\t\t\t<el-button v-if=\"Token\" @click=\"logout\" :style='{\"border\":\"0\",\"padding\":\"0 12px\",\"margin\":\"0 10px\",\"color\":\"#fff\",\"borderRadius\":\"2px\",\"background\":\"#333\",\"display\":\"inline-block\",\"fontSize\":\"14px\",\"lineHeight\":\"32px\",\"height\":\"32px\"}'>退出</el-button>\r\n\t\t</div>\r\n\r\n\r\n\t\t\t<div class=\"menu-preview\" :style='{\"padding\":\"0 7%\",\"borderColor\":\"#efefef\",\"background\":\"#fff\",\"borderWidth\":\"0 0 1px 0\",\"width\":\"100%\",\"borderStyle\":\"solid\",\"height\":\"auto\"}'>\r\n\t\t\t<el-scrollbar wrap-class=\"scrollbar-wrapper-horizontal\">\r\n\t\t\t\t<el-menu class=\"el-menu-horizontal-demo\" :style='{\"border\":\"0\",\"padding\":\"0\",\"listStyle\":\"none\",\"margin\":\"0\",\"alignItems\":\"flex-start\",\"background\":\"none\",\"display\":\"flex\",\"position\":\"relative\",\"justifyContent\":\"space-between\"}' :default-active=\"activeMenu\" :unique-opened=\"true\" mode=\"horizontal\" :router=\"true\" @select=\"handleSelect\">\r\n\t\t\t\t\t<div class=\"userinfo\" :style='{\"width\":\"84px\",\"padding\":\"6px 10px 0\",\"display\":\"none\",\"height\":\"auto\"}'>\r\n\t\t\t\t\t <el-image :style='{\"width\":\"100%\",\"objectFit\":\"cover\",\"borderRadius\":\"20px\",\"display\":\"block\",\"height\":\"32px\"}' :src=\"headportrait?baseUrl + headportrait:require('@/assets/avator.png')\" fit=\"cover\"></el-image>\r\n\t\t\t\t\t <div :style='{\"fontSize\":\"12px\",\"lineHeight\":\"1.5\",\"color\":\"#333\",\"textAlign\":\"center\"}'>{{username}}</div>\r\n\t\t\t\t\t</div>\r\n\t\t\t\t\t<el-menu-item class=\"home\" index=\"/index/home\" @click.native=\"goMenu('/index/home')\">\r\n\t\t\t\t\t\t<span :style='{\"padding\":\"0 10px\",\"margin\":\"0\",\"color\":\"inherit\",\"width\":\"14px\",\"lineHeight\":\"56px\",\"fontSize\":\"14px\",\"height\":\"56px\"}' class=\"icon iconfont icon-shouye-zhihui\"></span>\r\n\t\t\t\t\t\t<span :style='{\"padding\":\"0 10px\",\"lineHeight\":\"56px\",\"fontSize\":\"14px\",\"color\":\"inherit\",\"height\":\"56px\"}'>首页</span>\r\n\t\t\t\t\t</el-menu-item>\r\n\t\t\t\t\t<el-menu-item class=\"item\" v-for=\"(menu, index) in menuList\" :index=\"menu.url\" :key=\"index\" @click.native=\"goMenu(menu.url)\">\r\n\t\t\t\t\t\t<i :style='{\"padding\":\"0 10px\",\"margin\":\"0\",\"color\":\"inherit\",\"width\":\"14px\",\"lineHeight\":\"56px\",\"fontSize\":\"14px\",\"height\":\"56px\"}' :class=\"iconArr[index]\"></i>\r\n\t\t\t\t\t\t<span :style='{\"padding\":\"0 10px\",\"lineHeight\":\"56px\",\"fontSize\":\"14px\",\"color\":\"inherit\",\"height\":\"56px\"}'>{{menu.name}}</span>\r\n\t\t\t\t\t</el-menu-item>\r\n\t\t\t\t\t<el-menu-item class=\"user\" index=\"/index/center\" v-if=\"Token && notAdmin\" @click.native=\"goMenu('/index/center')\">\r\n\t\t\t\t\t\t<span :style='{\"padding\":\"0 10px\",\"margin\":\"0\",\"color\":\"inherit\",\"width\":\"14px\",\"lineHeight\":\"56px\",\"fontSize\":\"14px\",\"height\":\"56px\"}' class=\"icon iconfont icon-shouye-zhihui\"></span>\r\n\t\t\t\t\t\t<span :style='{\"padding\":\"0 10px\",\"lineHeight\":\"56px\",\"fontSize\":\"14px\",\"color\":\"inherit\",\"height\":\"56px\"}'>用户中心</span>\r\n\t\t\t\t\t</el-menu-item>\r\n\t\t\t\t</el-menu>\r\n\t\t\t</el-scrollbar>\r\n\t\t\t</div>\r\n\r\n\r\n\t\t\t<div class=\"banner-preview\" :style='{\"width\":\"100%\",\"padding\":\"0\",\"height\":\"auto\"}'>\r\n\t\t\t\t<el-carousel :style='{\"width\":\"100%\",\"margin\":\"0 auto\",\"height\":\"100%\"}' trigger=\"click\" indicator-position=\"inside\" arrow=\"always\" type=\"default\" direction=\"horizontal\" height=\"500px\" :autoplay=\"true\" :interval=\"3000\" :loop=\"true\">\r\n\t\t\t\t\t<el-carousel-item :style='{\"borderRadius\":\"0px\",\"width\":\"100%\",\"height\":\"100%\"}' v-for=\"item in carouselList\" :key=\"item.id\">\r\n\t\t\t\t\t\t<el-image @click=\"carouselClick(item.url)\" :style='{\"objectFit\":\"cover\",\"width\":\"100%\",\"height\":\"100%\"}' :src=\"baseUrl + item.value\" fit=\"cover\"></el-image>\r\n\t\t\t\t\t</el-carousel-item>\r\n\t\t\t\t</el-carousel>\r\n\t\t\t</div>\r\n\r\n\r\n\t\t\t<router-view id=\"scrollView\"></router-view>\r\n\t\t\t\r\n\t\t\t<div class=\"bottom-preview\" :style='{\"width\":\"100%\",\"height\":\"auto\"}'>\r\n\t\t\t\t<div :style='{\"minHeight\":\"120px\",\"padding\":\"20px 7%\",\"overflow\":\"hidden\",\"color\":\"#fff\",\"textAlign\":\"center\",\"background\":\"#333\",\"width\":\"100%\",\"fontSize\":\"14px\",\"height\":\"auto\"}'><div v-html=\"bottomContent\"></div></div>\r\n\t\t\t</div>\r\n\t\t</div>\r\n\t\t\r\n\t</div>\r\n</template>\r\n\r\n<script>\r\nimport Vue from 'vue'\r\nimport Swiper from \"swiper\";\r\nimport axios from 'axios'\r\n\r\nexport default {\r\n data() {\r\n\t\treturn {\r\n activeIndex: '0',\r\n\t\t\troleMenus: [{\"backMenu\":[{\"child\":[{\"allButtons\":[\"新增\",\"查看\",\"修改\",\"删除\"],\"appFrontIcon\":\"cuIcon-flashlightopen\",\"buttons\":[\"新增\",\"查看\",\"修改\",\"删除\"],\"menu\":\"用户\",\"menuJump\":\"列表\",\"tableName\":\"yonghu\"}],\"menu\":\"用户管理\"},{\"child\":[{\"allButtons\":[\"新增\",\"查看\",\"修改\",\"删除\",\"课程评价\",\"学习进度\"],\"appFrontIcon\":\"cuIcon-paint\",\"buttons\":[\"新增\",\"查看\",\"修改\",\"删除\",\"学习进度\"],\"menu\":\"课程信息\",\"menuJump\":\"列表\",\"tableName\":\"kechengxinxi\"}],\"menu\":\"课程信息管理\"},{\"child\":[{\"allButtons\":[\"新增\",\"查看\",\"修改\",\"删除\"],\"appFrontIcon\":\"cuIcon-flashlightopen\",\"buttons\":[\"新增\",\"查看\",\"修改\",\"删除\"],\"menu\":\"课程类型\",\"menuJump\":\"列表\",\"tableName\":\"kechengleixing\"}],\"menu\":\"课程类型管理\"},{\"child\":[{\"allButtons\":[\"新增\",\"查看\",\"修改\",\"删除\",\"审核\"],\"appFrontIcon\":\"cuIcon-list\",\"buttons\":[\"查看\",\"删除\",\"审核\"],\"menu\":\"课程评价\",\"menuJump\":\"列表\",\"tableName\":\"kechengpingjia\"}],\"menu\":\"课程评价管理\"},{\"child\":[{\"allButtons\":[\"新增\",\"查看\",\"修改\",\"删除\",\"学习时长\",\"学习进度\",\"首页总数\",\"首页统计\"],\"appFrontIcon\":\"cuIcon-present\",\"buttons\":[\"查看\",\"修改\",\"删除\",\"首页总数\",\"首页统计\"],\"menu\":\"学习进度\",\"menuJump\":\"列表\",\"tableName\":\"xuexijindu\"}],\"menu\":\"学习进度管理\"},{\"child\":[{\"allButtons\":[\"查看\",\"修改\",\"回复\",\"删除\"],\"appFrontIcon\":\"cuIcon-message\",\"buttons\":[\"查看\",\"回复\",\"删除\"],\"menu\":\"意见反馈\",\"tableName\":\"messages\"}],\"menu\":\"意见反馈\"},{\"child\":[{\"allButtons\":[\"新增\",\"查看\",\"修改\",\"删除\"],\"appFrontIcon\":\"cuIcon-group\",\"buttons\":[\"查看\",\"删除\"],\"menu\":\"互动交流\",\"tableName\":\"forum\"}],\"menu\":\"互动交流\"},{\"child\":[{\"allButtons\":[\"新增\",\"查看\",\"修改\",\"删除\"],\"appFrontIcon\":\"cuIcon-send\",\"buttons\":[\"查看\",\"修改\",\"删除\"],\"menu\":\"轮播图管理\",\"tableName\":\"config\"},{\"allButtons\":[\"查看\",\"删除\"],\"appFrontIcon\":\"cuIcon-similar\",\"buttons\":[\"查看\",\"删除\"],\"menu\":\"系统日志\",\"tableName\":\"syslog\"}],\"menu\":\"系统管理\"}],\"frontMenu\":[{\"child\":[{\"allButtons\":[\"新增\",\"查看\",\"修改\",\"删除\",\"课程评价\",\"学习进度\"],\"appFrontIcon\":\"cuIcon-skin\",\"buttons\":[\"查看\",\"课程评价\"],\"menu\":\"课程信息列表\",\"menuJump\":\"列表\",\"tableName\":\"kechengxinxi\"}],\"menu\":\"课程信息模块\"}],\"hasBackLogin\":\"是\",\"hasBackRegister\":\"否\",\"hasFrontLogin\":\"否\",\"hasFrontRegister\":\"否\",\"roleName\":\"管理员\",\"tableName\":\"users\"},{\"backMenu\":[{\"child\":[{\"allButtons\":[\"新增\",\"查看\",\"修改\",\"删除\",\"审核\"],\"appFrontIcon\":\"cuIcon-list\",\"buttons\":[\"查看\"],\"menu\":\"课程评价\",\"menuJump\":\"列表\",\"tableName\":\"kechengpingjia\"}],\"menu\":\"课程评价管理\"},{\"child\":[{\"allButtons\":[\"新增\",\"查看\",\"修改\",\"删除\",\"学习时长\",\"学习进度\",\"首页总数\",\"首页统计\"],\"appFrontIcon\":\"cuIcon-present\",\"buttons\":[\"查看\"],\"menu\":\"学习进度\",\"menuJump\":\"列表\",\"tableName\":\"xuexijindu\"}],\"menu\":\"学习进度管理\"}],\"frontMenu\":[{\"child\":[{\"allButtons\":[\"新增\",\"查看\",\"修改\",\"删除\",\"课程评价\",\"学习进度\"],\"appFrontIcon\":\"cuIcon-skin\",\"buttons\":[\"查看\",\"课程评价\"],\"menu\":\"课程信息列表\",\"menuJump\":\"列表\",\"tableName\":\"kechengxinxi\"}],\"menu\":\"课程信息模块\"}],\"hasBackLogin\":\"否\",\"hasBackRegister\":\"否\",\"hasFrontLogin\":\"是\",\"hasFrontRegister\":\"是\",\"roleName\":\"用户\",\"tableName\":\"yonghu\"}],\r\n\t\t\tbaseUrl: '',\r\n\t\t\tcarouselList: [],\r\n\t\t\tmenuList: [],\r\n\t\t\tform: {\r\n\t\t\t\task: '',\r\n\t\t\t\tuserid: localStorage.getItem('frontUserid')\r\n\t\t\t},\r\n\t\t\theadportrait: localStorage.getItem('frontHeadportrait')?localStorage.getItem('frontHeadportrait'):'',\r\n\t\t\tToken: localStorage.getItem('frontToken'),\r\n username: localStorage.getItem('username'),\r\n notAdmin: localStorage.getItem('frontSessionTable')!='\"users\"',\r\n\t\t\ttimer: '',\r\n\t\t\ticonArr: [\r\n\t\t\t\t'el-icon-star-off',\r\n\t\t\t\t'el-icon-goods',\r\n\t\t\t\t'el-icon-warning',\r\n\t\t\t\t'el-icon-question',\r\n\t\t\t\t'el-icon-info',\r\n\t\t\t\t'el-icon-help',\r\n\t\t\t\t'el-icon-picture-outline-round',\r\n\t\t\t\t'el-icon-camera-solid',\r\n\t\t\t\t'el-icon-video-camera-solid',\r\n\t\t\t\t'el-icon-video-camera',\r\n\t\t\t\t'el-icon-bell',\r\n\t\t\t\t'el-icon-s-cooperation',\r\n\t\t\t\t'el-icon-s-order',\r\n\t\t\t\t'el-icon-s-platform',\r\n\t\t\t\t'el-icon-s-operation',\r\n\t\t\t\t'el-icon-s-promotion',\r\n\t\t\t\t'el-icon-s-release',\r\n\t\t\t\t'el-icon-s-ticket',\r\n\t\t\t\t'el-icon-s-management',\r\n\t\t\t\t'el-icon-s-open',\r\n\t\t\t\t'el-icon-s-shop',\r\n\t\t\t\t'el-icon-s-marketing',\r\n\t\t\t\t'el-icon-s-flag',\r\n\t\t\t\t'el-icon-s-comment',\r\n\t\t\t\t'el-icon-s-finance',\r\n\t\t\t\t'el-icon-s-claim',\r\n\t\t\t\t'el-icon-s-opportunity',\r\n\t\t\t\t'el-icon-s-data',\r\n\t\t\t\t'el-icon-s-check'\r\n\t\t\t],\r\n\t\t\tbottomContent: '',\r\n\t\t}\r\n },\r\n created() {\r\n\t\tthis.baseUrl = this.$config.baseUrl;\r\n\t\tthis.menuList = this.$config.indexNav;\r\n\t\tthis.getCarousel();\r\n if(localStorage.getItem('frontToken') && localStorage.getItem('frontToken')!=null) {\r\n\t\t\tthis.getSession()\r\n }\r\n },\r\n mounted() {\r\n this.activeIndex = localStorage.getItem('keyPath') || '0';\r\n\r\n\r\n\r\n },\r\n computed: {\r\n\t\tactiveMenu() {\r\n\t\t\tconst route = this.$route\r\n\t\t\tconst {\r\n\t\t\t\tmeta,\r\n\t\t\t\tpath\r\n\t\t\t} = route\r\n\t\t\t// if st path, the sidebar will highlight the path you sete\r\n\t\t\tif (meta.activeMenu) {\r\n\t\t\t\treturn meta.activeMenu\r\n\t\t\t}\r\n\t\t\treturn path\r\n\t\t},\r\n },\r\n watch: {\r\n $route(newValue) {\r\n let that = this\r\n let url = window.location.href\r\n let arr = url.split('#')\r\n for (let x in this.menuList) {\r\n if (newValue.path == this.menuList[x].url) {\r\n this.activeIndex = x\r\n }\r\n }\r\n this.Token = localStorage.getItem('frontToken')\r\n if(arr[1]!='/index/home'){\r\n \tvar element = document.getElementById('scrollView');\r\n \tvar distance = element.offsetTop;\r\n \twindow.scrollTo( 0, distance )\r\n }else{\r\n \twindow.scrollTo( 0, 0 )\r\n }\r\n },\r\n\t\theadportrait(){\r\n\t\t\tthis.$forceUpdate()\r\n\t\t},\r\n },\r\n methods: {\r\n\r\n\t\tasync getSession() {\r\n\t\t\tawait this.$http.get(`${localStorage.getItem('UserTableName')}/session`, {emulateJSON: true}).then(async res => {\r\n\t\t\t\tif (res.data.code == 0) {\r\n\t\t\t\t\tlocalStorage.setItem('sessionForm',JSON.stringify(res.data.data))\r\n\t\t\t\t\tlocalStorage.setItem('frontUserid', res.data.data.id);\r\n\t\t\t\t\tif(res.data.data.vip) {\r\n\t\t\t\t\t\tlocalStorage.setItem('vip', res.data.data.vip);\r\n\t\t\t\t\t}\r\n\t\t\t\t\tif(res.data.data.touxiang) {\r\n\t\t\t\t\t\tthis.headportrait = res.data.data.touxiang\r\n\t\t\t\t\t\tlocalStorage.setItem('frontHeadportrait', res.data.data.touxiang);\r\n\t\t\t\t\t} else if(res.data.data.headportrait) {\r\n\t\t\t\t\t\tthis.headportrait = res.data.data.headportrait\r\n\t\t\t\t\t\tlocalStorage.setItem('frontHeadportrait', res.data.data.headportrait);\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t});\r\n\t\t},\r\n handleSelect(keyPath) {\r\n if (keyPath) {\r\n localStorage.setItem('keyPath', keyPath)\r\n }\r\n },\r\n\t\ttoLogin() {\r\n\t\t this.$router.push('/login');\r\n\t\t},\r\n logout() {\r\n localStorage.clear();\r\n Vue.http.headers.common['Token'] = \"\";\r\n this.$router.push('/index/home');\r\n this.activeIndex = '0'\r\n localStorage.setItem('keyPath', this.activeIndex)\r\n this.Token = ''\r\n this.$forceUpdate()\r\n this.$message({\r\n message: '登出成功',\r\n type: 'success',\r\n duration: 1000,\r\n });\r\n },\r\n\t\tgetCarousel() {\r\n\t\t\tthis.$http.get('config/list', {params: { page: 1, limit: 3 }}).then(res => {\r\n\t\t\t\tif (res.data.code == 0) {\r\n\t\t\t\t\tthis.carouselList = res.data.data.list;\r\n\t\t\t\t}\r\n\t\t\t});\r\n\t\t},\r\n\t\t// 轮播图跳转\r\n\t\tcarouselClick(url) {\r\n\t\t\tif (url) {\r\n\t\t\t\tif (url.indexOf('https') != -1) {\r\n\t\t\t\t\twindow.open(url)\r\n\t\t\t\t} else {\r\n\t\t\t\t\tthis.$router.push(url)\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t},\r\n\t\tgoBackend() {\r\n\t\t\tlocalStorage.setItem('Token', localStorage.getItem('frontToken'));\r\n\t\t\tlocalStorage.setItem('role', localStorage.getItem('frontRole'));\r\n\t\t\tlocalStorage.setItem('sessionTable', localStorage.getItem('frontSessionTable'));\r\n\t\t\tlocalStorage.setItem('headportrait', localStorage.getItem('frontHeadportrait'));\r\n\t\t\tlocalStorage.setItem('userid', localStorage.getItem('frontUserid'));\r\n\t\t\twindow.open(`${this.$config.baseUrl}admin/dist/index.html`, \"_blank\");\r\n\t\t},\r\n\t\tgoMenu(path) {\r\n this.$router.push(path);\r\n\t\t},\r\n }\r\n}\r\n</script>\r\n\r\n<style rel=\"stylesheet/scss\" lang=\"scss\" scoped>\r\n\t.menu-preview {\r\n\t .el-scrollbar {\r\n\t height: 100%;\r\n\t \r\n\t & /deep/ .scrollbar-wrapper-vertical {\r\n\t overflow-x: hidden;\r\n\t }\r\n\t \r\n\t & /deep/ .scrollbar-wrapper-horizontal {\r\n\t overflow-y: hidden;\r\n\t \r\n\t .el-scrollbar__view {\r\n\t white-space: nowrap;\r\n\t }\r\n\t }\r\n\t }\r\n\t}\r\n\t\r\n\t\r\n\t.menu-preview .el-menu-horizontal-demo .el-menu-item.home {\r\n\t\t\t\tcursor: pointer;\r\n\t\t\t\tborder: 0;\r\n\t\t\t\tpadding: 0 0px;\r\n\t\t\t\tmargin: 0;\r\n\t\t\t\tcolor: #333;\r\n\t\t\t\twhite-space: nowrap;\r\n\t\t\t\tdisplay: flex;\r\n\t\t\t\tfont-size: 14px;\r\n\t\t\t\tline-height: 56px;\r\n\t\t\t\tbackground: none;\r\n\t\t\t\talign-items: center;\r\n\t\t\t\tposition: relative;\r\n\t\t\t\tlist-style: none;\r\n\t\t\t\theight: 56px;\r\n\t\t\t}\r\n\t\r\n\t.menu-preview .el-menu-horizontal-demo .el-menu-item.home:hover {\r\n\t\t\t\tcolor: #F5BB00;\r\n\t\t\t\tbackground: none;\r\n\t\t\t\tborder-color: #F5BB00;\r\n\t\t\t\tborder-width: 0 0 2px;\r\n\t\t\t\tborder-style: solid;\r\n\t\t\t}\r\n\t\r\n\t.menu-preview .el-menu-horizontal-demo .el-menu-item.home.is-active {\r\n\t\t\t\tcolor: #F5BB00;\r\n\t\t\t\tbackground: none;\r\n\t\t\t\tborder-color: #F5BB00;\r\n\t\t\t\tborder-width: 0 0 2px;\r\n\t\t\t\tborder-style: solid;\r\n\t\t\t}\r\n\t\r\n\t.menu-preview .el-menu-horizontal-demo .el-menu-item.user {\r\n\t\t\t\tcursor: pointer;\r\n\t\t\t\tborder: 0;\r\n\t\t\t\tpadding: 0 0px;\r\n\t\t\t\tcolor: #333;\r\n\t\t\t\twhite-space: nowrap;\r\n\t\t\t\tdisplay: none;\r\n\t\t\t\tfont-size: 14px;\r\n\t\t\t\tline-height: 56px;\r\n\t\t\t\tbackground: #fff;\r\n\t\t\t\talign-items: center;\r\n\t\t\t\tposition: relative;\r\n\t\t\t\tlist-style: none;\r\n\t\t\t\theight: 56px;\r\n\t\t\t\torder: 2;\r\n\t\t\t}\r\n\t\r\n\t.menu-preview .el-menu-horizontal-demo .el-menu-item.user:hover {\r\n\t\t\t\tcolor: #F5BB00;\r\n\t\t\t\tbackground: none;\r\n\t\t\t\tborder-color: #F5BB00;\r\n\t\t\t\tborder-width: 0 0 2px;\r\n\t\t\t\tborder-style: solid;\r\n\t\t\t}\r\n\t\r\n\t.menu-preview .el-menu-horizontal-demo .el-menu-item.user.is-active {\r\n\t\t\t\tcolor: #F5BB00;\r\n\t\t\t\tbackground: none;\r\n\t\t\t\tborder-color: #F5BB00;\r\n\t\t\t\tborder-width: 0 0 2px;\r\n\t\t\t\tborder-style: solid;\r\n\t\t\t}\r\n\t\r\n\t.menu-preview .el-menu-horizontal-demo .el-menu-item.service {\r\n\t\t\t\tcursor: pointer;\r\n\t\t\t\tborder: 0;\r\n\t\t\t\tpadding: 0 0px;\r\n\t\t\t\tcolor: #333;\r\n\t\t\t\twhite-space: nowrap;\r\n\t\t\t\tdisplay: none;\r\n\t\t\t\tfont-size: 14px;\r\n\t\t\t\tline-height: 56px;\r\n\t\t\t\tbackground: #fff;\r\n\t\t\t\talign-items: center;\r\n\t\t\t\tposition: relative;\r\n\t\t\t\tlist-style: none;\r\n\t\t\t\theight: 56px;\r\n\t\t\t\torder: 3;\r\n\t\t\t}\r\n\t\r\n\t.menu-preview .el-menu-horizontal-demo .el-menu-item.service:hover {\r\n\t\t\t\tcolor: #F5BB00;\r\n\t\t\t\tbackground: none;\r\n\t\t\t\tborder-color: #F5BB00;\r\n\t\t\t\tborder-width: 0 0 2px;\r\n\t\t\t\tborder-style: solid;\r\n\t\t\t}\r\n\t\r\n\t.menu-preview .el-menu-horizontal-demo .el-menu-item.service.is-active {\r\n\t\t\t\tcolor: #F5BB00;\r\n\t\t\t\tbackground: none;\r\n\t\t\t\tborder-color: #F5BB00;\r\n\t\t\t\tborder-width: 0 0 2px;\r\n\t\t\t\tborder-style: solid;\r\n\t\t\t}\r\n\t\r\n\t.menu-preview .el-menu-horizontal-demo .el-menu-item.shop {\r\n\t\t\t\tcursor: pointer;\r\n\t\t\t\tborder: 0;\r\n\t\t\t\tpadding: 0 0px;\r\n\t\t\t\tcolor: #333;\r\n\t\t\t\twhite-space: nowrap;\r\n\t\t\t\tdisplay: none;\r\n\t\t\t\tfont-size: 14px;\r\n\t\t\t\tline-height: 56px;\r\n\t\t\t\tbackground: #fff;\r\n\t\t\t\talign-items: center;\r\n\t\t\t\tposition: relative;\r\n\t\t\t\tlist-style: none;\r\n\t\t\t\theight: 56px;\r\n\t\t\t\torder: 4;\r\n\t\t\t}\r\n\t\r\n\t.menu-preview .el-menu-horizontal-demo .el-menu-item.shop:hover {\r\n\t\t\t\tcolor: #F5BB00;\r\n\t\t\t\tbackground: none;\r\n\t\t\t\tborder-color: #F5BB00;\r\n\t\t\t\tborder-width: 0 0 2px;\r\n\t\t\t\tborder-style: solid;\r\n\t\t\t}\r\n\t\r\n\t.menu-preview .el-menu-horizontal-demo .el-menu-item.shop.is-active {\r\n\t\t\t\tcolor: #F5BB00;\r\n\t\t\t\tbackground: none;\r\n\t\t\t\tborder-color: #F5BB00;\r\n\t\t\t\tborder-width: 0 0 2px;\r\n\t\t\t\tborder-style: solid;\r\n\t\t\t}\r\n\t\r\n\t.menu-preview .el-menu-horizontal-demo .el-menu-item.back {\r\n\t\t\t\tcursor: pointer;\r\n\t\t\t\tborder: 0;\r\n\t\t\t\tpadding: 0 10px;\r\n\t\t\t\tcolor: #333;\r\n\t\t\t\twhite-space: nowrap;\r\n\t\t\t\tdisplay: flex;\r\n\t\t\t\tfont-size: 14px;\r\n\t\t\t\tline-height: 56px;\r\n\t\t\t\tbackground: #fff;\r\n\t\t\t\talign-items: center;\r\n\t\t\t\tposition: relative;\r\n\t\t\t\tlist-style: none;\r\n\t\t\t\theight: 56px;\r\n\t\t\t\torder: 5;\r\n\t\t\t}\r\n\t\r\n\t.menu-preview .el-menu-horizontal-demo .el-menu-item.back:hover {\r\n\t\t\t\tcolor: #F5BB00;\r\n\t\t\t\tbackground: none;\r\n\t\t\t\tborder-color: #F5BB00;\r\n\t\t\t\tborder-width: 0 0 2px;\r\n\t\t\t\tborder-style: solid;\r\n\t\t\t}\r\n\t\r\n\t.menu-preview .el-menu-horizontal-demo .el-menu-item.back.is-active {\r\n\t\t\t\tcolor: #F5BB00;\r\n\t\t\t\tbackground: none;\r\n\t\t\t\tborder-color: #F5BB00;\r\n\t\t\t\tborder-width: 0 0 2px;\r\n\t\t\t\tborder-style: solid;\r\n\t\t\t}\r\n\t\r\n\t.menu-preview .el-menu-horizontal-demo .el-menu-item.item {\r\n\t\t\t\tcursor: pointer;\r\n\t\t\t\tborder: 0;\r\n\t\t\t\tpadding: 0 0px;\r\n\t\t\t\tcolor: #333;\r\n\t\t\t\twhite-space: nowrap;\r\n\t\t\t\tdisplay: flex;\r\n\t\t\t\tfont-size: 14px;\r\n\t\t\t\tline-height: 56px;\r\n\t\t\t\tbackground: #fff;\r\n\t\t\t\talign-items: center;\r\n\t\t\t\tposition: relative;\r\n\t\t\t\tlist-style: none;\r\n\t\t\t\theight: 56px;\r\n\t\t\t}\r\n\t\r\n\t.menu-preview .el-menu-horizontal-demo .el-menu-item.item:hover {\r\n\t\t\t\tcolor: #F5BB00;\r\n\t\t\t\tbackground: none;\r\n\t\t\t\tborder-color: #F5BB00;\r\n\t\t\t\tborder-width: 0 0 2px;\r\n\t\t\t\tborder-style: solid;\r\n\t\t\t}\r\n\t\r\n\t.menu-preview .el-menu-horizontal-demo .el-menu-item.item.is-active {\r\n\t\t\t\tcolor: #F5BB00;\r\n\t\t\t\tbackground: none;\r\n\t\t\t\tborder-color: #F5BB00;\r\n\t\t\t\tborder-width: 0 0 2px;\r\n\t\t\t\tborder-style: solid;\r\n\t\t\t}\r\n\t\r\n\t.banner-preview {\r\n\t .el-carousel /deep/ .el-carousel__indicator button {\r\n\t width: 0;\r\n\t height: 0;\r\n\t display: none;\r\n\t }\r\n\t}\r\n\t\r\n\t.banner-preview .el-carousel /deep/ .el-carousel__container .el-carousel__arrow--left {\r\n\t\twidth: 36px;\r\n\t\tfont-size: 12px;\r\n\t\theight: 36px;\r\n\t}\r\n\t\r\n\t.banner-preview .el-carousel /deep/ .el-carousel__container .el-carousel__arrow--left:hover {\r\n\t\tbackground: red;\r\n\t}\r\n\t\r\n\t.banner-preview .el-carousel /deep/ .el-carousel__container .el-carousel__arrow--right {\r\n\t\twidth: 36px;\r\n\t\tfont-size: 12px;\r\n\t\theight: 36px;\r\n\t}\r\n\t\r\n\t.banner-preview .el-carousel /deep/ .el-carousel__container .el-carousel__arrow--right:hover {\r\n\t\tbackground: red;\r\n\t}\r\n\r\n\t.banner-preview .el-carousel /deep/ .el-carousel__indicators {\r\n\t\tpadding: 0;\r\n\t\tmargin: 0 0 10px;\r\n\t\tz-index: 2;\r\n\t\tposition: absolute;\r\n\t\tlist-style: none;\r\n\t}\r\n\t\r\n\t.banner-preview .el-carousel /deep/ .el-carousel__indicators li {\r\n\t\tborder-radius: 100%;\r\n\t\tpadding: 0;\r\n\t\tmargin: 0 4px;\r\n\t\tbackground: #fff;\r\n\t\tdisplay: inline-block;\r\n\t\twidth: 12px;\r\n\t\topacity: 0.4;\r\n\t\ttransition: 0.3s;\r\n\t\theight: 12px;\r\n\t}\r\n\t\r\n\t.banner-preview .el-carousel /deep/ .el-carousel__indicators li:hover {\r\n\t\tborder-radius: 100%;\r\n\t\tpadding: 0;\r\n\t\tmargin: 0 4px;\r\n\t\tbackground: #fff;\r\n\t\tdisplay: inline-block;\r\n\t\twidth: 12px;\r\n\t\topacity: 0.7;\r\n\t\theight: 12px;\r\n\t}\r\n\t\r\n\t.banner-preview .el-carousel /deep/ .el-carousel__indicators li.is-active {\r\n\t\tborder-radius: 100%;\r\n\t\tpadding: 0;\r\n\t\tmargin: 0 4px;\r\n\t\tbackground: #fff;\r\n\t\tdisplay: inline-block;\r\n\t\twidth: 12px;\r\n\t\topacity: 1;\r\n\t\theight: 12px;\r\n\t}\r\n\r\n .chat-content {\r\n padding-bottom: 20px;\r\n width: 100%;\r\n margin-bottom: 10px;\r\n max-height: 300px;\r\n height: 300px;\r\n overflow-y: scroll;\r\n border: 1px solid #eeeeee;\r\n background: #fff;\r\n\r\n .left-content {\r\n float: left;\r\n margin-bottom: 10px;\r\n padding: 10px;\r\n max-width: 80%;\r\n }\r\n\r\n .right-content {\r\n float: right;\r\n margin-bottom: 10px;\r\n padding: 10px;\r\n max-width: 80%;\r\n }\r\n }\r\n\r\n .clear-float {\r\n clear: both;\r\n }\r\n\r\n\r\n\t\r\n\t// -------- search --------\r\n\t.main-containers .search .select /deep/ .el-input__inner {\r\n\t\t\t\tborder: 0;\r\n\t\t\t\tborder-radius: 4px;\r\n\t\t\t\tpadding: 0 30px 0 10px;\r\n\t\t\t\tbox-shadow: 0 0 6px rgba(64, 158, 255, .3);\r\n\t\t\t\toutline: none;\r\n\t\t\t\tcolor: rgba(64, 158, 255, 1);\r\n\t\t\t\twidth: 180px;\r\n\t\t\t\tfont-size: 14px;\r\n\t\t\t\theight: 44px;\r\n\t\t\t}\r\n\t\r\n\t.main-containers .search .input /deep/ .el-input__inner {\r\n\t\t\t\tborder: 0;\r\n\t\t\t\tborder-radius: 4px;\r\n\t\t\t\tpadding: 0 10px;\r\n\t\t\t\tbox-shadow: 0 0 6px rgba(64, 158, 255, .3);\r\n\t\t\t\toutline: none;\r\n\t\t\t\tcolor: rgba(64, 158, 255, 1);\r\n\t\t\t\twidth: 180px;\r\n\t\t\t\tfont-size: 14px;\r\n\t\t\t\theight: 44px;\r\n\t\t\t}\r\n\t// -------- search --------\r\n\t\r\n\t.main-containers .btn-service {\r\n\t\t\t\tborder: 0;\r\n\t\t\t\tpadding: 0 8px;\r\n\t\t\t\tmargin: 0 10px;\r\n\t\t\t\tcolor: #333;\r\n\t\t\t\tbackground: none;\r\n\t\t\t\twidth: auto;\r\n\t\t\t\tfont-size: 14px;\r\n\t\t\t\tline-height: 32px;\r\n\t\t\t\theight: 32px;\r\n\t\t\t}\r\n\t\r\n\t.main-containers .btn-service:hover {\r\n\t\t\t\tcolor: #333;\r\n\t\t\t\tbackground: none;\r\n\t\t\t}\r\n\t\r\n\t.main-containers .btn-shop {\r\n\t\t\t\tborder: 0;\r\n\t\t\t\tpadding: 0 8px;\r\n\t\t\t\tmargin: 0 10px;\r\n\t\t\t\tcolor: #333;\r\n\t\t\t\tbackground: none;\r\n\t\t\t\twidth: auto;\r\n\t\t\t\tfont-size: 14px;\r\n\t\t\t\tline-height: 32px;\r\n\t\t\t\theight: 32px;\r\n\t\t\t}\r\n\t\r\n\t.main-containers .btn-shop:hover {\r\n\t\t\t\tcolor: #333;\r\n\t\t\t\tbackground: none;\r\n\t\t\t}\r\n</style>\r\n"]}]}