zhuang před 1 rokem
revize
18c18411f8
4 změnil soubory, kde provedl 70 přidání a 0 odebrání
  1. 10 0
      README.md
  2. 41 0
      assets/ic.css
  3. binární
      assets/image/bg-login.png
  4. 19 0
      styles/theme.less

+ 10 - 0
README.md

@@ -0,0 +1,10 @@
+更新平台最新代码后将文件覆盖进项目对应位置再打包
+文件位置
+primary-color
+主题色为: #417FFF, 替换进theme.less文件内 历史颜色: #499b30;
+
+ic.css
+替换项目根目录\src\assets\ic.css
+
+bg-login.png
+替换项目根目录\src\assets\image\bg\bg-login.png

+ 41 - 0
assets/ic.css

@@ -0,0 +1,41 @@
+/* 登录页背景 */
+.ic-login-container {
+  background-image: url(/assets/image/bg/bg-login.png) !important;
+  background-repeat: no-repeat !important;
+  background-size: cover !important;
+}
+
+/* 登录页右上角logo */
+/*.login-top-right-corner {*/
+/*  background-image: url(/assets/image/bg/login-logo-mini.png) !important;*/
+/*  background-repeat: no-repeat !important;*/
+/*  background-size: cover !important;*/
+/*  width: 180px;*/
+/*  height: 44px;*/
+/*}*/
+
+.loginContainer{
+  position: absolute !important;
+  right: 0 !important;
+  height: 100% !important;
+  background-color: white !important;
+  transform: translate(0) !important;
+  top: auto !important;
+  left: auto !important;
+  width: auto !important;
+}
+.title{
+  color: #1c2127 !important;
+  font-size: 24px !important;
+
+}
+
+/* banner图标完整版 */
+.alain-default__header-logo .alain-default__header-logo-link .alain-default__header-logo-expanded {
+  max-width: 100%;
+}
+
+/* banner图标精简版 */
+.alain-default__header-logo .alain-default__header-logo-link .alain-default__header-logo-collapsed {
+  max-width: 100%;
+}

binární
assets/image/bg-login.png


+ 19 - 0
styles/theme.less

@@ -0,0 +1,19 @@
+// 可以通过 https://ng-alain.github.io/ng-alain/ 获取主题参数代码
+// The theme paraments can be generated at https://ng-alain.github.io/ng-alain/
+@import '@delon/theme/theme-default.less';
+@primary-color: #417FFF;
+@alain-default-header-hg: 54px;
+// @import "~ng-zorro-antd/ng-zorro-antd.compact.less";
+
+@card-padding-base: 16px;
+@border-radius-base: 4px;
+@alain-default-aside-wd: 200px;
+@default-aside-content-margin: 0 16px 16px 216px;
+
+@card-border: 1px solid #e8e8e8;
+@title-font-size: 16px;
+@scrollbar-color: #f1f3f5;
+
+@row-check-bg: rgba(231, 241, 255, 1);
+@row-warning-bg: rgba(255, 238, 226, 1);
+@row-error-bg: rgba(255, 217, 215, 1);