linwenxin 1 سال پیش
والد
کامیت
e219e0ef1a

BIN
src/assets/fanhuizhuye.png


+ 1 - 1
src/views/bigViews/dataView1/components/mapDataStatistics.vue

@@ -193,7 +193,7 @@ export default {
       line-height: 28px;
       box-sizing: border-box;
       padding: 0 5px;
-      background:repeating-linear-gradient(to right, rgba(250,250,250,.3),rgba(250,250,250,.0));
+      background:repeating-linear-gradient(to right, #02448e,rgba(250,250,250,.0));
     }
     .fujimaintext{
       width:100%;

+ 5 - 5
src/views/bigViews/dataView1/components/mapdata.vue

@@ -152,11 +152,11 @@ export default {
             itemStyle: {
               normal: {
                 areaColor: cityColors[city],
-                borderColor: 'none'
+                borderColor:  cityColors[city],
               },
               emphasis: {
-                areaColor: cityColors[city],
-                borderColor: 'none'
+                areaColor:  'none',
+                borderColor: 1
               }
             },
           };
@@ -193,8 +193,8 @@ export default {
               shadowBlur: 10,
             },
             emphasis: {
-              areaColor: '#0082ff',
-              borderWidth: 0,
+              areaColor: 'none',
+              borderWidth: 1
             },
           },
           select: {

+ 2 - 2
src/views/bigViews/dataView1/components/workOrderTrend.vue

@@ -195,11 +195,11 @@ export default {
 <style scoped lang="scss">
 
 ::v-deep .slidingBgClassName {
-  background: #082570 !important;
+  background: rgba(0,0,0,0) !important;
 }
 
 ::v-deep .slidingBlockClassName {
-  background: #81bcff !important;
+  background: rgba(0,0,0,0) !important;
 }
 
 .all-container {

+ 12 - 65
src/views/bigViews/index.vue

@@ -1,7 +1,7 @@
 <template>
   <page-size-limit>
-    <div class="big-view-t1" @wheel="goWheel">
-      <!-- <div
+    <div class="big-view-t1" v-if="showBool">
+      <div
         class="bggif"
         :style="{
           background: `url('${
@@ -14,12 +14,14 @@
             ][dayIndex]
           }')`,
         }"
-      /> -->
+      />
       <zj-page-container>
         <div class="head-size"><head-view/></div>
         <zj-page-fill>
           <dataView1/>
         </zj-page-fill>
+        <div @click="huishouye" :style="`position: fixed;right: 20px;bottom: 100px;background-image: url(${fanhuizhuye});background-size: 100%;width:30px;height: 30px;z-index: 9999;`">
+        </div>
         <div @click="shuxinyemian" :style="`position: fixed;right: 20px;bottom: 60px;background-image: url(${shuaxin});background-size: 100%;width:30px;height: 30px;z-index: 9999;`">
         </div>
         <div :style="`position: fixed;right: 20px;bottom: 20px;background-image: url(${quanpin});background-size: 100%;width:30px;height: 30px;z-index: 9999;display: flex;justify-content: center;align-items: center;`">
@@ -35,16 +37,11 @@ import Screenfull from '@/components/Screenfull'
 import pageSizeLimit from '@/components/page-size-limit.vue';
 import headView from '@/components/head.vue';
 import { delayPerform } from 'js-perform-lock';
-import { login } from '@/api/bigView.js';
-import Cookies from 'js-cookie';
-import { commonly } from '@/api/bigView.js';
-import loginbg from '@/assets/loginbg.png';
 import quanpin from '@/assets/全屏@2x.png';
 import shuaxin from '@/assets/刷新@2x.png';
-import { ElMessage, ElLoading } from 'element-ui';
+import fanhuizhuye from '@/assets/fanhuizhuye.png';
 var d;
 import dataView1 from './dataView1/index.vue';
-import bus from '@/utils/eventBus.js';
 export default {
   components: {
     headView,
@@ -56,13 +53,9 @@ export default {
     return {
       quanpin,
       shuaxin,
+      fanhuizhuye,
       dayIndex: (new Date().getDate() - 1) % 5,
-      loginbg,
-      dialogVisible: Cookies.get('token') ? false : true,
-      dynamicValidateForm: {},
       showBool: true,
-      swindex: 0,
-      autoplay: true,
     };
   },
   mounted() {
@@ -70,71 +63,25 @@ export default {
       this.re();
     });
     window.addEventListener('resize', d);
-    if (!this.dialogVisible) {
-      commonly()
-        .then(() => {})
-        .catch(() => {
-          this.dialogVisible = true;
-        });
-    }
-    bus.on('autoplay', (autoplay) => {
-      this.autoplay = autoplay;
-    });
   },
   beforeUnmount() {
     window.removeEventListener('resize', d);
   },
   methods: {
+    huishouye(){
+      this.$router.push({
+        name: 'home'
+      })
+    },
     shuxinyemian(){
       location.reload();
     },
-    changeswiper(index) {
-      this.swindex = index;
-    },
-    goWheel(event) {
-      if (this.$refs.swiper) {
-        if (event.deltaY > 0 && this.swindex < 2) {
-          this.$refs.swiper.next();
-        }
-        if (event.deltaY < 0 && this.swindex > 0) {
-          this.$refs.swiper.prev();
-        }
-      }
-    },
     re() {
       this.showBool = false;
-      this.autoplay = true;
-      this.swindex = 0;
       this.$nextTick(() => {
         this.showBool = true;
       });
     },
-    sub() {
-      if (!this.dynamicValidateForm.username) {
-        ElMessage.error('用户名不能为空');
-        return;
-      }
-      if (!this.dynamicValidateForm.password) {
-        ElMessage.error('密码不能为空');
-        return;
-      }
-      const loading = ElLoading.service({
-        lock: true,
-        text: 'Loading',
-        background: 'rgba(0, 0, 0, 0.7)',
-      });
-      login({ params: this.dynamicValidateForm })
-        .then((res) => {
-          Cookies.set('token', res.data);
-          this.dialogVisible = false;
-          loading.close();
-          this.re();
-        })
-        .catch((err) => {
-          loading.close();
-          console.log(err);
-        });
-    },
   },
 };
 </script>