فهرست منبع

feat:放开农事注释

wangsisi 1 ماه پیش
والد
کامیت
d776ba6727
3فایلهای تغییر یافته به همراه3 افزوده شده و 24 حذف شده
  1. 1 22
      src/components/charts/options/barOption.js
  2. 1 1
      src/views/home/components/homePage.vue
  3. 1 1
      src/views/home/index.vue

+ 1 - 22
src/components/charts/options/barOption.js

@@ -184,7 +184,7 @@ const styleName3 = {
       },
     },
     {
-      data: [16, 16, 16, 0],
+      data: [29, 67, 0, 0,0],
       type: "bar",
       barWidth: 26,
       stack: "total",
@@ -213,27 +213,6 @@ const styleName3 = {
         color: '#006F0B' // 高亮时的颜色
       },
     },
-    {
-      data: [0,0, 0, 0],
-      type: "bar",
-      barWidth: 26,
-      stack: "total",
-      itemStyle: {
-        color: "rgba(56,56,56,0.94)",
-        borderRadius: [2, 2, 0, 0],
-      },
-      emphasis: {
-        color: '#006F0B' // 高亮时的颜色
-      },
-      label: {
-        show: true,
-        position: "insideTop",
-        color: "#fff",
-        formatter: ({ value }) => {
-          return value ? value : "";
-        },
-      },
-    },
   ],
 };
 

+ 1 - 1
src/views/home/components/homePage.vue

@@ -135,7 +135,7 @@ function handleTabItem(e){
 const btnGroup = ["树高","冠幅"]
 // 物候指标
 const phenologyBtnGroup = ["花穗长度","单数花穗率"]
-const phenologyXData = ["花芽萌动","花蕾抽出","花穗伸长","开花期"]
+const phenologyXData = ["花芽","花蕾","短花穗","中花穗","长花穗","开花"]
 const phenologyYData = [{
   startNum:0,
   endNum:16,

+ 1 - 1
src/views/home/index.vue

@@ -47,7 +47,7 @@
         <div class="list">
           <chart-box name="农事列表" arrow="arrow-left" :class="{'list-wrap': rightIndex===0}">
             <template v-if="rightIndex===0">
-              <!-- <album></album> -->
+              <album></album>
               <!-- <img class="tabs" src="@/assets/images/home/ns-tabs.png" alt="">
               <div class="img-box">
                 <img @click="handleAct(item)" v-for="item in 2" :key="item" :src="require(`@/assets/images/home/0${act<=2&&act==item?item+'-act':item}.png`)" alt="">