Ver Fonte

单机页面4个导航图标 ,健康单机页面7个导航图标

wsy há 4 anos atrás
pai
commit
1506a086a7

+ 11 - 0
src/assets/icon/svg/menu/q健康.svg

@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<svg width="116px" height="144px" viewBox="0 0 116 144" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
+    <!-- Generator: Sketch 55.2 (78181) - https://sketchapp.com -->
+    <title>健康 </title>
+    <desc>Created with Sketch.</desc>
+    <g id="页面1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
+        <g id="健康-" transform="translate(-0.007812, -0.023438)" fill="#000000" fill-rule="nonzero">
+            <path d="M12.0078125,40.0234375 L12.0078125,132.023438 L104.007812,132.023438 L104.007812,40.0234375 L12.0078125,40.0234375 Z M52.0078125,80.0234375 L34.0078125,80.0234375 L34.0078125,92.0234375 L52.0078125,92.0234375 L52.0078125,110.023438 L64.0078125,110.023438 L64.0078125,92.0234375 L82.0078125,92.0234375 L82.0078125,80.0234375 L64.0078125,80.0234375 L64.0078125,62.0234375 L52.0078125,62.0234375 L52.0078125,80.0234375 Z M20.0078125,28.0234375 L20.0078125,22.0234375 C20.0078125,9.87304688 29.8574219,0.0234375 42.0078125,0.0234375 L74.0078125,0.0234375 C86.1582031,0.0234375 96.0078125,9.87304688 96.0078125,22.0234375 L96.0078125,28.0234375 L106.007812,28.0234375 C111.530664,28.0234375 116.007812,32.5005859 116.007812,38.0234375 L116.007812,134.023438 C116.007812,139.546289 111.530664,144.023438 106.007812,144.023438 L10.0078125,144.023438 C4.48496094,144.023438 0.0078125,139.546289 0.0078125,134.023438 L0.0078125,38.0234375 C0.0078125,32.5005859 4.48496094,28.0234375 10.0078125,28.0234375 L20.0078125,28.0234375 Z M32.0078125,28.0234375 L84.0078125,28.0234375 L84.0078125,22.0234375 C84.0078125,16.5005859 79.5306641,12.0234375 74.0078125,12.0234375 L42.0078125,12.0234375 C36.4849609,12.0234375 32.0078125,16.5005859 32.0078125,22.0234375 L32.0078125,28.0234375 Z" id="形状"></path>
+        </g>
+    </g>
+</svg>

+ 13 - 0
src/assets/icon/svg/menu/q实时监视.svg

@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<svg width="175px" height="176px" viewBox="0 0 175 176" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
+    <!-- Generator: Sketch 55.2 (78181) - https://sketchapp.com -->
+    <title>实时监视</title>
+    <desc>Created with Sketch.</desc>
+    <g id="页面1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
+        <g id="实时监视" transform="translate(0.085938, 0.500000)" fill="#000000" fill-rule="nonzero">
+            <path d="M140.039062,0 L174.414062,59.55 L63.2390625,123.75 L28.8640625,64.2 L140.026563,0 L140.039062,0 Z M135.126563,18.3125 L47.1640625,69.0875 L68.1390625,105.4125 L156.101562,54.6375 L135.126563,18.3125 Z" id="形状"></path>
+            <path d="M0.0515625,80.8125 L48.9015625,73.0625 L66.0140625,102.6875 L34.4390625,140.375 L0.0640625,80.8125 L0.0515625,80.8125 Z M21.4015625,90.9875 L36.4640625,117.075 L49.7015625,101.275 L41.8890625,87.7375 L21.3890625,90.9875 L21.4015625,90.9875 Z M112.514062,88.6375 L112.514062,174.825 L100.014062,174.825 L100.014062,88.625 L112.514062,88.6375 Z" id="形状"></path>
+            <polygon id="路径" points="153.201562 162.325 153.201562 174.825 106.264062 174.825 106.264062 162.325"></polygon>
+        </g>
+    </g>
+</svg>

+ 12 - 0
src/assets/icon/svg/menu/q曲线.svg

