Pārlūkot izejas kodu

删除提醒修改

duy 2 gadi atpakaļ
vecāks
revīzija
1fffadd204
1 mainītis faili ar 19 papildinājumiem un 2 dzēšanām
  1. 19 2
      src/components/message/index.vue

+ 19 - 2
src/components/message/index.vue

@@ -4,8 +4,12 @@
             <HcLottie v-if="isType === 'delete'" type="delete" style="height: 200px" />
             <HcLottie v-if="isType === 'warning'" type="warning" style="height: 140px" />
         </div>
-        <div class="title">{{ titles }}</div>
-        <div class="text">{{ text }}</div>
+        <div class="title">
+            {{ titles }}
+        </div>
+        <div class="text">
+            {{ text }}
+        </div>
     </div>
 </template>
 
@@ -68,4 +72,17 @@ const texts = ref(props.text)
         margin-bottom: 10px;
     }
 }
+html.dark {
+    .title {
+        position: relative;
+        font-size: 20px;
+        color:white;
+        margin-bottom: 20px;
+    }
+    .text {
+        color:white;
+        font-size: 14px;
+        margin-bottom: 10px;
+    }
+}
 </style>