Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
iBiz-Vue-R7-Res
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
iBiz-R7前端标准模板
iBiz-Vue-R7-Res
提交
c6ff7d60
提交
c6ff7d60
编写于
12月 09, 2022
作者:
Shine-zwj
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
update:更新
上级
7fbf6a17
变更
7
隐藏空白字符变更
内嵌
并排
正在显示
7 个修改的文件
包含
65 行增加
和
27 行删除
+65
-27
app-register.ts
src/app-register.ts
+2
-0
edit-view-layout.scss
src/layout/edit-view-layout/edit-view-layout.scss
+3
-0
edit-view-layout.vue
src/layout/edit-view-layout/edit-view-layout.vue
+33
-0
index-view-layout-left.scss
...layout/index-view-layout-left/index-view-layout-left.scss
+8
-8
index-view-layout-left.vue
src/layout/index-view-layout-left/index-view-layout-left.vue
+9
-9
index-view-layout-top.scss
src/layout/index-view-layout-top/index-view-layout-top.scss
+4
-4
index-view-layout-top.vue
src/layout/index-view-layout-top/index-view-layout-top.vue
+6
-6
未找到文件。
src/app-register.ts
浏览文件 @
c6ff7d60
...
...
@@ -141,6 +141,7 @@ import ExtendActionTimeline from './components/extend-action-timeline/extend-act
import
AppIndexViewLayoutLeft
from
'./layout/index-view-layout-left/index-view-layout-left.vue'
;
import
AppIndexViewLayoutTop
from
'./layout/index-view-layout-top/index-view-layout-top.vue'
;
import
AppGridViewLayout
from
'./layout/grid-view-layout/grid-view-layout.vue'
;
import
AppEditViewLayout
from
'./layout/edit-view-layout/edit-view-layout.vue'
;
// 全局挂载UI实体服务注册中心
window
[
'uiServiceRegister'
]
=
uiServiceRegister
;
// 全局挂载实体权限服务注册中心
...
...
@@ -167,6 +168,7 @@ export const AppComponents = {
v
.
prototype
.
$verify
=
Verify
;
v
.
prototype
.
$viewTool
=
ViewTool
;
v
.
prototype
.
$uiActionTool
=
UIActionTool
;
v
.
component
(
'app-edit-view-layout'
,
AppEditViewLayout
);
v
.
component
(
'app-index-view-layout-top'
,
AppIndexViewLayoutTop
);
v
.
component
(
'app-index-view-layout-left'
,
AppIndexViewLayoutLeft
);
v
.
component
(
'app-grid-view-layout'
,
AppGridViewLayout
);
...
...
src/layout/edit-view-layout/edit-view-layout.scss
0 → 100644
浏览文件 @
c6ff7d60
.edit-view-layout
{
}
\ No newline at end of file
src/layout/edit-view-layout/edit-view-layout.vue
0 → 100644
浏览文件 @
c6ff7d60
<
template
>
<layout
class=
"edit-view-layout view-layout view-container"
>
<header
class=
"view-header"
>
<div
class=
"view-header__left"
>
<slot
name=
"headerLeft"
/>
</div>
<div
class=
"view-header__center"
>
<slot
name=
"headerCenter"
/>
</div>
<div
class=
"view-header__right"
>
<slot
name=
"headerRight"
/>
</div>
</header>
<content
class=
"view-content content-container"
>
<slot
/>
</content>
<footer
class=
"view-footer"
>
<slot
name=
"footer"
/>
</footer>
</layout>
</
template
>
<
script
lang=
"ts"
>
import
{
Vue
,
Component
,
Watch
,
Prop
}
from
'vue-property-decorator'
;
@
Component
({})
export
default
class
AppGridViewLayout
extends
Vue
{
}
</
script
>
<
style
lang=
"scss"
>
@import
"./edit-view-layout.scss"
;
</
style
>
src/layout/index-view-layout-left/index-view-layout-left.scss
浏览文件 @
c6ff7d60
.index-view-layout--left
{
position
:
relative
;
.index-view-
layout-
sider
{
.index-view-sider
{
flex
:
none
!
important
;
max-width
:
none
!
important
;
transition
:
none
0s
ease
0s
;
background-color
:
var
(
--
app-color-white
);
.sider__top
{
.
index-view-
sider__top
{
font-size
:
21px
;
font-weight
:
700
;
height
:
64px
;
...
...
@@ -23,7 +23,7 @@
}
}
.index-view-
layout-
split
{
.index-view-split
{
position
:
absolute
;
left
:
195px
;
width
:
5px
;
...
...
@@ -31,7 +31,7 @@
cursor
:
w-resize
;
}
.index-view-
layout-
header
{
.index-view-header
{
height
:
64px
;
display
:
flex
;
justify-content
:
space-between
;
...
...
@@ -39,20 +39,20 @@
background-color
:
var
(
--
app-color-white
);
color
:
var
(
--
app-color-black
);
.header__left
{
.
index-view-
header__left
{
display
:
flex
;
font-size
:
21px
;
margin-left
:
8px
;
align-items
:
center
;
}
.header__right
{
.
index-view-
header__right
{
display
:
flex
;
align-items
:
center
;
}
}
.index-view-
layout-
content
{
.index-view-content
{
height
:
calc
(
100%
-
64px
);
background-color
:
var
(
--
app-color-gray-400
);
...
...
@@ -61,7 +61,7 @@
margin
:
0
12px
;
}
&
.index-view-
layout-
content--tab
{
&
.index-view-content--tab
{
>
.view-container
{
height
:
calc
(
100%
-
65px
);
...
...
src/layout/index-view-layout-left/index-view-layout-left.vue
浏览文件 @
c6ff7d60
<
template
>
<layout
class=
"index-view-layout index-view-layout--left"
id=
"movebox"
>
<sider
class=
"index-view-
layout-
sider"
:width=
"collapseChange ? 64 : 200"
hide-trigger
id=
"left_move"
>
<div
class=
"sider__top"
>
<sider
class=
"index-view-sider"
:width=
"collapseChange ? 64 : 200"
hide-trigger
id=
"left_move"
>
<div
class=
"
index-view-
sider__top"
>
<slot
name=
"siderTop"
/>
</div>
<slot
name=
"siderContent"
/>
</sider>
<div
v-show=
"!collapseChange"
class=
"index-view-
layout-
split"
id=
"move_axis"
></div>
<div
v-show=
"!collapseChange"
class=
"index-view-split"
id=
"move_axis"
></div>
<layout
id=
"right_move"
>
<header
class=
"index-view-
layout-
header"
>
<div
class=
"header__left"
>
<header
class=
"index-view-header"
>
<div
class=
"
index-view-
header__left"
>
<slot
name=
"headerLeft"
/>
</div>
<div
class=
"header__center"
>
<div
class=
"
index-view-
header__center"
>
<slot
name=
"headerCenter"
/>
</div>
<div
class=
"header__right"
>
<div
class=
"
index-view-
header__right"
>
<slot
name=
"headerRight"
/>
</div>
</header>
<content
:class=
"
{ 'index-view-
layout-content': true, 'index-view-layout-content--tab': Object.is(navModel,'tab') ? true : false, 'index-view-layout
-content--route': Object.is(navModel,'route') ? true : false }">
<content
:class=
"
{ 'index-view-
content': true, 'index-view-content--tab': Object.is(navModel,'tab') ? true : false, 'index-view
-content--route': Object.is(navModel,'route') ? true : false }">
<slot
name=
"tabPageExp"
/>
<slot
name=
"navPos"
/>
</content>
...
...
@@ -27,7 +27,7 @@
</layout>
</
template
>
<
script
lang=
"ts"
>
import
{
Vue
,
Component
,
Watch
,
Prop
}
from
'vue-property-decorator'
;
import
{
Vue
,
Component
,
Prop
}
from
'vue-property-decorator'
;
@
Component
({})
export
default
class
AppIndexViewLayoutLeft
extends
Vue
{
...
...
src/layout/index-view-layout-top/index-view-layout-top.scss
浏览文件 @
c6ff7d60
.index-view-layout--top
{
.index-view-
layout-
header
{
.index-view-header
{
height
:
64px
;
display
:
flex
;
justify-content
:
space-between
;
align-items
:
center
;
background-color
:
var
(
--
app-color-black
);
color
:
var
(
--
app-color-white
);
.header__left
{
.
index-view-
header__left
{
font-size
:
21px
;
font-weight
:
700
;
margin-left
:
50px
;
...
...
@@ -16,12 +16,12 @@
margin-right
:
6px
;
}
}
.header__right
{
.
index-view-
header__right
{
display
:
flex
;
align-items
:
center
;
}
}
.index-view-
layout-
content
{
.index-view-content
{
height
:
calc
(
100%
-
64px
);
overflow
:
auto
;
padding
:
20px
38px
0
38px
;
...
...
src/layout/index-view-layout-top/index-view-layout-top.vue
浏览文件 @
c6ff7d60
<
template
>
<layout
class=
"index-view-layout index-view-layout--top"
>
<header
class=
"index-view-
layout-
header"
>
<div
class=
"header__left"
>
<header
class=
"index-view-header"
>
<div
class=
"
index-view-
header__left"
>
<slot
name=
"headerLeft"
/>
</div>
<div
class=
"header__center"
>
<div
class=
"
index-view-
header__center"
>
<slot
name=
"headerCenter"
/>
</div>
<div
class=
"header__right"
>
<div
class=
"
index-view-
header__right"
>
<slot
name=
"headerRight"
/>
</div>
</header>
<content
class=
"index-view-
layout-
content"
>
<content
class=
"index-view-content"
>
<slot
name=
"navPos"
/>
</content>
<footer
class=
"
layout-footer-cen
ter"
>
<footer
class=
"
index-view-foo
ter"
>
<slot
name=
"footer"
></slot>
</footer>
</layout>
...
...
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录