@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<svg width="205px" height="200px" viewBox="0 0 205 200" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
+    <!-- Generator: Sketch 55.2 (78181) - https://sketchapp.com -->
+    <title>曲线</title>
+    <desc>Created with Sketch.</desc>
+    <g id="页面1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
+        <g id="曲线" fill="#2C2C2C" fill-rule="nonzero">
+            <path d="M196,191.3 L9,191.3 L196,191.3 Z M77,131.8 L83.6,126.1 L182,40.5 L77,131.8 L77,131.8 Z" id="形状"></path>
+            <polyline id="路径" points="0.4 121.7 0.4 0 17.8 0 17.8 107.7 37.6 91.7 47.5 83.4 77.9 119.6 182.9 28.4 194.3 41.5 76.1 144.1 67.7 134.4 67.7 134.4 66.7 133.2 64.7 130.9 64.7 130.9 45.3 107.7 17.8 130 17.8 182.6 204.8 182.6 204.8 200 0.4 200 0.4 126.6"></polyline>
+        </g>
+    </g>
+</svg>

+ 12 - 0
src/assets/icon/svg/menu/q趋势.svg

@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<svg width="172px" height="172px" viewBox="0 0 172 172" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
+    <!-- Generator: Sketch 55.2 (78181) - https://sketchapp.com -->
+    <title>趋势</title>
+    <desc>Created with Sketch.</desc>
+    <g id="页面1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
+        <g id="趋势" transform="translate(0.257812, 0.257812)" fill="#2C2C2C" fill-rule="nonzero">
+            <path d="M157.170759,0.0279017578 L171.456473,0.0279017578 L171.456473,57.170759 L157.170759,57.170759 L157.170759,14.313616 L114.313616,14.313616 L114.313616,0.0279017578 L157.170759,0.0279017578 Z M157.170759,157.170759 L171.456473,157.170759 L171.456473,171.456473 L0.0279017578,171.456473 L0.0279017578,157.170759 L14.313616,157.170759 L14.313616,128.59933 L28.5993303,128.59933 L28.5993303,157.170759 L57.170759,157.170759 L57.170759,85.7421875 L71.4564732,85.7421875 L71.4564732,157.170759 L100.027902,157.170759 L100.027902,114.313616 L114.313616,114.313616 L114.313616,157.170759 L142.885045,157.170759 L142.885045,71.4564732 L157.170759,71.4564732 L157.170759,157.170759 Z" id="形状"></path>
+            <polygon id="路径" points="106.656473 74.9279018 96.5564732 85.0279018 66.2564732 54.713616 11.570759 109.413616 1.45647324 99.313616 66.2421875 34.513616 76.3421875 44.613616 96.5421875 64.8279018 147.070759 14.313616 157.170759 14.313616 157.170759 24.413616"></polygon>
+        </g>
+    </g>
+</svg>

Diff do ficheiro suprimidas por serem muito extensas
+ 7 - 0
src/assets/icon/svg/menu/s升压站.svg


Diff do ficheiro suprimidas por serem muito extensas
+ 7 - 0
src/assets/icon/svg/menu/s地图.svg


+ 12 - 0
src/assets/icon/svg/menu/s场站监视.svg

