cloud-web-corejs 1.1.0-dev.55 → 1.1.0-dev.58

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "cloud-web-corejs",
3
3
  "private": false,
4
- "version": "1.1.0-dev.55",
4
+ "version": "1.1.0-dev.58",
5
5
  "scripts": {
6
6
  "build:ace-resources": "node build/build-ace-resources.js",
7
7
  "build:tinymce-resources": "node build/build-tinymce-resources.js",
@@ -1,7 +1,13 @@
1
1
  /**
2
2
  * 默认旧模式:继续走消费应用自己的 styles / icons。
3
3
  * 升包但不改入口的项目走这条路径,不会去解析包内基础样式和 core 图标。
4
+ *
5
+ * 兜底层:老应用的 styles 旧副本缺包内新增基础文件(dialog/page-shell 等),
6
+ * 先注入包内 legacy-base.scss 补齐;应用自有样式在其后加载,同名规则仍以
7
+ * 应用为准,不影响既有定制。主应用自身的 index.scss 与包内容一致,
8
+ * 会多编译一份相同规则,仅增加少量体积、无视觉影响。
4
9
  */
10
+ import "@base/styles/legacy-base.scss";
5
11
  import "@/styles/element-variables.scss";
6
12
  import "@/styles/index.scss";
7
13
  import "@/icons";
@@ -72,17 +72,17 @@ export const constantRoutes = [
72
72
  },
73
73
  },
74
74
  ],
75
- },*/
76
- {
77
- path: "",
78
- component: () => import("@/layout/index"),
79
- children: [
80
- {
81
- path: "/haier/system/salesman/list",
82
- component: () => import("@/views/haier/system/salesman/list.vue"),
83
- name: "haierSalesmanPilot",
84
- meta: { title: "业务员", icon: "user" },
85
- },
86
- ],
87
- },
88
- ];
75
+ },*/
76
+ {
77
+ path: "",
78
+ component: () => import("@/layout/index"),
79
+ children: [
80
+ /* {
81
+ path: "/haier/system/salesman/list",
82
+ component: () => import("@/views/haier/system/salesman/list.vue"),
83
+ name: "haierSalesmanPilot",
84
+ meta: { title: "业务员", icon: "user" },
85
+ }, */
86
+ ],
87
+ },
88
+ ];
@@ -0,0 +1,19 @@
1
+ // 旧模式(boot-assets.legacy)消费应用的基础样式兜底层。
2
+ // 背景:legacy 入口应用的样式取自应用自己的 @/styles/index.scss 旧副本,
3
+ // 包内新增的基础文件(dialog/page-shell 等)在应用副本里不存在,样式缺斤短两。
4
+ // 本文件由 boot-assets.legacy.js 在应用自有样式之前注入:
5
+ // - 应用副本缺失的文件由包补齐,随包升级;
6
+ // - 应用自有同名文件在本层之后加载,同名规则仍以应用为准,不影响既有定制;
7
+ // - 仅收编“应用常缺失”的文件,element-ui/btn 等应用普遍有自有定制的
8
+ // 不收进来,避免大面积重复。
9
+ // 自包含:先引 variables/mixin,后面的文件才拿得到变量和混入;
10
+ // 不依赖 element 主题变量(element-variables 由应用自己编译)。
11
+ @import "./variables.scss";
12
+ @import "./mixin.scss";
13
+ @import "./utilities.scss";
14
+ @import "./split-handle.scss";
15
+ @import "./nprogress.scss";
16
+ @import "./menu-icons.scss";
17
+ @import "./dialog.scss";
18
+ @import "./page-shell.scss";
19
+ @import "./layout-skins.scss";
@@ -145,12 +145,22 @@ body {
145
145
  overflow-y: auto;
146
146
  }
147
147
 
148
- // 与旧版全局业务弹框一致,内容四周保留白色留白。
149
- // 用边框承载留白,滚动时它不会像 padding 一样被卷走。
148
+ // 与全局业务弹框(发布环境基准)一致:内容四周不加额外留白,
149
+ // 间距只来自 .el-dialog__body 的 8px padding 和表单自身样式。
150
+ // 局部弹框挂在 .app-main 内,会额外命中 .app-main #containt 下
151
+ // .detail-wrap 的页面级负 margin(全局弹框挂在 body 下不命中),
152
+ // 这里一并归零,保证 dialogScope 两种模式的内边距一致。
150
153
  > .cont.designer-view:not(.fd-list-host) {
151
154
  box-sizing: border-box;
152
- border: 12px solid #fff;
155
+ margin: 0;
156
+ border: 0;
153
157
  padding: 0;
158
+
159
+ .detail-wrap .d-header,
160
+ .detail-wrap .d-cont {
161
+ margin: 0;
162
+ width: auto;
163
+ }
154
164
  }
155
165
  }
156
166
  }