Răsfoiți Sursa

修复部分bug

gaoxiong 2 ani în urmă
părinte
comite
6e3e9f0d22
1 a modificat fișierele cu 5 adăugiri și 9 ștergeri
  1. 5 9
      src/views/menu/resumption/list.vue

+ 5 - 9
src/views/menu/resumption/list.vue

@@ -33,10 +33,8 @@
                   :key="v.id"
                   :title="v.planName"
                   :label="formatTime(v.planStartTime,v.planEndTime,'HH:mm')"
-                  is-link
-                  :to="{path:path,query:{id:v.id,taskDate:date}}"
                   :value="getDicts(v.status,'resumption_status')"
-                  :value-class="`title-orange`"/>
+                  :value-class="`title-red`"/>
               </van-cell-group>
             </van-tab>
             <van-tab title="已完成">
@@ -51,7 +49,7 @@
                   is-link
                   :to="{path:path,query:{id:v.id,taskDate:date}}"
                   :value="getDicts(v.status,'resumption_status')"
-                  :value-class="`title-orange`"/>
+                  :value-class="`title-green`"/>
               </van-cell-group>
             </van-tab>
           </van-tabs>
@@ -85,10 +83,8 @@
                   :key="v.id"
                   :title="v.planName"
                   :label="formatTime(v.planStartTime,v.planEndTime,'YYYY-MM-DD')"
-                  is-link
-                  :to="{path:path,query:{id:v.id,taskDate:date}}"
                   :value="getDicts(v.status,'resumption_status')"
-                  :value-class="`title-orange`"/>
+                  :value-class="`title-red`"/>
               </van-cell-group>
             </van-tab>
             <van-tab title="已完成">
@@ -103,7 +99,7 @@
                   is-link
                   :to="{path:path,query:{id:v.id,taskDate:date}}"
                   :value="getDicts(v.status,'resumption_status')"
-                  :value-class="`title-orange`"/>
+                  :value-class="`title-green`"/>
               </van-cell-group>
             </van-tab>
           </van-tabs>
@@ -266,7 +262,7 @@ export default {
 .title-red{
   color: #f16363;
 }
-.title-red{
+.title-green{
   color: #58dc33;
 }
 .title-orange{