@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<svg width="151px" height="180px" viewBox="0 0 151 180" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
+    <!-- Generator: Sketch 55.2 (78181) - https://sketchapp.com -->
+    <title>场站监视</title>
+    <desc>Created with Sketch.</desc>
+    <g id="页面1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
+        <g id="场站监视" transform="translate(0.851562, 0.515625)" fill="#000000" fill-rule="nonzero">
+            <path d="M75,58.5287109 C61.5178811,58.5287109 49.3633021,66.6501539 44.2039367,79.1060152 C39.0445714,91.5618765 41.8964713,105.899181 51.429797,115.432451 C60.9631226,124.96572 75.3004436,127.817536 87.7562747,122.658098 C100.212106,117.49866 108.333398,105.344033 108.333398,91.8619141 C108.333398,73.4524627 93.4094513,58.5287109 75,58.5287109 Z M75,112.695312 C63.4940318,112.695312 54.1666016,103.367882 54.1666016,91.8619141 C54.1666016,80.3559458 63.4940318,71.0285156 75,71.0285156 C86.5059682,71.0285156 95.8333984,80.3559458 95.8333984,91.8619141 C95.8333984,103.367882 86.5059682,112.695312 75,112.695312 Z M66.6666016,37.6953125 C66.6666016,42.2977214 70.3975911,46.0287109 75,46.0287109 C79.6024089,46.0287109 83.3333984,42.2977214 83.3333984,37.6953125 C83.3333984,33.0929036 79.6024089,29.3619141 75,29.3619141 C70.3975911,29.3619141 66.6666016,33.0929036 66.6666016,37.6953125 L66.6666016,37.6953125 Z" id="形状"></path>
+            <path d="M102.166602,145.028711 C135.838711,131.989506 155.439698,96.8077122 148.807251,61.3134528 C142.174804,25.8191934 111.191912,0.089488617 75.0833008,0.089488617 C38.9746896,0.089488617 7.9917975,25.8191934 1.35935055,61.3134528 C-5.27309639,96.8077122 14.3278909,131.989506 48,145.028711 C39.1459146,150.209285 31.9267627,157.774888 27.1666016,166.861914 L4.16660156,166.861914 L4.16660156,179.361914 L145.833398,179.361914 L145.833398,166.861914 L123,166.861914 C118.239839,157.774888 111.020687,150.209285 102.166602,145.028711 Z M12.5,75.1953125 C12.5,40.6775156 40.4822031,12.6953125 75,12.6953125 C109.517797,12.6953125 137.5,40.6775156 137.5,75.1953125 C137.5,109.713109 109.517797,137.695313 75,137.695313 C40.4822031,137.695313 12.5,109.713109 12.5,75.1953125 L12.5,75.1953125 Z M41.6666016,166.861914 C49.5355139,156.369928 61.8850641,150.195117 75,150.195117 C88.1149359,150.195117 100.464486,156.369928 108.333398,166.861914 L41.6666016,166.861914 Z" id="形状"></path>
+        </g>
+    </g>
+</svg>

+ 12 - 0
src/assets/icon/svg/menu/s总貌.svg

@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<svg width="177px" height="172px" viewBox="0 0 177 172" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
+    <!-- Generator: Sketch 55.2 (78181) - https://sketchapp.com -->
+    <title>总貌</title>
+    <desc>Created with Sketch.</desc>
+    <g id="页面1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
+        <g id="总貌" transform="translate(0.765625, 0.906250)" fill="#000000" fill-rule="nonzero">
+            <path d="M88.0609375,137.771484 L88.0359375,137.771484 C86.2242277,137.767238 84.5040451,136.974804 83.3234375,135.600586 C81.5234375,133.504688 79.5568359,131.263086 77.4816406,128.896289 C58.9861328,107.813086 34.0234375,80.3296875 34.0234375,54.4712891 C34.0234375,24.4671875 58.4316406,0.0587890625 88.4359375,0.0587890625 C118.440234,0.0587890625 142.844141,24.4671875 142.844141,54.4712891 C142.844141,80.8505859 116.565039,108.725586 97.6527344,130.096289 C95.9359375,132.033789 94.2984375,133.888086 92.7693359,135.638086 C91.5812236,136.995264 89.8646952,137.772961 88.0609375,137.771484 L88.0609375,137.771484 Z M88.4359375,12.5587891 C65.3275391,12.5587891 46.5234375,31.3587891 46.5234375,54.4712891 C46.5234375,83.0421875 76.2025391,107.513086 88.4818359,122.692187 C100.656836,106.821289 130.34004,83.1755859 130.34004,54.4714844 C130.344336,31.3587891 111.544336,12.5587891 88.4359375,12.5587891 Z" id="形状"></path>
+            <path d="M88.4359375,75.1130859 C75.3402344,75.1130859 64.6900391,64.4587891 64.6900391,51.3630859 C64.6900391,38.2673828 75.3443359,27.6130859 88.4359375,27.6130859 C101.535938,27.6130859 112.185938,38.2671875 112.185938,51.3630859 C112.185938,64.4589844 101.535938,75.1130859 88.4359375,75.1130859 L88.4359375,75.1130859 Z M88.4359375,40.1130859 C82.2359375,40.1130859 77.1900391,45.1587891 77.1900391,51.3630859 C77.1900391,57.5673828 82.2359375,62.6087891 88.4359375,62.6087891 C94.6400391,62.6087891 99.6859375,57.5671875 99.6859375,51.3630859 C99.6859375,45.1589844 94.6400391,40.1130859 88.4359375,40.1130859 Z M169.831836,170.979688 L6.33984375,170.979688 C4.18574219,170.979688 2.18574219,169.867188 1.04414063,168.046289 C-0.0985612368,166.22164 -0.221365156,163.937222 0.719140625,162.000586 L24.8441406,112.071289 C25.8899946,109.91717 28.0745553,108.549847 30.4691406,108.550586 L44.4898438,108.550586 C47.9398438,108.550586 50.7398438,111.350586 50.7398438,114.800586 C50.7398438,118.254688 47.9398438,121.050586 44.4898438,121.050586 L34.3773438,121.050586 L16.3232422,158.479688 L160.260742,158.479688 L143.927344,121.046289 L131.777344,121.046289 C128.327344,121.046289 125.527344,118.250586 125.527344,114.796289 C125.527344,111.346289 128.327344,108.546289 131.777344,108.546289 L148.010742,108.546289 C150.489844,108.546289 152.735742,110.017188 153.731445,112.279688 L175.552734,162.213086 C176.402814,164.144815 176.219424,166.375253 175.065234,168.142187 C173.915234,169.913086 171.944531,170.979688 169.832031,170.979688 L169.831836,170.979688 Z" id="形状"></path>
+        </g>
+    </g>
+</svg>

