Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
I
ibizlab-generator
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
ibiz4jteam
ibizlab-generator
提交
ebf085ef
提交
ebf085ef
编写于
1月 04, 2022
作者:
Shine-zwj
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
update:更新布局样式
上级
8835f4e8
变更
10
隐藏空白字符变更
内嵌
并排
正在显示
10 个修改的文件
包含
65 行增加
和
30 行删除
+65
-30
IbizDefaultIndexViewLayout.vue
...ps}}/src/components/layout/IbizDefaultIndexViewLayout.vue
+1
-5
IbizIndexViewBaseLayout.vue
...{apps}}/src/components/layout/IbizIndexViewBaseLayout.vue
+4
-19
IbizViewBaseLayout.vue
...app_{{apps}}/src/components/layout/IbizViewBaseLayout.vue
+1
-1
IbizMenuItem.vue
...pl/r7/app_{{apps}}/src/components/render/IbizMenuItem.vue
+18
-1
ibiz-index-view-base-layout.scss
.../style/components/layout/ibiz-index-view-base-layout.scss
+20
-0
ibiz-view-base-layout.scss
...}}/src/style/components/layout/ibiz-view-base-layout.scss
+8
-1
index.scss
...pl/r7/app_{{apps}}/src/style/components/layout/index.scss
+2
-1
base.scss
...n/resources/templ/r7/app_{{apps}}/src/style/var/base.scss
+1
-0
component.scss
...ources/templ/r7/app_{{apps}}/src/style/var/component.scss
+9
-2
{{ctrls@GRID}}-grid.vue.hbs
...ntities}}/{{ctrls@GRID}}-grid/{{ctrls@GRID}}-grid.vue.hbs
+1
-0
未找到文件。
modules/ibizlab-generator-core/src/main/resources/templ/r7/app_{{apps}}/src/components/layout/IbizDefaultIndexViewLayout.vue
浏览文件 @
ebf085ef
...
...
@@ -17,7 +17,7 @@ const props = withDefaults(defineProps<LayoutProps>(), {
</
script
>
<
template
>
<IbizIndexViewBaseLayout
class=
"ibiz-
default-index-view
"
>
<IbizIndexViewBaseLayout
class=
"ibiz-
index-view-layout--default
"
>
<template
v-slot:header-left
>
<slot
name=
"caption"
></slot>
</
template
>
...
...
@@ -30,7 +30,6 @@ const props = withDefaults(defineProps<LayoutProps>(), {
<
template
v-slot:side-left
>
<a-layout-sider
v-if=
"Object.is(menuAlign, 'LEFT')"
theme=
"light"
collapsible
:trigger=
"null"
:collapsed=
"collapsed"
>
...
...
@@ -38,13 +37,10 @@ const props = withDefaults(defineProps<LayoutProps>(), {
</a-layout-sider>
</
template
>
<
template
v-slot:content
>
<!--
<div
class=
"ibiz-page-tag"
></div>
-->
<slot
name=
"router"
/>
</
template
>
</IbizIndexViewBaseLayout>
</template>
<
style
lang=
"scss"
>
.ibiz-default-index-view
{
}
</
style
>
\ No newline at end of file
modules/ibizlab-generator-core/src/main/resources/templ/r7/app_{{apps}}/src/components/layout/IbizIndexViewBaseLayout.vue
浏览文件 @
ebf085ef
...
...
@@ -3,20 +3,20 @@
</
script
>
<
template
>
<a-layout
class=
"
app-index-view
"
>
<a-layout-header>
<a-layout
class=
"
ibiz-index-view-layout
"
>
<a-layout-header
class=
"ibiz-index-view-layout__header"
>
<slot
name=
"header-left"
/>
<slot
name=
"header-content"
/>
<slot
name=
"header-right"
/>
</a-layout-header>
<a-layout>
<a-layout
class=
"ibiz-index-view-layout__body"
>
<slot
name=
"side-left"
/>
<a-layout-content>
<slot
name=
"content"
></slot>
</a-layout-content>
<slot
name=
"side-right"
/>
</a-layout>
<a-layout-footer>
<a-layout-footer
class=
"ibiz-index-view-layout__footer"
>
<slot
name=
"footer-left"
/>
<slot
name=
"footer-content"
/>
<slot
name=
"footer-right"
/>
...
...
@@ -25,19 +25,4 @@
</
template
>
<
style
lang=
"scss"
>
.app-index-view
{
width
:
100%
;
height
:
100%
;
.ant-layout-header
{
display
:
flex
;
background-color
:
#fff
;
justify-content
:
space-between
;
}
.ant-layout-sider
{
overflow-y
:
auto
;
}
.ant-layout-footer
{
padding
:
0
;
}
}
</
style
>
\ No newline at end of file
modules/ibizlab-generator-core/src/main/resources/templ/r7/app_{{apps}}/src/components/layout/IbizViewBaseLayout.vue
浏览文件 @
ebf085ef
...
...
@@ -18,7 +18,7 @@
<slot
/>
<slot
name=
"body-bottom"
/>
</div>
<div
class=
"ibiz-view-footer"
>
<div
class=
"ibiz-view-
layout__
footer"
>
<slot
name=
"footer-left"
/>
<slot
name=
"footer-content"
/>
<slot
name=
"footer-right"
/>
...
...
modules/ibizlab-generator-core/src/main/resources/templ/r7/app_{{apps}}/src/components/render/IbizMenuItem.vue
浏览文件 @
ebf085ef
...
...
@@ -48,10 +48,27 @@ const props = withDefaults(defineProps<Props>(), {
.ant-menu-inline-collapsed
{
.ibiz-menu-item
{
position
:
relative
;
display
:
flex
;
align-items
:
center
;
justify-content
:
center
;
.ibiz-icon-text
{
position
:
absolute
;
right
:
calc
(
50%
-
8px
);
.ibiz-icon-text__text
{
width
:
20px
;
height
:
20px
;
border-radius
:
50%
;
line-height
:
18px
;
text-align
:
center
;
font-size
:
12px
;
border
:
1px
solid
var
(
--
ibiz-color-info
);
}
}
}
.ant-menu-submenu-title
{
position
:
relative
;
display
:
flex
;
align-items
:
center
;
justify-content
:
center
;
}
}
</
style
>
\ No newline at end of file
modules/ibizlab-generator-core/src/main/resources/templ/r7/app_{{apps}}/src/style/components/layout/ibiz-index-view-base-layout.scss
0 → 100644
浏览文件 @
ebf085ef
.ibiz-index-view-layout
{
width
:
100%
;
height
:
100%
;
.ant-layout-sider
{
overflow-y
:
auto
;
background-color
:
var
(
--
ibiz-view-layout-header-bg-color
);
}
}
.ibiz-index-view-layout__header
{
display
:
flex
;
padding
:
0
20px
;
background-color
:
var
(
--
ibiz-view-layout-header-bg-color
);
justify-content
:
space-between
;
}
.ibiz-index-view-layout__body
{
background-color
:
var
(
--
ibiz-view-layout-header-bg-color
);
}
.ibiz-index-view-layout__footer
{
padding
:
0
;
}
modules/ibizlab-generator-core/src/main/resources/templ/r7/app_{{apps}}/src/style/components/layout/ibiz-view-base-layout.scss
浏览文件 @
ebf085ef
.ibiz-view-layout
{
display
:
flex
;
width
:
100%
;
height
:
100%
;
flex-direction
:
column
;
padding
:
var
(
--
ibiz-view-layout-padding
);
background-color
:
var
(
--
ibiz-view-layout-bg-color
);
...
...
@@ -8,12 +10,14 @@
flex
:
none
;
display
:
flex
;
flex-direction
:
column
;
padding
:
0
10px
;
background-color
:
var
(
--
ibiz-view-layout-header-bg-color
);
}
.ibiz-view-layout__header-content
{
display
:
flex
;
justify-content
:
space-between
;
height
:
var
(
--
ibiz-view-layout-header-height
);
border-bottom
:var
(
--ibiz-view-layout-header-border-bottom
)
;
border-bottom
:
1px
solid
var
(
--
ibiz-view-layout-header-border-bottom
);
margin
:
--
ibiz-view-layout-header-padding
;
.ibiz-view__caption
{
font-size
:
var
(
--
ibiz-view-caption-font-size
);
...
...
@@ -23,11 +27,14 @@
display
:
flex
;
flex
:
auto
;
height
:
100%
;
padding
:
0
10px
;
flex-direction
:
column
;
overflow
:
auto
;
background-color
:
var
(
--
ibiz-view-layout-body-bg-color
);
}
.ibiz-view-layout__footer
{
flex
:
none
;
display
:
flex
;
justify-content
:
space-between
;
background-color
:
var
(
--
ibiz-view-layout-footer-bg-color
);
}
\ No newline at end of file
modules/ibizlab-generator-core/src/main/resources/templ/r7/app_{{apps}}/src/style/components/layout/index.scss
浏览文件 @
ebf085ef
@use
'./ibiz-view-base-layout.scss'
;
\ No newline at end of file
@use
'./ibiz-view-base-layout.scss'
;
@use
'./ibiz-index-view-base-layout.scss'
;
\ No newline at end of file
modules/ibizlab-generator-core/src/main/resources/templ/r7/app_{{apps}}/src/style/var/base.scss
浏览文件 @
ebf085ef
...
...
@@ -30,6 +30,7 @@
--ibiz-color-danger
:
#f56c6c
;
--ibiz-color-error
:
#f56c6c
;
--ibiz-color-info
:
#909399
;
--ibiz-color-border
:
#e8eaec
;
--ibiz-bg-color
:
#f5f7fa
;
//默认背景色
--ibiz-bg-color-disabled
:
#f5f7fa
;
//禁用背景色
...
...
modules/ibizlab-generator-core/src/main/resources/templ/r7/app_{{apps}}/src/style/var/component.scss
浏览文件 @
ebf085ef
...
...
@@ -12,12 +12,19 @@
// layout 组件样式
// ibiz-view-layout
.ibiz-index-view-layout
{
--ibiz-view-layout-header-bg-color
:
var
(
--
ibiz-color-white
);
--ibiz-view-layout-body-bg-color
:
var
(
--
ibiz-color-white
);
--ibiz-view-layout-footer-bg-color
:
var
(
--
ibiz-color-white
);
}
.ibiz-view-layout
{
--ibiz-view-layout-padding
:
8px
12px
10px
;
--ibiz-view-layout-header-padding
:
0
10px
;
--ibiz-view-layout-bg-color
:
var
(
--
ibiz-bg-color
);
--ibiz-view-layout-header-bg-color
:
var
(
--
ibiz-color-white
);
--ibiz-view-layout-body-bg-color
:
var
(
--
ibiz-color-white
);
--ibiz-view-layout-footer-bg-color
:
var
(
--
ibiz-color-white
);
--ibiz-view-layout-header-height
:
48px
;
--ibiz-view-layout-header-border-bottom
:
var
(
--
ibiz-
border-base
);
--ibiz-view-layout-header-border-bottom
:
var
(
--
ibiz-
color-border
);
--ibiz-view-caption-font-size
:
var
(
--
ibiz-font-size-lg
)
}
\ No newline at end of file
modules/ibizlab-generator-core/src/main/resources/templ/r7/app_{{apps}}/src/widgets/{{appEntities}}/{{ctrls@GRID}}-grid/{{ctrls@GRID}}-grid.vue.hbs
浏览文件 @
ebf085ef
...
...
@@ -154,6 +154,7 @@ const handleChange = (pagination: IParam, filters: IParam, sorter: IParam, data:
<style
lang=
"scss"
>
.ibiz-grid
{
height
:
100%
;
padding-top
:
8px
;
.table-striped
{
background-color
:
#fafafa
;
}
...
...
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录