From 5d2106137232b0559a14a28165094f0e1b28d14f Mon Sep 17 00:00:00 2001 From: TreeWish <1131093754@qq.com> Date: 星期一, 20 二月 2023 18:11:14 +0800 Subject: [PATCH] Merge branch 'master' of http://103.85.165.99:8989/r/LFWEB_NEW --- src/components/login.vue | 22 ++++++++++++++-------- 1 files changed, 14 insertions(+), 8 deletions(-) diff --git a/src/components/login.vue b/src/components/login.vue index bb7ee00..4e4c1af 100644 --- a/src/components/login.vue +++ b/src/components/login.vue @@ -25,14 +25,14 @@ v-bind:src="reportUrl" ></iframe> </div> - <div class="title_img"> + <div class="title_img"> <img - src="../assets/img/loginLogo.png" + src="../assets/img/lg_03.png" alt="" /> </div> <div class="login"> - + <div class="login_title"> <span>鐢ㄦ埛鐧诲綍</span> </div> @@ -82,6 +82,7 @@ ></el-input> </el-form-item> </el-col> + <el-col :span="6" @@ -274,7 +275,12 @@ }, startURL() { - this.reportUrl = window.location.origin + '/mapscreen/index.html'; + var url = window.location.href; + var testurl = ''; + if (url.indexOf('web') != -1) { + testurl = '/web'; + } + this.reportUrl = window.location.origin + testurl + '/mapscreen/index.html'; } }, created() { @@ -304,12 +310,12 @@ left: 1%; position: absolute; } - } .title_img { position: absolute; - left: 10%; - top:8%; + left: 17%; + top: 8%; + width: 20%; /* transform: translateX(-50%); */ } .title_img img { @@ -331,7 +337,7 @@ left: 75%; top: 45%; transform: translate(-50%, -40%); - background: rgba(255, 255, 255, 0.6); + background: rgba(255, 255, 255, 0.8); border-radius: 8px; } -- Gitblit v1.9.3