|
@@ -13,9 +13,14 @@
|
|
>
|
|
>
|
|
<span>{{ route.meta.title }}</span>
|
|
<span>{{ route.meta.title }}</span>
|
|
</router-link>
|
|
</router-link>
|
|
- <a href="https://pcdev.ewoogi.com/adminfiv/#/" target="_blank" class="router-left router_left1">后台管理</a>
|
|
|
|
|
|
+ <a
|
|
|
|
+ :href="'http://localhost:9999/#/login?userName=admin'"
|
|
|
|
+ target="_blank"
|
|
|
|
+ class="router-left router_left1"
|
|
|
|
+ >后台管理</a
|
|
|
|
+ >
|
|
|
|
|
|
- <!-- <router-link class="router-left router_left1" to="https://www.baidu.com/"></router-link> -->
|
|
|
|
|
|
+ <!-- <router-link class="router-left router_left1" to="https://www.baidu.com/"></router-link> -->
|
|
</div>
|
|
</div>
|
|
<!-- 主页路由菜单 结束 -->
|
|
<!-- 主页路由菜单 结束 -->
|
|
<!-- 站点路由菜单 开始 -->
|
|
<!-- 站点路由菜单 开始 -->
|
|
@@ -68,10 +73,8 @@
|
|
|
|
|
|
<div class="title">{{ name }}</div>
|
|
<div class="title">{{ name }}</div>
|
|
<div class="rigth">
|
|
<div class="rigth">
|
|
-
|
|
|
|
<div class="showTime">{{ time }}</div>
|
|
<div class="showTime">{{ time }}</div>
|
|
-
|
|
|
|
-
|
|
|
|
|
|
+
|
|
<router-link class="home" to="/home" v-if="home"></router-link>
|
|
<router-link class="home" to="/home" v-if="home"></router-link>
|
|
<div class="news">
|
|
<div class="news">
|
|
<div></div>
|
|
<div></div>
|
|
@@ -85,6 +88,7 @@
|
|
|
|
|
|
<script>
|
|
<script>
|
|
import api from "@/api/index";
|
|
import api from "@/api/index";
|
|
|
|
+import { getToken } from "@/utils/auth";
|
|
export default {
|
|
export default {
|
|
name: "App",
|
|
name: "App",
|
|
data() {
|
|
data() {
|
|
@@ -96,10 +100,18 @@ export default {
|
|
options: [],
|
|
options: [],
|
|
value: 1,
|
|
value: 1,
|
|
time: null,
|
|
time: null,
|
|
|
|
+ assToken: "",
|
|
|
|
+ username: "",
|
|
|
|
+ password: "",
|
|
};
|
|
};
|
|
},
|
|
},
|
|
components: {},
|
|
components: {},
|
|
mounted() {
|
|
mounted() {
|
|
|
|
+ this.assToken = getToken();
|
|
|
|
+
|
|
|
|
+ console.log("getToken()");
|
|
|
|
+ console.log(getToken());
|
|
|
|
+
|
|
setInterval(() => {
|
|
setInterval(() => {
|
|
this.$store.commit("getTimeAll");
|
|
this.$store.commit("getTimeAll");
|
|
var time = this.$store.state.Time_All;
|
|
var time = this.$store.state.Time_All;
|
|
@@ -175,9 +187,9 @@ export default {
|
|
|
|
|
|
<style scoped lang="less">
|
|
<style scoped lang="less">
|
|
#header {
|
|
#header {
|
|
- -moz-user-select: none;//设置文本不可选中
|
|
|
|
- -webkit-user-select: none;//设置文本不可选中
|
|
|
|
- user-select: none;//设置文本不可选中
|
|
|
|
|
|
+ -moz-user-select: none; //设置文本不可选中
|
|
|
|
+ -webkit-user-select: none; //设置文本不可选中
|
|
|
|
+ user-select: none; //设置文本不可选中
|
|
.router-index {
|
|
.router-index {
|
|
position: absolute;
|
|
position: absolute;
|
|
display: flex;
|
|
display: flex;
|