Browse Source

feat:优化

needcode 2 năm trước cách đây
mục cha
commit
6d636c7a9d
1 tập tin đã thay đổi với 8 bổ sung1 xóa
  1. 8 1
      src/pages-charge/appointment/appointment.vue

+ 8 - 1
src/pages-charge/appointment/appointment.vue

@@ -79,7 +79,13 @@
           >
             <view>
               <view class="fs-28 lh-28 color-000 fw-500">{{ type.title }}</view>
-              <view class="fs-24 color-999 lh-24 mt-16" v-if="type.tip">{{
+              <view
+                class="fs-24 lh-24 mt-16"
+                style="color: #f8386a"
+                v-if="chargeType === index"
+                >{{ type.checkTip }}</view
+              >
+              <view class="fs-24 color-999 lh-24 mt-16" v-else>{{
                 type.tip
               }}</view>
             </view>
@@ -291,6 +297,7 @@ const chargeTypes = ref([
   {
     title: "预约充电",
     tip: "预约特定时间点开始充电",
+    checkTip: "部分车辆可能进入休眠状态无法唤醒,将导致充电失败",
   },
   {
     title: "立即充电",