Browse Source

feat(111): 更换图片

master
丁翠 1 week ago
parent
commit
ddad65aa11
6 changed files with 17 additions and 17 deletions
  1. +15
    -15
      digital-future-summit/src/app/config/system-config.ts
  2. +1
    -1
      digital-future-summit/src/app/implementation/auth/login/login.component.html
  3. BIN
      digital-future-summit/src/assets/img/dwLogo.png
  4. BIN
      digital-future-summit/src/assets/img/dwLogo1.png
  5. BIN
      digital-future-summit/src/assets/img/favicon.ico
  6. +1
    -1
      digital-future-summit/src/index.html

+ 15
- 15
digital-future-summit/src/app/config/system-config.ts View File

@ -1,25 +1,25 @@
import { DigiMiddlewareAuthApp } from './app-auth-token';
import { IDWDmcUserInfo } from '@webdpt/framework/config';
import { DigiMiddlewareAuthApp } from "./app-auth-token";
import { IDWDmcUserInfo } from "@webdpt/framework/config";
// 開發環境變數 // 開發環境變數
export const SYSTEM_CONFIG: IAppConfig = { export const SYSTEM_CONFIG: IAppConfig = {
dwAppId: 'Athena',
dwAppName: '鼎捷数智',
defaultApp: '/',
dwLogoPath: './assets/img/dwLogo.png',
dwDateFormat: 'yyyy/MM/dd',
dwTimeFormat: 'HH:mm:ss',
dwAppId: "Athena",
dwAppName: "鼎捷数智",
defaultApp: "/",
dwLogoPath: "./assets/img/dwLogo.png",
dwDateFormat: "yyyy/MM/dd",
dwTimeFormat: "HH:mm:ss",
dwUsingTab: false, dwUsingTab: false,
dwTabMultiOpen: false, dwTabMultiOpen: false,
defaultLogin: '/login',
defaultLogin: "/login",
dwAppAuthToken: DigiMiddlewareAuthApp, dwAppAuthToken: DigiMiddlewareAuthApp,
dwLoadMaskHttp: true, dwLoadMaskHttp: true,
dwLoadMaskDelay: 0, dwLoadMaskDelay: 0,
dwDmcUserInfo: { dwDmcUserInfo: {
username: '',
password: ''
username: "",
password: "",
}, },
dwTabStoreStrategy: 'session'
dwTabStoreStrategy: "session",
}; };
export interface IAppConfig { export interface IAppConfig {
@ -36,18 +36,18 @@ export interface IAppConfig {
dwLoadMaskHttp: boolean; // HTTP加載遮罩是否啟用 dwLoadMaskHttp: boolean; // HTTP加載遮罩是否啟用
dwLoadMaskDelay: number; // 延遲顯示加載效果的時間毫秒 dwLoadMaskDelay: number; // 延遲顯示加載效果的時間毫秒
dwDmcUserInfo: IDWDmcUserInfo; // 文檔中心的登入帳密 dwDmcUserInfo: IDWDmcUserInfo; // 文檔中心的登入帳密
dwTabStoreStrategy?: 'session' | 'local' | 'none'; // 多頁籤儲存策略
dwTabStoreStrategy?: "session" | "local" | "none"; // 多頁籤儲存策略
} }
function loadJSON(filePath: string): any { function loadJSON(filePath: string): any {
const json = loadTextFileAjaxSync(filePath, 'application/json');
const json = loadTextFileAjaxSync(filePath, "application/json");
const obj = JSON.parse(json); const obj = JSON.parse(json);
return obj; return obj;
} }
function loadTextFileAjaxSync(filePath: string, mimeType: string): string { function loadTextFileAjaxSync(filePath: string, mimeType: string): string {
const xmlhttp = new XMLHttpRequest(); const xmlhttp = new XMLHttpRequest();
xmlhttp.open('GET', filePath, false);
xmlhttp.open("GET", filePath, false);
if (mimeType != null) { if (mimeType != null) {
if (xmlhttp.overrideMimeType) { if (xmlhttp.overrideMimeType) {
xmlhttp.overrideMimeType(mimeType); xmlhttp.overrideMimeType(mimeType);


+ 1
- 1
digital-future-summit/src/app/implementation/auth/login/login.component.html View File

@ -4,7 +4,7 @@
<div nz-col [nzXs]="'8'" [nzSm]="'8'" [nzMd]="'9'" [nzLg]="'9'"> <div nz-col [nzXs]="'8'" [nzSm]="'8'" [nzMd]="'9'" [nzLg]="'9'">
</div> </div>
<div nz-col [nzXs]="'8'" [nzSm]="'8'" [nzMd]="'6'" [nzLg]="'6'" style="z-index: 1"> <div nz-col [nzXs]="'8'" [nzSm]="'8'" [nzMd]="'6'" [nzLg]="'6'" style="z-index: 1">
<img class="login-logo" src="{{dwLogoPath | translate}}">
<img class="login-logo" style="width: 200px;" src="{{dwLogoPath | translate}}">
<dw-login-block [showRemember]="true" [showLanguage]="true"></dw-login-block> <dw-login-block [showRemember]="true" [showLanguage]="true"></dw-login-block>
</div> </div>
<div nz-col [nzXs]="'8'" [nzSm]="'8'" [nzMd]="'9'" [nzLg]="'9'"> <div nz-col [nzXs]="'8'" [nzSm]="'8'" [nzMd]="'9'" [nzLg]="'9'">


BIN
digital-future-summit/src/assets/img/dwLogo.png View File

Before After
Width: 186  |  Height: 50  |  Size: 4.4 KiB Width: 10150  |  Height: 2068  |  Size: 234 KiB

BIN
digital-future-summit/src/assets/img/dwLogo1.png View File

Before After
Width: 186  |  Height: 50  |  Size: 4.4 KiB

BIN
digital-future-summit/src/assets/img/favicon.ico View File

Before After
Width: 782  |  Height: 788  |  Size: 18 KiB

+ 1
- 1
digital-future-summit/src/index.html View File

@ -7,7 +7,7 @@
<base href="/"> <base href="/">
<meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="icon" type="image/x-icon" href="favicon.ico">
<link rel="icon" type="image/x-icon" href="https://kai-wis.apps.digiwincloud.com.cn/favicon.ico">
<link rel="manifest" href="manifest.webmanifest"> <link rel="manifest" href="manifest.webmanifest">
<meta name="theme-color" content=”divice-width,initial-scale=1.0,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no”> <meta name="theme-color" content=”divice-width,initial-scale=1.0,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no”>
<script> <script>


Loading…
Cancel
Save