+ 16 - 0
src/assets/icon/svg/menu/s指标列表.svg

@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<svg width="176px" height="157px" viewBox="0 0 176 157" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
+    <!-- Generator: Sketch 55.2 (78181) - https://sketchapp.com -->
+    <title>指标列表</title>
+    <desc>Created with Sketch.</desc>
+    <g id="页面1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
+        <g id="指标列表" transform="translate(-0.148438, 0.210938)" fill="#2C2C2C" fill-rule="nonzero">
+            <path d="M0.5,68.8 L69.3,68.8 L69.3,0 L0.5,0 L0.5,68.8 Z M13,12.5 L56.8,12.5 L56.8,56.3 L13,56.3 L13,12.5 Z" id="形状"></path>
+            <path d="M0.5,156.2 L69.3,156.2 L69.3,87.4 L0.5,87.4 L0.5,156.2 Z M13,100 L56.8,100 L56.8,143.8 L13,143.8 L13,100 Z" id="形状"></path>
+            <rect id="矩形" x="84.7" y="6.2" width="90.8" height="12.5"></rect>
+            <rect id="矩形" x="84.7" y="50" width="90.8" height="12.5"></rect>
+            <rect id="矩形" x="84.7" y="93.8" width="90.8" height="12.5"></rect>
+            <rect id="矩形" x="84.7" y="137.5" width="90.8" height="12.5"></rect>
+        </g>
+    </g>
+</svg>

+ 11 - 0
src/assets/icon/svg/menu/s测风塔.svg

@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<svg width="118px" height="151px" viewBox="0 0 118 151" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
+    <!-- Generator: Sketch 55.2 (78181) - https://sketchapp.com -->
+    <title>测风塔</title>
+    <desc>Created with Sketch.</desc>
+    <g id="页面1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
+        <g id="测风塔" transform="translate(-0.148438, 0.210938)" fill="#000000" fill-rule="nonzero">
+            <path d="M106.6,61.2 C101.4,61.2 97.1,66.4 95.8,71.4 L56.4,71.4 L56.4,45.8 L83.6,45.8 C84.8,50.8 89.2,52.9 94.4,52.9 C100.6,52.9 105.6,47.8 105.6,41.4 C105.6,35.1 100.6,29.9 94.4,29.9 C89.2,29.9 84.9,35.1 83.6,40.1 L56.4,40.1 L56.4,16 L65.3,16 C66.5,21 70.9,23.1 76.1,23.1 C82.3,23.1 87.3,18 87.3,11.6 C87.3,5.3 82.3,0.1 76.1,0.1 C70.9,0.1 66.6,5.3 65.3,10.3 L56.4,10.3 L56.4,4.5 C56.4,3.7 55.8,3.1 55,3.1 L39,3.1 C38.2,3.1 37.6,3.7 37.6,4.5 L37.6,131.5 L35.8,131.5 C34.3,131.5 33,132.8 33,134.4 C33,136 34.3,137.3 35.8,137.3 C34.3,137.3 33,138.6 33,140.2 C33,141.8 34.3,143.1 35.8,143.1 C34.9,143.1 34.1,143.6 33.6,144.3 L9.3,144.3 L0.3,150.6 L93.7,150.6 L84.7,144.3 L60.4,144.3 C59.9,143.6 59.1,143.1 58.2,143.1 C59.7,143.1 61,141.8 61,140.2 C61,138.6 59.7,137.3 58.2,137.3 C59.7,137.3 61,136 61,134.4 C61,132.8 59.7,131.5 58.2,131.5 L56.5,131.5 L56.5,77.2 L95.9,77.2 C97.1,82.2 101.5,84.3 106.7,84.3 C112.9,84.3 117.9,79.2 117.9,72.8 C117.7,66.3 112.7,61.2 106.6,61.2 Z" id="路径"></path>
+        </g>
+    </g>
+</svg>

