@lambo-design/pro-layout 1.0.0-beta.407 → 1.0.0-beta.409
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 +2 -2
- package/src/components/pro-layout-header/index.vue +3 -0
- package/src/components/pro-layout-header/pro-layout-nav/index.vue +1 -1
- package/src/components/pro-layout-header/pro-layout-tools/components/pro-layout-tools-quick-icons.vue +3 -0
- package/src/components/pro-layout-header/pro-layout-tools/components/pro-layout-tools-quick-intl.vue +1 -1
- package/src/components/pro-layout-header/pro-layout-tools/index.vue +5 -1
- package/src/index.vue +3 -0
- package/src/styles/color.less +1 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lambo-design/pro-layout",
|
|
3
|
-
"version": "1.0.0-beta.
|
|
3
|
+
"version": "1.0.0-beta.409",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"author": "lambo",
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
},
|
|
12
12
|
"devDependencies": {
|
|
13
13
|
"@lambo-design/core": "^4.7.1-beta.169",
|
|
14
|
-
"@lambo-design/shared": "^1.0.0-beta.
|
|
14
|
+
"@lambo-design/shared": "^1.0.0-beta.298"
|
|
15
15
|
},
|
|
16
16
|
"scripts": {
|
|
17
17
|
"release-pro-layout": "pnpm release-beta && git push --follow-tags && pnpm re-publish",
|
|
@@ -25,6 +25,9 @@
|
|
|
25
25
|
<template slot = "pro-layout-user">
|
|
26
26
|
<slot name="pro-layout-user"></slot>
|
|
27
27
|
</template>
|
|
28
|
+
<template slot="custome-notice">
|
|
29
|
+
<slot name="custome-notice"></slot>
|
|
30
|
+
</template>
|
|
28
31
|
</LamboProTools>
|
|
29
32
|
</div>
|
|
30
33
|
<div class="nav-slide-container" v-show="systemInfo && systemInfo.navType && systemInfo.navType == 'slide'" ref="slideContainer">
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
@on-select="selectApp"
|
|
9
9
|
>
|
|
10
10
|
<template v-for="item in topMenList">
|
|
11
|
-
<MenuItem v-if="!item.children" :key="item.appId" :name="item.appId">
|
|
11
|
+
<MenuItem v-if="!item.children" :key="item.appId" :name="item.appId" class="top-menu">
|
|
12
12
|
<Icon
|
|
13
13
|
v-bind="getIcon(item)"
|
|
14
14
|
:size="20"
|
|
@@ -12,6 +12,9 @@
|
|
|
12
12
|
<Col class="font-padding" v-show="rightTopOptButtonList.includes('todo')">
|
|
13
13
|
<ProLayoutToolsQuickTodo></ProLayoutToolsQuickTodo>
|
|
14
14
|
</Col>
|
|
15
|
+
<Col class="font-padding" v-show="rightTopOptButtonList.includes('custome-notice')">
|
|
16
|
+
<slot name="custome-notice"></slot>
|
|
17
|
+
</Col>
|
|
15
18
|
<Col class="font-padding" v-show="rightTopOptButtonList.includes('notice')">
|
|
16
19
|
<ProLayoutToolsQuickNotice></ProLayoutToolsQuickNotice>
|
|
17
20
|
</Col>
|
package/src/components/pro-layout-header/pro-layout-tools/components/pro-layout-tools-quick-intl.vue
CHANGED
|
@@ -62,7 +62,7 @@ export default {
|
|
|
62
62
|
} else if (this.$cookies.get("lambo_lang_code")) {
|
|
63
63
|
langCode = this.$cookies.get("lambo_lang_code");
|
|
64
64
|
} else {
|
|
65
|
-
this.$cookies.set("lambo_lang_code",
|
|
65
|
+
this.$cookies.set("lambo_lang_code", langCode, 365*24*60*60*1000);
|
|
66
66
|
}
|
|
67
67
|
if(langCode){
|
|
68
68
|
this.defaultLang = this.langCodeDict[langCode];
|
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div class="pro-layout-tools-wrapper">
|
|
3
3
|
<slot name="pro-layout-icons">
|
|
4
|
-
<LamboProLayoutToolsQuickIcons
|
|
4
|
+
<LamboProLayoutToolsQuickIcons>
|
|
5
|
+
<template slot="custome-notice">
|
|
6
|
+
<slot name="custome-notice"></slot>
|
|
7
|
+
</template>
|
|
8
|
+
</LamboProLayoutToolsQuickIcons>
|
|
5
9
|
</slot>
|
|
6
10
|
<slot name="pro-layout-user">
|
|
7
11
|
<LamboProLayoutToolsUser></LamboProLayoutToolsUser>
|
package/src/index.vue
CHANGED
package/src/styles/color.less
CHANGED
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
background: var(--layout-header-background,@_layout-header-background);
|
|
6
6
|
color: var(--layout-header-color ,@_layout-header-color);
|
|
7
7
|
background-position: center;
|
|
8
|
+
background-size: cover;
|
|
8
9
|
.pro-layout-header-wrapper{
|
|
9
10
|
.sider-trigger-a{
|
|
10
11
|
color: var(--layout-color ,@_layout-color);
|