瀏覽代碼

提交玩路子

wang_xy 11 月之前
父節點
當前提交
c536d9f233
共有 1 個文件被更改,包括 64 次插入16 次删除
  1. 64 16
      src/components/Leftnav.vue

+ 64 - 16
src/components/Leftnav.vue

@@ -24,12 +24,12 @@
           </div>
         </div>
         <div class="yj-tqtxt2">
-          <span>风力:2级</span>
+          <span>风力:{{w.power}}</span>
           <span>低温:{{w.last}}℃</span>
-          <span>风向:西北风</span>
+          <span>风向:{{w.direction}}</span>
           <span>高温:{{w.height}}℃</span>
-          <span>火险:一级火险</span>
-          <span>湿度:53</span>
+          <span>火险:{{w.insurance}}</span>
+          <span>湿度:{{w.humidity}}</span>
         </div>
       </div>
 
@@ -188,62 +188,110 @@ export default {
         {
           month:1,
           last:'-20',
-          height:'-14'
+          height:'-14',
+          power:'2',
+          direction:'西北风',
+          insurance:'一级火险',
+          humidity:'42',
         },
         {
           month:2,
           last:'-19',
-          height:'-8'
+          height:'-8',
+          power:'3',
+          direction:'西北风',
+          insurance:'一级火险',
+          humidity:'58',
         },
         {
           month:3,
           last:'-3',
-          height:'6'
+          height:'6',
+          power:'4',
+          direction:'东北分',
+          insurance:'一级火险',
+          humidity:'53',
         },
         {
           month:4,
           last:'1',
-          height:'12'
+          height:'12',
+          power:'4',
+          direction:'东南风',
+          insurance:'一级火险',
+          humidity:'53',
         },
         {
           month:5,
           last:'6',
-          height:'16'
+          height:'16',
+          power:'4',
+          direction:'东南风',
+          insurance:'一级火险',
+          humidity:'57',
         },
         {
           month:6,
           last:'15',
-          height:'25'
+          height:'25',
+          power:'2',
+          direction:'南风',
+          insurance:'二级火险',
+          humidity:'63',
         },
         {
           month:7,
           last:'17',
-          height:'31'
+          height:'31',
+          power:'2',
+          direction:'南风',
+          insurance:'二级火险',
+          humidity:'55',
         },
         {
           month:8,
           last:'16',
-          height:'27'
+          height:'27',
+          power:'2',
+          direction:'南风',
+          insurance:'一级火险',
+          humidity:'58',
         },
         {
           month:9,
           last:'12',
-          height:'25'
+          height:'25',
+          power:'3',
+          direction:'西南风',
+          insurance:'二级火险',
+          humidity:'54',
         },
         {
           month:10,
           last:'3',
-          height:'20'
+          height:'20',
+          power:'4',
+          direction:'西北风',
+          insurance:'二级火险',
+          humidity:'60',
         },
         {
           month:11,
           last:'-3',
-          height:'12'
+          height:'12',
+          power:'2',
+          direction:'东北风',
+          insurance:'一级火险',
+          humidity:'50',
         },
         {
           month:12,
           last:'-8',
-          height:'-22'
+          height:'-22',
+          power:'2',
+          direction:'北风',
+          insurance:'一级火险',
+          humidity:'52',
         },
       ]
     }