Browse Source

登录页显示版本号

wzl
wangzhonglu 2 weeks ago
parent
commit
0c97b79b8a
1 changed files with 8 additions and 0 deletions
  1. 8
    0
      src/views/login/login.vue

+ 8
- 0
src/views/login/login.vue View File

@@ -82,6 +82,7 @@
82 82
         @click.enter="login_by_username('loginForm')"
83 83
         >登&nbsp;录</Button
84 84
       >
85
+      <div class="version_info">版本号 {{ $api.versionname }}</div>
85 86
     </div>
86 87
   </div>
87 88
 </template>
@@ -360,6 +361,13 @@ export default {
360 361
       background: linear-gradient(70.7deg, #09adf9 0%, #4650fb 100%);
361 362
       box-shadow: 0 0 10px 0 #12a0f9e0;
362 363
     }
364
+    .version_info {
365
+      margin-top: 16px;
366
+      line-height: 1;
367
+      font-size: 14px;
368
+      color: #7c8db5;
369
+      text-align: center;
370
+    }
363 371
     /deep/ .ivu-form {
364 372
       .ivu-form-item {
365 373
         .ivu-form-item-content {

Loading…
Cancel
Save