zh 10 hónapja
szülő
commit
37accd735b
1 módosított fájl, 10 hozzáadás és 1 törlés
  1. 10 1
      src/views/piece/dashboard/index.vue

+ 10 - 1
src/views/piece/dashboard/index.vue

@@ -119,6 +119,10 @@ onMounted(() => {
   fetchIP()
 })
 
+const themeVars = {
+  rateIconFullColor: '20px',
+};
+
 const _openScan = () => {
   openListener()
   setTimeout(() => {
@@ -140,7 +144,7 @@ const _handlerScan = (code) => {
         getUserNameById(res.data).then(res => {
           if (res && res.data) {
             userInfo.value.name = res.data
-            showNotify({ type: 'success', message: '登录成功!' });
+            showNotify({ type: 'success', className: "custom-notify", message: '登录成功!' });
           }
         })
       } else {
@@ -406,4 +410,9 @@ span
 .van-field
   padding: 5px 16px
   transition: border-color 0.3s
+
+:deep(.custom-notify)
+  font-size: 100px
+
+
 </style>