+ 4 - 4
src/views/HealthControl/Health4.vue

@@ -34,16 +34,16 @@ export default {
       wpId:"",
       wtId:"",
       menuDatas: [{
-        icon: "svg-agc",
+        icon: "svg-q实时监视",
         path: "/health/health0",
       },{
-        icon: "svg-agc",
+        icon: "svg-q健康",
         path: "/health/health10",
       },{
-        icon: "svg-agc",
+        icon: "svg-q趋势",
         path: "/health/health4/healthLineChart2",
       },{
-        icon: "svg-agc",
+        icon: "svg-q曲线",
         path: "/health/health4/healthLineChart",
       }]
     };

+ 203 - 203
src/views/WindSite/WindSite.vue

@@ -1,203 +1,203 @@
-<template>
-  <div class="wind-site">
-    <div class="page-common-body">
-      <div class="page-common-body-router">
-        <router-view />
-      </div>
-      <div class="page-common-body-menu">
-        <div class="page-common-body-menu-box">
-          <div class="page-common-body-menu-border left top"></div>
-          <div class="page-common-body-menu-border left bottom"></div>
-          <div class="page-common-body-menu-border right top"></div>
-          <div class="page-common-body-menu-border right bottom"></div>
-          <router-link v-for="(menuData, index) of menuDatas" :key="index" :to="menuData.path">
-            <div class="page-common-body-menu-item" @click="clickMenu(index)" :class="{ active: activeIndex == index }">
-              <span class="svg-icon" :class="activeIndex == index ? 'svg-icon-yellow' : 'svg-icon-green'">
-                <SvgIcon :svgid="menuData.icon"></SvgIcon>
-              </span>
-            </div>
-          </router-link>
-        </div>
-      </div>
-    </div>
-  </div>
-</template>
-
-<script>
-import SvgIcon from "@com/coms/icon/svg-icon.vue";
-export default {
-  // 名称
-  name: "WindSite",
-  // 使用组件
-  components: {
-    SvgIcon,
-  },
-  // 数据
-  data() {
-    return {
-      activeIndex: 0,
-      menuDatas: [
-        {
-          icon: "svg-agc",
-          path: "/monitor/windsite/home",
-        },
-        {
-          icon: "svg-matrix",
-          path: "/monitor/windsite/draughtfanlist",
-        },
-        // {
-        //   icon: "svg-agc",
-        //   path: "/monitor/windsite/matrix",
-        // },
-        // {
-        //   icon: "svg-agc",
-        //   path: "/monitor/windsite/lightmatrix",
-        // },
-        // {
-        //   icon: "svg-intranet-involvement",
-        //   path: "/monitor/windsite/box",
-        // },
-        // {
-        //   icon: "svg-matrix",
-        //   path: "/monitor/windsite/info",
-        // },
-        {
-          icon: "svg-easy-compass",
-          path: "/monitor/windsite/tower",
-        },
-        // {
-        //   icon: "svg-easy-compass",
-        //   path: "/monitor/windsite/Inverter-Info",
-        // },
-        // {
-        //   icon: "svg-easy-compass",
-        //   path: "/monitor/windsite/map",
-        // },
-        // {
-        //   icon: "svg-easy-compass",
-        //   path: "/monitor/windsite/map1",
-        // },
-        {
-          icon: "svg-matrix",
-          path: "/monitor/windsite/matrix",
-        },
-        {
-          icon: "svg-matrix",
-          path: "/monitor/windsite/generalappearance",
-        },
-        {
-          icon: "svg-matrix",
-          path: "/monitor/windsite/boosterstation",
-        },
-        {
-          icon: "svg-matrix",
-          path: "/monitor/windsite/map",
-        },
-      ],
-    };
-  },
-  // 函数
-  methods: {
-    clickMenu: function(index) {
-      this.activeIndex = index;
-    },
-  },
-
-  created() {
-    this.menuDatas.forEach((ele) => {
-      ele.path = ele.path + "/" + this.$route.params.wpId;
-    });
-  },
-
-  mounted() {},
-};
-</script>
-
-<style lang="less" scoped>
-.wind-site {
-  .page-common-body {
-    display: flex;
-    flex-direction: row;
-    margin-top: 0.741vh;
-
-    .page-common-body-router {
-      overflow: auto;
-      overflow-x: hidden;
-      height: calc(100vh - 7.037vh);
-      flex: 1 1 auto;
-    }
-
-    .page-common-body-menu {
-      width: 7.407vh;
-      padding: 0 1.481vh 1.481vh 1.481vh;
-
-      .page-common-body-menu-box {
-        border: 0.093vh solid @darkgray;
-        background-color: fade(@darkgray, 30%);
-        padding: 2.222vh 0.185vh;
-        position: relative;
-
-        .page-common-body-menu-border {
-          position: absolute;
-          width: 0.37vh;
-          height: 0.37vh;
-          background-color: @write;
-          border-radius: 50%;
-
-          &.left {
-            left: -0.185vh;
-          }
-
-          &.right {
-            right: -0.185vh;
-          }
-
-          &.top {
-            top: -0.185vh;
-          }
-
-          &.bottom {
-            bottom: -0.185vh;
-          }
-        }
-
-        .page-common-body-menu-item {
-          border: 0.093vh solid fade(@green, 40%);
-          width: 3.889vh;
-          height: 3.889vh;
-          border-radius: 0.278vh;
-          margin-top: 0.741vh;
-          display: flex;
-          align-items: center;
-          justify-content: center;
-          cursor: pointer;
-
-          a {
-            line-height: 0;
-          }
-
-          // &:first-child {
-          //   margin-top: 0;
-          // }
-
-          &.active {
-            border-color: fade(@yellow, 40%);
-            position: relative;
-
-            &::after {
-              content: "";
-              width: calc(100% - 0.37vh);
-              height: calc(100% - 0.37vh);
-              position: absolute;
-              border: 0.093vh solid @yellow;
-              box-shadow: 0 0 0.37vh @yellow;
-              top: 0.093vh;
-              left: 0.093vh;
-            }
-          }
-        }
-      }
-    }
-  }
-}
-</style>
+<template>
+  <div class="wind-site">
+    <div class="page-common-body">
+      <div class="page-common-body-router">
+        <router-view />
+      </div>
+      <div class="page-common-body-menu">
+        <div class="page-common-body-menu-box">
+          <div class="page-common-body-menu-border left top"></div>
+          <div class="page-common-body-menu-border left bottom"></div>
+          <div class="page-common-body-menu-border right top"></div>
+          <div class="page-common-body-menu-border right bottom"></div>
+          <router-link v-for="(menuData, index) of menuDatas" :key="index" :to="menuData.path">
+            <div class="page-common-body-menu-item" @click="clickMenu(index)" :class="{ active: activeIndex == index }">
+              <span class="svg-icon" :class="activeIndex == index ? 'svg-icon-yellow' : 'svg-icon-green'">
+                <SvgIcon :svgid="menuData.icon"></SvgIcon>
+              </span>
+            </div>
+          </router-link>
+        </div>
+      </div>
+    </div>
+  </div>
+</template>
+
+<script>
+import SvgIcon from "@com/coms/icon/svg-icon.vue";
+export default {
+  // 名称
+  name: "WindSite",
+  // 使用组件
+  components: {
+    SvgIcon,
+  },
+  // 数据
+  data() {
+    return {
+      activeIndex: 0,
+      menuDatas: [
+        {
+          icon: "svg-s场站监视",
+          path: "/monitor/windsite/home",
+        },
+        {
+          icon: "svg-s指标列表",
+          path: "/monitor/windsite/draughtfanlist",
+        },
+        // {
+        //   icon: "svg-agc",
+        //   path: "/monitor/windsite/matrix",
+        // },
+        // {
+        //   icon: "svg-agc",
+        //   path: "/monitor/windsite/lightmatrix",
+        // },
+        // {
+        //   icon: "svg-intranet-involvement",
+        //   path: "/monitor/windsite/box",
+        // },
+        // {
+        //   icon: "svg-matrix",
+        //   path: "/monitor/windsite/info",
+        // },
+        {
+          icon: "svg-s测风塔",
+          path: "/monitor/windsite/tower",
+        },
+        // {
+        //   icon: "svg-easy-compass",
+        //   path: "/monitor/windsite/Inverter-Info",
+        // },
+        // {
+        //   icon: "svg-easy-compass",
+        //   path: "/monitor/windsite/map",
+        // },
+        // {
+        //   icon: "svg-easy-compass",
+        //   path: "/monitor/windsite/map1",
+        // },
+        {
+          icon: "svg-matrix",
+          path: "/monitor/windsite/matrix",
+        },
+        {
+          icon: "svg-s总貌",
+          path: "/monitor/windsite/generalappearance",
+        },
+        {
+          icon: "svg-s升压站",
+          path: "/monitor/windsite/boosterstation",
+        },
+        {
+          icon: "svg-s地图",
+          path: "/monitor/windsite/map",
+        },
+      ],
+    };
+  },
+  // 函数
+  methods: {
+    clickMenu: function(index) {
+      this.activeIndex = index;
+    },
+  },
+
+  created() {
+    this.menuDatas.forEach((ele) => {
+      ele.path = ele.path + "/" + this.$route.params.wpId;
+    });
+  },
+
+  mounted() {},
+};
+</script>
+
+<style lang="less" scoped>
+.wind-site {
+  .page-common-body {
+    display: flex;
+    flex-direction: row;
+    margin-top: 0.741vh;
+
+    .page-common-body-router {
+      overflow: auto;
+      overflow-x: hidden;
+      height: calc(100vh - 7.037vh);
+      flex: 1 1 auto;
+    }
+
+    .page-common-body-menu {
+      width: 7.407vh;
+      padding: 0 1.481vh 1.481vh 1.481vh;
+
+      .page-common-body-menu-box {
+        border: 0.093vh solid @darkgray;
+        background-color: fade(@darkgray, 30%);
+        padding: 2.222vh 0.185vh;
+        position: relative;
+
+        .page-common-body-menu-border {
+          position: absolute;
+          width: 0.37vh;
+          height: 0.37vh;
+          background-color: @write;
+          border-radius: 50%;
+
+          &.left {
+            left: -0.185vh;
+          }
+
+          &.right {
+            right: -0.185vh;
+          }
+
+          &.top {
+            top: -0.185vh;
+          }
+
+          &.bottom {
+            bottom: -0.185vh;
+          }
+        }
+
+        .page-common-body-menu-item {
+          border: 0.093vh solid fade(@green, 40%);
+          width: 3.889vh;
+          height: 3.889vh;
+          border-radius: 0.278vh;
+          margin-top: 0.741vh;
+          display: flex;
+          align-items: center;
+          justify-content: center;
+          cursor: pointer;
+
+          a {
+            line-height: 0;
+          }
+
+          // &:first-child {
+          //   margin-top: 0;
+          // }
+
+          &.active {
+            border-color: fade(@yellow, 40%);
+            position: relative;
+
+            &::after {
+              content: "";
+              width: calc(100% - 0.37vh);
+              height: calc(100% - 0.37vh);
+              position: absolute;
+              border: 0.093vh solid @yellow;
+              box-shadow: 0 0 0.37vh @yellow;
+              top: 0.093vh;
+              left: 0.093vh;
+            }
+          }
+        }
+      }
+    }
+  }
+}
+</style>

Alguns ficheiros não foram mostrados porque muitos ficheiros mudaram neste diff