Browse Source

1. 提示文字修改 2. 提示样式修改

“hanlingqiang 2 tuần trước cách đây
mục cha
commit
b81085ed93

+ 4 - 1
src/utils/vaildInterfacefn.js

@@ -32,8 +32,11 @@ export function serverAPI(serverName, data, ifheader) {
                             .then(() => {})
                         }else {
                             Dialog.alert({
+                                title: '提示',
                                 // message: serverName + '--------' + res.status,
-                                 message: `接口${serverName}请求错误,请稍后重试!`,
+                                message: `请求错误,请稍后重试!`,
+                                messageAlign: 'center',
+                                className: 'custom-dialog'
                             })
                             .then(() => {})
                         }

+ 10 - 5
src/views/zhulao/App.vue

@@ -51,15 +51,20 @@ export default {
 }
 
 .custom-dialog {
+  width: 50% !important;
+  height: 180px !important;
   .van-dialog__header {
-    font-size: 20px !important;
+    font-size: 26px !important;
   }
-  .van-dialog__message {
-    font-size: 19px !important;
-    line-height: 1.5;
+  .van-dialog__content {
+    padding-top: 10px;
+    .van-dialog__message {
+      font-size: 24px !important;
+      line-height: 1.5;
+    }
   }
   .van-dialog__confirm .van-button__text {
-    font-size: 19px !important;
+    font-size: 24px !important;
   }
 }
 </style>

+ 5 - 2
src/views/zhulao/views/circle/index.vue

@@ -436,10 +436,13 @@ export default {
   border-bottom: 0;
   text-align: center;
   .van-tabs__wrap {
-    height: 60px !important;
+    height: 80px !important;
+    .van-tabs__nav--line {
+      padding-bottom: 10px;
+    }
     .van-tabs__nav {
       .van-tab__text {
-        line-height: 60px !important;
+        line-height: 80px !important;
         font-size: 29px !important;
       }
     }