diff --git a/resources/assets/js/components/Mobile/Tabbar.vue b/resources/assets/js/components/Mobile/Tabbar.vue index e99af93c1..f96df600d 100644 --- a/resources/assets/js/components/Mobile/Tabbar.vue +++ b/resources/assets/js/components/Mobile/Tabbar.vue @@ -1,27 +1,10 @@ - - - - - - {{$L('更多')}} - - - - - {{$L(item.label)}} - - - - - - - {{$L(item.label)}} + {{ $L(item.label) }} @@ -33,30 +16,14 @@ - - - - - - {{$L(`你好,扫码确认登录`)}} - 「{{$L('为确保帐号安全,请确认是本人操作')}}」 - - - {{$L('取消登录')}} - {{$L('确认登录')}} - - diff --git a/resources/assets/js/pages/manage/application.vue b/resources/assets/js/pages/manage/application.vue index c35ca0104..7e0bc1667 100644 --- a/resources/assets/js/pages/manage/application.vue +++ b/resources/assets/js/pages/manage/application.vue @@ -467,6 +467,17 @@ export default { const arr = (text + "").match(/^https*:\/\/(.*?)\/login\?qrcode=(.*?)$/) if (arr) { // 扫码登录 + if ($A.getDomain(text) != $A.getDomain($A.apiUrl('../'))) { + let content = this.$L('请确认扫码的服务器与当前服务器一致') + content += `${this.$L('二维码服务器')}: ${$A.getDomain(text)}` + content += `${this.$L('当前服务器')}: ${$A.getDomain($A.apiUrl('../'))}` + $A.modalWarning({ + language: false, + title: this.$L('扫码登录'), + content + }) + return + } this.scanLoginCode = arr[2]; this.scanLoginShow = true; return diff --git a/resources/assets/js/pages/manage/setting/index.vue b/resources/assets/js/pages/manage/setting/index.vue index 1e2667cec..561c96d8f 100644 --- a/resources/assets/js/pages/manage/setting/index.vue +++ b/resources/assets/js/pages/manage/setting/index.vue @@ -210,7 +210,7 @@ export default { content += `${this.$L('客户端版本')}: v${this.version}` $A.modalInfo({ language: false, - title: '版本信息', + title: this.$L('版本信息'), content }) } diff --git a/resources/assets/sass/components/mobile.scss b/resources/assets/sass/components/mobile.scss index d026f5d0f..3458973ce 100644 --- a/resources/assets/sass/components/mobile.scss +++ b/resources/assets/sass/components/mobile.scss @@ -83,80 +83,6 @@ } } } - - .more-mask { - position: fixed; - top: 0; - left: 0; - right: 0; - bottom: 0; - z-index: 1; - background-color: rgba(0, 0, 0, 0.15); - } - - .more-box { - position: relative; - z-index: 2; - display: block; - margin-bottom: -2px; - border-radius: 16px 16px 0 0; - padding-bottom: 16px; - background-color: #ffffff; - border-top: 1px solid #f1f1f1; - - .tabbar-more-title { - font-size: 18px; - font-weight: 500; - padding: 16px 16px 36px; - } - - > ul { - padding: 0 12px; - - > li { - list-style: none; - display: inline-block; - width: 25%; - margin-bottom: 28px; - - .more-item { - display: flex; - flex-direction: column; - align-items: center; - justify-content: center; - position: relative; - - .taskfont { - display: flex; - align-items: center; - justify-content: center; - width: 56px; - height: 56px; - font-size: 25px; - color: $primary-color; - background-color: rgba($primary-color, 0.08); - border-radius: 12px; - } - - .tabbar-title { - padding-top: 6px; - font-size: 13px; - max-width: 92%; - overflow: hidden; - text-overflow: ellipsis; - white-space: nowrap; - } - - .tabbar-badge { - position: absolute; - top: -6px; - right: 50%; - transform: translateX(36px); - } - } - } - } - } } .mobile-back { @@ -230,16 +156,6 @@ } } -.mobile-scan-login-box { - margin: 2px 0 12px; - .mobile-scan-login-title { - font-size: 20px; - } - .mobile-scan-login-subtitle { - padding-top: 8px; - } -} - // 渐见 .mobile-fade-enter-active { animation: mobile-fade-enter-animation 0.2s forwards; diff --git a/resources/assets/sass/pages/page-apply.scss b/resources/assets/sass/pages/page-apply.scss index 8eb45b777..42b31908c 100644 --- a/resources/assets/sass/pages/page-apply.scss +++ b/resources/assets/sass/pages/page-apply.scss @@ -39,7 +39,7 @@ .apply-row-title{ margin-bottom: 16px; - + } >div.apply-row-title:nth-last-child(2){ @@ -72,7 +72,7 @@ height: 100%; } } - + >p{ overflow: hidden; text-overflow: ellipsis; @@ -99,7 +99,7 @@ } .apply-content{ - + .ivu-row{ margin-left: -12px !important; margin-right: -12px !important; @@ -162,7 +162,7 @@ @media (max-width: 500px) { margin-right: 28px; } - + } .ivu-modal-wrap-apply-body { @@ -194,14 +194,14 @@ >.ivu-form { margin-bottom: 8px; - + } } } - + } - + .block-setting-box { position: relative; @@ -388,6 +388,15 @@ } } +.mobile-scan-login-box { + margin: 2px 0 12px; + .mobile-scan-login-title { + font-size: 20px; + } + .mobile-scan-login-subtitle { + padding-top: 8px; + } +} body.window-portrait { .page-apply {