Commit 70e84c2f authored by liang's avatar liang

首页修改

parent f7fe5744
export default [
{ value: 45, name: "重庆市" },
{ value: 20589, name: "浙江省" },
{ value: 2149, name: "云南省" },
{ value: 1308, name: "四川省" },
{ value: 13175, name: "上海市" },
{ value: 555, name: "陕西省" },
{ value: 30, name: "山西省" },
{ value: 410, name: "山东省" },
{ value: 33, name: "青海省" },
{ value: 7346, name: "宁夏" },
{ value: 24635, name: "内蒙古" },
{ value: 1014, name: "辽宁省" },
{ value: 1043, name: "江西省" },
{ value: 16477, name: "江苏省" },
{ value: 3, name: "吉林省" },
{ value: 1490, name: "湖南省" },
{ value: 938, name: "湖北省" },
{ value: 179, name: "黑龙江省" },
{ value: 2970, name: "河南省" },
{ value: 936, name: "河北省" },
{ value: 633, name: "广西" },
{ value: 36296, name: "广东省" },
{ value: 63, name: "甘肃省" },
{ value: 986, name: "福建省" },
{ value: 205, name: "北京市" },
{ value: 1059, name: "安徽省" },
]
...@@ -5,6 +5,7 @@ ...@@ -5,6 +5,7 @@
import * as echarts from "echarts" import * as echarts from "echarts"
import china from "./china.json" import china from "./china.json"
import allCode from "./allCode.json" import allCode from "./allCode.json"
import data from "./data"
export default { export default {
data() { data() {
return { return {
...@@ -123,7 +124,7 @@ export default { ...@@ -123,7 +124,7 @@ export default {
}, },
}, },
animation: false, animation: false,
data: [{ name: "安徽省", value: 0 }], data: data,
}, },
], ],
} }
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
v-for="(e, index) in tabList" v-for="(e, index) in tabList"
:key="index" :key="index"
:label="e.title" :label="e.title"
:name="index + 1 + ''" :name="e.type"
> >
<ul <ul
class="tabslist videoTabList" class="tabslist videoTabList"
...@@ -248,16 +248,21 @@ export default { ...@@ -248,16 +248,21 @@ export default {
exampleList: [], exampleList: [],
tabList: [ tabList: [
{ {
title: "新闻会议", title: "通知公告",
type: "2",
}, },
{ {
title: "通知公告", title: "新闻会议",
type: "1",
}, },
{ {
title: "学术动态", title: "学术动态",
type: "3",
}, },
{ {
title: "健康知识", title: "健康知识",
type: "4",
}, },
], ],
noticeTopList: [ noticeTopList: [
...@@ -277,7 +282,7 @@ export default { ...@@ -277,7 +282,7 @@ export default {
}, },
], ],
noticeList: [], noticeList: [],
curTab: "1", curTab: "2",
listLoading: false, listLoading: false,
rangeList: [], // 上报排名 rangeList: [], // 上报排名
curQuarterList: [], //当前季度排名 curQuarterList: [], //当前季度排名
...@@ -326,9 +331,8 @@ export default { ...@@ -326,9 +331,8 @@ export default {
} }
}, },
created() { created() {
this.getArticleList("1") this.getArticleList("2")
this.getArticleList("6") this.getArticleList("6")
console.log(this.uploadPrefix)
}, },
mounted() { mounted() {
this.getRankTotal() this.getRankTotal()
...@@ -338,8 +342,9 @@ export default { ...@@ -338,8 +342,9 @@ export default {
document document
.querySelector("#vue-admin-beautiful") .querySelector("#vue-admin-beautiful")
.addEventListener("scroll", () => { .addEventListener("scroll", () => {
let scrollTop = document.querySelector("#vue-admin-beautiful") let scrollTop = document.querySelector(
.scrollTop "#vue-admin-beautiful"
).scrollTop
if (scrollTop >= 700) { if (scrollTop >= 700) {
this.showFixed = true this.showFixed = true
} else { } else {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment