diff --git a/src/assets/newbanImg/VRmoren.png b/src/assets/newbanImg/VRmoren.png new file mode 100644 index 000000000..ac2eafaef Binary files /dev/null and b/src/assets/newbanImg/VRmoren.png differ diff --git a/src/assets/newbanImg/VRxuanzhong.png b/src/assets/newbanImg/VRxuanzhong.png new file mode 100644 index 000000000..16c7951b8 Binary files /dev/null and b/src/assets/newbanImg/VRxuanzhong.png differ diff --git a/src/assets/newbanImg/action.png b/src/assets/newbanImg/action.png new file mode 100644 index 000000000..182d9a263 Binary files /dev/null and b/src/assets/newbanImg/action.png differ diff --git a/src/assets/newbanImg/beijingyuan.png b/src/assets/newbanImg/beijingyuan.png new file mode 100644 index 000000000..672ec66bb Binary files /dev/null and b/src/assets/newbanImg/beijingyuan.png differ diff --git a/src/assets/newbanImg/changzhou.png b/src/assets/newbanImg/changzhou.png new file mode 100644 index 000000000..9f9a3fe9e Binary files /dev/null and b/src/assets/newbanImg/changzhou.png differ diff --git a/src/assets/newbanImg/default.png b/src/assets/newbanImg/default.png new file mode 100644 index 000000000..d704d807d Binary files /dev/null and b/src/assets/newbanImg/default.png differ diff --git a/src/assets/newbanImg/gaochun.png b/src/assets/newbanImg/gaochun.png new file mode 100644 index 000000000..64a11fa61 Binary files /dev/null and b/src/assets/newbanImg/gaochun.png differ diff --git a/src/assets/newbanImg/gonglvyinsu.png b/src/assets/newbanImg/gonglvyinsu.png new file mode 100644 index 000000000..54dec2d79 Binary files /dev/null and b/src/assets/newbanImg/gonglvyinsu.png differ diff --git a/src/assets/newbanImg/gulou.png b/src/assets/newbanImg/gulou.png new file mode 100644 index 000000000..fddf9aec3 Binary files /dev/null and b/src/assets/newbanImg/gulou.png differ diff --git a/src/assets/newbanImg/huaian.png b/src/assets/newbanImg/huaian.png new file mode 100644 index 000000000..5a6360f95 Binary files /dev/null and b/src/assets/newbanImg/huaian.png differ diff --git a/src/assets/newbanImg/huanjingmoren.png b/src/assets/newbanImg/huanjingmoren.png new file mode 100644 index 000000000..010e4f20f Binary files /dev/null and b/src/assets/newbanImg/huanjingmoren.png differ diff --git a/src/assets/newbanImg/huanjingxuanzhong.png b/src/assets/newbanImg/huanjingxuanzhong.png new file mode 100644 index 000000000..82e2bfcf9 Binary files /dev/null and b/src/assets/newbanImg/huanjingxuanzhong.png differ diff --git a/src/assets/newbanImg/jianchamoren.png b/src/assets/newbanImg/jianchamoren.png new file mode 100644 index 000000000..4efd3a8cf Binary files /dev/null and b/src/assets/newbanImg/jianchamoren.png differ diff --git a/src/assets/newbanImg/jianchaxuanzhong.png b/src/assets/newbanImg/jianchaxuanzhong.png new file mode 100644 index 000000000..d65860048 Binary files /dev/null and b/src/assets/newbanImg/jianchaxuanzhong.png differ diff --git a/src/assets/newbanImg/jiangning.png b/src/assets/newbanImg/jiangning.png new file mode 100644 index 000000000..342f24d10 Binary files /dev/null and b/src/assets/newbanImg/jiangning.png differ diff --git a/src/assets/newbanImg/jiangsuMap.png b/src/assets/newbanImg/jiangsuMap.png new file mode 100644 index 000000000..b9af587f0 Binary files /dev/null and b/src/assets/newbanImg/jiangsuMap.png differ diff --git a/src/assets/newbanImg/jiantou.png b/src/assets/newbanImg/jiantou.png new file mode 100644 index 000000000..54efc20c5 Binary files /dev/null and b/src/assets/newbanImg/jiantou.png differ diff --git a/src/assets/newbanImg/jiantou1.png b/src/assets/newbanImg/jiantou1.png new file mode 100644 index 000000000..cc9764468 Binary files /dev/null and b/src/assets/newbanImg/jiantou1.png differ diff --git a/src/assets/newbanImg/jianye.png b/src/assets/newbanImg/jianye.png new file mode 100644 index 000000000..edff62359 Binary files /dev/null and b/src/assets/newbanImg/jianye.png differ diff --git a/src/assets/newbanImg/jinggaomoren.png b/src/assets/newbanImg/jinggaomoren.png new file mode 100644 index 000000000..85cc8a74c Binary files /dev/null and b/src/assets/newbanImg/jinggaomoren.png differ diff --git a/src/assets/newbanImg/jinggaoxuanzhong.png b/src/assets/newbanImg/jinggaoxuanzhong.png new file mode 100644 index 000000000..2ca908a5e Binary files /dev/null and b/src/assets/newbanImg/jinggaoxuanzhong.png differ diff --git a/src/assets/newbanImg/jinxiandianya.png b/src/assets/newbanImg/jinxiandianya.png new file mode 100644 index 000000000..463ada58f Binary files /dev/null and b/src/assets/newbanImg/jinxiandianya.png differ diff --git a/src/assets/newbanImg/kaiguanxinximoren.png b/src/assets/newbanImg/kaiguanxinximoren.png new file mode 100644 index 000000000..115965440 Binary files /dev/null and b/src/assets/newbanImg/kaiguanxinximoren.png differ diff --git a/src/assets/newbanImg/kaiguanxinxixuanzhong.png b/src/assets/newbanImg/kaiguanxinxixuanzhong.png new file mode 100644 index 000000000..3c59b2caa Binary files /dev/null and b/src/assets/newbanImg/kaiguanxinxixuanzhong.png differ diff --git a/src/assets/newbanImg/leftbg.png b/src/assets/newbanImg/leftbg.png new file mode 100644 index 000000000..530aa88f9 Binary files /dev/null and b/src/assets/newbanImg/leftbg.png differ diff --git a/src/assets/newbanImg/leijidianliang.png b/src/assets/newbanImg/leijidianliang.png new file mode 100644 index 000000000..ac9399ec5 Binary files /dev/null and b/src/assets/newbanImg/leijidianliang.png differ diff --git a/src/assets/newbanImg/lianyungang.png b/src/assets/newbanImg/lianyungang.png new file mode 100644 index 000000000..ece4455d8 Binary files /dev/null and b/src/assets/newbanImg/lianyungang.png differ diff --git a/src/assets/newbanImg/lishui.png b/src/assets/newbanImg/lishui.png new file mode 100644 index 000000000..f417a4cca Binary files /dev/null and b/src/assets/newbanImg/lishui.png differ diff --git a/src/assets/newbanImg/liuhe.png b/src/assets/newbanImg/liuhe.png new file mode 100644 index 000000000..91f0f6934 Binary files /dev/null and b/src/assets/newbanImg/liuhe.png differ diff --git a/src/assets/newbanImg/mapBeijing.png b/src/assets/newbanImg/mapBeijing.png index 09dfa41a5..d051865d5 100644 Binary files a/src/assets/newbanImg/mapBeijing.png and b/src/assets/newbanImg/mapBeijing.png differ diff --git a/src/assets/newbanImg/mapBeijing1.png b/src/assets/newbanImg/mapBeijing1.png new file mode 100644 index 000000000..09dfa41a5 Binary files /dev/null and b/src/assets/newbanImg/mapBeijing1.png differ diff --git a/src/assets/newbanImg/nanjing.png b/src/assets/newbanImg/nanjing.png new file mode 100644 index 000000000..c33c00bc9 Binary files /dev/null and b/src/assets/newbanImg/nanjing.png differ diff --git a/src/assets/newbanImg/nanjingMap.png b/src/assets/newbanImg/nanjingMap.png new file mode 100644 index 000000000..ba4b78fcc Binary files /dev/null and b/src/assets/newbanImg/nanjingMap.png differ diff --git a/src/assets/newbanImg/nanjingsekuai.png b/src/assets/newbanImg/nanjingsekuai.png new file mode 100644 index 000000000..b05e25eea Binary files /dev/null and b/src/assets/newbanImg/nanjingsekuai.png differ diff --git a/src/assets/newbanImg/nantong.png b/src/assets/newbanImg/nantong.png new file mode 100644 index 000000000..93f664427 Binary files /dev/null and b/src/assets/newbanImg/nantong.png differ diff --git a/src/assets/newbanImg/peidianfangmoren.png b/src/assets/newbanImg/peidianfangmoren.png new file mode 100644 index 000000000..7e4712132 Binary files /dev/null and b/src/assets/newbanImg/peidianfangmoren.png differ diff --git a/src/assets/newbanImg/peidianfangxuanzhong.png b/src/assets/newbanImg/peidianfangxuanzhong.png new file mode 100644 index 000000000..4a03607ef Binary files /dev/null and b/src/assets/newbanImg/peidianfangxuanzhong.png differ diff --git a/src/assets/newbanImg/pukou.png b/src/assets/newbanImg/pukou.png new file mode 100644 index 000000000..d91d0fc24 Binary files /dev/null and b/src/assets/newbanImg/pukou.png differ diff --git a/src/assets/newbanImg/qinhuai.png b/src/assets/newbanImg/qinhuai.png new file mode 100644 index 000000000..1ca1e8610 Binary files /dev/null and b/src/assets/newbanImg/qinhuai.png differ diff --git a/src/assets/newbanImg/qixia.png b/src/assets/newbanImg/qixia.png new file mode 100644 index 000000000..363acfc75 Binary files /dev/null and b/src/assets/newbanImg/qixia.png differ diff --git a/src/assets/newbanImg/rightTitle.png b/src/assets/newbanImg/rightTitle.png new file mode 100644 index 000000000..8ab5cf9f8 Binary files /dev/null and b/src/assets/newbanImg/rightTitle.png differ diff --git a/src/assets/newbanImg/rightbg.png b/src/assets/newbanImg/rightbg.png new file mode 100644 index 000000000..774b42f9c Binary files /dev/null and b/src/assets/newbanImg/rightbg.png differ diff --git a/src/assets/newbanImg/shijianmoren.png b/src/assets/newbanImg/shijianmoren.png new file mode 100644 index 000000000..f6465d672 Binary files /dev/null and b/src/assets/newbanImg/shijianmoren.png differ diff --git a/src/assets/newbanImg/shijianxuanzhong.png b/src/assets/newbanImg/shijianxuanzhong.png new file mode 100644 index 000000000..8868ad63b Binary files /dev/null and b/src/assets/newbanImg/shijianxuanzhong.png differ diff --git a/src/assets/newbanImg/suqian.png b/src/assets/newbanImg/suqian.png new file mode 100644 index 000000000..569a534ab Binary files /dev/null and b/src/assets/newbanImg/suqian.png differ diff --git a/src/assets/newbanImg/suzhou.png b/src/assets/newbanImg/suzhou.png new file mode 100644 index 000000000..d062e4065 Binary files /dev/null and b/src/assets/newbanImg/suzhou.png differ diff --git a/src/assets/newbanImg/taizhou.png b/src/assets/newbanImg/taizhou.png new file mode 100644 index 000000000..33473dd54 Binary files /dev/null and b/src/assets/newbanImg/taizhou.png differ diff --git a/src/assets/newbanImg/wuxi.png b/src/assets/newbanImg/wuxi.png new file mode 100644 index 000000000..399774830 Binary files /dev/null and b/src/assets/newbanImg/wuxi.png differ diff --git a/src/assets/newbanImg/xuanwu.png b/src/assets/newbanImg/xuanwu.png new file mode 100644 index 000000000..ed2ed686d Binary files /dev/null and b/src/assets/newbanImg/xuanwu.png differ diff --git a/src/assets/newbanImg/xuzhou.png b/src/assets/newbanImg/xuzhou.png new file mode 100644 index 000000000..edccaea9c Binary files /dev/null and b/src/assets/newbanImg/xuzhou.png differ diff --git a/src/assets/newbanImg/yancheng.png b/src/assets/newbanImg/yancheng.png new file mode 100644 index 000000000..184955446 Binary files /dev/null and b/src/assets/newbanImg/yancheng.png differ diff --git a/src/assets/newbanImg/yangzhou.png b/src/assets/newbanImg/yangzhou.png new file mode 100644 index 000000000..746d7ac5c Binary files /dev/null and b/src/assets/newbanImg/yangzhou.png differ diff --git a/src/assets/newbanImg/yicimoren.png b/src/assets/newbanImg/yicimoren.png new file mode 100644 index 000000000..42bd19cd7 Binary files /dev/null and b/src/assets/newbanImg/yicimoren.png differ diff --git a/src/assets/newbanImg/yicixuanzhong.png b/src/assets/newbanImg/yicixuanzhong.png new file mode 100644 index 000000000..5883312e8 Binary files /dev/null and b/src/assets/newbanImg/yicixuanzhong.png differ diff --git a/src/assets/newbanImg/yuhua.png b/src/assets/newbanImg/yuhua.png new file mode 100644 index 000000000..16b914f7a Binary files /dev/null and b/src/assets/newbanImg/yuhua.png differ diff --git a/src/assets/newbanImg/yunweimoren.png b/src/assets/newbanImg/yunweimoren.png new file mode 100644 index 000000000..aa04ba082 Binary files /dev/null and b/src/assets/newbanImg/yunweimoren.png differ diff --git a/src/assets/newbanImg/yunweixuanzhong.png b/src/assets/newbanImg/yunweixuanzhong.png new file mode 100644 index 000000000..81dec8d73 Binary files /dev/null and b/src/assets/newbanImg/yunweixuanzhong.png differ diff --git a/src/assets/newbanImg/zhenjiang.png b/src/assets/newbanImg/zhenjiang.png new file mode 100644 index 000000000..e824a2fc0 Binary files /dev/null and b/src/assets/newbanImg/zhenjiang.png differ diff --git a/src/assets/newbanImg/zongfuhe.png b/src/assets/newbanImg/zongfuhe.png new file mode 100644 index 000000000..55afd54f7 Binary files /dev/null and b/src/assets/newbanImg/zongfuhe.png differ diff --git a/src/components/layout/header.vue b/src/components/layout/header.vue index 26d496db4..4fe0cdcad 100644 --- a/src/components/layout/header.vue +++ b/src/components/layout/header.vue @@ -7,12 +7,12 @@
-
|
-
|
+
|
+
|
|
-
18:30:52
-
2021-3-3
+
{{time}}
+
{{year}}
|
@@ -59,13 +59,28 @@ export default { value: '1', label: '国网南京供电公司 陈堃' }], + pageStatus:'',//返回保电场景 + time:'',//时间 + year:'',//年 }; }, components: { // BottomLeftChart, }, mounted() { - console.log(this.$route.path, "aaaa"); + //时间 + window.setInterval(()=>{ + this.time = this.$moment().format("hh:mm:ss") + },1000) + this.year = this.$moment().format("YYYY-MM-DD") + //切换模型 + let that = this; + window.addEventListener('message', function (e) { + var res = e.data; + if (res.val != null) { + that.pageStatus = res.val + } + }) this.timeFn(); this.timeVal = new Date() this.searchShow1 = this.searchShow; @@ -76,7 +91,7 @@ export default { /** 返回上一页 */ goPage() { if(this.htStatus == 1 ){ - this.$router.push('/'); + this.$router.push('/index'); }else{ this.$parent.handleHtweb() } @@ -90,7 +105,48 @@ export default { }, 1000); }, goHome() { - this.$router.push("/"); + if (this.pageStatus != '') { + this.$parent.componentShow = ""; + this.$parent.modelOthers = false; + this.$parent.htStatus = 1 + this.$parent.handleMenus(0) + this.pageStatus = ''; + this.$parent.popStatus = '' + this.$parent.menusArr.pop() + }else{ + this.$router.push("/index"); + } + }, + goLogin(){ + if (this.$parent.jiangsuMapShow == true) { + this.$confirm('确定退出登录?', '确认信息', { + distinguishCancelAndClose: true, + confirmButtonText: '退出', + cancelButtonText: '取消' + }) + .then(() => { + this.$message({ + type: 'info', + message: '返回登录' + }); + this.$router.push('/') + }) + .catch(action => { + this.$message({ + type: 'info', + message: action === 'cancel' + ? '取消退出' + : '停留在当前页面' + }) + }); + }else{ + this.$parent.jiangsuMapShow = true + this.$parent.qujiIconShow = false; + window.setTimeout(()=>{ + this.$parent.shijiIconShow = true; + },1600) + } + }, handle(){ // window.parent.handledianwei(); @@ -155,4 +211,8 @@ $box-width: 100%; } } } +// ::v-deep .el-message-box{ +// background: url('../../assets/borad-bg.png') no-repeat !important; +// background: 100% 100%; +// } diff --git a/src/router/index.js b/src/router/index.js index 2036948f1..e7a0d4d64 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -7,14 +7,21 @@ const routes = [ { path: '/', + name: 'login', + meta: { + title: '登录' + }, + component: () => + import ('../views/login/login.vue'), + }, + { + path: '/index', name: 'index', meta: { title: '首页' }, component: () => - // import ('../views/index.vue') import ('../views/land/index.vue'), - // import ('../views/land/index.vue'), }, { @@ -35,15 +42,6 @@ const routes = [ component: () => import ('../views/land/index.vue'), }, - // { - // path: '/landChild', - // name: 'landChild', - // meta: { - // title: '侵华日军南京大屠杀遇难同胞纪念馆' - // }, - // component: () => - // import ('../views/land/children/index.vue'), - // }, { path: '/landChildren', name: 'landChildren', diff --git a/src/views/land/child/index.vue b/src/views/land/child/index.vue index 8e7364284..872a8ffa1 100644 --- a/src/views/land/child/index.vue +++ b/src/views/land/child/index.vue @@ -11,7 +11,6 @@ ref="iframe" v-show="htStatus == 1" :src="unityUrl" - allowfullscreen > @@ -470,7 +469,6 @@
-

{{ item.text }}

+
+

{{ item.text }}

+
-
-
+ + @@ -526,7 +532,7 @@
{{ item.name }}
@@ -535,80 +541,18 @@ +
配电房电力参数信息
-
- {{ item.vlaue }} - {{ item.icon }} - {{ item.vlaue }} - {{ item.icon }} - {{ item.vlaue }} - {{ item.icon }} - {{ item.vlaue }} - {{ item.icon }} -
+ +
+
{{item.name}}
+
{{item.vlaue}}
+
@@ -631,8 +575,8 @@
{{ item.name }}{{ item.name}}
@@ -640,6 +584,7 @@
+
配电房电力参数信息
-
+
+
{{item.name}}
+
{{item.vlaue}}
+
+
@@ -1388,7 +1338,7 @@
-
- -
+ + -->
关闭
@@ -1463,7 +1413,7 @@
-
+
+ +
+
+
@@ -1549,6 +1503,7 @@ export default { mixins: [drawMixin], data() { return { + maskBgShow:true,//遮罩消失 popStatus:'', modelOthers: false, componentShow: "", @@ -1672,56 +1627,56 @@ export default { ], menusActive: 0, menubg: { - url: require("@/assets/newimgs/moren.png"), - actUrl: require("@/assets/newimgs/xuanzhong.png"), + url: require("@/assets/newbanImg/default.png"), + actUrl: require("@/assets/newbanImg/action.png"), }, menusArr: [ { - pic: require("@/assets/newimgs/配电房-默认.png"), - actPic: require("@/assets/newimgs/配电房-选中.png"), + pic: require("@/assets/newbanImg/peidianfangmoren.png"), + actPic: require("@/assets/newbanImg/peidianfangxuanzhong.png"), text: "配电房信息", }, { - pic: require("@/assets/newimgs/设备出线-默认.png"), - actPic: require("@/assets/newimgs/设备出线-选中.png"), + pic: require("@/assets/newbanImg/kaiguanxinximoren.png"), + actPic: require("@/assets/newbanImg/kaiguanxinxixuanzhong.png"), text: "开关信息", }, { - pic: require("@/assets/newimgs/一次系统-默认.png"), - actPic: require("@/assets/newimgs/一次系统-选中.png"), + pic: require("@/assets/newbanImg/yicimoren.png"), + actPic: require("@/assets/newbanImg/yicixuanzhong.png"), text: "一次系统图", }, { - pic: require("@/assets/newimgs/环境信息-默认.png"), - actPic: require("@/assets/newimgs/环境信息-选中.png"), + pic: require("@/assets/newbanImg/huanjingmoren.png"), + actPic: require("@/assets/newbanImg/huanjingxuanzhong.png"), text: "环境信息", }, { - pic: require("@/assets/newimgs/运维档案-默认.png"), - actPic: require("@/assets/newimgs/运维档案-选中.png"), + pic: require("@/assets/newbanImg/yunweimoren.png"), + actPic: require("@/assets/newbanImg/yunweixuanzhong.png"), text: "运维档案", }, { - pic: require("@/assets/newimgs/告警信息-默认.png"), - actPic: require("@/assets/newimgs/告警信息-选中.png"), + pic: require("@/assets/newbanImg/jinggaomoren.png"), + actPic: require("@/assets/newbanImg/jinggaoxuanzhong.png"), text: "告警信息", }, { - pic: require("@/assets/newimgs/事件记录-默认.png"), - actPic: require("@/assets/newimgs/事件记录-选中.png"), + pic: require("@/assets/newbanImg/shijianmoren.png"), + actPic: require("@/assets/newbanImg/shijianxuanzhong.png"), text: "事件记录", }, { - pic: require("@/assets/newimgs/检查通知单-默认.png"), - actPic: require("@/assets/newimgs/检查通知单-选中.png"), + pic: require("@/assets/newbanImg/jianchamoren.png"), + actPic: require("@/assets/newbanImg/jianchaxuanzhong.png"), text: "检查通知单", }, - { - pic: require("@/assets/newimgs/VR-默认.png"), - actPic: require("@/assets/newimgs/VR-选中.png"), - text: "VR全景", - }, + // { + // pic: require("@/assets/newbanImg/VRmoren.png"), + // actPic: require("@/assets/newbanImg/VRxuanzhong.png"), + // text: "VR全景", + // }, ], popInfoShow: false, popInfoShow1: false, @@ -1884,30 +1839,6 @@ export default { }, ], eniorArr1: [ - // { - // path: require("@/assets/mapInfo/资源 37.png"), - // name: "前门门禁", - // nametwo: "侧门门禁", - // value:require("@/assets/mapInfo/资源 37.png"), - // }, - // { - // path: require("@/assets/mapInfo/资源 36.png"), - // name: "烟感1", - // nametwo: "烟感2", - // value: require("@/assets/mapInfo/资源 36.png"), - // }, - // { - // path: require("@/assets/mapInfo/资源 35.png"), - // name: "水浸", - // nametwo: "温度(℃)", - // value: '24.1', - // }, - // { - // path: '24.1    ', - // name: "湿度(%RH)", - // nametwo: "", - // value: '', - // }, { path: require("@/assets/mapInfo/资源 37.png"), name: "门禁1", @@ -1967,92 +1898,51 @@ export default { { name: "总负荷", vlaue: "198", - icon: "", + icon: require("@/assets/newbanImg/zongfuhe.png"), }, { name: "进线电压信息", vlaue: "5.84", - icon: "", + icon: require("@/assets/newbanImg/jinxiandianya.png"), }, { name: "累计电量", vlaue: "183935", - icon: "", + icon: require("@/assets/newbanImg/leijidianliang.png"), }, { name: "功率因数", vlaue: "0.98", - icon: "", + icon: require("@/assets/newbanImg/gonglvyinsu.png"), }, ], fuzaiArr1: [ { name: "总负荷", vlaue: "198", - icon: "", + icon: require("@/assets/newbanImg/zongfuhe.png"), }, { name: "进线电压信息", vlaue: "5.84", - icon: "", + icon: require("@/assets/newbanImg/jinxiandianya.png"), }, { name: "累计电量", vlaue: "183935", - icon: "", + icon: require("@/assets/newbanImg/leijidianliang.png"), }, { name: "功率因数", vlaue: "0.98", - icon: "", + icon: require("@/assets/newbanImg/gonglvyinsu.png"), }, ], threeUrl: "", htStatus: 1, perSon: "1", selectArr: ["新馆", "旧馆"], - alarmListData: [ - // { - // time: "2022-11-04 08:16:46", - // bianwei: "侧门门禁2报警变位", - // dizhi: "南京软件园科技发展有限公司(腾飞大厦中心站)", - // zhan: "腾飞大厦中心站", - // fsz: "1", - // cemeng: "2", - // }, - // { - // time: "2022-11-04 08:16:46", - // bianwei: "侧门门禁2报警变位", - // dizhi: "南京软件园科技发展有限公司(腾飞大厦中心站)", - // zhan: "腾飞大厦中心站", - // fsz: "1", - // cemeng: "2", - // }, - // { - // time: "2022-11-04 08:16:46", - // bianwei: "侧门门禁2报警变位", - // dizhi: "南京软件园科技发展有限公司(腾飞大厦中心站)", - // zhan: "腾飞大厦中心站", - // fsz: "1", - // cemeng: "2", - // }, - // { - // time: "2022-11-04 08:16:46", - // bianwei: "侧门门禁2报警变位", - // dizhi: "南京软件园科技发展有限公司(腾飞大厦中心站)", - // zhan: "腾飞大厦中心站", - // fsz: "1", - // cemeng: "2", - // }, - // { - // time: "2022-11-04 08:16:46", - // bianwei: "侧门门禁2报警变位", - // dizhi: "南京软件园科技发展有限公司(腾飞大厦中心站)", - // zhan: "腾飞大厦中心站", - // fsz: "1", - // cemeng: "2", - // }, - ], + alarmListData: [], classOption: { step: 0.5, // 数值越大速度滚动越快 // limitMoveNum: 10, // 开始无缝滚动的数据量 this.dataList.length @@ -2116,12 +2006,12 @@ export default { unityChange: { handler(newV) { if (newV == 0) { - this.unityUrl = "/htWeb/unity.html?src=1"; + // this.unityUrl = "/htWeb/unity.html?src=1"; this.threeUrl = "http://221.226.19.85:10133/bdz_360_22_12_8/index.html"; this.searchHandle("2"); } else if (newV == 1) { - this.unityUrl = "/htWeb/unity.html?src=2"; + // this.unityUrl = "/htWeb/unity.html?src=2"; this.threeUrl = "http://221.226.19.85:10133/bdz_360_22_11_11/index.html"; this.searchHandle("1"); @@ -2133,8 +2023,12 @@ export default { }, }, mounted() { - //切换模型 let that = this; + //初始化遮罩消失 + window.setTimeout(()=>{ + that.maskBgShow = false + },2500) + //切换模型 window.addEventListener('message', function (e) { var res = e.data; if (res.val != null) { @@ -2142,10 +2036,30 @@ export default { that.modelOthers = true that.componentShow = 'modelPop' that.popStatus = 'XG' + that.unityChange = 0 + that.handleSelect(0) + let VR = { + pic: require("@/assets/newbanImg/VRmoren.png"), + actPic: require("@/assets/newbanImg/VRxuanzhong.png"), + text: "VR全景", + } + that.menusArr.push(VR) }else if (res.val == 'JG') { that.popStatus = 'JG' that.modelOthers = true that.componentShow = 'modelPop' + that.unityChange = 1 + that.handleSelect(1) + let VR = { + pic: require("@/assets/newbanImg/VRmoren.png"), + actPic: require("@/assets/newbanImg/VRxuanzhong.png"), + text: "VR全景", + } + that.menusArr.push(VR) + }else if (res.val == 'goThree') { + that.modelOthers = false + that.componentShow = '' + that.htStatus = 2; } } }) @@ -2723,8 +2637,12 @@ export default { }, handleMenus(index) { this.menusActive = index; - if (index == 8) { + if (index == 8 && this.popStatus !="") { this.handleUnity(); + let val = 'goThree' + window.parent.postMessage({ + val + }, '*'); // * 通配符 匹配所有地址; content 表示传递过去嵌套iframe页面的数据 } }, //弹窗 @@ -2797,8 +2715,6 @@ export default { this.tableShow = true; }, hanldetoukui() { - this.componentShow = '' - this.modelOthers = false // this.unityUrl = "/htWeb/unity.html?src=3"; // this.blueQiuShow = true // this.redQiuShow = false @@ -2859,6 +2775,8 @@ export default { }, handleUnity() { this.mapShow = false; + this.componentShow = ''; + this.modelOthers = false this.$refs.iframe.contentWindow.unity.g3d.flyTo( this.$refs.iframe.contentWindow.unity.models[0], { @@ -3626,6 +3544,46 @@ export default { width: 100%; height: 100%; position: relative; + .maskBg{ + width: 100%; + height: 100%; + position: absolute; + top: 0; + left: 0; + z-index: 9999; + background: black; + background-size: 100% 100%; + opacity: 0; + animation: mymove 3s 1; + /* Safari and Chrome */ + -webkit-animation: mymove 3s 1; + } + @keyframes mymove { + 0% { + opacity: 1; + } + + 50% { + opacity: 0.5; + } + + 100% { + opacity: 0; + } + } + @-webkit-keyframes mymove{ /* Safari and Chrome */ + 0% { + opacity: 1; + } + + 50% { + opacity: 0.5; + } + + 100% { + opacity: 0; + } + } .bg { width: 100%; height: 100%; @@ -3662,7 +3620,7 @@ export default { } .main { width: 100%; - height: 90%; + height: 100%; display: flex; justify-content: space-between; box-sizing: border-box; @@ -3671,30 +3629,32 @@ export default { z-index: 9; pointer-events: none; .left { - width: 351px; - height: 100%; + width: 296px; + height: 1080px; pointer-events: auto; - margin-top: 10px; box-sizing: border-box; display: flex; align-items: center; z-index: 99; .leftmenus { - width: 301px; + width: 100%; height: 100%; - background: url("../../../assets/newimgs/zuoxian.png") no-repeat; + background: url("../../../assets/newbanImg/leftbg.png") no-repeat; background-size: 100% 100%; display: flex; align-items: center; + position: relative; .menus { display: flex; flex-flow: column nowrap; justify-content: space-between; width: 100%; - height: 580px; + height: 66%; + top: 13%; + position: absolute; .list { - width: 184px; - height: 54px; + width: 292px; + height: 103px; background: url("../../../assets/newimgs/moren.png") no-repeat; display: flex; flex-flow: row nowrap; @@ -3703,8 +3663,8 @@ export default { cursor: pointer; p { color: #ffffff; - margin-left: 20px; - font-size: 15px; + margin-left: 10px; + font-size: 16px; } &.css1 { margin-left: 0px; @@ -3733,6 +3693,14 @@ export default { &.css9 { margin-left: 0px; } + .listText{ + height: 43px; + margin-top: 15px; + width: 45%; + display: flex; + align-items: center; + justify-content: space-between + } } } } @@ -3741,23 +3709,27 @@ export default { height: 100%; pointer-events: auto; display: flex; - padding-top: 110px; - padding-right: 10px; + // padding-top: 110px; + padding-right: 15px; box-sizing: border-box; z-index: 99; .infothings { - width: 427px; - height: 594px; - background: url("../../../assets/newimgs/peidianfangKuang.png") no-repeat; + width: 434px; + height: 688px; + background: url("../../../assets/newbanImg/rightbg.png") no-repeat; background-size: 100% 100%; + margin-top: 35%; + padding: 15px 7px; + box-sizing: border-box; + display: flex; + flex-wrap: wrap; .toptitle { - width: 100%; - height: 40px; - background: url("../../../assets/newimgs/zhongyaoshebeichuxian.png") - no-repeat; + width: 417px; + height: 38px; + background: url("../../../assets/newbanImg/rightTitle.png")no-repeat; background-size: 100% 100%; color: #ffffff; - text-indent: 40px; + text-indent: 50px; line-height: 40px; } .info { @@ -3792,35 +3764,21 @@ export default { display: flex; flex-flow: row wrap; justify-content: space-between; - margin-top: 10px; .list { width: 190px; height: 105px; - margin-bottom: 10px; - .text { - height: 100%; - width: 70%; - margin-left: 90px; - line-height: 145px; - } - &.list1 { - background: url("../../../assets/mapInfo/zongfuhe.png") no-repeat; - background-size: 100% 100%; - } - &.list2 { - background: url("../../../assets/mapInfo/jinxiandianya.png") - no-repeat; - background-size: 100% 100%; - } - &.list3 { - background: url("../../../assets/mapInfo/leijidianliang.png") - no-repeat; - background-size: 100% 100%; - } - &.list4 { - background: url("../../../assets/mapInfo/gonglvyiinshu.png") - no-repeat; - background-size: 100% 100%; + display: flex; + flex-wrap: nowrap; + align-items: center; + justify-content: space-between; + .nameArr{ + width: 51%; + height: 75%; + color: #fff; + display: flex; + flex-direction: column; + justify-content: space-around; + align-items: flex-start } } } @@ -3828,13 +3786,15 @@ export default { .envior { width: 427px; height: 241px; - background: url("../../../assets/newimgs/huanjingxinxiKuang.png") + background: url("../../../assets/newbanImg/rightbg.png") no-repeat; background-size: 100% 100%; + margin-top: 35%; + padding: 10px 5px; .toptitle { width: 100%; height: 40px; - background: url("../../../assets/newimgs/titleBeijing.png") no-repeat; + background: url("../../../assets/newbanImg/rightTitle.png") no-repeat; background-size: 100% 100%; color: #ffffff; text-indent: 40px; @@ -3890,13 +3850,15 @@ export default { .envior1 { width: 427px; height: 241px; - background: url("../../../assets/newimgs/huanjingxinxiKuang.png") + background: url("../../../assets/newbanImg/rightbg.png") no-repeat; background-size: 100% 100%; + margin-top: 35%; + padding: 10px 5px; .toptitle { width: 100%; height: 40px; - background: url("../../../assets/newimgs/titleBeijing.png") no-repeat; + background: url("../../../assets/newbanImg/rightTitle.png") no-repeat; background-size: 100% 100%; color: #ffffff; text-indent: 40px; @@ -3931,17 +3893,18 @@ export default { .maptu { width: 427px; height: 260px; - background: url("../../../assets/newimgs/huanjingxinxiKuang.png") + background: url("../../../assets/newbanImg/rightbg.png") no-repeat; background-size: 100% 100%; - + margin-top: 35%; + padding: 10px 5px; .toptitle { width: 100%; height: 40px; - background: url("../../../assets/newimgs/titleBeijing.png") no-repeat; + background: url("../../../assets/newbanImg/rightTitle.png") no-repeat; background-size: 100% 100%; color: #ffffff; - // text-indent: 40px; + text-indent: 20px; line-height: 40px; display: flex; justify-content: space-evenly; @@ -3995,24 +3958,25 @@ export default { .chuplc { width: 530px; height: 666px; - background: url("../../../assets/newimgs/zhongyaoshebeiKuang.png") + background: url("../../../assets/newbanImg/rightbg.png") no-repeat; background-size: 100% 100%; + margin-top: 35%; + padding: 10px 5px; .toptitle { width: 100%; height: 40px; - background: url("../../../assets/newimgs/zhongyaoshebeichuxian.png") + background: url("../../../assets/newbanImg/rightTitle.png") no-repeat; background-size: 100% 100%; color: #ffffff; - text-indent: 40px; + text-indent: 50px; line-height: 40px; - margin-left: 6px; } .user_skills { width: 100%; height: calc(100% - 80px); - padding: 20px; + padding: 15px; margin-top: 10px; box-sizing: border-box; display: flex; @@ -4034,12 +3998,14 @@ export default { .warnnews { width: 427px; height: 405px; - background: url("../../../assets/newimgs/waiKuang.png") no-repeat; + background: url("../../../assets/newbanImg/rightbg.png") no-repeat; background-size: 100% 100%; + margin-top: 35%; + padding: 10px 5px; .toptitle { width: 100%; height: 40px; - background: url("../../../assets/newimgs/titleBeijing.png") no-repeat; + background: url("../../../assets/newbanImg/rightTitle.png") no-repeat; background-size: 100% 100%; color: #ffffff; text-indent: 40px; @@ -4056,12 +4022,14 @@ export default { .record { width: 427px; height: 701px; - background: url("../../../assets/newimgs/shishiKuang.png") no-repeat; + background: url("../../../assets/newbanImg/rightbg.png") no-repeat; background-size: 100% 100%; + margin-top: 35%; + padding: 10px 5px; .toptitle { width: 100%; height: 40px; - background: url("../../../assets/newimgs/titleBeijing.png") no-repeat; + background: url("../../../assets/newbanImg/rightTitle.png") no-repeat; background-size: 100% 100%; color: #ffffff; text-indent: 40px; @@ -4180,12 +4148,14 @@ export default { .notice { width: 427px; height: 721px; - background: url("../../../assets/newimgs/shishiKuang.png") no-repeat; + background: url("../../../assets/newbanImg/rightbg.png") no-repeat; background-size: 100% 100%; + margin-top: 35%; + padding: 10px 5px; .toptitle { width: 100%; height: 40px; - background: url("../../../assets/newimgs/titleBeijing.png") no-repeat; + background: url("../../../assets/newbanImg/rightTitle.png") no-repeat; background-size: 100% 100%; color: #ffffff; text-indent: 40px; @@ -4313,12 +4283,14 @@ export default { .yunwei { width: 427px; height: 491px; - background: url("../../../assets/newimgs/shishiKuang.png") no-repeat; + background: url("../../../assets/newbanImg/rightbg.png") no-repeat; background-size: 100% 100%; + margin-top: 35%; + padding: 10px 5px; .toptitle { width: 100%; height: 40px; - background: url("../../../assets/newimgs/titleBeijing.png") no-repeat; + background: url("../../../assets/newbanImg/rightTitle.png") no-repeat; background-size: 100% 100%; color: #ffffff; text-indent: 40px; diff --git a/src/views/land/index.vue b/src/views/land/index.vue index f89137bed..854b0e842 100644 --- a/src/views/land/index.vue +++ b/src/views/land/index.vue @@ -20,54 +20,194 @@ Loading... --> - -
-
-
-
客户总数
-
{{totalCustomer}}  
+ +
+
+
+
客户总数
+
+ {{ totalCustomer }}  
-
-
-
- -
-
{{item.text}}
-
{{item.num}}
+
+
+
+
+ +
+
{{ item.text }}
+
+ {{ item.num }}
-
{{item.unit}}
+
+
+ {{ item.unit }}
+
-
-
-
主要总数
-
{{totalTransformationSite}}  
+
+
+
主要总数
+
+ {{ totalTransformationSite }}  
-
-
-
- -
-
{{item.text}}
-
{{item.num}}
+
+
+
+
+ +
+
{{ item.text }}
+
+ {{ item.num }}
-
{{item.unit}}
+
+
+ {{ item.unit }}
+
-
-
- - + +
+ +
+ +
+ +
+ +
+ + + + + + + + + + + + + + +
+ +
+ +
+ +
+
+ + + + + + + + + + + +
+ +
+
+
+ + + +
-
- +
+
@@ -86,26 +226,67 @@ import Chart from "./chart.vue"; // import io from 'socket.io-client' import BasicBox5 from "@/components/BasicBox5"; import axios from "axios"; -import {getHomePageInfo} from "@/api/api"; -import mqtt from 'mqtt' +import { getHomePageInfo } from "@/api/api"; +import mqtt from "mqtt"; // let socketRefs = ''; export default { mixins: [drawMixin], data() { return { - totalCustomer:'',//客户总数 - totalTransformationSite:'',//主要总数 - popShow:false, - leftInfodata:[ - {pic:require('@/assets/newbanImg/biandianzhan.png'),num:'',text:'变电站总数',unit:'座',name:'totalSite'}, - {pic:require('@/assets/newbanImg/daibangongdan.png'),num:'',text:"代办工单总数",unit:'条',name:'workOrder'}, - {pic:require('@/assets/newbanImg/jinggao.png'),num:'',text:"告警总数",unit:'条',name:'warningNum'}, + qujiIconShow: false, //区级图标显示 + jiangsuMapShow: true, //江苏地图显示 + shijiIconShow: false, //市级图标降落 + nanjingIconShow: false, // 南京动效图标显示 + nanjingsekuai: true, //南京色块显示 + totalCustomer: "", //客户总数 + totalTransformationSite: "", //主要总数 + popShow: false, + leftInfodata: [ + { + pic: require("@/assets/newbanImg/biandianzhan.png"), + num: "", + text: "变电站总数", + unit: "座", + name: "totalSite", + }, + { + pic: require("@/assets/newbanImg/daibangongdan.png"), + num: "", + text: "代办工单总数", + unit: "条", + name: "workOrder", + }, + { + pic: require("@/assets/newbanImg/jinggao.png"), + num: "", + text: "告警总数", + unit: "条", + name: "warningNum", + }, ], - rightInfodata:[ - {pic:require('@/assets/newbanImg/zhuyao.png'),num:'',text:'主要总容量',unit:'kVA',name:'transformationCapacity'}, - {pic:require('@/assets/newbanImg/shishifuhe.png'),num:'',text:"实时负荷",unit:'kW',name:'realTimeLoad'}, - {pic:require('@/assets/newbanImg/zuori.png'),num:'',text:"昨日总电量",unit:'kWh',name:'yesterdayTotalElectricity'}, + rightInfodata: [ + { + pic: require("@/assets/newbanImg/zhuyao.png"), + num: "", + text: "主要总容量", + unit: "kVA", + name: "transformationCapacity", + }, + { + pic: require("@/assets/newbanImg/shishifuhe.png"), + num: "", + text: "实时负荷", + unit: "kW", + name: "realTimeLoad", + }, + { + pic: require("@/assets/newbanImg/zuori.png"), + num: "", + text: "昨日总电量", + unit: "kWh", + name: "yesterdayTotalElectricity", + }, ], Visible: false, basicInfoShow: true, @@ -130,7 +311,7 @@ export default { // header:['规划用途', '南京数量', '南京占比'], data: [], }, - zhengjiang: { + zhenjiang: { header: ["规划用途", "全省数量", "全省占比"], data: [], }, @@ -176,7 +357,7 @@ export default { count: 1, }, ], - zhengjiang: [ + zhenjiang: [ { name: "规划阶段", count: 62, @@ -198,7 +379,7 @@ export default { resourcesList: [], centerListData: { nanjing: [], - zhengjiang: [], + zhenjiang: [], }, centerList: [ { @@ -290,7 +471,8 @@ export default { jdNameNew: "", itemViewM: "", photoPathsM: [], - searchShow:true + searchShow: true, + leftNum : [] }; }, @@ -304,64 +486,64 @@ export default { Chart, }, computed: { - // query() { - // return this.socketData - // }, - // 'socketRefs': function(){ - // return this.firstname + '-' + this.lastname - // } }, - mounted() { // this.getDataByMqtt( // "ws://175.24.235.243:8083/mqtt", // "tra_topic" // ); - this.cancelLoading(); - // this.initWebSocket(); - // window.addEventListener("message", this.handleMessage); - this.go("nanjing"); - // this.type=this.params.type - // this.getJdData(this.params.type) - // this.workListData = this.workList let that = this; - window.addEventListener('message', function (e) { - var res = e.data; - if (res.params != null) { - that.searchShow = false - } - }) - - window.setInterval(()=>{ - getHomePageInfo({ - }).then((res)=>{ - this.totalCustomer = res.data.data.totalCustomer - this.totalTransformationSite = res.data.data.totalTransformationSite - let realTimeLoad = res.data.data.realTimeLoad.toString(); - let realData = realTimeLoad.substring(0,realTimeLoad.indexOf(".")+3) - for(var key in res.data.data){ - for (let i = 0; i < this.leftInfodata.length; i++) { - if (key == this.leftInfodata[i].name) { - this.leftInfodata[i].num = res.data.data[key] - } - } - for (let i = 0; i < this.rightInfodata.length; i++) { - if (key == this.rightInfodata[i].name) { - this.rightInfodata[i].num = res.data.data[key] - this.rightInfodata[1].num = realData - } - } - } - }) - },3000) - this.leftInfodata.forEach((item,index) => { - if (index != null) { - this.leftInitEcharts('echarts' + index) + window.addEventListener("message", function (e) { + var res = e.data; + if (res.params != null) { + that.searchShow = false; } }); - this.rightInfodata.forEach((item,index) => { + //市级图标降落 + window.setTimeout(() => { + that.shijiIconShow = true; + }, 1600); + //南京市图标动效显示 + window.setTimeout(() => { + that.nanjingIconShow = true; + }, 2600); + window.setInterval(() => { + getHomePageInfo({}).then((res) => { + that.leftNum = [] + console.log(res.data.data,'数据'); + that.totalCustomer = res.data.data.totalCustomer; + that.totalTransformationSite = res.data.data.totalTransformationSite; + let realTimeLoad = res.data.data.realTimeLoad.toString(); + let realData = realTimeLoad.substring(0, realTimeLoad.indexOf(".") + 3); + for (var key in res.data.data) { + for (let i = 0; i < that.leftInfodata.length; i++) { + if (key == that.leftInfodata[i].name) { + that.leftInfodata[i].num = res.data.data[key]; + that.leftNum.push(that.leftInfodata[i].num) + } + } + for (let i = 0; i < that.rightInfodata.length; i++) { + if (key == that.rightInfodata[i].name) { + that.rightInfodata[i].num = res.data.data[key]; + that.rightInfodata[1].num = realData; + } + } + } + }); + }, 3000); + that.leftInfodata.forEach((item, index) => { + if (index == 0) { + that.leftInitEcharts("echarts" + index,that.leftNum[0]); + }else if (index == 1) { + that.leftInitEcharts("echarts" + index,that.leftNum[1]); + }else if (index == 2) { + that.leftInitEcharts("echarts" + index,that.leftNum[2]); + } + }); + + this.rightInfodata.forEach((item, index) => { if (index != null) { - this.rightInitEcharts('rightEcharts' + index) + this.rightInitEcharts("rightEcharts" + index); } }); }, @@ -377,158 +559,178 @@ export default { }, }, methods: { - leftInitEcharts(id){ - console.log(id,'id'); - var imageUrl = ''; - if (id == 'echarts0') { - imageUrl = '/newbanImg/biandianzhan.png' - }else if (id == 'echarts1') { - imageUrl = '/newbanImg/daibangongdan.png' - }else if (id == 'echarts2') { - imageUrl = '/newbanImg/jinggao.png' + //南京区域移入操作 + regionMouseEnter() { + this.nanjingsekuai = false; + }, + //南京区域移出操作 + regionMouseLeave() { + this.nanjingsekuai = true; + }, + //切换南京地图 + switchNanJing() { + this.jiangsuMapShow = false; + this.shijiIconShow = false; + window.setTimeout(() => { + this.qujiIconShow = true; + }, 1600); + }, + leftInitEcharts(id,echartsData) { + let data = []; + var imageUrl = ""; + if (id == "echarts0") { + imageUrl = "/newbanImg/biandianzhan.png"; + } else if (id == "echarts1") { + imageUrl = "/newbanImg/daibangongdan.png"; + } else if (id == "echarts2") { + imageUrl = "/newbanImg/jinggao.png"; } var myChart = this.$echarts.init(document.getElementById(id)); var option = { - angleAxis: { - max: 100, - // 隐藏刻度线 - show: false, - startAngle: 90 - }, - radiusAxis: { - type: 'category', - show: true, - axisLabel: { - show: false, - }, - axisLine: { - show: false, - }, - axisTick: { - show: false - }, - }, - polar: { - radius: '100%' //图形大小 - }, - graphic: { - elements:[ - { - type: 'image', - left: 'center', - top: 'middle', - style: { - image: imageUrl, - width: 25, - height: 25, - } - } - ] + angleAxis: { + max: 100, + // 隐藏刻度线 + show: false, + startAngle: 90, + }, + radiusAxis: { + type: "category", + show: true, + axisLabel: { + show: false, + }, + axisLine: { + show: false, + }, + axisTick: { + show: false, + }, + }, + polar: { + radius: "100%", //图形大小 + }, + graphic: { + elements: [ + { + type: "image", + left: "center", + top: "middle", + style: { + image: imageUrl, + width: 25, + height: 25, + }, + }, + ], + }, + series: [ + { + type: "bar", + data: ['56.77'], + showBackground: true, + roundCap: true, + // backgroundStyle: { + // color: 'rgba(64, 76, 76, 1)', + // }, + coordinateSystem: "polar", + barWidth: 2, + itemStyle: { + normal: { + color: "rgb(24,234,253)", + }, }, - series: [{ - type: 'bar', - data: ['56.77'], - showBackground: true, - roundCap: true, - // backgroundStyle: { - // color: 'rgba(64, 76, 76, 1)', - // }, - coordinateSystem: 'polar', - barWidth: 2, - itemStyle: { - normal: { - color: 'rgb(24,234,253)' - } }, - }] - } - myChart.setOption(option); + ] + + }; + myChart.setOption(option); }, - rightInitEcharts(id){ - console.log(id,'id'); - var imageUrl = ''; - if (id == 'rightEcharts0') { - imageUrl = '/newbanImg/zhuyao.png' - }else if (id == 'rightEcharts1') { - imageUrl = '/newbanImg/shishifuhe.png' - }else if (id == 'rightEcharts2') { - imageUrl = '/newbanImg/zuori.png' + rightInitEcharts(id) { + var imageUrl = ""; + if (id == "rightEcharts0") { + imageUrl = "/newbanImg/zhuyao.png"; + } else if (id == "rightEcharts1") { + imageUrl = "/newbanImg/shishifuhe.png"; + } else if (id == "rightEcharts2") { + imageUrl = "/newbanImg/zuori.png"; } var myChart = this.$echarts.init(document.getElementById(id)); var option = { - angleAxis: { - max: 100, - // 隐藏刻度线 - show: false, - startAngle: 90 - }, - radiusAxis: { - type: 'category', - show: true, - axisLabel: { - show: false, - }, - axisLine: { - show: false, - }, - axisTick: { - show: false - }, - }, - polar: { - radius: '100%' //图形大小 - }, - graphic: { - elements:[ - { - type: 'image', - left: 'center', - top: 'middle', - style: { - image: imageUrl, - width: 25, - height: 25, - } - } - ] - }, - series: [{ - type: 'bar', - data: ['56.77'], - showBackground: true, - roundCap: true, - // backgroundStyle: { - // color: 'rgba(64, 76, 76, 1)', - // }, - coordinateSystem: 'polar', - barWidth: 2, - itemStyle: { - normal: { - color: 'rgb(24,234,253)' - } - }, - }] - } - myChart.setOption(option); + angleAxis: { + max: 100, + // 隐藏刻度线 + show: false, + startAngle: 90, + }, + radiusAxis: { + type: "category", + show: true, + axisLabel: { + show: false, + }, + axisLine: { + show: false, + }, + axisTick: { + show: false, + }, + }, + polar: { + radius: "100%", //图形大小 + }, + graphic: { + elements: [ + { + type: "image", + left: "center", + top: "middle", + style: { + image: imageUrl, + width: 25, + height: 25, + }, + }, + ], + }, + series: [ + { + type: "bar", + data: ["56.77"], + showBackground: true, + roundCap: true, + // backgroundStyle: { + // color: 'rgba(64, 76, 76, 1)', + // }, + coordinateSystem: "polar", + barWidth: 2, + itemStyle: { + normal: { + color: "rgb(24,234,253)", + }, + }, + }, + ], + }; + myChart.setOption(option); }, - intoMain(){ + intoMain() { this.$router.push("landChildren"); }, - popInfor(){ - // // 鼠标在盒子内移动后盒子变粉 - this.popShow = true + popInfor() { + // // 鼠标在盒子内移动后盒子变粉 + this.popShow = true; }, - popInforLeave(){ - this.popShow = false + popInforLeave() { + this.popShow = false; }, guid() { - return 'xxxxxxxxxxxx4xxxyxxxxxxxxxxxxxxx'.replace(/[xy]/g, function (c) { - var r = Math.random() * 16 | 0, - v = c == 'x' ? r : (r & 0x3 | 0x8); - return v.toString(16); - }); + return "xxxxxxxxxxxx4xxxyxxxxxxxxxxxxxxx".replace(/[xy]/g, function (c) { + var r = (Math.random() * 16) | 0, + v = c == "x" ? r : (r & 0x3) | 0x8; + return v.toString(16); + }); }, - // mqtt订阅(独立) + // mqtt订阅(独立) getDataByMqtt(url, topic) { const clientId = this.guid(); // 用户名 const host = url; // 一个测试用url,改成给的,ws://broker.emqx.io:8083/mqtt @@ -573,8 +775,8 @@ export default { // console.log( // ); // 订阅 - this.mqttClient.subscribe(topic, { qos: 2}); - console.log("[MQTT-TEST] 连接回调...."); + this.mqttClient.subscribe(topic, { qos: 2 }); + console.log("[MQTT-TEST] 连接回调...."); }); // 接收回调 this.mqttClient.on("message", (topic, message, packet) => { @@ -584,411 +786,17 @@ export default { // 解析后端数据 let dataReceived = JSON.parse(message.toString()); // this.infodata[4].num = dataReceived.realTimeLoad - console.log(dataReceived.realTimeLoad,'dataReceived'); + console.log(dataReceived.realTimeLoad, "dataReceived"); }); } - - }, - go(val) { - if (val == "nanjing") { - this.nanj = false; - this.landC = true; - // console.log("") - this.imgList = this.imgListData.nanjing; - // this.centerList = this.centerListData.nanjing - this.config = this.configData.nanjing.data; - this.resourcesList = this.resourcesListData.nanjing; - this.levelConfig.data = this.levelConfigData.nanjing.data; - // this.$forceUpdate(); - // this.cancelLoading(); - } else if (val == "landChild") { - this.$router.push("/landChild"); - this.landC = false; - } }, show: function () { this.leftOpen = true; this.rightOpen = true; this.basicInfoShow = true; }, - //获取基地数据 - getJdData(val) { - axios - .get("/json/qqData.json") - .then((result) => { - for (var i = 0; i < result.data.length; i++) { - if (result.data[i].jd == this.params.params) { - this.workListqq[0].value = result.data[i].qq; - } - } - }) - .catch((error) => { - console.log(error); - }); - if (val == "不动产") { - // this.tit="土地证信息" - this.workListData = []; - axios - .get("/json/jdData.json") - .then((result) => { - console.log("getMenuData111", result.data); - for (var i = 0; i < result.data.length; i++) { - if (result.data[i].jd == this.params.params) { - console.log("result.data[i]", result.data[i]); - // this.workList.push(result.data[i]) - this.workListData.push(result.data[i]); - this.changeWorkListBdc(result.data[i]); - this.changeWorkList(result.data[i]); - } - } - }) - .catch((error) => { - console.log(error); - }); - } else if (val == "土地证") { - // this.tit="土地证信息" - this.workListData = []; - this.fczShow = true; - axios - .get("/json/tdData.json") - .then((result) => { - console.log("getMenuData111", result.data); - console.log("this.params.params", this.params.params); - for (var i = 0; i < result.data.length; i++) { - if (result.data[i].jd == this.params.params) { - console.log("result.data[i]", result.data[i]); - this.workListData.push(result.data[i]); - this.changeWorkListTd(result.data[i]); - this.changeWorkList(result.data[i]); - } - } - }) - .catch((error) => { - console.log(error); - }); - this.workListDatafcz = []; - axios - .get("/json/fczData.json") - .then((result) => { - console.log("getMenuData111", result.data); - for (var i = 0; i < result.data.length; i++) { - if (result.data[i].jd == this.params.params) { - console.log("result.data[i]", result.data[i]); - this.workListDatafcz.push(result.data[i]); - this.changeWorkListfcz(result.data[i]); - // this.changeWorkList(result.data[i]) - } - } - }) - .catch((error) => { - console.log(error); - }); - } else { - this.workListData = []; - this.fczShow = true; - axios - .get("/json/jdData.json") - .then((result) => { - console.log("getMenuData111", result.data); - for (var i = 0; i < result.data.length; i++) { - if (result.data[i].jd == this.params.params) { - this.changeWorkListBdc(result.data[i]); - } - } - }) - .catch((error) => { - console.log(error); - }); - axios - .get("/json/tdData.json") - .then((result) => { - console.log("getMenuData111", result.data); - console.log("this.params.params", this.params.params); - for (var i = 0; i < result.data.length; i++) { - if (result.data[i].jd == this.params.params) { - console.log("result.data[i]", result.data[i]); - this.workListData.push(result.data[i]); - this.changeWorkListTd(result.data[i]); - this.changeWorkList(result.data[i]); - } - } - }) - .catch((error) => { - console.log(error); - }); - this.workListDatafcz = []; - axios - .get("/json/fczData.json") - .then((result) => { - console.log("getMenuData111", result.data); - for (var i = 0; i < result.data.length; i++) { - if (result.data[i].jd == this.params.params) { - console.log("result.data[i]", result.data[i]); - this.workListDatafcz.push(result.data[i]); - this.changeWorkListfcz(result.data[i]); - // this.changeWorkList(result.data[i]) - } - } - }) - .catch((error) => { - console.log(error); - }); - } - }, - getMain() { - this.$router.push({ - name: "landChild", - params: { id: this.params.params, type: this.params.type }, - }); - }, - //建筑物信息 - changeWorkList(data) { - var entries = Object.entries(data); - var list = entries.map(function (item) { - return { - value: item[1], - name: item[0], - }; - }); - for (var i = 0; i < list.length; i++) { - for (var t = 0; t < this.workList.length; t++) { - if (list[i].name == this.workList[t].name) { - this.workList[t].value = list[i].value; - } - } - } - this.workListData = this.workList; - }, - //不动产 - changeWorkListBdc(data) { - // this.workListBdc=[] - var entries = Object.entries(data); - var list = entries.map(function (item) { - return { - value: item[1], - name: item[0], - }; - }); - for (var i = 0; i < list.length; i++) { - for (var t = 0; t < this.workListBdc.length; t++) { - if (list[i].name == this.workListBdc[t].name) { - this.workListBdc[t].value = list[i].value; - } - } - } - // this.workListData = this.workListBdc - }, - //土地证 - changeWorkListTd(data) { - console.log("data", data); - var entries = Object.entries(data); - var list = entries.map(function (item) { - return { - value: item[1], - name: item[0], - }; - }); - for (var i = 0; i < list.length; i++) { - for (var t = 0; t < this.workListNew.length; t++) { - if (list[i].name == this.workListNew[t].name) { - this.workListNew[t].value = list[i].value; - } - } - } - this.workListData = this.workListNew; - }, - //房产证 - changeWorkListfcz(data) { - var entries = Object.entries(data); - var list = entries.map(function (item) { - return { - value: item[1], - name: item[0], - }; - }); - for (var i = 0; i < list.length; i++) { - for (var t = 0; t < this.workListFCZ.length; t++) { - if (list[i].name == this.workListFCZ[t].name) { - this.workListFCZ[t].value = list[i].value; - } - } - } - // this.workListData = this.workListFCZ - }, - //获取地图参数 - getFromIframe(value) { - this.tit = "建筑物信息"; - (this.workListBdc = [ - // { key: "建筑物名称", value: "",name:"jd" }, - // { key: "坐落地址", value: "",name:"tudi" }, - { key: "不动产证号", value: "", name: "bdczh" }, - { key: "权力性质", value: "", name: "qlxz" }, - { key: "用途", value: "", name: "yt" }, - { key: "宗地面积", value: "", name: "zdmj" }, - { key: "建筑面积", value: "", name: "jzmj" }, - { key: "权利人", value: "", name: "qlr" }, - // { key: "共有情况", value: "",name:"gyqk" }, - // { key: "坐落", value: "" ,name:"zl"}, - // { key: "不动产单元号", value: "" ,name:"bdcdyh"}, - // { key: "权力类型", value: "" ,name:"qllx"}, - // { key: "使用期限", value: "" ,name:"syqx"}, - // { key: "房屋结构", value: "" ,name:"fwjg"}, - // { key: "房屋总层数", value: "" ,name:"fwzcs"}, - // { key: "所在层数", value: "" ,name:"szcs"}, - // { key: "丘权号", value: "" ,name:"qqh"}, - // { key: "来源", value: "" ,name:"ly"}, - ]), - (this.workListNew = [ - // { key: "建筑物名称", value: "",name:"jd" }, - // { key: "坐落地址", value: "",name:"tudi" }, - { key: "土地证号", value: "", name: "tdzh" }, - { key: "权力性质", value: "", name: "syqlx" }, - { key: "土地用途", value: "", name: "dlyt" }, - { key: "土地面积", value: "", name: "tdmj" }, - { key: "权利人", value: "", name: "tdsyqr" }, - // { key: "共有情况", value: "",name:"gyqk" }, - // { key: "坐落", value: "",name:"zl" }, - // { key: "地号", value: "" ,name:"dh"}, - - // { key: "图号", value: "" ,name:"th"}, - - // { key: "使用权面积", value: "",name:"syqmj" }, - // { key: "终止日期", value: "" ,name:"zzrq"}, - ]), - (this.workListFCZ = [ - // { key: "建筑物名称", value: "",name:"jd" }, - // { key: "坐落地址", value: "",name:"tudi" }, - // { key: "房产证号", value: "" ,name:"fczh"}, - // { key: "房产使用权人", value: "",name:"fwsyqr" }, - // { key: "坐落", value: "",name:"zl" }, - // { key: "房屋用途", value: "" ,name:"fwcb"}, - // { key: "结构", value: "",name:"jg" }, - // { key: "房屋总层数", value: "",name:"fwzcs" }, - // { key: "面积", value: "" ,name:"jzmj"}, - // { key: "面积", value: "" ,name:"cqly"}, - { key: "房产证号", value: "", name: "fczh" }, - { key: "房屋产别", value: "", name: "fwcb" }, - { key: "房屋用途", value: "", name: "fwyt" }, - { key: "房屋面积", value: "", name: "jzmj" }, - { key: "房产使用权人", value: "", name: "fwsyqr" }, - ]), - (this.activeColor = -1); - this.workListqq = [{ key: "确权信息", value: "", name: "qq" }]; - this.params = value; - if (this.params.type == "不动产") { - this.centerList = [ - { - title: "不动产权证信息", - count: 0, - imgUrl: require("@/assets/landRes/bdc.png"), - }, - { - title: "确权情况", - count: 0, - imgUrl: require("@/assets/landRes/qq.png"), - }, - { - title: "证件查看", - count: 0, - imgUrl: require("@/assets/landRes/fdc.png"), - }, - ]; - } else if (this.params.type == "土地证") { - this.centerList = [ - { - title: "土地证信息", - count: "无", - imgUrl: require("@/assets/landRes/tdz.png"), - }, - { - title: "房产证信息", - count: 0, - imgUrl: require("@/assets/landRes/fdc.png"), - }, - { - title: "确权情况", - count: 0, - imgUrl: require("@/assets/landRes/qq.png"), - }, - { - title: "证件查看", - count: 0, - imgUrl: require("@/assets/landRes/bdc.png"), - }, - ]; - } - this.getJdData(this.params.type); - this.leftOpen = false; - this.rightOpen = false; - this.Visible = false; - this.basicInfoShow = true; - }, - - //菜单跳转 - btn(val, index) { - if (val != "证件查看") { - this.tit = val; - } - - this.Visible = false; - this.basicInfoShow = true; - this.activeColor = index; - if (val == "不动产权证信息") { - this.workListData = this.workListBdc; - this.rightOpen = false; - } else if (val == "土地证信息") { - this.workListData = this.workListNew; - this.rightOpen = false; - } else if (val == "房产证信息") { - this.workListData = this.workListFCZ; - this.rightOpen = false; - } else if (val == "确权情况") { - console.log("this.workListqq", this.workListqq); - this.workListData = this.workListqq; - this.rightOpen = false; - } - }, - - search(data) { - console.log("data", data); - this.Visible = true; - this.basicInfoShow = false; - this.rightOpen = false; - this.$nextTick(() => { - //这里的dialog与上面dialog-component组件里面的ref属性值是一致的 - //init调用的是dialog-component组件里面的init方法 - //data是传递给弹窗页面的值 - this.$refs.dialog.init(data); - }); - }, - //关闭查询弹框 - getClose() { - this.Visible = false; - this.rightOpen = true; - this.basicInfoShow = true; - }, - getjdName(val) { - this.jdNameNew = val; - }, - getjdNameClick(val) { - console.log("val", val); - this.$router.push({ - name: "landChild", - params: { id: val.jd, type: val.type }, - }); - }, - goPage(val) { - if (val == 0) { - console.log("返回房地资源-主场景"); - // this.$router.push("/land"); - this.$router.push("/"); - } - }, - cancelLoading() { - setTimeout(() => { - this.loading = false; - }, 500); - }, + + /** * 动态传输城市名称 * @param event @@ -1006,7 +814,6 @@ export default { window["vueDefinedMyProp"] = (build) => { this.build(); }; - window.getFromIframe = this.getFromIframe; window.show = this.show; }, }; @@ -1032,15 +839,15 @@ export default { background-image: url("../../assets/bt-02.png"); cursor: pointer; } -.bg{ +.bg { height: 1920px; width: 1080px; background: url("../../assets/newbanImg/mapBeijing.png") no-repeat !important; background-size: 100% 100% !important; display: flex; - flex-wrap: wrap; - align-content: space-around; - .mains{ + flex-wrap: wrap; + align-content: space-around; + .mains { width: 100%; height: calc(100% - 149px); display: flex; @@ -1048,11 +855,11 @@ export default { box-sizing: border-box; justify-content: space-between; align-items: flex-end; - .leftContent{ + .leftContent { width: 20%; height: 85%; padding: 0 10px; - .kehuCount{ + .kehuCount { height: 15%; width: 100%; display: flex; @@ -1060,112 +867,645 @@ export default { justify-content: space-evenly; padding-left: 10%; } - .countInfor{ + .countInfor { height: calc(100% - 40%); width: 55%; - .content{ + .content { height: 25%; width: 100%; - display: flex; - align-items: center; - justify-content: space-around; - .text{ - height: 50%; - display: flex; - flex-direction: column; - justify-content: space-between; - } + display: flex; + align-items: center; + justify-content: space-around; + .text { + height: 50%; + display: flex; + flex-direction: column; + justify-content: space-between; + } } } - } - .rightContent{ + .rightContent { width: 20%; height: 85%; padding: 0 10px; display: flex; - flex-direction: column; - align-items: flex-end; - .kehuCount{ + flex-direction: column; + align-items: flex-end; + .kehuCount { height: 15%; width: 55%; display: flex; flex-direction: column; justify-content: space-evenly; } - .countInfor{ + .countInfor { height: calc(100% - 40%); width: 67%; - .content{ + .content { height: 25%; width: 100%; - display: flex; - align-items: center; - justify-content: space-around; - .text{ - height: 50%; - display: flex; - flex-direction: column; - justify-content: space-between; - } + display: flex; + align-items: center; + justify-content: space-around; + .text { + height: 50%; + display: flex; + flex-direction: column; + justify-content: space-between; + } } } } - .yellowIcon{ - position: absolute !important; - top: 28%; - left: 36%; + .datushaIcon { + position: absolute !important; + top: 32%; + left: 37%; + animation: datushaIcon 1s linear; + } + @keyframes datushaIcon { + 0% { + top: 0px; + } //初始时图片位于顶部 + 100% { + top: 32%; + } //最终时图片位于300px处 + } + .yellowIcon { + position: absolute !important; + top: 32%; + left: 37%; + z-index: 999; + animation: movepoint 1s infinite; + display: flex; + flex-direction: column; + } + #pop { + position: absolute !important; + top: 5%; + left: 37%; + display: inline-block; + overflow: hidden; + width: 288px; + height: 275px; + .mask { + position: absolute; + width: 288px; + height: 275px; + top: 0; + left: 0; z-index: 999; - animation: movepoint 1s infinite; - display: flex; - flex-direction: column; } - #pop{ - position: absolute !important; - top: 6%; - left: 36%; - display: inline-block; - overflow: hidden; - width:288px; - height:275px; - .mask{ - position: absolute; - width: 288px; - height: 275px; - top: 0; - left: 0; - z-index:999 - } - } - @keyframes movepoint { - + } + @keyframes movepoint { 0% { transform: translateY(0px); - } - 50% { + } + 50% { transform: translateY(5px); - } - 100% { + } + 100% { transform: translateY(0px); + } } - + .mask { + animation: animate 3s linear; + overflow: hidden; + } + + @keyframes animate { + from { + height: 48px; + top: 275px; + } + to { + height: 275px; + top: 0px; + } + } + } - .mask{ - animation: animate 3s linear; - overflow: hidden; - } - @keyframes animate{ - from { - height: 0px; - top : 230px; - } - to { - height: 275px; - top : 0px; - } + //背景圆圈的效果 + .decorate { + width: 1091px; + height: 934px; + position: absolute; + top: 9%; + left: 22%; + -webkit-animation: scaleout 1.5s infinite ease-in-out; + animation: scaleout 1.5s infinite ease-in-out; + } + @-webkit-keyframes scaleout { + 0% { + -webkit-transform: scale(1); } - } + 100% { + -webkit-transform: scale(1.02); + opacity: 0; + } + } + @keyframes scaleout { + 0% { + transform: scale(1); + -webkit-transform: scale(1); + } + + 100% { + transform: scale(1.02); + -webkit-transform: scale(1.02); + opacity: 0; + } + } + //江苏地图效果 + .jiangsuMap { + width: 1920px; + height: 1080px; + position: absolute; + top: 0; + -webkit-animation: scalemap 1.5s infinite ease-in-out; + animation: scalemap 1.5s infinite ease-in-out; + animation-iteration-count: 1; + -webkit-animation-iteration-count: 1; + opacity: 1; + z-index: 100; + } + @-webkit-keyframes scalemap { + 0% { + -webkit-transform: scale(0); + opacity: 0; + } + + 100% { + -webkit-transform: scale(1); + opacity: 1; + } + } + @keyframes scalemap { + 0% { + transform: scale(0); + -webkit-transform: scale(0); + opacity: 0; + } + + 100% { + transform: scale(1); + -webkit-transform: scale(1); + opacity: 1; + } + } + //南京地图 + .nanjingMap { + width: 1920px; + height: 1080px; + position: absolute; + top: 0; + -webkit-animation: scalemap 1.5s infinite ease-in-out; + animation: scalemap 1.5s infinite ease-in-out; + animation-iteration-count: 1; + -webkit-animation-iteration-count: 1; + opacity: 1; + z-index: 100; + } + //江苏省市级图标 + .shijiIcon { + width: 1920px; + height: 1080px; + position: absolute; + z-index: 200; + top: 0; + } + .xuzhou { + animation: xuzhou 1s linear; //动画名称为falling,持续时间1s,动画速度变化线性 + animation-iteration-count: 1; + width: 68px; + height: 45px; + position: absolute; + top: 21%; + left: 30%; + } + .lianyungang { + animation: lianyungang 1s linear; //动画名称为falling,持续时间1s,动画速度变化线性 + animation-iteration-count: 1; + width: 68px; + height: 45px; + position: absolute; + top: 18%; + left: 45%; + } + .suqian { + animation: suqian 1s linear; //动画名称为falling,持续时间1s,动画速度变化线性 + animation-iteration-count: 1; + width: 68px; + height: 45px; + position: absolute; + top: 28%; + left: 38%; + } + .huaian { + animation: huaian 1s linear; //动画名称为falling,持续时间1s,动画速度变化线性 + animation-iteration-count: 1; + width: 68px; + height: 45px; + position: absolute; + top: 35%; + left: 40%; + } + .yancheng { + animation: yancheng 1s linear; //动画名称为falling,持续时间1s,动画速度变化线性 + animation-iteration-count: 1; + width: 68px; + height: 45px; + position: absolute; + top: 30%; + left: 53%; + } + .yangzhou { + animation: yangzhou 1s linear; //动画名称为falling,持续时间1s,动画速度变化线性 + animation-iteration-count: 1; + width: 68px; + height: 45px; + position: absolute; + top: 43%; + left: 46%; + } + .taizhou { + animation: taizhou 1s linear; //动画名称为falling,持续时间1s,动画速度变化线性 + animation-iteration-count: 1; + width: 68px; + height: 45px; + position: absolute; + top: 47%; + left: 53%; + } + .nantong { + animation: nantong 1s linear; //动画名称为falling,持续时间1s,动画速度变化线性 + animation-iteration-count: 1; + width: 68px; + height: 45px; + position: absolute; + top: 47%; + left: 63%; + } + .zhenjiang { + animation: zhenjiang 1s linear; //动画名称为falling,持续时间1s,动画速度变化线性 + animation-iteration-count: 1; + width: 68px; + height: 45px; + position: absolute; + top: 52%; + left: 46%; + } + .wuxi { + animation: wuxi 1s linear; //动画名称为falling,持续时间1s,动画速度变化线性 + animation-iteration-count: 1; + width: 68px; + height: 45px; + position: absolute; + top: 62%; + left: 56%; + } + .suzhou { + animation: suzhou 1s linear; //动画名称为falling,持续时间1s,动画速度变化线性 + animation-iteration-count: 1; + width: 68px; + height: 45px; + position: absolute; + top: 65%; + left: 61%; + } + .changzhou { + animation: changzhou 1s linear; //动画名称为falling,持续时间1s,动画速度变化线性 + animation-iteration-count: 1; + width: 68px; + height: 45px; + position: absolute; + top: 61%; + left: 46%; + } + .nanjing { + animation: nanjing 1s linear; //动画名称为falling,持续时间1s,动画速度变化线性 + animation-iteration-count: 1; + width: 167px; + height: 168px; + position: absolute; + top: 50%; + left: 36%; + } + .nanjing1 { + animation: movepoint 1s infinite; + z-index: 200; + cursor: pointer; + width: 167px; + height: 168px; + position: absolute; + top: 50%; + left: 36%; + } + .nanjingxuanshi { + width: 182px; + height: 282px; + position: absolute; + top: 46%; + left: 36%; + cursor: pointer; + } + .nanjingsekuai { + width: 182px; + height: 282px; + position: absolute; + top: 46%; + left: 36%; + cursor: pointer; + } + @keyframes xuzhou { + 0% { + top: 0px; + } //初始时图片位于顶部 + 100% { + top: 21%; + } //最终时图片位于300px处 + } + @keyframes lianyungang { + 0% { + top: 0px; + } //初始时图片位于顶部 + 100% { + top: 18%; + } //最终时图片位于300px处 + } + @keyframes suqian { + 0% { + top: 0px; + } //初始时图片位于顶部 + 100% { + top: 28%; + } //最终时图片位于300px处 + } + @keyframes huaian { + 0% { + top: 0px; + } //初始时图片位于顶部 + 100% { + top: 35%; + } //最终时图片位于300px处 + } + @keyframes yancheng { + 0% { + top: 0px; + } //初始时图片位于顶部 + 100% { + top: 30%; + } //最终时图片位于300px处 + } + @keyframes yangzhou { + 0% { + top: 0px; + } //初始时图片位于顶部 + 100% { + top: 43%; + } //最终时图片位于300px处 + } + @keyframes taizhou { + 0% { + top: 0px; + } //初始时图片位于顶部 + 100% { + top: 47%; + } //最终时图片位于300px处 + } + @keyframes nantong { + 0% { + top: 0px; + } //初始时图片位于顶部 + 100% { + top: 47%; + } //最终时图片位于300px处 + } + @keyframes zhenjiang { + 0% { + top: 0px; + } //初始时图片位于顶部 + 100% { + top: 52%; + } //最终时图片位于300px处 + } + @keyframes changzhou { + 0% { + top: 0px; + } //初始时图片位于顶部 + 100% { + top: 61%; + } //最终时图片位于300px处 + } + @keyframes wuxi { + 0% { + top: 0px; + } //初始时图片位于顶部 + 100% { + top: 62%; + } //最终时图片位于300px处 + } + @keyframes suzhou { + 0% { + top: 0px; + } //初始时图片位于顶部 + 100% { + top: 65%; + } //最终时图片位于300px处 + } + @keyframes nanjing { + 0% { + top: 0px; + } //初始时图片位于顶部 + 100% { + top: 50%; + } //最终时图片位于300px处 + } + //区级图标 + .qujiIcon { + width: 1920px; + height: 1080px; + position: absolute; + z-index: 200; + top: 0; + .liuhe { + width: 103px; + height: 75px; + position: absolute; + top: 24%; + left: 40%; + animation: liuhe 1s linear; + } + @keyframes liuhe { + 0% { + top: 0px; + } //初始时图片位于顶部 + 100% { + top: 24%; + } //最终时图片位于300px处 + } + .pukou { + width: 103px; + height: 75px; + position: absolute; + top: 41%; + left: 31%; + animation: pukou 1s linear; + } + @keyframes pukou { + 0% { + top: 0px; + } //初始时图片位于顶部 + 100% { + top: 41%; + } //最终时图片位于300px处 + } + .yuhua { + width: 103px; + height: 75px; + position: absolute; + top: 43%; + left: 36%; + animation: yuhua 1s linear; + } + @keyframes yuhua { + 0% { + top: 0px; + } //初始时图片位于顶部 + 100% { + top: 43%; + } //最终时图片位于300px处 + } + .jianye { + width: 103px; + height: 75px; + position: absolute; + top: 37%; + left: 38%; + animation: jianye 1s linear; + } + @keyframes jianye { + 0% { + top: 0px; + } //初始时图片位于顶部 + 100% { + top: 37%; + } //最终时图片位于300px处 + } + .gulou { + width: 103px; + height: 75px; + position: absolute; + top: 33%; + left: 38.5%; + animation: gulou 1s linear; + } + @keyframes gulou { + 0% { + top: 0px; + } //初始时图片位于顶部 + 100% { + top: 33%; + } //最终时图片位于300px处 + } + .qixia { + width: 103px; + height: 75px; + position: absolute; + top: 30%; + left: 44%; + animation: qixia 1s linear; + } + @keyframes qixia { + 0% { + top: 0px; + } //初始时图片位于顶部 + 100% { + top: 30%; + } //最终时图片位于300px处 + } + .xuanwu { + width: 103px; + height: 75px; + position: absolute; + top: 35%; + left: 42%; + animation: xuanwu 1s linear; + } + @keyframes xuanwu { + 0% { + top: 0px; + } //初始时图片位于顶部 + 100% { + top: 35%; + } //最终时图片位于300px处 + } + .qinhuai { + width: 103px; + height: 75px; + position: absolute; + top: 41%; + left: 42%; + animation: qinhuai 1s linear; + } + @keyframes qinhuai { + 0% { + top: 0px; + } //初始时图片位于顶部 + 100% { + top: 41%; + } //最终时图片位于300px处 + } + .jiangning { + width: 103px; + height: 75px; + position: absolute; + top: 45%; + left: 46%; + animation: jiangning 1s linear; + } + @keyframes jiangning { + 0% { + top: 0px; + } //初始时图片位于顶部 + 100% { + top: 45%; + } //最终时图片位于300px处 + } + .gaochun { + width: 103px; + height: 75px; + position: absolute; + top: 70%; + left: 60%; + animation: gaochun 1s linear; + } + @keyframes gaochun { + 0% { + top: 0px; + } //初始时图片位于顶部 + 100% { + top: 70%; + } //最终时图片位于300px处 + } + .lishui { + width: 103px; + height: 75px; + position: absolute; + top: 52%; + left: 57%; + animation: lishui 1s linear; + } + @keyframes lishui { + 0% { + top: 0px; + } //初始时图片位于顶部 + 100% { + top: 52%; + } //最终时图片位于300px处 + } + } } .back-button a:hover { background-image: url("../../assets/bt-002.png"); @@ -1340,7 +1680,6 @@ export default { } } - .leftModel { width: 24%; left: 1%; diff --git a/src/views/login/login.vue b/src/views/login/login.vue new file mode 100644 index 000000000..b652a5323 --- /dev/null +++ b/src/views/login/login.vue @@ -0,0 +1,166 @@ + + + + + \ No newline at end of file diff --git a/src/views/pop/model.vue b/src/views/pop/model.vue index 864028825..df2d87d6a 100644 --- a/src/views/pop/model.vue +++ b/src/views/pop/model.vue @@ -35,7 +35,7 @@ mounted(){ this.text = '纪念馆-新馆' }else{ this.unityUrl = "/htWeb/unity.html?src=2"; - this.text = '纪念馆-久馆' + this.text = '纪念馆-旧馆' } }, methods:{