Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
iBiz-Vue-R7-Res
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
iBiz-R7前端标准模板
iBiz-Vue-R7-Res
提交
49ca41d5
提交
49ca41d5
编写于
11月 02, 2022
作者:
tony001
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
update:更新
上级
1f5ed544
变更
12
隐藏空白字符变更
内嵌
并排
正在显示
12 个修改的文件
包含
95 行增加
和
3 行删除
+95
-3
app-register.ts
src/app-register.ts
+4
-3
app-scroll-container.less
.../container/app-scroll-container/app-scroll-container.less
+0
-0
app-scroll-container.vue
...t/container/app-scroll-container/app-scroll-container.vue
+0
-0
app-simpleflex-container.less
...er/app-simpleflex-container/app-simpleflex-container.less
+0
-0
app-simpleflex-container.vue
...ner/app-simpleflex-container/app-simpleflex-container.vue
+0
-0
app-standard-container.less
...tainer/app-standard-container/app-standard-container.less
+4
-0
app-standard-container.vue
...ntainer/app-standard-container/app-standard-container.vue
+82
-0
index.md
src/components/layout-element/index/index.md
+1
-0
index.md
src/components/layout-element/interactive/index.md
+1
-0
index.md
src/components/layout-element/login/index.md
+1
-0
index.md
src/components/layout-element/media/index.md
+1
-0
index.md
src/components/layout-element/text/index.md
+1
-0
未找到文件。
src/app-register.ts
浏览文件 @
49ca41d5
...
...
@@ -109,9 +109,9 @@ import AppInputIp from './components/app-input-ip/app-input-ip.vue';
import
Loadding
from
'./directive/loadding/loadding'
;
import
AppColorSpan
from
'./components/app-color-span/app-color-span.vue'
;
import
AppColorPicker
from
'./components/app-color-picker/app-color-picker.vue'
;
import
AppScrollContainer
from
'./components/layout-container/app-scroll-container/app-scroll-container.vue'
;
import
AppSimpleFlexContainer
from
'./components/layout-container/app-simpleflex-container/app-simpleflex-container.vue'
;
import
AppScrollContainer
from
'./components/layout-
element/
container/app-scroll-container/app-scroll-container.vue'
;
import
AppSimpleFlexContainer
from
'./components/layout-
element/
container/app-simpleflex-container/app-simpleflex-container.vue'
;
import
AppStandardContainer
from
'./components/layout-element/container/app-standard-container/app-standard-container.vue'
;
// 全局挂载UI实体服务注册中心
window
[
'uiServiceRegister'
]
=
uiServiceRegister
;
// 全局挂载实体权限服务注册中心
...
...
@@ -237,5 +237,6 @@ export const AppComponents = {
v
.
component
(
'app-color-picker'
,
AppColorPicker
);
v
.
component
(
'app-scroll-container'
,
AppScrollContainer
);
v
.
component
(
'app-simpleflex-container'
,
AppSimpleFlexContainer
);
v
.
component
(
'app-standard-container'
,
AppStandardContainer
);
},
};
\ No newline at end of file
src/components/layout-container/app-scroll-container/app-scroll-container.less
→
src/components/layout-
element/
container/app-scroll-container/app-scroll-container.less
浏览文件 @
49ca41d5
文件已移动
src/components/layout-container/app-scroll-container/app-scroll-container.vue
→
src/components/layout-
element/
container/app-scroll-container/app-scroll-container.vue
浏览文件 @
49ca41d5
文件已移动
src/components/layout-container/app-simpleflex-container/app-simpleflex-container.less
→
src/components/layout-
element/
container/app-simpleflex-container/app-simpleflex-container.less
浏览文件 @
49ca41d5
文件已移动
src/components/layout-container/app-simpleflex-container/app-simpleflex-container.vue
→
src/components/layout-
element/
container/app-simpleflex-container/app-simpleflex-container.vue
浏览文件 @
49ca41d5
文件已移动
src/components/layout-element/container/app-standard-container/app-standard-container.less
0 → 100644
浏览文件 @
49ca41d5
.app-standard-container{
width: 100%;
height: 100%;
}
\ No newline at end of file
src/components/layout-element/container/app-standard-container/app-standard-container.vue
0 → 100644
浏览文件 @
49ca41d5
<
template
>
<div
:class=
"curClassName"
:style=
"curStyleContent"
>
<template
v-if=
"containerModel.length > 0"
>
<template
v-for=
"name of containerModel"
>
<slot
:name=
"name"
></slot>
</
template
>
</template>
</div>
</template>
<
script
lang=
"ts"
>
import
{
Component
,
Prop
,
Vue
}
from
'vue-property-decorator'
;
@
Component
({})
export
default
class
AppStandardContainer
extends
Vue
{
/**
* 名称
*
* @type {string}
* @memberof AppStandardContainer
*/
@
Prop
()
public
name
!
:
string
;
/**
* 布局模型详情
*
* @type {string}
* @memberof AppStandardContainer
*/
@
Prop
()
public
layoutModelDetails
:
any
;
/**
* 插槽对象
*
* @memberof AppStandardContainer
*/
public
containerModel
:
any
[]
=
[];
/**
* 组件初始化
*
* @memberof SimpleFlexContainer
*/
public
created
()
{
this
.
initSimpleFlexContainer
();
}
/**
* 初始化SIMPLEFLEX容器
*
* @memberof SimpleFlexContainer
*/
public
initSimpleFlexContainer
()
{
const
curLayoutModel
=
this
.
layoutModelDetails
[
this
.
name
];
if
(
curLayoutModel
&&
curLayoutModel
.
details
&&
curLayoutModel
.
details
.
length
>
0
)
{
curLayoutModel
.
details
.
forEach
((
key
:
string
)
=>
{
this
.
containerModel
.
push
(
key
);
})
}
}
/**
* 当前容器样式类
*/
get
curClassName
()
{
return
`app-standard-container
${
this
.
name
}
`
;
}
/**
* 当前容器样式
*/
get
curStyleContent
()
{
let
boxLayoutPosStyle
=
""
;
const
curLayoutModel
=
this
.
layoutModelDetails
[
this
.
name
];
console
.
log
(
curLayoutModel
);
return
boxLayoutPosStyle
;
}
}
</
script
>
<
style
lang=
'less'
>
@import 'app-standard-container.less';
</
style
>
\ No newline at end of file
src/components/layout-element/index/index.md
0 → 100644
浏览文件 @
49ca41d5
// 首页元素
\ No newline at end of file
src/components/layout-element/interactive/index.md
0 → 100644
浏览文件 @
49ca41d5
// 输入交互
\ No newline at end of file
src/components/layout-element/login/index.md
0 → 100644
浏览文件 @
49ca41d5
// 身份校验
\ No newline at end of file
src/components/layout-element/media/index.md
0 → 100644
浏览文件 @
49ca41d5
// 多媒体
\ No newline at end of file
src/components/layout-element/text/index.md
0 → 100644
浏览文件 @
49ca41d5
// 文本项
\ No newline at end of file
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录