Browse Source

Merge branch 'master' into dev

zhangchong 10 months ago
parent
commit
34c4dae0fa
2 changed files with 24 additions and 19 deletions
  1. 1 1
      .env.zigong
  2. 23 18
      src/views/login/component/footer.vue

+ 1 - 1
.env.zigong

@@ -3,7 +3,7 @@ VITE_MODE_NAME=zigong
 # 防止部署多套系统到同一域名不同目录时,变量共用的问题 设置不同的前缀
 VITE_STORAGE_NAME=zigong
 # 基础请求地址
-VITE_API_URL=http://218.6.151.146:50102
+VITE_API_URL=http://171.94.154.2:50105/hl
 # 数据共享平台请求地址
 VITE_DATASHARE_API_YRL=http://171.94.154.2:50105/hlds
 # socket API

+ 23 - 18
src/views/login/component/footer.vue

@@ -1,29 +1,34 @@
 <template>
-  <div class="layout-footer">
-    <div class="layout-footer-warp">
-      <el-link href="https://beian.miit.gov.cn/" target="_blank" style="color:#333" :underline="false">备案号:蜀ICP备19035032号-36</el-link>
-    </div>
-  </div>
+	<div class="layout-footer">
+		<div class="layout-footer-warp">
+			<el-link href="https://beian.miit.gov.cn/" target="_blank" style="color: #333" :underline="false">备案号:{{ footerText }}</el-link>
+		</div>
+	</div>
 </template>
 
 <script setup lang="ts" name="layoutFooter">
 // 此处需有内容(注释也得),否则缓存将失败
+import { computed } from 'vue';
+
+const footerText = computed(() => {
+	return import.meta.env.VITE_FOOTER_TEXT;
+});
 </script>
 
 <style scoped lang="scss">
 .layout-footer {
-  width: 100%;
-  display: flex;
-  position: absolute;
-  bottom: 10px;
-  z-index: 10;
-  &-warp {
-    margin: auto;
-    text-align: center;
-    animation: error-num 0.3s ease;
-    :deep(.el-link) {
-      //color: var(--el-text-color-secondary);
-    }
-  }
+	width: 100%;
+	display: flex;
+	position: absolute;
+	bottom: 10px;
+	z-index: 10;
+	&-warp {
+		margin: auto;
+		text-align: center;
+		animation: error-num 0.3s ease;
+		:deep(.el-link) {
+			//color: var(--el-text-color-secondary);
+		}
+	}
 }
 </style>